@baseplate-dev/plugin-auth 1.0.6 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/core/common.d.ts.map +1 -1
- package/dist/auth/core/common.js +3 -7
- package/dist/auth/core/common.js.map +1 -1
- package/dist/auth/core/components/auth-definition-editor.d.ts.map +1 -1
- package/dist/auth/core/components/auth-definition-editor.js +44 -30
- package/dist/auth/core/components/auth-definition-editor.js.map +1 -1
- package/dist/{common/roles → auth/core}/components/role-editor-form/role-dialog.d.ts +1 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +1 -0
- package/dist/{common/roles → auth/core}/components/role-editor-form/role-dialog.js +1 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.js.map +1 -0
- package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts +10 -0
- package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts.map +1 -0
- package/dist/{common/roles → auth/core}/components/role-editor-form/role-editor-form.js +6 -3
- package/dist/auth/core/components/role-editor-form/role-editor-form.js.map +1 -0
- package/dist/auth/core/node.d.ts.map +1 -1
- package/dist/auth/core/node.js +21 -32
- package/dist/auth/core/node.js.map +1 -1
- package/dist/auth/core/schema/plugin-definition.d.ts +3 -28
- package/dist/auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/auth/core/schema/plugin-definition.js +5 -20
- package/dist/auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/auth/core/schema/roles/constants.d.ts.map +1 -0
- package/dist/auth/core/schema/roles/constants.js.map +1 -0
- package/dist/auth/core/schema/roles/index.d.ts +3 -0
- package/dist/auth/core/schema/roles/index.d.ts.map +1 -0
- package/dist/auth/core/schema/roles/index.js +3 -0
- package/dist/auth/core/schema/roles/index.js.map +1 -0
- package/dist/auth/core/schema/roles/schema.d.ts.map +1 -0
- package/dist/auth/core/schema/roles/schema.js.map +1 -0
- package/dist/auth/core/web.js +2 -2
- package/dist/auth/core/web.js.map +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/plugin.json +8 -0
- package/dist/auth/utils/get-auth-plugin-definition.d.ts +9 -0
- package/dist/auth/utils/get-auth-plugin-definition.d.ts.map +1 -0
- package/dist/auth/utils/get-auth-plugin-definition.js +10 -0
- package/dist/auth/utils/get-auth-plugin-definition.js.map +1 -0
- package/dist/auth/utils/index.d.ts +2 -0
- package/dist/auth/utils/index.d.ts.map +1 -0
- package/dist/auth/utils/index.js +2 -0
- package/dist/auth/utils/index.js.map +1 -0
- package/dist/auth0/core/common.d.ts +2 -1
- package/dist/auth0/core/common.d.ts.map +1 -1
- package/dist/auth0/core/common.js +7 -11
- package/dist/auth0/core/common.js.map +1 -1
- package/dist/auth0/core/components/auth0-definition-editor.d.ts +5 -0
- package/dist/auth0/core/components/auth0-definition-editor.d.ts.map +1 -0
- package/dist/auth0/core/components/auth0-definition-editor.js +54 -0
- package/dist/auth0/core/components/auth0-definition-editor.js.map +1 -0
- package/dist/auth0/core/node.d.ts.map +1 -1
- package/dist/auth0/core/node.js +12 -11
- package/dist/auth0/core/node.js.map +1 -1
- package/dist/auth0/core/schema/models.d.ts +2 -1
- package/dist/auth0/core/schema/models.d.ts.map +1 -1
- package/dist/auth0/core/schema/models.js +1 -1
- package/dist/auth0/core/schema/models.js.map +1 -1
- package/dist/auth0/core/schema/plugin-definition.d.ts +0 -61
- package/dist/auth0/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/auth0/core/schema/plugin-definition.js +1 -7
- package/dist/auth0/core/schema/plugin-definition.js.map +1 -1
- package/dist/auth0/core/web.js +3 -3
- package/dist/auth0/core/web.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +3 -0
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +6 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +3 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +3 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +4 -0
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +7 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +6 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +3 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +6 -2
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +6 -2
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-session.ts +14 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +2 -0
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +1 -1
- package/dist/auth0/{metadata.json → plugin.json} +2 -1
- package/dist/common/components/auth-config-tabs.d.ts +2 -0
- package/dist/common/components/auth-config-tabs.d.ts.map +1 -0
- package/dist/common/components/auth-config-tabs.js +21 -0
- package/dist/common/components/auth-config-tabs.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/local-auth/core/common.d.ts +8 -0
- package/dist/local-auth/core/common.d.ts.map +1 -0
- package/dist/local-auth/core/common.js +22 -0
- package/dist/local-auth/core/common.js.map +1 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts +5 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +1 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.js +62 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-apollo/auth-apollo.generator.d.ts +1 -15
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-apollo/auth-apollo.generator.js +2 -6
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/auth-email-password.generator.d.ts +7 -6
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/auth-email-password.generator.js +2 -2
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/index.d.ts +8 -7
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +14 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/template-paths.js +7 -7
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/template-renderers.d.ts +7 -7
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/template-renderers.js +12 -12
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/ts-import-providers.d.ts +5 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/ts-import-providers.js +7 -5
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/typed-templates.d.ts +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/typed-templates.js +3 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +2 -2
- package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +9 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/services/user-password.service.js +6 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/services/user-password.service.ts +17 -4
- package/dist/{auth → local-auth}/core/generators/auth-hooks/auth-hooks.generator.d.ts +12 -20
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/auth-hooks.generator.js +2 -2
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/index.d.ts +17 -54
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/template-paths.d.ts +4 -4
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/template-paths.js +9 -7
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/template-renderers.d.ts +9 -23
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/template-renderers.js +15 -13
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +31 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +38 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/typed-templates.d.ts +7 -65
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/typed-templates.js +14 -4
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/index.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-hooks/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/index.js +3 -0
- package/dist/local-auth/core/generators/auth-hooks/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +4 -4
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +4 -4
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +3 -7
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +3 -7
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +15 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +16 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +32 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +1 -1
- package/dist/{auth → local-auth}/core/generators/auth-module/auth-module.generator.d.ts +12 -6
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/auth-module.generator.js +3 -3
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/index.d.ts +38 -8
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/template-paths.d.ts +5 -4
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/template-paths.js +10 -7
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/template-renderers.d.ts +16 -10
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/template-renderers.js +19 -16
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/ts-import-providers.d.ts +2 -2
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/ts-import-providers.js +5 -5
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/typed-templates.d.ts +45 -3
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/generated/typed-templates.js +19 -2
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts +8 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js +16 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.ts +21 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js +2 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.ts +2 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.queries.js +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.queries.ts +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/services/user-session.service.js +11 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/services/user-session.service.ts +13 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/auth-routes.generator.d.ts +1 -15
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/generated/index.d.ts +3 -45
- package/dist/{auth → local-auth}/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/generated/template-renderers.d.ts +1 -15
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/generated/template-renderers.js +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/generated/typed-templates.d.ts +4 -60
- package/dist/{auth → local-auth}/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/{auth → local-auth}/core/generators/auth-routes/generated/typed-templates.js +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +15 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/login.js +2 -3
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/login.tsx +2 -3
- package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/queries.gql +2 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +15 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/register.js +2 -3
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/register.tsx +2 -3
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/index.d.ts +1 -0
- package/dist/local-auth/core/generators/index.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/index.js +1 -0
- package/dist/local-auth/core/generators/index.js.map +1 -0
- package/dist/local-auth/core/generators/react-auth/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-auth/index.js.map +1 -0
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/react-auth/react-auth.generator.js +1 -1
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +345 -0
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/index.js +11 -0
- package/dist/{auth/core/generators/auth-email-password → local-auth/core/generators/react-session}/generated/index.js.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +14 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js +26 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +173 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +58 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts +22 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js +30 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +324 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +46 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/index.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +189 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/react-session/react-session.generator.js +6 -11
- package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -0
- package/dist/{auth/core/generators/react-session/templates/src/app/user-session-check.gql → local-auth/core/generators/react-session/templates/src/app/user-session-provider.gql} +1 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +48 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +73 -0
- package/dist/{auth → local-auth}/core/generators/react-session/templates/src/services/user-session-client.d.ts +10 -31
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/generators/react-session/templates/src/services/user-session-client.js +9 -25
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js.map +1 -0
- package/dist/{auth → local-auth}/core/generators/react-session/templates/src/services/user-session-client.ts +15 -52
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +75 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js +11 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts +12 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js +24 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +38 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js +44 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts +19 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js +26 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +27 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js +20 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.d.ts +4 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.js +3 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +46 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +57 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts +3 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js +32 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +43 -0
- package/dist/local-auth/core/index.d.ts.map +1 -0
- package/dist/local-auth/core/index.js.map +1 -0
- package/dist/local-auth/core/node.d.ts +5 -0
- package/dist/local-auth/core/node.d.ts.map +1 -0
- package/dist/local-auth/core/node.js +59 -0
- package/dist/local-auth/core/node.js.map +1 -0
- package/dist/local-auth/core/schema/models.d.ts +10 -0
- package/dist/local-auth/core/schema/models.d.ts.map +1 -0
- package/dist/{auth → local-auth}/core/schema/models.js +1 -1
- package/dist/local-auth/core/schema/models.js.map +1 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts +40 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +1 -0
- package/dist/local-auth/core/schema/plugin-definition.js +27 -0
- package/dist/local-auth/core/schema/plugin-definition.js.map +1 -0
- package/dist/local-auth/core/web.d.ts +6 -0
- package/dist/local-auth/core/web.d.ts.map +1 -0
- package/dist/local-auth/core/web.js +14 -0
- package/dist/local-auth/core/web.js.map +1 -0
- package/dist/local-auth/index.d.ts +2 -0
- package/dist/local-auth/index.d.ts.map +1 -0
- package/dist/local-auth/index.js +2 -0
- package/dist/local-auth/index.js.map +1 -0
- package/dist/{auth/metadata.json → local-auth/plugin.json} +4 -3
- package/dist/local-auth/static/icon.svg +1 -0
- package/dist/placeholder-auth/core/common.d.ts +1 -1
- package/dist/placeholder-auth/core/common.d.ts.map +1 -1
- package/dist/placeholder-auth/core/common.js +6 -10
- package/dist/placeholder-auth/core/common.js.map +1 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts.map +1 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js +12 -16
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +3 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +3 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +1 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +5 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +3 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts +2 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +4 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts +2 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts +2 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/placeholder-auth/core/node.d.ts.map +1 -1
- package/dist/placeholder-auth/core/node.js +7 -10
- package/dist/placeholder-auth/core/node.js.map +1 -1
- package/dist/placeholder-auth/core/schema/models.d.ts +2 -1
- package/dist/placeholder-auth/core/schema/models.d.ts.map +1 -1
- package/dist/placeholder-auth/core/schema/models.js +1 -1
- package/dist/placeholder-auth/core/schema/models.js.map +1 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.d.ts +0 -61
- package/dist/placeholder-auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.js +1 -7
- package/dist/placeholder-auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/placeholder-auth/core/web.js +2 -2
- package/dist/placeholder-auth/core/web.js.map +1 -1
- package/dist/placeholder-auth/{metadata.json → plugin.json} +2 -1
- package/dist/web/assets/__federation_expose_auth0CoreCommon-lV5QSzvf.js +49 -0
- package/dist/web/assets/__federation_expose_auth0CoreCommon-lV5QSzvf.js.map +1 -0
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-DjVw47sM.js → __federation_expose_auth0CoreWeb-5F0rTNis.js} +51 -78
- package/dist/web/assets/__federation_expose_auth0CoreWeb-5F0rTNis.js.map +1 -0
- package/dist/web/assets/__federation_expose_authCoreCommon-C5cVmNCH.js +29 -0
- package/dist/web/assets/__federation_expose_authCoreCommon-C5cVmNCH.js.map +1 -0
- package/dist/web/assets/__federation_expose_authCoreWeb-CJxY8hZC.js +439 -0
- package/dist/web/assets/__federation_expose_authCoreWeb-CJxY8hZC.js.map +1 -0
- package/dist/web/assets/__federation_expose_local-authCoreCommon-Dr_ngV2l.js +32 -0
- package/dist/web/assets/__federation_expose_local-authCoreCommon-Dr_ngV2l.js.map +1 -0
- package/dist/web/assets/{__federation_expose_authCoreWeb-CrFEmZp3.js → __federation_expose_local-authCoreWeb-B5iBudnh.js} +109 -108
- package/dist/web/assets/__federation_expose_local-authCoreWeb-B5iBudnh.js.map +1 -0
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-l8knzO7I.js +32 -0
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-l8knzO7I.js.map +1 -0
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-CpxfTdxv.js → __federation_expose_placeholder-authCoreWeb-DbI_bZsk.js} +50 -74
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-DbI_bZsk.js.map +1 -0
- package/dist/web/assets/{__federation_fn_import-CGvRdRVe.js → __federation_fn_import-DReOsou_.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-CGvRdRVe.js.map → __federation_fn_import-DReOsou_.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-D1kBtwsm.js → web-BlPKO2K7.js} +7 -5
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-D1kBtwsm.js.map → web-BlPKO2K7.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-B7442OYh.js → project-builder-lib-CGEZr0YI.js} +232 -614
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CGEZr0YI.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-X318M5Ml.js → ui-components-RO_rk4f0.js} +2224 -2030
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-RO_rk4f0.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-BbU_EX7_.js +1544 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-BbU_EX7_.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/react-router-CNTPQj7N.js +6138 -0
- package/dist/web/assets/__federation_shared_@tanstack/react-router-CNTPQj7N.js.map +1 -0
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js +8 -0
- package/dist/web/assets/{__federation_shared_react-uocnGSER.js.map → __federation_shared_react-CJ2OfFKA.js.map} +1 -1
- package/dist/web/assets/{__federation_shared_react-dom-Bwq4pLax.js → __federation_shared_react-dom-B4vgf5Ln.js} +3 -2
- package/dist/web/assets/{__federation_shared_react-dom-Bwq4pLax.js.map → __federation_shared_react-dom-B4vgf5Ln.js.map} +1 -1
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js +6 -0
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js.map +1 -0
- package/dist/web/assets/get-auth-plugin-definition-CQ6mWMZk.js +13 -0
- package/dist/web/assets/get-auth-plugin-definition-CQ6mWMZk.js.map +1 -0
- package/dist/web/assets/{index-ydDQKauE.js → index-BkOJzK_m.js} +3 -3
- package/dist/web/assets/{index-ydDQKauE.js.map → index-BkOJzK_m.js.map} +1 -1
- package/dist/web/assets/{index-B1hOKVPw.js → index-DUwCgkeV.js} +2 -6
- package/dist/web/assets/{index-B1hOKVPw.js.map → index-DUwCgkeV.js.map} +1 -1
- package/dist/web/assets/{index.esm-DYWXRkn-.js → index.esm-UnRzlLlr.js} +3 -61
- package/dist/web/assets/index.esm-UnRzlLlr.js.map +1 -0
- package/dist/web/assets/isEqual-DAXqKRba.js +242 -0
- package/dist/web/assets/isEqual-DAXqKRba.js.map +1 -0
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js +60 -0
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js.map +1 -0
- package/dist/web/assets/{model-merger-BVBtbNAj.js → model-merger-BLEOsCIp.js} +9 -321
- package/dist/web/assets/model-merger-BLEOsCIp.js.map +1 -0
- package/dist/web/assets/plugin-definition-C935Xf1h.js +19 -0
- package/dist/web/assets/plugin-definition-C935Xf1h.js.map +1 -0
- package/dist/web/assets/plugin-definition-ChUKIqUg.js +40 -0
- package/dist/web/assets/plugin-definition-ChUKIqUg.js.map +1 -0
- package/dist/web/assets/plugin-definition-DH4QyCfv.js +86 -0
- package/dist/web/assets/plugin-definition-DH4QyCfv.js.map +1 -0
- package/dist/web/assets/plugin-definition-PCHsX2lR.js +19 -0
- package/dist/web/assets/plugin-definition-PCHsX2lR.js.map +1 -0
- package/dist/web/assets/{react-B23vKoD0.js → react-ecPihYHK.js} +2 -2
- package/dist/web/assets/{react-B23vKoD0.js.map → react-ecPihYHK.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +18 -12
- package/dist/web/assets/remoteEntry.js.map +1 -1
- package/dist/web/assets/sortBy-BPH_zRB8.js +34 -0
- package/dist/web/assets/sortBy-BPH_zRB8.js.map +1 -0
- package/dist/web/assets/{style-ZUYizAnf.css → style-BhUCMIWI.css} +51 -6
- package/dist/web/assets/styles-I6mpdfRm.js +58 -0
- package/dist/web/assets/styles-I6mpdfRm.js.map +1 -0
- package/dist/web/index.html +1 -1
- package/package.json +17 -16
- package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-apollo/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-apollo/index.js.map +0 -1
- package/dist/auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-apollo/templates/session-error-link.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/index.js +0 -11
- package/dist/auth/core/generators/auth-email-password/generated/template-paths.d.ts +0 -14
- package/dist/auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/index.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/index.js +0 -11
- package/dist/auth/core/generators/auth-hooks/generated/index.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +0 -16
- package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.js +0 -27
- package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/index.d.ts +0 -2
- package/dist/auth/core/generators/auth-hooks/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/index.js +0 -2
- package/dist/auth/core/generators/auth-hooks/index.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +0 -8
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +0 -12
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +0 -16
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
- package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/auth-module.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/index.js +0 -11
- package/dist/auth/core/generators/auth-module/generated/index.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-module/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/index.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/index.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/index.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +0 -2
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +0 -2
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts +0 -2
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +0 -1
- package/dist/auth/core/generators/index.d.ts.map +0 -1
- package/dist/auth/core/generators/index.js.map +0 -1
- package/dist/auth/core/generators/react-auth/index.d.ts.map +0 -1
- package/dist/auth/core/generators/react-auth/index.js.map +0 -1
- package/dist/auth/core/generators/react-auth/react-auth.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/react-auth/react-auth.generator.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/index.d.ts +0 -74
- package/dist/auth/core/generators/react-session/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/index.js +0 -11
- package/dist/auth/core/generators/react-session/generated/index.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/template-paths.d.ts +0 -16
- package/dist/auth/core/generators/react-session/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/template-paths.js +0 -26
- package/dist/auth/core/generators/react-session/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts +0 -27
- package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/template-renderers.js +0 -49
- package/dist/auth/core/generators/react-session/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/ts-import-providers.d.ts +0 -64
- package/dist/auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/ts-import-providers.js +0 -42
- package/dist/auth/core/generators/react-session/generated/ts-import-providers.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts +0 -46
- package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/typed-templates.js +0 -82
- package/dist/auth/core/generators/react-session/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/react-session/index.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/index.js.map +0 -1
- package/dist/auth/core/generators/react-session/react-session.generator.d.ts +0 -58
- package/dist/auth/core/generators/react-session/react-session.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/react-session.generator.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts +0 -7
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js +0 -25
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.tsx +0 -28
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js +0 -18
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +0 -45
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts +0 -12
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js +0 -15
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts +0 -30
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.js.map +0 -1
- package/dist/auth/core/index.d.ts.map +0 -1
- package/dist/auth/core/index.js.map +0 -1
- package/dist/auth/core/schema/models.d.ts +0 -9
- package/dist/auth/core/schema/models.d.ts.map +0 -1
- package/dist/auth/core/schema/models.js.map +0 -1
- package/dist/auth0/core/components/auth-definition-editor.d.ts +0 -5
- package/dist/auth0/core/components/auth-definition-editor.d.ts.map +0 -1
- package/dist/auth0/core/components/auth-definition-editor.js +0 -61
- package/dist/auth0/core/components/auth-definition-editor.js.map +0 -1
- package/dist/common/compiler/generator-creators.d.ts +0 -18
- package/dist/common/compiler/generator-creators.d.ts.map +0 -1
- package/dist/common/compiler/generator-creators.js +0 -34
- package/dist/common/compiler/generator-creators.js.map +0 -1
- package/dist/common/compiler/index.d.ts +0 -2
- package/dist/common/compiler/index.d.ts.map +0 -1
- package/dist/common/compiler/index.js +0 -2
- package/dist/common/compiler/index.js.map +0 -1
- package/dist/common/index.d.ts +0 -3
- package/dist/common/index.d.ts.map +0 -1
- package/dist/common/index.js +0 -3
- package/dist/common/index.js.map +0 -1
- package/dist/common/roles/components/index.d.ts +0 -2
- package/dist/common/roles/components/index.d.ts.map +0 -1
- package/dist/common/roles/components/index.js +0 -2
- package/dist/common/roles/components/index.js.map +0 -1
- package/dist/common/roles/components/role-editor-form/role-dialog.d.ts.map +0 -1
- package/dist/common/roles/components/role-editor-form/role-dialog.js.map +0 -1
- package/dist/common/roles/components/role-editor-form/role-editor-form.d.ts +0 -10
- package/dist/common/roles/components/role-editor-form/role-editor-form.d.ts.map +0 -1
- package/dist/common/roles/components/role-editor-form/role-editor-form.js.map +0 -1
- package/dist/common/roles/constants.d.ts.map +0 -1
- package/dist/common/roles/constants.js.map +0 -1
- package/dist/common/roles/index.d.ts +0 -4
- package/dist/common/roles/index.d.ts.map +0 -1
- package/dist/common/roles/index.js +0 -4
- package/dist/common/roles/index.js.map +0 -1
- package/dist/common/roles/schema.d.ts.map +0 -1
- package/dist/common/roles/schema.js.map +0 -1
- package/dist/web/assets/__federation_expose_auth0CoreCommon-CSWdt8d_.js +0 -56
- package/dist/web/assets/__federation_expose_auth0CoreCommon-CSWdt8d_.js.map +0 -1
- package/dist/web/assets/__federation_expose_auth0CoreWeb-DjVw47sM.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreCommon-CvHJZFIq.js +0 -36
- package/dist/web/assets/__federation_expose_authCoreCommon-CvHJZFIq.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-CrFEmZp3.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CmkiEJ6z.js +0 -39
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CmkiEJ6z.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-CpxfTdxv.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-B7442OYh.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-X318M5Ml.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-uocnGSER.js +0 -7
- package/dist/web/assets/index.esm-DYWXRkn-.js.map +0 -1
- package/dist/web/assets/model-merger-BVBtbNAj.js.map +0 -1
- package/dist/web/assets/plugin-definition-Bdhuga1j.js +0 -36
- package/dist/web/assets/plugin-definition-Bdhuga1j.js.map +0 -1
- package/dist/web/assets/plugin-definition-C9d7ykhX.js +0 -24
- package/dist/web/assets/plugin-definition-C9d7ykhX.js.map +0 -1
- package/dist/web/assets/plugin-definition-QzgXWr1I.js +0 -24
- package/dist/web/assets/plugin-definition-QzgXWr1I.js.map +0 -1
- package/dist/web/assets/role-editor-form-BkcoVwtU.js +0 -319
- package/dist/web/assets/role-editor-form-BkcoVwtU.js.map +0 -1
- package/dist/web/assets/styles-Dfjm_ApH.js +0 -201
- package/dist/web/assets/styles-Dfjm_ApH.js.map +0 -1
- package/manifest.json +0 -4
- /package/dist/{common → auth/core/schema}/roles/constants.d.ts +0 -0
- /package/dist/{common → auth/core/schema}/roles/constants.js +0 -0
- /package/dist/{common → auth/core/schema}/roles/schema.d.ts +0 -0
- /package/dist/{common → auth/core/schema}/roles/schema.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-apollo/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-apollo/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-apollo/templates/session-error-link.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-apollo/templates/session-error-link.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-apollo/templates/session-error-link.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/constants/password.constants.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/constants/password.constants.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-current-user.gql +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.mutations.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/services/user-session.service.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/session-cookie.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/session-cookie.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/session-cookie.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/auth-routes.generator.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/generated/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/generated/template-paths.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/generated/template-paths.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/route.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/route.tsx +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-auth/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-auth/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-auth/react-auth.generator.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-session/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-session/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-session/templates/src/app/user-session-provider.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/index.js +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { c as createPluginSpec,
|
|
2
|
-
export {
|
|
3
|
-
import { importShared } from '../__federation_fn_import-
|
|
1
|
+
import { c as createPluginSpec, m as mapValues, a as createEntityType, d as definitionSchema, D as DefinitionReferenceMarker, g as get, R as REF_ANNOTATIONS_MARKER_SYMBOL, b as createDefinitionSchemaParserContext, s as set$1, e as modelForeignRelationEntityType, f as modelLocalRelationEntityType, h as modelScalarFieldEntityType, i as modelTransformerEntityType, j as modelEntityType, k as modelEnumValueEntityType, l as featureEntityType, n as modelEnumEntityType, o as modelUniqueConstraintEntityType, p as createFeaturesSchema, M as ModelUtils, q as omit, r as cloneDeep } from '../model-merger-BLEOsCIp.js';
|
|
2
|
+
export { I as DefinitionDiffArrayIncludesField, G as DefinitionDiffKeyedArrayField, H as DefinitionDiffReplacementField, u as DefinitionEntityType, F as FeatureUtils, L as applyDefinitionDiff, B as applyModelMergerDiff, C as applyModelMergerResultInPlace, E as createAndApplyModelMergerResults, K as createDefinitionDiff, J as createDefinitionDiffConfig, w as createFeatureSchema, t as createInitializedPluginSpec, y as createModelMergerResult, A as createModelMergerResults, z as doesModelMergerResultsHaveChanges, v as featureNameSchema, x as modelMergerDefinitionDiffConfig } from '../model-merger-BLEOsCIp.js';
|
|
3
|
+
import { importShared } from '../__federation_fn_import-DReOsou_.js';
|
|
4
|
+
import { i as isEqual } from '../isEqual-DAXqKRba.js';
|
|
5
|
+
import { s as sortBy } from '../sortBy-BPH_zRB8.js';
|
|
4
6
|
|
|
5
7
|
function createAdminCrudInputCompilerImplementation() {
|
|
6
8
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -53,38 +55,6 @@ function keyBy(arr, getKeyFromItem) {
|
|
|
53
55
|
return result;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
function compareValues(a, b, order) {
|
|
57
|
-
if (a < b) {
|
|
58
|
-
return order === 'asc' ? -1 : 1;
|
|
59
|
-
}
|
|
60
|
-
if (a > b) {
|
|
61
|
-
return order === 'asc' ? 1 : -1;
|
|
62
|
-
}
|
|
63
|
-
return 0;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function orderBy(arr, criteria, orders) {
|
|
67
|
-
return arr.slice().sort((a, b) => {
|
|
68
|
-
const ordersLength = orders.length;
|
|
69
|
-
for (let i = 0; i < criteria.length; i++) {
|
|
70
|
-
const order = ordersLength > i ? orders[i] : orders[ordersLength - 1];
|
|
71
|
-
const criterion = criteria[i];
|
|
72
|
-
const criterionIsFunction = typeof criterion === 'function';
|
|
73
|
-
const valueA = criterionIsFunction ? criterion(a) : a[criterion];
|
|
74
|
-
const valueB = criterionIsFunction ? criterion(b) : b[criterion];
|
|
75
|
-
const result = compareValues(valueA, valueB, order);
|
|
76
|
-
if (result !== 0) {
|
|
77
|
-
return result;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
return 0;
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
function sortBy(arr, criteria) {
|
|
85
|
-
return orderBy(arr, criteria, ['asc']);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
58
|
function uniq(arr) {
|
|
89
59
|
return Array.from(new Set(arr));
|
|
90
60
|
}
|
|
@@ -99,33 +69,6 @@ function flow(...funcs) {
|
|
|
99
69
|
};
|
|
100
70
|
}
|
|
101
71
|
|
|
102
|
-
function isObjectLike(value) {
|
|
103
|
-
return typeof value === 'object' && value !== null;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
function mergeWith(target, source, merge) {
|
|
107
|
-
const sourceKeys = Object.keys(source);
|
|
108
|
-
for (let i = 0; i < sourceKeys.length; i++) {
|
|
109
|
-
const key = sourceKeys[i];
|
|
110
|
-
const sourceValue = source[key];
|
|
111
|
-
const targetValue = target[key];
|
|
112
|
-
const merged = merge(targetValue, sourceValue, key, target, source);
|
|
113
|
-
if (merged != null) {
|
|
114
|
-
target[key] = merged;
|
|
115
|
-
}
|
|
116
|
-
else if (Array.isArray(sourceValue)) {
|
|
117
|
-
target[key] = mergeWith(targetValue ?? [], sourceValue, merge);
|
|
118
|
-
}
|
|
119
|
-
else if (isObjectLike(targetValue) && isObjectLike(sourceValue)) {
|
|
120
|
-
target[key] = mergeWith(targetValue ?? {}, sourceValue, merge);
|
|
121
|
-
}
|
|
122
|
-
else if (targetValue === undefined || sourceValue !== undefined) {
|
|
123
|
-
target[key] = sourceValue;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
return target;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
72
|
function pickBy(obj, shouldPick) {
|
|
130
73
|
const result = {};
|
|
131
74
|
const keys = Object.keys(obj);
|
|
@@ -139,495 +82,6 @@ function pickBy(obj, shouldPick) {
|
|
|
139
82
|
return result;
|
|
140
83
|
}
|
|
141
84
|
|
|
142
|
-
// adapted from https://github.com/AitoDotAI/json-stringify-pretty-compact
|
|
143
|
-
// allows { } to be presented as {} to better mirror prettier formatting
|
|
144
|
-
function isObject(obj) {
|
|
145
|
-
return typeof obj === 'object' && obj !== null;
|
|
146
|
-
}
|
|
147
|
-
function forEach(obj, cb) {
|
|
148
|
-
if (Array.isArray(obj)) {
|
|
149
|
-
// eslint-disable-next-line unicorn/no-array-for-each
|
|
150
|
-
obj.forEach(cb);
|
|
151
|
-
}
|
|
152
|
-
else if (isObject(obj)) {
|
|
153
|
-
for (const key of Object.keys(obj)) {
|
|
154
|
-
const val = obj[key];
|
|
155
|
-
cb(val, key);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
function getTreeDepth(obj) {
|
|
160
|
-
let depth = 0;
|
|
161
|
-
if (Array.isArray(obj) || isObject(obj)) {
|
|
162
|
-
forEach(obj, (val) => {
|
|
163
|
-
if (Array.isArray(val) || isObject(val)) {
|
|
164
|
-
const tmpDepth = getTreeDepth(val);
|
|
165
|
-
if (tmpDepth > depth) {
|
|
166
|
-
depth = tmpDepth;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
return depth + 1;
|
|
171
|
-
}
|
|
172
|
-
return depth;
|
|
173
|
-
}
|
|
174
|
-
function get(options, name, defaultValue) {
|
|
175
|
-
return (name in options ? options[name] : defaultValue);
|
|
176
|
-
}
|
|
177
|
-
// Note: This regex matches even invalid JSON strings, but since we’re
|
|
178
|
-
// working on the output of `JSON.stringify` we know that only valid strings
|
|
179
|
-
// are present (unless the user supplied a weird `options.indent` but in
|
|
180
|
-
// that case we don’t care since the output would be invalid anyway).
|
|
181
|
-
// This regex has been adjusted to allow replacement of { } and [ ] with {} and []
|
|
182
|
-
// to better mirror prettier formatting.
|
|
183
|
-
const stringOrChar = /("(?:[^\\"]|\\.)*")|[:,]|\{(?!})|(?<!\{)}|\[(?!])|(?<!\[)]/g;
|
|
184
|
-
function prettify(str, options = {}) {
|
|
185
|
-
const tokens = {
|
|
186
|
-
'{': '{',
|
|
187
|
-
'}': '}',
|
|
188
|
-
'[': '[',
|
|
189
|
-
']': ']',
|
|
190
|
-
',': ', ',
|
|
191
|
-
':': ': ',
|
|
192
|
-
};
|
|
193
|
-
if (!!options.addMargin || !!options.addObjectMargin) {
|
|
194
|
-
tokens['{'] = '{ ';
|
|
195
|
-
tokens['}'] = ' }';
|
|
196
|
-
}
|
|
197
|
-
if (!!options.addMargin || !!options.addArrayMargin) {
|
|
198
|
-
tokens['['] = '[ ';
|
|
199
|
-
tokens[']'] = ' ]';
|
|
200
|
-
}
|
|
201
|
-
return str.replaceAll(stringOrChar, (match, string) => string ? match : tokens[match]);
|
|
202
|
-
}
|
|
203
|
-
function stringifyPrettyCompact(rootObj, options = {}) {
|
|
204
|
-
const indent = JSON.stringify([1], null, get(options, 'indent', 2)).slice(2, -3);
|
|
205
|
-
const addMargin = get(options, 'margins', false);
|
|
206
|
-
const addArrayMargin = get(options, 'arrayMargins', false);
|
|
207
|
-
const addObjectMargin = get(options, 'objectMargins', true);
|
|
208
|
-
const maxLength = indent === '' ? Infinity : get(options, 'maxLength', 80);
|
|
209
|
-
const maxNesting = get(options, 'maxNesting', Infinity);
|
|
210
|
-
return (function stringifyRecursive(obj, currentIndent, reserved) {
|
|
211
|
-
if (obj &&
|
|
212
|
-
typeof obj === 'object' &&
|
|
213
|
-
typeof obj.toJSON === 'function') {
|
|
214
|
-
// eslint-disable-next-line @typescript-eslint/no-confusing-void-expression
|
|
215
|
-
obj = obj.toJSON();
|
|
216
|
-
}
|
|
217
|
-
const string = JSON.stringify(obj);
|
|
218
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
219
|
-
if (string === undefined) {
|
|
220
|
-
return string;
|
|
221
|
-
}
|
|
222
|
-
const length = maxLength - currentIndent.length - reserved;
|
|
223
|
-
const treeDepth = getTreeDepth(obj);
|
|
224
|
-
if (treeDepth <= maxNesting && string.length <= length) {
|
|
225
|
-
const prettified = prettify(string, {
|
|
226
|
-
addMargin,
|
|
227
|
-
addArrayMargin,
|
|
228
|
-
addObjectMargin,
|
|
229
|
-
});
|
|
230
|
-
if (prettified.length <= length) {
|
|
231
|
-
return prettified;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
if (isObject(obj)) {
|
|
235
|
-
const nextIndent = currentIndent + indent;
|
|
236
|
-
const items = [];
|
|
237
|
-
let delimiters;
|
|
238
|
-
const atEndOfArray = (array, index) => index === array.length - 1 ? 0 : 1;
|
|
239
|
-
if (Array.isArray(obj)) {
|
|
240
|
-
for (let index = 0; index < obj.length; index += 1) {
|
|
241
|
-
items.push(stringifyRecursive(obj[index], nextIndent, atEndOfArray(obj, index)) || 'null');
|
|
242
|
-
}
|
|
243
|
-
delimiters = '[]';
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
// eslint-disable-next-line unicorn/no-array-for-each
|
|
247
|
-
Object.keys(obj).forEach((key, index, array) => {
|
|
248
|
-
const keyPart = `${JSON.stringify(key)}: `;
|
|
249
|
-
const value = stringifyRecursive(obj[key], nextIndent, keyPart.length + atEndOfArray(array, index));
|
|
250
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
251
|
-
if (value !== undefined) {
|
|
252
|
-
items.push(keyPart + value);
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
|
-
delimiters = '{}';
|
|
256
|
-
}
|
|
257
|
-
if (items.length > 0) {
|
|
258
|
-
return [
|
|
259
|
-
delimiters[0],
|
|
260
|
-
indent + items.join(`,\n${nextIndent}`),
|
|
261
|
-
delimiters[1],
|
|
262
|
-
].join(`\n${currentIndent}`);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
return string;
|
|
266
|
-
})(rootObj, '', 0);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
function isPlainObject$1(value) {
|
|
270
|
-
if (typeof value !== 'object' || value === null) {
|
|
271
|
-
return false;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
const prototype = Object.getPrototypeOf(value);
|
|
275
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
function sortKeys(object, options = {}) {
|
|
279
|
-
if (!isPlainObject$1(object) && !Array.isArray(object)) {
|
|
280
|
-
throw new TypeError('Expected a plain object or array');
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
const {deep, compare} = options;
|
|
284
|
-
const cache = new WeakMap();
|
|
285
|
-
|
|
286
|
-
const deepSortArray = array => {
|
|
287
|
-
const resultFromCache = cache.get(array);
|
|
288
|
-
if (resultFromCache !== undefined) {
|
|
289
|
-
return resultFromCache;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
const result = [];
|
|
293
|
-
cache.set(array, result);
|
|
294
|
-
|
|
295
|
-
result.push(...array.map(item => {
|
|
296
|
-
if (Array.isArray(item)) {
|
|
297
|
-
return deepSortArray(item);
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
if (isPlainObject$1(item)) {
|
|
301
|
-
return _sortKeys(item);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
return item;
|
|
305
|
-
}));
|
|
306
|
-
|
|
307
|
-
return result;
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
const _sortKeys = object => {
|
|
311
|
-
const resultFromCache = cache.get(object);
|
|
312
|
-
if (resultFromCache !== undefined) {
|
|
313
|
-
return resultFromCache;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
const result = {};
|
|
317
|
-
const keys = Object.keys(object).sort(compare);
|
|
318
|
-
|
|
319
|
-
cache.set(object, result);
|
|
320
|
-
|
|
321
|
-
for (const key of keys) {
|
|
322
|
-
const value = object[key];
|
|
323
|
-
let newValue;
|
|
324
|
-
|
|
325
|
-
if (deep && Array.isArray(value)) {
|
|
326
|
-
newValue = deepSortArray(value);
|
|
327
|
-
} else {
|
|
328
|
-
newValue = deep && isPlainObject$1(value) ? _sortKeys(value) : value;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
Object.defineProperty(result, key, {
|
|
332
|
-
...Object.getOwnPropertyDescriptor(object, key),
|
|
333
|
-
value: newValue,
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
return result;
|
|
338
|
-
};
|
|
339
|
-
|
|
340
|
-
if (Array.isArray(object)) {
|
|
341
|
-
return deep ? deepSortArray(object) : [...object];
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
return _sortKeys(object);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Stringifies a value with stable pretty printing.
|
|
349
|
-
*
|
|
350
|
-
* That means the keys are sorted and the value is pretty printed.
|
|
351
|
-
*
|
|
352
|
-
* @param value - The value to stringify.
|
|
353
|
-
* @returns The stringified value.
|
|
354
|
-
*/
|
|
355
|
-
function stringifyPrettyStable(value) {
|
|
356
|
-
const sortedValue = sortKeys(value, {
|
|
357
|
-
deep: true,
|
|
358
|
-
});
|
|
359
|
-
return `${stringifyPrettyCompact(sortedValue)}\n`;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Merges two objects, throwing an error if any keys overlap.
|
|
364
|
-
*
|
|
365
|
-
* @param itemOne - The first object to merge.
|
|
366
|
-
* @param itemTwo - The second object to merge.
|
|
367
|
-
* @param options - Options to control merge behavior
|
|
368
|
-
* @returns The merged object.
|
|
369
|
-
*/
|
|
370
|
-
function safeMerge(itemOne, itemTwo, options = {}) {
|
|
371
|
-
return mergeWith(itemOne, itemTwo, (targetValue, sourceValue, key) => {
|
|
372
|
-
if (key in itemOne && key in itemTwo) {
|
|
373
|
-
if (options.allowEqualValues && isEqual(targetValue, sourceValue)) {
|
|
374
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return -- we're just using the sourceValue
|
|
375
|
-
return sourceValue;
|
|
376
|
-
}
|
|
377
|
-
throw new Error(`Cannot merge key ${key} because it already exists.`);
|
|
378
|
-
}
|
|
379
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return -- we're just using the sourceValue
|
|
380
|
-
return sourceValue;
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
class ToposortCyclicalDependencyError extends Error {
|
|
385
|
-
cyclePath;
|
|
386
|
-
constructor(nodes) {
|
|
387
|
-
super(`Cyclical dependency detected: ${nodes.map((n) => JSON.stringify(n)).join(' -> ')}`);
|
|
388
|
-
this.name = 'ToposortCyclicalDependencyError';
|
|
389
|
-
this.cyclePath = nodes; // Store the path for potential inspection
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
class ToposortUnknownNodeError extends Error {
|
|
393
|
-
unknownNode;
|
|
394
|
-
constructor(node) {
|
|
395
|
-
super(`Unknown node referenced in edges: ${JSON.stringify(node)}`);
|
|
396
|
-
this.name = 'ToposortUnknownNodeError';
|
|
397
|
-
this.unknownNode = node; // Store the node for potential inspection
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
class TinyQueue {
|
|
402
|
-
constructor(data = [], compare = (a, b) => (a < b ? -1 : a > b ? 1 : 0)) {
|
|
403
|
-
this.data = data;
|
|
404
|
-
this.length = this.data.length;
|
|
405
|
-
this.compare = compare;
|
|
406
|
-
|
|
407
|
-
if (this.length > 0) {
|
|
408
|
-
for (let i = (this.length >> 1) - 1; i >= 0; i--) this._down(i);
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
push(item) {
|
|
413
|
-
this.data.push(item);
|
|
414
|
-
this._up(this.length++);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
pop() {
|
|
418
|
-
if (this.length === 0) return undefined;
|
|
419
|
-
|
|
420
|
-
const top = this.data[0];
|
|
421
|
-
const bottom = this.data.pop();
|
|
422
|
-
|
|
423
|
-
if (--this.length > 0) {
|
|
424
|
-
this.data[0] = bottom;
|
|
425
|
-
this._down(0);
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
return top;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
peek() {
|
|
432
|
-
return this.data[0];
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
_up(pos) {
|
|
436
|
-
const {data, compare} = this;
|
|
437
|
-
const item = data[pos];
|
|
438
|
-
|
|
439
|
-
while (pos > 0) {
|
|
440
|
-
const parent = (pos - 1) >> 1;
|
|
441
|
-
const current = data[parent];
|
|
442
|
-
if (compare(item, current) >= 0) break;
|
|
443
|
-
data[pos] = current;
|
|
444
|
-
pos = parent;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
data[pos] = item;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
_down(pos) {
|
|
451
|
-
const {data, compare} = this;
|
|
452
|
-
const halfLength = this.length >> 1;
|
|
453
|
-
const item = data[pos];
|
|
454
|
-
|
|
455
|
-
while (pos < halfLength) {
|
|
456
|
-
let bestChild = (pos << 1) + 1; // initially it is the left child
|
|
457
|
-
const right = bestChild + 1;
|
|
458
|
-
|
|
459
|
-
if (right < this.length && compare(data[right], data[bestChild]) < 0) {
|
|
460
|
-
bestChild = right;
|
|
461
|
-
}
|
|
462
|
-
if (compare(data[bestChild], item) >= 0) break;
|
|
463
|
-
|
|
464
|
-
data[pos] = data[bestChild];
|
|
465
|
-
pos = bestChild;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
data[pos] = item;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* Creates a map of outgoing edges from node indices to their target indices
|
|
474
|
-
*/
|
|
475
|
-
function makeOutgoingEdges(nodes, edgeArr) {
|
|
476
|
-
const outgoingEdgesMap = new Map();
|
|
477
|
-
for (const edge of edgeArr) {
|
|
478
|
-
const [source, target] = edge;
|
|
479
|
-
const sourceIndex = nodes.get(source);
|
|
480
|
-
const targetIndex = nodes.get(target);
|
|
481
|
-
// Check both source and target exist in the provided nodes set
|
|
482
|
-
if (sourceIndex === undefined)
|
|
483
|
-
throw new ToposortUnknownNodeError(source);
|
|
484
|
-
if (targetIndex === undefined)
|
|
485
|
-
throw new ToposortUnknownNodeError(target);
|
|
486
|
-
const sourceEdges = outgoingEdgesMap.get(sourceIndex);
|
|
487
|
-
if (sourceEdges) {
|
|
488
|
-
sourceEdges.add(targetIndex);
|
|
489
|
-
}
|
|
490
|
-
else {
|
|
491
|
-
outgoingEdgesMap.set(sourceIndex, new Set([targetIndex]));
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
return outgoingEdgesMap;
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* Creates a map of node indices to their in-degree
|
|
498
|
-
*/
|
|
499
|
-
function makeNodeInDegrees(outgoingEdgesMap, nodeLength) {
|
|
500
|
-
const nodeInDegrees = Array.from({ length: nodeLength }, () => 0);
|
|
501
|
-
for (const [, targets] of outgoingEdgesMap.entries()) {
|
|
502
|
-
for (const target of targets) {
|
|
503
|
-
nodeInDegrees[target]++;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
return nodeInDegrees;
|
|
507
|
-
}
|
|
508
|
-
/**
|
|
509
|
-
* Detects cycles in a graph by checking if all nodes are included in the topological sort
|
|
510
|
-
*/
|
|
511
|
-
function detectCycle(nodes, visited, edges) {
|
|
512
|
-
// If all nodes were visited, no cycle exists
|
|
513
|
-
if (visited.size === nodes.length) {
|
|
514
|
-
return [];
|
|
515
|
-
}
|
|
516
|
-
// Run DFS from any unvisited node to find a cycle
|
|
517
|
-
const path = [];
|
|
518
|
-
const visitSet = new Set();
|
|
519
|
-
function dfs(node) {
|
|
520
|
-
if (visitSet.has(node)) {
|
|
521
|
-
path.push(node);
|
|
522
|
-
return true;
|
|
523
|
-
}
|
|
524
|
-
if (visited.has(node)) {
|
|
525
|
-
return false;
|
|
526
|
-
}
|
|
527
|
-
visitSet.add(node);
|
|
528
|
-
path.push(node);
|
|
529
|
-
const neighbors = edges.get(node) ?? new Set();
|
|
530
|
-
for (const neighbor of neighbors) {
|
|
531
|
-
if (dfs(neighbor)) {
|
|
532
|
-
return true;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
path.pop();
|
|
536
|
-
visitSet.delete(node);
|
|
537
|
-
return false;
|
|
538
|
-
}
|
|
539
|
-
// For cycle detection, we need to try all unvisited nodes
|
|
540
|
-
for (let i = 0; i < nodes.length; i++) {
|
|
541
|
-
if (!visited.has(i)) {
|
|
542
|
-
// Reset path and visitSet for each starting node
|
|
543
|
-
path.length = 0;
|
|
544
|
-
visitSet.clear();
|
|
545
|
-
const cycleFound = dfs(i);
|
|
546
|
-
if (cycleFound) {
|
|
547
|
-
// Convert path indices to actual nodes
|
|
548
|
-
return path.map((idx) => nodes[idx]);
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
return [];
|
|
553
|
-
}
|
|
554
|
-
/**
|
|
555
|
-
* Default comparison function for stable topological sort
|
|
556
|
-
*/
|
|
557
|
-
function defaultCompareFunc(a, b) {
|
|
558
|
-
if (typeof a === 'string' && typeof b === 'string') {
|
|
559
|
-
return a.localeCompare(b);
|
|
560
|
-
}
|
|
561
|
-
if (a === b)
|
|
562
|
-
return 0;
|
|
563
|
-
return a < b ? -1 : 1;
|
|
564
|
-
}
|
|
565
|
-
/**
|
|
566
|
-
* Performs a topological sort on a directed acyclic graph.
|
|
567
|
-
*
|
|
568
|
-
* @param nodes - The nodes to sort
|
|
569
|
-
* @param edges - The edges of the graph
|
|
570
|
-
* @param options - Optional options for the topological sort
|
|
571
|
-
* @returns The sorted nodes
|
|
572
|
-
*/
|
|
573
|
-
function toposort(nodes, edges, options = {}) {
|
|
574
|
-
const { compareFunc } = options;
|
|
575
|
-
// Map each node to its index
|
|
576
|
-
const nodeIndexMap = new Map(nodes.map((node, index) => [node, index]));
|
|
577
|
-
// Create a map of outgoing edges from each node
|
|
578
|
-
const outgoingEdgesMap = makeOutgoingEdges(nodeIndexMap, edges);
|
|
579
|
-
const nodeInDegrees = makeNodeInDegrees(outgoingEdgesMap, nodes.length);
|
|
580
|
-
// Create a queue of nodes with no incoming edges (in-degree == 0)
|
|
581
|
-
const zeroInDegreeQueue = compareFunc
|
|
582
|
-
? new TinyQueue([], (a, b) => compareFunc(nodes[a], nodes[b]))
|
|
583
|
-
: [];
|
|
584
|
-
for (const [i, nodeInDegree] of nodeInDegrees.entries()) {
|
|
585
|
-
if (nodeInDegree === 0) {
|
|
586
|
-
zeroInDegreeQueue.push(i);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
const result = [];
|
|
590
|
-
const visited = new Set();
|
|
591
|
-
// Process nodes in BFS order
|
|
592
|
-
while (zeroInDegreeQueue.length > 0) {
|
|
593
|
-
const current = zeroInDegreeQueue.pop();
|
|
594
|
-
if (current === undefined)
|
|
595
|
-
break;
|
|
596
|
-
visited.add(current);
|
|
597
|
-
result.push(nodes[current]);
|
|
598
|
-
// Process all outgoing edges from the current node
|
|
599
|
-
const outgoingEdges = outgoingEdgesMap.get(current);
|
|
600
|
-
if (outgoingEdges) {
|
|
601
|
-
for (const target of outgoingEdges) {
|
|
602
|
-
nodeInDegrees[target]--;
|
|
603
|
-
// If the target node now has no incoming edges, add it to the queue
|
|
604
|
-
if (nodeInDegrees[target] === 0) {
|
|
605
|
-
zeroInDegreeQueue.push(target);
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
// Check for cycles
|
|
611
|
-
if (result.length !== nodes.length) {
|
|
612
|
-
const cyclePath = detectCycle(nodes, visited, outgoingEdgesMap);
|
|
613
|
-
throw new ToposortCyclicalDependencyError(cyclePath);
|
|
614
|
-
}
|
|
615
|
-
return result;
|
|
616
|
-
}
|
|
617
|
-
/**
|
|
618
|
-
* Performs a topological sort on a directed acyclic graph, always selecting
|
|
619
|
-
* the smallest available node according to the provided comparison function,
|
|
620
|
-
* yielding the lexicographically minimal ordering.
|
|
621
|
-
*
|
|
622
|
-
* @param nodes - The nodes to sort
|
|
623
|
-
* @param edges - The edges of the graph
|
|
624
|
-
* @param compareFunc - Optional custom comparison function to break ties between nodes with the same topological level (default is string comparison)
|
|
625
|
-
* @returns The sorted nodes
|
|
626
|
-
*/
|
|
627
|
-
function toposortOrdered(nodes, edges, compareFunc = defaultCompareFunc) {
|
|
628
|
-
return toposort(nodes, edges, { compareFunc });
|
|
629
|
-
}
|
|
630
|
-
|
|
631
85
|
/**
|
|
632
86
|
* Strip object of any values that are empty arrays, empty objects, null, or undefined
|
|
633
87
|
*/
|
|
@@ -685,12 +139,13 @@ class PluginImplementationStore {
|
|
|
685
139
|
}
|
|
686
140
|
}
|
|
687
141
|
|
|
142
|
+
const {toposortOrdered} = await importShared('@baseplate-dev/utils');
|
|
688
143
|
function extractPlatformModulesFromPlugins(plugins) {
|
|
689
144
|
return plugins.flatMap((plugin) => plugin.pluginModules.map((m) => ({
|
|
690
145
|
...m,
|
|
691
|
-
id: `${plugin.
|
|
146
|
+
id: `${plugin.key}/${m.key}`,
|
|
692
147
|
name: `${plugin.name}/${m.key}`,
|
|
693
|
-
|
|
148
|
+
pluginKey: plugin.key,
|
|
694
149
|
pluginName: plugin.name,
|
|
695
150
|
})));
|
|
696
151
|
}
|
|
@@ -729,7 +184,7 @@ function getOrderedPluginModuleInitializationSteps(pluginModules, initialSpecImp
|
|
|
729
184
|
}
|
|
730
185
|
function initializeOrderedPluginModules(orderedPluginModules, initialSpecImplementations) {
|
|
731
186
|
const specImplementations = { ...initialSpecImplementations };
|
|
732
|
-
for (const { name, module,
|
|
187
|
+
for (const { name, module, pluginKey } of orderedPluginModules) {
|
|
733
188
|
const dependencies = module.dependencies
|
|
734
189
|
? stripUndefinedValues(mapValues(module.dependencies, (dep) => {
|
|
735
190
|
const implementation = specImplementations[dep.name];
|
|
@@ -739,7 +194,7 @@ function initializeOrderedPluginModules(orderedPluginModules, initialSpecImpleme
|
|
|
739
194
|
return implementation;
|
|
740
195
|
}))
|
|
741
196
|
: {};
|
|
742
|
-
const context = {
|
|
197
|
+
const context = { pluginKey };
|
|
743
198
|
const exports = module.initialize(dependencies, context);
|
|
744
199
|
Object.entries(module.exports ?? {}).map(([key, spec]) => {
|
|
745
200
|
const exportedImplementation = exports[key];
|
|
@@ -766,12 +221,38 @@ function createPlatformPluginExport(config) {
|
|
|
766
221
|
return config;
|
|
767
222
|
}
|
|
768
223
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
224
|
+
/**
|
|
225
|
+
* Gets a plugin metadata object by its key.
|
|
226
|
+
*
|
|
227
|
+
* @param pluginStore The plugin store to use
|
|
228
|
+
* @param key The key of the plugin to get
|
|
229
|
+
* @returns The plugin metadata object or undefined if the plugin is not found
|
|
230
|
+
*/
|
|
231
|
+
function getPluginMetadataByKey(pluginStore, key) {
|
|
232
|
+
return pluginStore.availablePlugins.find((p) => p.metadata.key === key)
|
|
233
|
+
?.metadata;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Gets a plugin metadata object by its key.
|
|
237
|
+
*
|
|
238
|
+
* @param pluginStore The plugin store to use
|
|
239
|
+
* @param key The key of the plugin to get
|
|
240
|
+
* @returns The plugin metadata object
|
|
241
|
+
* @throws An error if the plugin is not found
|
|
242
|
+
*/
|
|
243
|
+
function getPluginMetadataByKeyOrThrow(pluginStore, key) {
|
|
244
|
+
const metadata = getPluginMetadataByKey(pluginStore, key);
|
|
245
|
+
if (!metadata) {
|
|
246
|
+
throw new Error(`Could not find plugin with key ${key}`);
|
|
247
|
+
}
|
|
248
|
+
return metadata;
|
|
249
|
+
}
|
|
250
|
+
function getManagedPluginsForPlugin(pluginStore, pluginKey) {
|
|
251
|
+
const plugin = getPluginMetadataByKeyOrThrow(pluginStore, pluginKey);
|
|
252
|
+
return pluginStore.availablePlugins
|
|
253
|
+
.filter((p) => p.metadata.managedBy === plugin.fullyQualifiedName)
|
|
254
|
+
.map((p) => p.metadata);
|
|
255
|
+
}
|
|
775
256
|
|
|
776
257
|
const {z: z$k} = await importShared('zod');
|
|
777
258
|
|
|
@@ -786,7 +267,7 @@ const pluginSpecDependencySchema = z$k.object({
|
|
|
786
267
|
version: z$k.string(),
|
|
787
268
|
});
|
|
788
269
|
/**
|
|
789
|
-
* Schema for the plugin's metadata
|
|
270
|
+
* Schema for the plugin's metadata (plugin.json)
|
|
790
271
|
*/
|
|
791
272
|
const pluginMetadataSchema = z$k.object({
|
|
792
273
|
/**
|
|
@@ -812,6 +293,14 @@ const pluginMetadataSchema = z$k.object({
|
|
|
812
293
|
* A description of the plugin
|
|
813
294
|
*/
|
|
814
295
|
description: z$k.string(),
|
|
296
|
+
/**
|
|
297
|
+
* The fully qualified name of the plugin that manages this plugin,
|
|
298
|
+
* e.g. "@baseplate-dev/plugin-auth:auth0" would be managed by the "@baseplate-dev/plugin-auth:auth" plugin.
|
|
299
|
+
*
|
|
300
|
+
* Managed plugins do not appear in the plugin list but are managed by the base plugin. If the base
|
|
301
|
+
* plugin is disabled, the managed plugins will also be disabled.
|
|
302
|
+
*/
|
|
303
|
+
managedBy: z$k.string().optional(),
|
|
815
304
|
/**
|
|
816
305
|
* The version of the plugin using semver
|
|
817
306
|
*/
|
|
@@ -1561,17 +1050,22 @@ function runPluginMigrations(projectDefinition, pluginImplementationStore) {
|
|
|
1561
1050
|
*/
|
|
1562
1051
|
const authConfigSpec = createPluginSpec('core/auth-config', {});
|
|
1563
1052
|
|
|
1053
|
+
/**
|
|
1054
|
+
* Spec for adding user model config component for plugin
|
|
1055
|
+
*/
|
|
1056
|
+
const authModelConfigSpec = createPluginSpec('core/auth-model-config', {});
|
|
1057
|
+
|
|
1564
1058
|
function createWebConfigImplementation() {
|
|
1565
1059
|
const components = new Map();
|
|
1566
1060
|
return {
|
|
1567
|
-
registerWebConfigComponent(
|
|
1568
|
-
if (components.has(
|
|
1569
|
-
throw new Error(`Web config component for plugin ${
|
|
1061
|
+
registerWebConfigComponent(pluginKey, ConfigComponent) {
|
|
1062
|
+
if (components.has(pluginKey)) {
|
|
1063
|
+
throw new Error(`Web config component for plugin ${pluginKey} is already registered`);
|
|
1570
1064
|
}
|
|
1571
|
-
components.set(
|
|
1065
|
+
components.set(pluginKey, ConfigComponent);
|
|
1572
1066
|
},
|
|
1573
|
-
getWebConfigComponent(
|
|
1574
|
-
return components.get(
|
|
1067
|
+
getWebConfigComponent(pluginKey) {
|
|
1068
|
+
return components.get(pluginKey);
|
|
1575
1069
|
},
|
|
1576
1070
|
};
|
|
1577
1071
|
}
|
|
@@ -1583,6 +1077,7 @@ const webConfigSpec = createPluginSpec('core/web-config', {
|
|
|
1583
1077
|
defaultInitializer: createWebConfigImplementation,
|
|
1584
1078
|
});
|
|
1585
1079
|
|
|
1080
|
+
const {safeMerge} = await importShared('@baseplate-dev/utils');
|
|
1586
1081
|
function createAppCompiler() {
|
|
1587
1082
|
const children = {};
|
|
1588
1083
|
let rootChildren = {};
|
|
@@ -2232,7 +1727,7 @@ function computeRelativePath(fromPath, toPath) {
|
|
|
2232
1727
|
return relativePath;
|
|
2233
1728
|
}
|
|
2234
1729
|
|
|
2235
|
-
function byId$
|
|
1730
|
+
function byId$1(projectDefinition, id) {
|
|
2236
1731
|
const config = projectDefinition.apps.find((app) => app.id === id);
|
|
2237
1732
|
if (!config) {
|
|
2238
1733
|
throw new Error(`Unable to find app with ID ${id}`);
|
|
@@ -2247,18 +1742,26 @@ function getBackendApp(projectDefinition) {
|
|
|
2247
1742
|
const backendApp = backendApps[0];
|
|
2248
1743
|
return backendApp;
|
|
2249
1744
|
}
|
|
2250
|
-
|
|
2251
|
-
|
|
1745
|
+
/**
|
|
1746
|
+
* Given an app config, get the relative directory of the app
|
|
1747
|
+
*
|
|
1748
|
+
* @param appConfig The app config
|
|
1749
|
+
* @returns The directory of the app
|
|
1750
|
+
*/
|
|
1751
|
+
function getAppDirectory(appConfig) {
|
|
1752
|
+
return appConfig.packageLocation
|
|
2252
1753
|
? appConfig.packageLocation
|
|
2253
|
-
: `packages/${appConfig.name}
|
|
2254
|
-
|
|
2255
|
-
|
|
1754
|
+
: `packages/${appConfig.name}`;
|
|
1755
|
+
}
|
|
1756
|
+
function getBackendRelativePath(appConfig, backendApp) {
|
|
1757
|
+
const backendRelativePath = computeRelativePath(getAppDirectory(appConfig), getAppDirectory(backendApp));
|
|
2256
1758
|
return backendRelativePath;
|
|
2257
1759
|
}
|
|
2258
1760
|
const AppUtils = {
|
|
2259
|
-
byId: byId$
|
|
1761
|
+
byId: byId$1,
|
|
2260
1762
|
getBackendApp,
|
|
2261
1763
|
getBackendRelativePath,
|
|
1764
|
+
getAppDirectory,
|
|
2262
1765
|
};
|
|
2263
1766
|
|
|
2264
1767
|
const appEntityType = createEntityType('app');
|
|
@@ -2266,10 +1769,12 @@ function createAppEntryType(name) {
|
|
|
2266
1769
|
return name;
|
|
2267
1770
|
}
|
|
2268
1771
|
|
|
1772
|
+
const {CASE_VALIDATORS: CASE_VALIDATORS$1} = await importShared('@baseplate-dev/utils');
|
|
1773
|
+
|
|
2269
1774
|
const {z: z$j} = await importShared('zod');
|
|
2270
1775
|
const baseAppValidators = {
|
|
2271
1776
|
id: z$j.string().default(appEntityType.generateNewId()),
|
|
2272
|
-
name: CASE_VALIDATORS.KEBAB_CASE,
|
|
1777
|
+
name: CASE_VALIDATORS$1.KEBAB_CASE,
|
|
2273
1778
|
type: z$j.string(),
|
|
2274
1779
|
packageLocation: z$j
|
|
2275
1780
|
.string()
|
|
@@ -2455,7 +1960,7 @@ class DefinitionRefBuilder {
|
|
|
2455
1960
|
// If the path is empty, use the entire data; otherwise, retrieve the value.
|
|
2456
1961
|
const refValue = refPathWithoutPrefix.length === 0
|
|
2457
1962
|
? this.data
|
|
2458
|
-
: get
|
|
1963
|
+
: get(this.data, refPathWithoutPrefix);
|
|
2459
1964
|
if (refValue === undefined || refValue === null)
|
|
2460
1965
|
return;
|
|
2461
1966
|
const fullPath = this._constructPath(reference.path);
|
|
@@ -2498,7 +2003,7 @@ class DefinitionRefBuilder {
|
|
|
2498
2003
|
const idPath = entity.idPath
|
|
2499
2004
|
? this._constructPathWithoutPrefix(entity.idPath)
|
|
2500
2005
|
: [...this._constructPathWithoutPrefix(entity.path), 'id'];
|
|
2501
|
-
const id = get
|
|
2006
|
+
const id = get(this.data, idPath);
|
|
2502
2007
|
if (!id) {
|
|
2503
2008
|
throw new Error(`No id found for entity ${entity.type.name}`);
|
|
2504
2009
|
}
|
|
@@ -2507,7 +2012,7 @@ class DefinitionRefBuilder {
|
|
|
2507
2012
|
}
|
|
2508
2013
|
// Resolve the name: if getNameResolver is provided, use it to build the name resolver; otherwise,
|
|
2509
2014
|
// use the default name resolver.
|
|
2510
|
-
const getNameResolver = entity.getNameResolver ?? ((value) => get
|
|
2015
|
+
const getNameResolver = entity.getNameResolver ?? ((value) => get(value, 'name'));
|
|
2511
2016
|
const nameResolver = getNameResolver(stripRefMarkers(this.data));
|
|
2512
2017
|
// Base entity definition shared between regular entities and those with a name reference.
|
|
2513
2018
|
const entityBase = {
|
|
@@ -2625,6 +2130,7 @@ function extractDefinitionRefs(value) {
|
|
|
2625
2130
|
};
|
|
2626
2131
|
}
|
|
2627
2132
|
|
|
2133
|
+
const {toposort: toposort$1} = await importShared('@baseplate-dev/utils');
|
|
2628
2134
|
/**
|
|
2629
2135
|
* Resolves entity names in a ZodRefPayload.
|
|
2630
2136
|
*
|
|
@@ -2638,7 +2144,7 @@ function resolveZodRefPayloadNames(payload, { skipReferenceNameResolution = fals
|
|
|
2638
2144
|
const entitiesById = keyBy(entitiesWithNameResolver, (entity) => entity.id);
|
|
2639
2145
|
const resolvedEntitiesById = new Map();
|
|
2640
2146
|
// sort entities by dependency order
|
|
2641
|
-
const orderedEntities = toposort(entitiesWithNameResolver.map((entity) => entity.id), entitiesWithNameResolver.flatMap((entity) => {
|
|
2147
|
+
const orderedEntities = toposort$1(entitiesWithNameResolver.map((entity) => entity.id), entitiesWithNameResolver.flatMap((entity) => {
|
|
2642
2148
|
const entityIds = entity.nameResolver.idsToResolve ?? {};
|
|
2643
2149
|
return Object.values(entityIds)
|
|
2644
2150
|
.flat()
|
|
@@ -2697,6 +2203,7 @@ function parseSchemaWithTransformedReferences(schemaCreator, input, schemaCreato
|
|
|
2697
2203
|
return resolveZodRefPayloadNames(refPayload, options);
|
|
2698
2204
|
}
|
|
2699
2205
|
|
|
2206
|
+
const {toposort} = await importShared('@baseplate-dev/utils');
|
|
2700
2207
|
function referenceToNameParentId(name, parentId) {
|
|
2701
2208
|
return JSON.stringify({ name, parentId });
|
|
2702
2209
|
}
|
|
@@ -2759,7 +2266,7 @@ function resolveReferencesToIds(payload) {
|
|
|
2759
2266
|
const entitiesByParentIdName = keyBy(entities, (e) => {
|
|
2760
2267
|
const { parentPath } = e;
|
|
2761
2268
|
const parentId = parentPath
|
|
2762
|
-
? get
|
|
2269
|
+
? get(data, parentPath)
|
|
2763
2270
|
: undefined;
|
|
2764
2271
|
if (parentPath && typeof parentId !== 'string') {
|
|
2765
2272
|
throw new Error(`Could not resolve parent path: ${parentPath.join('.')}`);
|
|
@@ -2767,9 +2274,9 @@ function resolveReferencesToIds(payload) {
|
|
|
2767
2274
|
return referenceToNameParentId(e.name, parentId);
|
|
2768
2275
|
});
|
|
2769
2276
|
for (const ref of references) {
|
|
2770
|
-
const name = get
|
|
2277
|
+
const name = get(data, ref.path);
|
|
2771
2278
|
// parent ID should have already been resolved due to order of resolving references
|
|
2772
|
-
const parentId = ref.parentPath && get
|
|
2279
|
+
const parentId = ref.parentPath && get(data, ref.parentPath);
|
|
2773
2280
|
const parentIdName = referenceToNameParentId(name, parentId);
|
|
2774
2281
|
const resolvedEntity = entitiesByParentIdName[parentIdName];
|
|
2775
2282
|
if (!resolvedEntity) {
|
|
@@ -2799,7 +2306,7 @@ function fixRefDeletions(schemaCreator, value, schemaCreatorOptions) {
|
|
|
2799
2306
|
valueToEdit = parseResult.data;
|
|
2800
2307
|
const entitiesById = new Map(entities.map((e) => [e.id, e]));
|
|
2801
2308
|
const referencesMissingEntity = references.filter((r) => {
|
|
2802
|
-
const id = get
|
|
2309
|
+
const id = get(valueToEdit, r.path);
|
|
2803
2310
|
return id !== DELETED_SENTINEL_ID && !entitiesById.has(id);
|
|
2804
2311
|
});
|
|
2805
2312
|
if (referencesMissingEntity.length === 0) {
|
|
@@ -2821,7 +2328,7 @@ function fixRefDeletions(schemaCreator, value, schemaCreatorOptions) {
|
|
|
2821
2328
|
return false;
|
|
2822
2329
|
}
|
|
2823
2330
|
const parentPath = path.slice(0, -1);
|
|
2824
|
-
const parent = get
|
|
2331
|
+
const parent = get(valueToEdit, parentPath);
|
|
2825
2332
|
if (!Array.isArray(parent)) {
|
|
2826
2333
|
return false;
|
|
2827
2334
|
}
|
|
@@ -2833,13 +2340,13 @@ function fixRefDeletions(schemaCreator, value, schemaCreatorOptions) {
|
|
|
2833
2340
|
}
|
|
2834
2341
|
// attempt to fix reference
|
|
2835
2342
|
for (const ref of referencesMissingEntity) {
|
|
2836
|
-
const id = get
|
|
2343
|
+
const id = get(valueToEdit, ref.path);
|
|
2837
2344
|
switch (ref.onDelete) {
|
|
2838
2345
|
case 'SET_UNDEFINED': {
|
|
2839
2346
|
// Check if reference is inside an array
|
|
2840
2347
|
if (ref.path.length > 0) {
|
|
2841
2348
|
const parentPath = ref.path.slice(0, -1);
|
|
2842
|
-
const parent = get
|
|
2349
|
+
const parent = get(valueToEdit, parentPath);
|
|
2843
2350
|
if (Array.isArray(parent)) {
|
|
2844
2351
|
throw new TypeError(`SET_UNDEFINED cannot be used for references inside arrays at path ${ref.path.join('.')}. Use DELETE instead to remove the array element.`);
|
|
2845
2352
|
}
|
|
@@ -2874,7 +2381,7 @@ function fixRefDeletions(schemaCreator, value, schemaCreatorOptions) {
|
|
|
2874
2381
|
for (const [, objects] of Object.entries(objectsToDeleteByPath)) {
|
|
2875
2382
|
const sortedObjects = sortBy(objects, [(o) => -o.idx]);
|
|
2876
2383
|
for (const o of sortedObjects) {
|
|
2877
|
-
const parent = get
|
|
2384
|
+
const parent = get(valueToEdit, o.path);
|
|
2878
2385
|
if (!Array.isArray(parent)) {
|
|
2879
2386
|
throw new TypeError(`Expected parent to be an array at path ${o.path.join('.')}`);
|
|
2880
2387
|
}
|
|
@@ -2890,7 +2397,7 @@ function serializeSchemaFromRefPayload(payload) {
|
|
|
2890
2397
|
const entitiesById = new Map(entities.map((e) => [e.id, e]));
|
|
2891
2398
|
return produce((draftData) => {
|
|
2892
2399
|
for (const reference of references) {
|
|
2893
|
-
const entityId = get
|
|
2400
|
+
const entityId = get(draftData, reference.path);
|
|
2894
2401
|
const entity = entitiesById.get(entityId);
|
|
2895
2402
|
if (!entity) {
|
|
2896
2403
|
throw new Error(`Could not find entity with ID: ${entityId} at ${reference.path.join('.')}`);
|
|
@@ -3618,7 +3125,7 @@ const createAdminCrudSectionSchema = definitionSchema((ctx) => ctx.withRefBuilde
|
|
|
3618
3125
|
type: modelEntityType,
|
|
3619
3126
|
onDelete: 'RESTRICT',
|
|
3620
3127
|
}),
|
|
3621
|
-
disableCreate: z$7.boolean()
|
|
3128
|
+
disableCreate: ctx.withDefault(z$7.boolean(), false),
|
|
3622
3129
|
table: z$7.object({
|
|
3623
3130
|
columns: z$7.array(createAdminCrudTableColumnSchema(ctx)),
|
|
3624
3131
|
}),
|
|
@@ -3657,10 +3164,6 @@ const createWebAppSchema = definitionSchema((ctx) => z$5.object({
|
|
|
3657
3164
|
includeAuth: ctx.withDefault(z$5.boolean(), false),
|
|
3658
3165
|
title: z$5.string().default(''),
|
|
3659
3166
|
description: z$5.string().default(''),
|
|
3660
|
-
allowedRoles: ctx.withDefault(z$5.array(ctx.withRef({
|
|
3661
|
-
type: authRoleEntityType,
|
|
3662
|
-
onDelete: 'DELETE',
|
|
3663
|
-
})), []),
|
|
3664
3167
|
includeUploadComponents: ctx.withDefault(z$5.boolean(), false),
|
|
3665
3168
|
enableSubscriptions: ctx.withDefault(z$5.boolean(), false),
|
|
3666
3169
|
adminApp: createAdminAppSchema(ctx),
|
|
@@ -3715,6 +3218,8 @@ const createTemplateExtractorSchema = definitionSchema(() => z$3.object({
|
|
|
3715
3218
|
fileIdRegexWhitelist: z$3.string().default(''),
|
|
3716
3219
|
}));
|
|
3717
3220
|
|
|
3221
|
+
const {CASE_VALIDATORS} = await importShared('@baseplate-dev/utils');
|
|
3222
|
+
|
|
3718
3223
|
const {z: z$2} = await importShared('zod');
|
|
3719
3224
|
const generalSettingsSchema = z$2.object({
|
|
3720
3225
|
/**
|
|
@@ -3765,19 +3270,19 @@ const createProjectDefinitionSchema = definitionSchema((ctx) => z$1.object({
|
|
|
3765
3270
|
settings: createSettingsSchema(ctx),
|
|
3766
3271
|
}));
|
|
3767
3272
|
|
|
3768
|
-
function byId
|
|
3273
|
+
function byId(projectDefinition, id) {
|
|
3769
3274
|
return projectDefinition.enums?.find((e) => e.id === id);
|
|
3770
3275
|
}
|
|
3771
|
-
function byIdOrThrow
|
|
3772
|
-
const enumConfig = byId
|
|
3276
|
+
function byIdOrThrow(projectDefinition, id) {
|
|
3277
|
+
const enumConfig = byId(projectDefinition, id);
|
|
3773
3278
|
if (!enumConfig) {
|
|
3774
3279
|
throw new Error(`Could not find enum with ID ${id}`);
|
|
3775
3280
|
}
|
|
3776
3281
|
return enumConfig;
|
|
3777
3282
|
}
|
|
3778
3283
|
const EnumUtils = {
|
|
3779
|
-
byId
|
|
3780
|
-
byIdOrThrow
|
|
3284
|
+
byId,
|
|
3285
|
+
byIdOrThrow,
|
|
3781
3286
|
};
|
|
3782
3287
|
|
|
3783
3288
|
function isScalarUnique(model, fieldId) {
|
|
@@ -3875,27 +3380,31 @@ function getTransformName(definitionContainer, transformer, pluginStore) {
|
|
|
3875
3380
|
}
|
|
3876
3381
|
const ModelTransformerUtils = { getTransformer, getTransformName };
|
|
3877
3382
|
|
|
3878
|
-
function
|
|
3879
|
-
const pluginEntityId = pluginEntityType.idFromKey(
|
|
3383
|
+
function byKey(projectDefinition, key) {
|
|
3384
|
+
const pluginEntityId = pluginEntityType.idFromKey(key);
|
|
3880
3385
|
const plugin = projectDefinition.plugins?.find((m) => m.id === pluginEntityId);
|
|
3881
|
-
return plugin
|
|
3386
|
+
return plugin;
|
|
3882
3387
|
}
|
|
3883
|
-
function
|
|
3884
|
-
const plugin =
|
|
3388
|
+
function byKeyOrThrow(projectDefinition, id) {
|
|
3389
|
+
const plugin = byKey(projectDefinition, id);
|
|
3885
3390
|
if (!plugin) {
|
|
3886
3391
|
throw new Error(`Could not find plugin with ID ${id}`);
|
|
3887
3392
|
}
|
|
3888
3393
|
return plugin;
|
|
3889
3394
|
}
|
|
3890
|
-
function
|
|
3891
|
-
const def =
|
|
3395
|
+
function configByKey(projectDefinition, key) {
|
|
3396
|
+
const def = byKey(projectDefinition, key);
|
|
3397
|
+
return def?.config;
|
|
3398
|
+
}
|
|
3399
|
+
function configByKeyOrThrow(projectDefinition, key) {
|
|
3400
|
+
const def = byKeyOrThrow(projectDefinition, key);
|
|
3892
3401
|
return def.config;
|
|
3893
3402
|
}
|
|
3894
3403
|
function setPluginConfig(projectDefinition, plugin, pluginConfig, pluginImplementationStore) {
|
|
3895
3404
|
const plugins = projectDefinition.plugins ?? [];
|
|
3896
|
-
const pluginEntityId = pluginEntityType.idFromKey(plugin.
|
|
3405
|
+
const pluginEntityId = pluginEntityType.idFromKey(plugin.key);
|
|
3897
3406
|
const pluginConfigService = pluginImplementationStore.getPluginSpec(pluginConfigSpec);
|
|
3898
|
-
const lastMigrationVersion = pluginConfigService.getLastMigrationVersion(plugin.
|
|
3407
|
+
const lastMigrationVersion = pluginConfigService.getLastMigrationVersion(plugin.key);
|
|
3899
3408
|
projectDefinition.plugins = plugins.some((p) => p.id === pluginEntityId)
|
|
3900
3409
|
? plugins.map((p) => pluginEntityId === p.id ? { ...p, config: pluginConfig } : p)
|
|
3901
3410
|
: [
|
|
@@ -3910,11 +3419,34 @@ function setPluginConfig(projectDefinition, plugin, pluginConfig, pluginImplemen
|
|
|
3910
3419
|
},
|
|
3911
3420
|
];
|
|
3912
3421
|
}
|
|
3422
|
+
/**
|
|
3423
|
+
* Disables a plugin and all plugins that it manages recursively.
|
|
3424
|
+
*
|
|
3425
|
+
* @param projectDefinition The project definition to disable the plugin in
|
|
3426
|
+
* @param pluginKey The ID of the plugin to disable
|
|
3427
|
+
* @param context The schema parser context to use
|
|
3428
|
+
*/
|
|
3429
|
+
function disablePlugin(projectDefinition, pluginKey, context) {
|
|
3430
|
+
// Get plugin metadata to be disabled
|
|
3431
|
+
const pluginMetadata = getPluginMetadataByKeyOrThrow(context.pluginStore, pluginKey);
|
|
3432
|
+
// Make sure we disable any plugins that are managed by this plugin
|
|
3433
|
+
const managedPlugins = projectDefinition.plugins?.filter((p) => {
|
|
3434
|
+
const managedPlugin = getPluginMetadataByKeyOrThrow(context.pluginStore, pluginEntityType.keyFromId(p.id));
|
|
3435
|
+
return managedPlugin.managedBy === pluginMetadata.fullyQualifiedName;
|
|
3436
|
+
});
|
|
3437
|
+
if (managedPlugins) {
|
|
3438
|
+
for (const p of managedPlugins)
|
|
3439
|
+
disablePlugin(projectDefinition, p.id, context);
|
|
3440
|
+
}
|
|
3441
|
+
projectDefinition.plugins = projectDefinition.plugins?.filter((p) => p.id !== pluginEntityType.idFromKey(pluginKey));
|
|
3442
|
+
}
|
|
3913
3443
|
const PluginUtils = {
|
|
3914
|
-
|
|
3915
|
-
|
|
3444
|
+
byKey,
|
|
3445
|
+
byKeyOrThrow,
|
|
3446
|
+
configByKey,
|
|
3916
3447
|
setPluginConfig,
|
|
3917
|
-
|
|
3448
|
+
configByKeyOrThrow,
|
|
3449
|
+
disablePlugin,
|
|
3918
3450
|
};
|
|
3919
3451
|
|
|
3920
3452
|
const {z} = await importShared('zod');
|
|
@@ -3959,13 +3491,38 @@ function createPluginImplementationStore(pluginStore, projectDefinition) {
|
|
|
3959
3491
|
throw new Error(`Unable to find plugin ${pluginName}!`);
|
|
3960
3492
|
}
|
|
3961
3493
|
return {
|
|
3962
|
-
|
|
3494
|
+
key: plugin.metadata.key,
|
|
3963
3495
|
name: pluginName,
|
|
3964
3496
|
pluginModules: plugin.modules,
|
|
3965
3497
|
};
|
|
3966
3498
|
});
|
|
3967
3499
|
return initializePlugins(pluginsWithModules, specImplementations);
|
|
3968
3500
|
}
|
|
3501
|
+
/**
|
|
3502
|
+
* Creates a plugin implementation store with the given plugins added to the project definition.
|
|
3503
|
+
*
|
|
3504
|
+
* @param pluginStore The plugin store to use
|
|
3505
|
+
* @param plugins The plugins to add to the project definition
|
|
3506
|
+
* @param projectDefinition The project definition to use
|
|
3507
|
+
* @returns The plugin implementation store
|
|
3508
|
+
*/
|
|
3509
|
+
function createPluginImplementationStoreWithNewPlugins(pluginStore, plugins, projectDefinition) {
|
|
3510
|
+
const newProjectDefinition = {
|
|
3511
|
+
...projectDefinition,
|
|
3512
|
+
plugins: [
|
|
3513
|
+
...(projectDefinition.plugins ?? []),
|
|
3514
|
+
...plugins
|
|
3515
|
+
.filter((p) => !projectDefinition.plugins?.some((p2) => p2.id === pluginEntityType.idFromKey(p.key)))
|
|
3516
|
+
.map((p) => ({
|
|
3517
|
+
id: pluginEntityType.idFromKey(p.key),
|
|
3518
|
+
version: p.version,
|
|
3519
|
+
name: p.name,
|
|
3520
|
+
packageName: p.packageName,
|
|
3521
|
+
})),
|
|
3522
|
+
],
|
|
3523
|
+
};
|
|
3524
|
+
return createPluginImplementationStore(pluginStore, newProjectDefinition);
|
|
3525
|
+
}
|
|
3969
3526
|
/**
|
|
3970
3527
|
* Creates a project definition schema with the given context.
|
|
3971
3528
|
*
|
|
@@ -3999,6 +3556,7 @@ function parseProjectDefinitionWithReferences(projectDefinition, context) {
|
|
|
3999
3556
|
return { definition, pluginStore: pluginImplementationStore };
|
|
4000
3557
|
}
|
|
4001
3558
|
|
|
3559
|
+
const {stringifyPrettyStable} = await importShared('@baseplate-dev/utils');
|
|
4002
3560
|
/**
|
|
4003
3561
|
* Container for a project definition that includes references and entities.
|
|
4004
3562
|
*
|
|
@@ -9134,6 +8692,65 @@ const migration016WebAdminConfig = createSchemaMigration({
|
|
|
9134
8692
|
},
|
|
9135
8693
|
});
|
|
9136
8694
|
|
|
8695
|
+
const migration017RenameAuthPlugin = createSchemaMigration({
|
|
8696
|
+
version: 17,
|
|
8697
|
+
name: 'renameAuthPlugin',
|
|
8698
|
+
description: 'Rename plugin plugin-auth_auth to plugin-auth_local-auth and auto-activate auth manager plugin',
|
|
8699
|
+
migrate: (config) => {
|
|
8700
|
+
if (!config.plugins) {
|
|
8701
|
+
return config;
|
|
8702
|
+
}
|
|
8703
|
+
let plugins = [...config.plugins];
|
|
8704
|
+
let renamedPlugin = null;
|
|
8705
|
+
// Step 1: Rename plugin-auth_auth to plugin-auth_local-auth
|
|
8706
|
+
plugins = plugins.map((plugin) => {
|
|
8707
|
+
if (plugin.id === 'plugin:baseplate-dev_plugin-auth_auth') {
|
|
8708
|
+
renamedPlugin = {
|
|
8709
|
+
...plugin,
|
|
8710
|
+
name: 'local-auth',
|
|
8711
|
+
id: 'plugin:baseplate-dev_plugin-auth_local-auth',
|
|
8712
|
+
};
|
|
8713
|
+
return renamedPlugin;
|
|
8714
|
+
}
|
|
8715
|
+
return plugin;
|
|
8716
|
+
});
|
|
8717
|
+
// Step 2: Check for any auth implementation plugins
|
|
8718
|
+
const authImplementationPlugins = plugins.filter((plugin) => plugin.id === 'plugin:baseplate-dev_plugin-auth_local-auth' ||
|
|
8719
|
+
plugin.id === 'plugin:baseplate-dev_plugin-auth_auth0' ||
|
|
8720
|
+
plugin.id === 'plugin:baseplate-dev_plugin-auth_placeholder-auth');
|
|
8721
|
+
// Step 3: If any implementation plugins exist, create main auth plugin with ported config
|
|
8722
|
+
if (authImplementationPlugins.length > 0) {
|
|
8723
|
+
// Determine the primary implementation plugin (prioritize local-auth > auth0 > placeholder)
|
|
8724
|
+
const primaryImplementationPlugin = authImplementationPlugins.find((p) => p.id === 'plugin:baseplate-dev_plugin-auth_local-auth') ??
|
|
8725
|
+
authImplementationPlugins.find((p) => p.id === 'plugin:baseplate-dev_plugin-auth_auth0') ??
|
|
8726
|
+
authImplementationPlugins.find((p) => p.id === 'plugin:baseplate-dev_plugin-auth_placeholder-auth');
|
|
8727
|
+
if (primaryImplementationPlugin) {
|
|
8728
|
+
// Extract implementation key from plugin ID
|
|
8729
|
+
const implementationPluginKey = primaryImplementationPlugin.id.replace('plugin:', '');
|
|
8730
|
+
// Port configuration from the implementation plugin
|
|
8731
|
+
const implementationConfig = (primaryImplementationPlugin.config ??
|
|
8732
|
+
{});
|
|
8733
|
+
// Create main auth plugin with ported configuration
|
|
8734
|
+
plugins.push({
|
|
8735
|
+
id: 'plugin:baseplate-dev_plugin-auth_auth',
|
|
8736
|
+
name: 'auth',
|
|
8737
|
+
packageName: '@baseplate-dev/plugin-auth',
|
|
8738
|
+
version: '1.0.0',
|
|
8739
|
+
config: {
|
|
8740
|
+
implementationPluginKey,
|
|
8741
|
+
authFeatureRef: implementationConfig.authFeatureRef,
|
|
8742
|
+
roles: implementationConfig.roles,
|
|
8743
|
+
},
|
|
8744
|
+
});
|
|
8745
|
+
}
|
|
8746
|
+
}
|
|
8747
|
+
return {
|
|
8748
|
+
...config,
|
|
8749
|
+
plugins,
|
|
8750
|
+
};
|
|
8751
|
+
},
|
|
8752
|
+
});
|
|
8753
|
+
|
|
9137
8754
|
const SCHEMA_MIGRATIONS = [
|
|
9138
8755
|
migration005PrimaryUniqueRefs,
|
|
9139
8756
|
migration006IndividualServiceControllers,
|
|
@@ -9147,6 +8764,7 @@ const SCHEMA_MIGRATIONS = [
|
|
|
9147
8764
|
migration014MigratePluginIds,
|
|
9148
8765
|
migration015NullParentRefs,
|
|
9149
8766
|
migration016WebAdminConfig,
|
|
8767
|
+
migration017RenameAuthPlugin,
|
|
9150
8768
|
];
|
|
9151
8769
|
function isMigrateableProjectDefinition(projectDefinition) {
|
|
9152
8770
|
return (typeof projectDefinition === 'object' &&
|
|
@@ -10285,5 +9903,5 @@ function generateDefaultTheme() {
|
|
|
10285
9903
|
};
|
|
10286
9904
|
}
|
|
10287
9905
|
|
|
10288
|
-
export { AVAILABLE_FLAGS, AppUtils, BUILT_IN_ADMIN_CRUD_INPUTS, BUILT_IN_TRANSFORMERS, COLOR_PALETTES, DefinitionRefBuilder, EnumUtils, FIXED_COLOR_MAPPINGS, ModelFieldUtils, ModelTransformerUtils, ModelUtils, PALETTE_SHADES, PluginImplementationStore, PluginUtils, ProjectDefinitionContainer, REFERENTIAL_ACTIONS, SCALAR_FIELD_TYPES, SCHEMA_MIGRATIONS, SchemaMigrationError, THEME_COLORS, THEME_COLOR_KEYS, VALIDATORS, adminCrudDisplayTypes, adminCrudEmbeddedFormEntityType, adminCrudEmbeddedInputType, adminCrudEmbeddedLocalInputType, adminCrudInputCompilerSpec, adminCrudInputSpec, adminSectionEntityType, appCompilerSpec, appEntityType, authConfigSpec, authRoleEntityType, backendAppEntryType, baseAdminCrudInputSchema, baseAppSchema, baseAppValidators, basePluginDefinitionSchema, baseTransformerFields, baseTransformerSchema, convertColorNameToOklch, convertHexToOklch, convertOklchToColorName, convertOklchToHex, createAdminAppSchema, createAdminCrudDisplaySchema, createAdminCrudEmbeddedFormSchema, createAdminCrudEmbeddedInputSchema, createAdminCrudEmbeddedListSchema, createAdminCrudEmbeddedLocalInputSchema, createAdminCrudEmbeddedObjectSchema, createAdminCrudEnumInputSchema, createAdminCrudForeignDisplaySchema, createAdminCrudForeignInputSchema, createAdminCrudInputCompilerImplementation, createAdminCrudInputImplementation, createAdminCrudInputSchema, createAdminCrudInputType, createAdminCrudPasswordInputSchema, createAdminCrudSectionSchema, createAdminCrudTableColumnSchema, createAdminCrudTextDisplaySchema, createAdminCrudTextInputSchema, createAppCompiler, createAppCompilerPlugin, createAppEntryType, createAppSchema, createBackendAppSchema, createBaseAdminSectionValidators, createDefinitionEntityNameResolver, createDefinitionSchemaParserContext, createEmbeddedRelationTransformerSchema, createEntityType, createEnumBaseSchema, createEnumSchema, createEnumValueSchema, createFeaturesSchema, createModelBaseSchema, createModelGraphqlSchema, createModelRelationFieldSchema, createModelScalarFieldSchema, createModelSchema, createModelServiceSchema, createModelTransformerCompilerImplementation, createModelTransformerImplementation, createModelTransformerType, createModelUniqueConstraintSchema, createPasswordTransformerSchema, createPlatformPluginExport, createPluginConfigImplementation, createPluginImplementationStore, createPluginSpec, createPluginWithConfigSchema, createPluginsSchema, createProjectDefinitionSchema, createProjectDefinitionSchemaWithContext, createSettingsSchema, createTemplateExtractorSchema, createTestProjectDefinition, createTestProjectDefinitionContainer, createTestProjectDefinitionInput, createThemeSchema, createTransformerSchema, createWebAdminSectionSchema, createWebAppSchema, createWebConfigImplementation, definitionSchema, deserializeSchemaWithTransformedReferences, extractDefinitionRefs, extractDefinitionRefsRecursive, featureEntityType, fixRefDeletions, generalSettingsSchema, generateCssFromThemeConfig, generateDefaultTheme, generateThemeColorsFromShade, getBackendRelativePath, getDefaultThemeColorFromShade, getLatestMigrationVersion, initializePlugins, isMigrateableProjectDefinition, modelEntityType, modelEnumEntityType, modelEnumValueEntityType, modelForeignRelationEntityType, modelLocalRelationEntityType, modelScalarFieldEntityType, modelTransformerCompilerSpec, modelTransformerEntityType, modelTransformerSpec, modelUniqueConstraintEntityType, oklchColor, paletteSchema, palettesSchema, parseOklch, parseProjectDefinitionWithContext, parseProjectDefinitionWithReferences, pluginConfigSpec, pluginEntityType,
|
|
10289
|
-
//# sourceMappingURL=project-builder-lib-
|
|
9906
|
+
export { AVAILABLE_FLAGS, AppUtils, BUILT_IN_ADMIN_CRUD_INPUTS, BUILT_IN_TRANSFORMERS, COLOR_PALETTES, DefinitionRefBuilder, EnumUtils, FIXED_COLOR_MAPPINGS, ModelFieldUtils, ModelTransformerUtils, ModelUtils, PALETTE_SHADES, PluginImplementationStore, PluginUtils, ProjectDefinitionContainer, REFERENTIAL_ACTIONS, SCALAR_FIELD_TYPES, SCHEMA_MIGRATIONS, SchemaMigrationError, THEME_COLORS, THEME_COLOR_KEYS, VALIDATORS, adminCrudDisplayTypes, adminCrudEmbeddedFormEntityType, adminCrudEmbeddedInputType, adminCrudEmbeddedLocalInputType, adminCrudInputCompilerSpec, adminCrudInputSpec, adminSectionEntityType, appCompilerSpec, appEntityType, authConfigSpec, authModelConfigSpec, authRoleEntityType, backendAppEntryType, baseAdminCrudInputSchema, baseAppSchema, baseAppValidators, basePluginDefinitionSchema, baseTransformerFields, baseTransformerSchema, convertColorNameToOklch, convertHexToOklch, convertOklchToColorName, convertOklchToHex, createAdminAppSchema, createAdminCrudDisplaySchema, createAdminCrudEmbeddedFormSchema, createAdminCrudEmbeddedInputSchema, createAdminCrudEmbeddedListSchema, createAdminCrudEmbeddedLocalInputSchema, createAdminCrudEmbeddedObjectSchema, createAdminCrudEnumInputSchema, createAdminCrudForeignDisplaySchema, createAdminCrudForeignInputSchema, createAdminCrudInputCompilerImplementation, createAdminCrudInputImplementation, createAdminCrudInputSchema, createAdminCrudInputType, createAdminCrudPasswordInputSchema, createAdminCrudSectionSchema, createAdminCrudTableColumnSchema, createAdminCrudTextDisplaySchema, createAdminCrudTextInputSchema, createAppCompiler, createAppCompilerPlugin, createAppEntryType, createAppSchema, createBackendAppSchema, createBaseAdminSectionValidators, createDefinitionEntityNameResolver, createDefinitionSchemaParserContext, createEmbeddedRelationTransformerSchema, createEntityType, createEnumBaseSchema, createEnumSchema, createEnumValueSchema, createFeaturesSchema, createModelBaseSchema, createModelGraphqlSchema, createModelRelationFieldSchema, createModelScalarFieldSchema, createModelSchema, createModelServiceSchema, createModelTransformerCompilerImplementation, createModelTransformerImplementation, createModelTransformerType, createModelUniqueConstraintSchema, createPasswordTransformerSchema, createPlatformPluginExport, createPluginConfigImplementation, createPluginImplementationStore, createPluginImplementationStoreWithNewPlugins, createPluginSpec, createPluginWithConfigSchema, createPluginsSchema, createProjectDefinitionSchema, createProjectDefinitionSchemaWithContext, createSettingsSchema, createTemplateExtractorSchema, createTestProjectDefinition, createTestProjectDefinitionContainer, createTestProjectDefinitionInput, createThemeSchema, createTransformerSchema, createWebAdminSectionSchema, createWebAppSchema, createWebConfigImplementation, definitionSchema, deserializeSchemaWithTransformedReferences, extractDefinitionRefs, extractDefinitionRefsRecursive, featureEntityType, fixRefDeletions, generalSettingsSchema, generateCssFromThemeConfig, generateDefaultTheme, generateThemeColorsFromShade, getBackendRelativePath, getDefaultThemeColorFromShade, getLatestMigrationVersion, getManagedPluginsForPlugin, getPluginMetadataByKey, getPluginMetadataByKeyOrThrow, initializePlugins, isMigrateableProjectDefinition, modelEntityType, modelEnumEntityType, modelEnumValueEntityType, modelForeignRelationEntityType, modelLocalRelationEntityType, modelScalarFieldEntityType, modelTransformerCompilerSpec, modelTransformerEntityType, modelTransformerSpec, modelUniqueConstraintEntityType, oklchColor, paletteSchema, palettesSchema, parseOklch, parseProjectDefinitionWithContext, parseProjectDefinitionWithReferences, pluginConfigSpec, pluginEntityType, pluginMetadataSchema, pluginSpecDependencySchema, pluginSpecSupportSchema, runPluginMigrations, runSchemaMigrations, serializeSchema, serializeSchemaFromRefPayload, stripEmptyGeneratorChildren, stripUndefinedValues, themeColorSchema, undefinedIfEmpty, undefinedIfFalsy, webAppEntryType, webConfigSpec };
|
|
9907
|
+
//# sourceMappingURL=project-builder-lib-CGEZr0YI.js.map
|