mirror of https://github.com/boxyhq/jackson.git
Bump prettier from 3.0.3 to 3.1.0 (#1923)
* Bump prettier from 3.0.3 to 3.1.0 Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fixed format --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
This commit is contained in:
parent
cea883070e
commit
c30adc7591
|
@ -21,4 +21,5 @@ npm/package-lock.json
|
|||
.eslintignore
|
||||
|
||||
**/LICENSE
|
||||
swagger/swagger.json
|
||||
swagger/swagger.json
|
||||
e2e/state.json
|
|
@ -35,8 +35,8 @@ const ConnectionList = ({
|
|||
let getConnectionsUrl = setupLinkToken
|
||||
? `/api/setup/${setupLinkToken}/sso-connection`
|
||||
: isSettingsView
|
||||
? `/api/admin/connections?isSystemSSO`
|
||||
: `/api/admin/connections?pageOffset=${paginate.offset}&pageLimit=${pageLimit}`;
|
||||
? `/api/admin/connections?isSystemSSO`
|
||||
: `/api/admin/connections?pageOffset=${paginate.offset}&pageLimit=${pageLimit}`;
|
||||
|
||||
// Use the (next)pageToken mapped to the previous page offset to get the current page
|
||||
if (paginate.offset > 0 && pageTokenMap[paginate.offset - pageLimit]) {
|
||||
|
@ -45,8 +45,8 @@ const ConnectionList = ({
|
|||
const createConnectionUrl = setupLinkToken
|
||||
? `/setup/${setupLinkToken}/sso-connection/new`
|
||||
: isSettingsView
|
||||
? `/admin/settings/sso-connection/new`
|
||||
: '/admin/sso-connection/new';
|
||||
? `/admin/settings/sso-connection/new`
|
||||
: '/admin/sso-connection/new';
|
||||
|
||||
const { data, error, isLoading } = useSWR<
|
||||
ApiSuccess<((SAMLSSORecord | OIDCSSORecord) & { isSystemSSO?: boolean })[]>,
|
||||
|
@ -212,8 +212,8 @@ const ConnectionList = ({
|
|||
setupLinkToken
|
||||
? `/setup/${setupLinkToken}/sso-connection/edit/${connection.clientID}`
|
||||
: isSettingsView || isSystemSSO
|
||||
? `/admin/settings/sso-connection/edit/${connection.clientID}`
|
||||
: `/admin/sso-connection/edit/${connection.clientID}`
|
||||
? `/admin/settings/sso-connection/edit/${connection.clientID}`
|
||||
: `/admin/sso-connection/edit/${connection.clientID}`
|
||||
);
|
||||
}}
|
||||
/>
|
||||
|
|
|
@ -65,18 +65,18 @@ const CreateConnection = ({
|
|||
const backUrl = setupLinkToken
|
||||
? null
|
||||
: isSettingsView
|
||||
? '/admin/settings/sso-connection'
|
||||
: '/admin/sso-connection';
|
||||
? '/admin/settings/sso-connection'
|
||||
: '/admin/sso-connection';
|
||||
const redirectUrl = setupLinkToken
|
||||
? `/setup/${setupLinkToken}/sso-connection`
|
||||
: isSettingsView
|
||||
? '/admin/settings/sso-connection'
|
||||
: '/admin/sso-connection';
|
||||
? '/admin/settings/sso-connection'
|
||||
: '/admin/sso-connection';
|
||||
const mutationUrl = setupLinkToken
|
||||
? `/api/setup/${setupLinkToken}/sso-connection`
|
||||
: isSettingsView
|
||||
? '/api/admin/connections?isSystemSSO'
|
||||
: '/api/admin/connections';
|
||||
? '/api/admin/connections?isSystemSSO'
|
||||
: '/api/admin/connections';
|
||||
|
||||
// FORM LOGIC: SUBMIT
|
||||
const save = async (event: React.FormEvent) => {
|
||||
|
|
|
@ -131,15 +131,15 @@ const EditConnection = ({ connection, setupLinkToken, isSettingsView = false }:
|
|||
setupLinkToken
|
||||
? `/api/setup/${setupLinkToken}/connections`
|
||||
: isSettingsView
|
||||
? `/api/admin/connections?isSystemSSO`
|
||||
: '/api/admin/connections'
|
||||
? `/api/admin/connections?isSystemSSO`
|
||||
: '/api/admin/connections'
|
||||
);
|
||||
router.replace(
|
||||
setupLinkToken
|
||||
? `/setup/${setupLinkToken}/sso-connection`
|
||||
: isSettingsView
|
||||
? '/admin/settings/sso-connection'
|
||||
: '/admin/sso-connection'
|
||||
? '/admin/settings/sso-connection'
|
||||
: '/admin/sso-connection'
|
||||
);
|
||||
}
|
||||
};
|
||||
|
@ -171,8 +171,8 @@ const EditConnection = ({ connection, setupLinkToken, isSettingsView = false }:
|
|||
const backUrl = setupLinkToken
|
||||
? `/setup/${setupLinkToken}`
|
||||
: isSettingsView
|
||||
? '/admin/settings/sso-connection'
|
||||
: '/admin/sso-connection';
|
||||
? '/admin/settings/sso-connection'
|
||||
: '/admin/sso-connection';
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
|
@ -233,8 +233,8 @@ export function renderFieldList(args: {
|
|||
args.formObjParentKey ? args.formObj[args.formObjParentKey]?.[key] : args.formObj[key]
|
||||
)
|
||||
: args.formObjParentKey
|
||||
? args.formObj[args.formObjParentKey]?.[key]
|
||||
: args.formObj[key];
|
||||
? args.formObj[args.formObjParentKey]?.[key]
|
||||
: args.formObj[key];
|
||||
|
||||
if (type === 'object') {
|
||||
return (
|
||||
|
|
|
@ -29,8 +29,8 @@ export const SetupLinkLayout = ({ children }: { children: React.ReactNode }) =>
|
|||
setupLink?.service === 'sso'
|
||||
? t('configure_sso')
|
||||
: setupLink?.service === 'dsync'
|
||||
? t('configure_dsync')
|
||||
: null;
|
||||
? t('configure_dsync')
|
||||
: null;
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
|
@ -786,8 +786,8 @@ export class OAuthController implements IOAuthController {
|
|||
const requested = isIdPFlow
|
||||
? { isIdPFlow: true, tenant: connection.tenant, product: connection.product }
|
||||
: session
|
||||
? session.requested
|
||||
: null;
|
||||
? session.requested
|
||||
: null;
|
||||
|
||||
const codeVal = {
|
||||
profile,
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
"eslint-config-next": "14.0.2",
|
||||
"eslint-config-prettier": "9.0.0",
|
||||
"postcss": "8.4.31",
|
||||
"prettier": "3.0.3",
|
||||
"prettier": "3.1.0",
|
||||
"prettier-plugin-tailwindcss": "0.5.7",
|
||||
"release-it": "17.0.0",
|
||||
"swagger-jsdoc": "6.2.8",
|
||||
|
@ -14855,9 +14855,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz",
|
||||
"integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==",
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz",
|
||||
"integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"prettier": "bin/prettier.cjs"
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
"eslint-config-next": "14.0.2",
|
||||
"eslint-config-prettier": "9.0.0",
|
||||
"postcss": "8.4.31",
|
||||
"prettier": "3.0.3",
|
||||
"prettier": "3.1.0",
|
||||
"prettier-plugin-tailwindcss": "0.5.7",
|
||||
"release-it": "17.0.0",
|
||||
"swagger-jsdoc": "6.2.8",
|
||||
|
|
|
@ -75,10 +75,10 @@ const SAMLTraceInspector: NextPage = () => {
|
|||
{trace.context.requestedOIDCFlow
|
||||
? 'OIDC'
|
||||
: trace.context.isSAMLFederated
|
||||
? t('saml_federation')
|
||||
: trace.context.isIdPFlow
|
||||
? t('idp_login')
|
||||
: 'OAuth 2.0'}
|
||||
? t('saml_federation')
|
||||
: trace.context.isIdPFlow
|
||||
? t('idp_login')
|
||||
: 'OAuth 2.0'}
|
||||
</Badge>
|
||||
</span>
|
||||
</p>
|
||||
|
|
|
@ -9,8 +9,8 @@ const SetupLinksIndexPage: NextPage = () => {
|
|||
const service = router.asPath.includes('sso-connection')
|
||||
? 'sso'
|
||||
: router.asPath.includes('directory-sync')
|
||||
? 'dsync'
|
||||
: '';
|
||||
? 'dsync'
|
||||
: '';
|
||||
|
||||
if (service.length === 0) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue