@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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { importShared } from './__federation_fn_import-DReOsou_.js';
|
|
2
|
+
|
|
3
|
+
const {authRoleEntityType,definitionSchema,modelEntityType} = await importShared('@baseplate-dev/project-builder-lib');
|
|
4
|
+
|
|
5
|
+
const {z} = await importShared('zod');
|
|
6
|
+
|
|
7
|
+
const createLocalAuthPluginDefinitionSchema = definitionSchema(
|
|
8
|
+
(ctx) => z.object({
|
|
9
|
+
modelRefs: z.object({
|
|
10
|
+
user: ctx.withRef({
|
|
11
|
+
type: modelEntityType,
|
|
12
|
+
onDelete: "RESTRICT"
|
|
13
|
+
}),
|
|
14
|
+
userAccount: ctx.withRef({
|
|
15
|
+
type: modelEntityType,
|
|
16
|
+
onDelete: "RESTRICT"
|
|
17
|
+
}),
|
|
18
|
+
userRole: ctx.withRef({
|
|
19
|
+
type: modelEntityType,
|
|
20
|
+
onDelete: "RESTRICT"
|
|
21
|
+
}),
|
|
22
|
+
userSession: ctx.withRef({
|
|
23
|
+
type: modelEntityType,
|
|
24
|
+
onDelete: "RESTRICT"
|
|
25
|
+
})
|
|
26
|
+
}),
|
|
27
|
+
initialUserRoles: ctx.withDefault(
|
|
28
|
+
z.array(
|
|
29
|
+
ctx.withRef({
|
|
30
|
+
type: authRoleEntityType,
|
|
31
|
+
onDelete: "DELETE"
|
|
32
|
+
})
|
|
33
|
+
),
|
|
34
|
+
[]
|
|
35
|
+
)
|
|
36
|
+
})
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
export { createLocalAuthPluginDefinitionSchema as c };
|
|
40
|
+
//# sourceMappingURL=plugin-definition-ChUKIqUg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-definition-ChUKIqUg.js","sources":["../../../src/local-auth/core/schema/plugin-definition.ts"],"sourcesContent":["import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport {\n authRoleEntityType,\n definitionSchema,\n modelEntityType,\n} from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nexport const createLocalAuthPluginDefinitionSchema = definitionSchema((ctx) =>\n z.object({\n modelRefs: z.object({\n user: ctx.withRef({\n type: modelEntityType,\n onDelete: 'RESTRICT',\n }),\n userAccount: ctx.withRef({\n type: modelEntityType,\n onDelete: 'RESTRICT',\n }),\n userRole: ctx.withRef({\n type: modelEntityType,\n onDelete: 'RESTRICT',\n }),\n userSession: ctx.withRef({\n type: modelEntityType,\n onDelete: 'RESTRICT',\n }),\n }),\n initialUserRoles: ctx.withDefault(\n z.array(\n ctx.withRef({\n type: authRoleEntityType,\n onDelete: 'DELETE',\n }),\n ),\n [],\n ),\n }),\n);\n\nexport type LocalAuthPluginDefinition = def.InferOutput<\n typeof createLocalAuthPluginDefinitionSchema\n>;\n\nexport type LocalAuthPluginDefinitionInput = def.InferInput<\n typeof createLocalAuthPluginDefinitionSchema\n>;\n"],"names":[],"mappings":";;AAEA,MAAA,CAAA,kBAAA,CAAA,gBAAA,CAAA,eAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;;AAKA,MAAA,CAAA,CAAA,CAAA,GAAA,MAAA,YAAA,CAAA,KAAA,CAAA;;AAEO,MAAM,qCAAwC,GAAA,gBAAA;AAAA,EAAiB,CAAC,GACrE,KAAA,CAAA,CAAE,MAAO,CAAA;AAAA,IACP,SAAA,EAAW,EAAE,MAAO,CAAA;AAAA,MAClB,IAAA,EAAM,IAAI,OAAQ,CAAA;AAAA,QAChB,IAAM,EAAA,eAAA;AAAA,QACN,QAAU,EAAA;AAAA,OACX,CAAA;AAAA,MACD,WAAA,EAAa,IAAI,OAAQ,CAAA;AAAA,QACvB,IAAM,EAAA,eAAA;AAAA,QACN,QAAU,EAAA;AAAA,OACX,CAAA;AAAA,MACD,QAAA,EAAU,IAAI,OAAQ,CAAA;AAAA,QACpB,IAAM,EAAA,eAAA;AAAA,QACN,QAAU,EAAA;AAAA,OACX,CAAA;AAAA,MACD,WAAA,EAAa,IAAI,OAAQ,CAAA;AAAA,QACvB,IAAM,EAAA,eAAA;AAAA,QACN,QAAU,EAAA;AAAA,OACX;AAAA,KACF,CAAA;AAAA,IACD,kBAAkB,GAAI,CAAA,WAAA;AAAA,MACpB,CAAE,CAAA,KAAA;AAAA,QACA,IAAI,OAAQ,CAAA;AAAA,UACV,IAAM,EAAA,kBAAA;AAAA,UACN,QAAU,EAAA;AAAA,SACX;AAAA,OACH;AAAA,MACA;AAAC;AACH,GACD;AACH;;;;"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { importShared } from './__federation_fn_import-DReOsou_.js';
|
|
2
|
+
|
|
3
|
+
const {authRoleEntityType: authRoleEntityType$1} = await importShared('@baseplate-dev/project-builder-lib');
|
|
4
|
+
|
|
5
|
+
const AUTH_DEFAULT_ROLES = [
|
|
6
|
+
{
|
|
7
|
+
name: "public",
|
|
8
|
+
comment: "All users (including unauthenticated and authenticated users)",
|
|
9
|
+
builtIn: true
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
name: "user",
|
|
13
|
+
comment: "All authenticated users",
|
|
14
|
+
builtIn: true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: "system",
|
|
18
|
+
comment: "System processes without a user context, e.g. background jobs",
|
|
19
|
+
builtIn: true
|
|
20
|
+
}
|
|
21
|
+
];
|
|
22
|
+
function createDefaultAuthRoles() {
|
|
23
|
+
return AUTH_DEFAULT_ROLES.map((role) => ({
|
|
24
|
+
...role,
|
|
25
|
+
id: authRoleEntityType$1.generateNewId()
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const {authRoleEntityType,definitionSchema: definitionSchema$1} = await importShared('@baseplate-dev/project-builder-lib');
|
|
30
|
+
|
|
31
|
+
const {z: z$1} = await importShared('zod');
|
|
32
|
+
const createAuthRoleSchema = definitionSchema$1(
|
|
33
|
+
(ctx) => ctx.withEnt(
|
|
34
|
+
z$1.object({
|
|
35
|
+
id: z$1.string(),
|
|
36
|
+
name: z$1.string().min(1),
|
|
37
|
+
comment: z$1.string().min(1),
|
|
38
|
+
builtIn: z$1.boolean().default(false)
|
|
39
|
+
}),
|
|
40
|
+
{ type: authRoleEntityType }
|
|
41
|
+
)
|
|
42
|
+
);
|
|
43
|
+
const createAuthRolesSchema = definitionSchema$1(
|
|
44
|
+
(ctx) => z$1.array(createAuthRoleSchema(ctx)).superRefine((roles, ctx2) => {
|
|
45
|
+
const dup = roles.map((r) => r.name).filter((v, i, a) => a.indexOf(v) !== i);
|
|
46
|
+
if (dup.length > 0) {
|
|
47
|
+
ctx2.addIssue({
|
|
48
|
+
code: z$1.ZodIssueCode.custom,
|
|
49
|
+
message: `Duplicate role name(s): ${dup.join(", ")}`
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}).transform((roles) => [
|
|
53
|
+
...AUTH_DEFAULT_ROLES.map((r) => {
|
|
54
|
+
const existingRole = roles.find((role) => role.name === r.name);
|
|
55
|
+
return existingRole ? {
|
|
56
|
+
...existingRole,
|
|
57
|
+
builtIn: true
|
|
58
|
+
} : {
|
|
59
|
+
...r,
|
|
60
|
+
builtIn: true,
|
|
61
|
+
id: authRoleEntityType.generateNewId()
|
|
62
|
+
};
|
|
63
|
+
}),
|
|
64
|
+
// Filter out the built-in roles
|
|
65
|
+
...roles.filter(
|
|
66
|
+
(r) => !AUTH_DEFAULT_ROLES.map((v) => v.name).includes(r.name)
|
|
67
|
+
)
|
|
68
|
+
])
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
const {definitionSchema,featureEntityType} = await importShared('@baseplate-dev/project-builder-lib');
|
|
72
|
+
|
|
73
|
+
const {z} = await importShared('zod');
|
|
74
|
+
const createAuthPluginDefinitionSchema = definitionSchema(
|
|
75
|
+
(ctx) => z.object({
|
|
76
|
+
implementationPluginKey: z.string().min(1, "Auth implementation plugin must be selected"),
|
|
77
|
+
authFeatureRef: ctx.withRef({
|
|
78
|
+
type: featureEntityType,
|
|
79
|
+
onDelete: "RESTRICT"
|
|
80
|
+
}),
|
|
81
|
+
roles: createAuthRolesSchema(ctx)
|
|
82
|
+
})
|
|
83
|
+
);
|
|
84
|
+
|
|
85
|
+
export { createAuthPluginDefinitionSchema as a, createDefaultAuthRoles as b, createAuthRoleSchema as c };
|
|
86
|
+
//# sourceMappingURL=plugin-definition-DH4QyCfv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-definition-DH4QyCfv.js","sources":["../../../src/auth/core/schema/roles/constants.ts","../../../src/auth/core/schema/roles/schema.ts","../../../src/auth/core/schema/plugin-definition.ts"],"sourcesContent":["import { authRoleEntityType } from '@baseplate-dev/project-builder-lib';\n\nimport type { AuthRoleDefinition } from './schema.js';\n\nexport const AUTH_DEFAULT_ROLES: Omit<AuthRoleDefinition, 'id'>[] = [\n {\n name: 'public',\n comment: 'All users (including unauthenticated and authenticated users)',\n builtIn: true,\n },\n {\n name: 'user',\n comment: 'All authenticated users',\n builtIn: true,\n },\n {\n name: 'system',\n comment: 'System processes without a user context, e.g. background jobs',\n builtIn: true,\n },\n];\n\nexport function createDefaultAuthRoles(): AuthRoleDefinition[] {\n return AUTH_DEFAULT_ROLES.map((role) => ({\n ...role,\n id: authRoleEntityType.generateNewId(),\n }));\n}\n","import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport {\n authRoleEntityType,\n definitionSchema,\n} from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nimport { AUTH_DEFAULT_ROLES } from './constants.js';\n\nexport const createAuthRoleSchema = definitionSchema((ctx) =>\n ctx.withEnt(\n z.object({\n id: z.string(),\n name: z.string().min(1),\n comment: z.string().min(1),\n builtIn: z.boolean().default(false),\n }),\n { type: authRoleEntityType },\n ),\n);\n\n/**\n * Defines the schema for a role.\n */\nexport type AuthRoleDefinition = def.InferOutput<typeof createAuthRoleSchema>;\n\nexport type AuthRoleInput = def.InferInput<typeof createAuthRoleSchema>;\n\n/**\n * Defines the schema for an array of roles ensuring that there are no duplicate\n * role names and that the built-in roles are included.\n */\nexport const createAuthRolesSchema = definitionSchema((ctx) =>\n z\n .array(createAuthRoleSchema(ctx))\n .superRefine((roles, ctx) => {\n const dup = roles\n .map((r) => r.name)\n .filter((v, i, a) => a.indexOf(v) !== i);\n if (dup.length > 0) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: `Duplicate role name(s): ${dup.join(', ')}`,\n });\n }\n })\n .transform((roles) => [\n ...AUTH_DEFAULT_ROLES.map((r) => {\n const existingRole = roles.find((role) => role.name === r.name);\n return existingRole\n ? {\n ...existingRole,\n builtIn: true,\n }\n : {\n ...r,\n builtIn: true,\n id: authRoleEntityType.generateNewId(),\n };\n }),\n // Filter out the built-in roles\n ...roles.filter(\n (r) => !AUTH_DEFAULT_ROLES.map((v) => v.name).includes(r.name),\n ),\n ]),\n);\n","import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport {\n definitionSchema,\n featureEntityType,\n} from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nimport { createAuthRolesSchema } from './roles/index.js';\n\nexport const createAuthPluginDefinitionSchema = definitionSchema((ctx) =>\n z.object({\n implementationPluginKey: z\n .string()\n .min(1, 'Auth implementation plugin must be selected'),\n authFeatureRef: ctx.withRef({\n type: featureEntityType,\n onDelete: 'RESTRICT',\n }),\n roles: createAuthRolesSchema(ctx),\n }),\n);\n\nexport type AuthPluginDefinition = def.InferOutput<\n typeof createAuthPluginDefinitionSchema\n>;\n\nexport type AuthPluginDefinitionInput = def.InferInput<\n typeof createAuthPluginDefinitionSchema\n>;\n"],"names":["authRoleEntityType","definitionSchema","z","ctx"],"mappings":";;AAAA,MAAA,qBAAAA,oBAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;;AAIO,MAAM,kBAAuD,GAAA;AAAA,EAClE;AAAA,IACE,IAAM,EAAA,QAAA;AAAA,IACN,OAAS,EAAA,+DAAA;AAAA,IACT,OAAS,EAAA;AAAA,GACX;AAAA,EACA;AAAA,IACE,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,yBAAA;AAAA,IACT,OAAS,EAAA;AAAA,GACX;AAAA,EACA;AAAA,IACE,IAAM,EAAA,QAAA;AAAA,IACN,OAAS,EAAA,+DAAA;AAAA,IACT,OAAS,EAAA;AAAA;AAEb,CAAA;AAEO,SAAS,sBAA+C,GAAA;AAC7D,EAAO,OAAA,kBAAA,CAAmB,GAAI,CAAA,CAAC,IAAU,MAAA;AAAA,IACvC,GAAG,IAAA;AAAA,IACH,EAAA,EAAIA,qBAAmB,aAAc;AAAA,GACrC,CAAA,CAAA;AACJ;;ACzBA,MAAA,CAAA,kBAAA,mBAAAC,kBAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;;AAIA,MAAA,IAAAC,GAAA,CAAA,GAAA,MAAA,YAAA,CAAA,KAAA,CAAA;AAIO,MAAM,oBAAuB,GAAAD,kBAAA;AAAA,EAAiB,CAAC,QACpD,GAAI,CAAA,OAAA;AAAA,IACFC,IAAE,MAAO,CAAA;AAAA,MACP,EAAA,EAAIA,IAAE,M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,EAAA,IAAA;AAAA,QACT,EAAA,EAAI,mBAAmB,aAAc;AAAA,OACvC;AAAA,KACL,CAAA;AAAA;AAAA,IAED,GAAG,KAAM,CAAA,MAAA;AAAA,MACP,CAAC,CAAA,KAAM,CAAC,kBAAA,CAAmB,GAAI,CAAA,CAAC,CAAM,KAAA,CAAA,CAAE,IAAI,CAAA,CAAE,QAAS,CAAA,CAAA,CAAE,IAAI;AAAA;AAC/D,GACD;AACL,CAAA;;AChEA,MAAA,CAAA,gBAAA,CAAA,iBAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;;AAIA,MAAA,CAAA,CAAA,CAAA,GAAA,MAAA,YAAA,CAAA,KAAA,CAAA;AAIO,MAAM,gCAAmC,GAAA,gBAAA;AAAA,EAAiB,CAAC,GAChE,KAAA,CAAA,CAAE,MAAO,CAAA;AAAA,IACP,yBAAyB,CACtB,CAAA,MAAA,EACA,CAAA,GAAA,CAAI,GAAG,6CAA6C,CAAA;AAAA,IACvD,cAAA,EAAgB,IAAI,OAAQ,CAAA;AAAA,MAC1B,IAAM,EAAA,iBAAA;AAAA,MACN,QAAU,EAAA;AAAA,KACX,CAAA;AAAA,IACD,KAAA,EAAO,sBAAsB,GAAG;AAAA,GACjC;AACH;;;;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { importShared } from './__federation_fn_import-DReOsou_.js';
|
|
2
|
+
|
|
3
|
+
const {definitionSchema,modelEntityType} = await importShared('@baseplate-dev/project-builder-lib');
|
|
4
|
+
|
|
5
|
+
const {z} = await importShared('zod');
|
|
6
|
+
|
|
7
|
+
const createPlaceholderAuthPluginDefinitionSchema = definitionSchema(
|
|
8
|
+
(ctx) => z.object({
|
|
9
|
+
modelRefs: z.object({
|
|
10
|
+
user: ctx.withRef({
|
|
11
|
+
type: modelEntityType,
|
|
12
|
+
onDelete: "RESTRICT"
|
|
13
|
+
})
|
|
14
|
+
})
|
|
15
|
+
})
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
export { createPlaceholderAuthPluginDefinitionSchema as c };
|
|
19
|
+
//# sourceMappingURL=plugin-definition-PCHsX2lR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-definition-PCHsX2lR.js","sources":["../../../src/placeholder-auth/core/schema/plugin-definition.ts"],"sourcesContent":["import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport {\n definitionSchema,\n modelEntityType,\n} from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nexport const createPlaceholderAuthPluginDefinitionSchema = definitionSchema(\n (ctx) =>\n z.object({\n modelRefs: z.object({\n user: ctx.withRef({\n type: modelEntityType,\n onDelete: 'RESTRICT',\n }),\n }),\n }),\n);\n\nexport type PlaceholderAuthPluginDefinition = def.InferOutput<\n typeof createPlaceholderAuthPluginDefinitionSchema\n>;\n"],"names":[],"mappings":";;AAEA,MAAA,CAAA,gBAAA,CAAA,eAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;;AAIA,MAAA,CAAA,CAAA,CAAA,GAAA,MAAA,YAAA,CAAA,KAAA,CAAA;;AAEO,MAAM,2CAA8C,GAAA,gBAAA;AAAA,EACzD,CAAC,GACC,KAAA,CAAA,CAAE,MAAO,CAAA;AAAA,IACP,SAAA,EAAW,EAAE,MAAO,CAAA;AAAA,MAClB,IAAA,EAAM,IAAI,OAAQ,CAAA;AAAA,QAChB,IAAM,EAAA,eAAA;AAAA,QACN,QAAU,EAAA;AAAA,OACX;AAAA,KACF;AAAA,GACF;AACL;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
1
|
+
import { importShared } from './__federation_fn_import-DReOsou_.js';
|
|
2
2
|
|
|
3
3
|
const createStoreImpl = (createState) => {
|
|
4
4
|
let state;
|
|
@@ -44,4 +44,4 @@ const createImpl = (createState) => {
|
|
|
44
44
|
const create = (createState) => createState ? createImpl(createState) : createImpl;
|
|
45
45
|
|
|
46
46
|
export { create as c };
|
|
47
|
-
//# sourceMappingURL=react-
|
|
47
|
+
//# sourceMappingURL=react-ecPihYHK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-
|
|
1
|
+
{"version":3,"file":"react-ecPihYHK.js","sources":["../../../../../node_modules/.pnpm/zustand@5.0.3_@types+react@19.1.3_immer@10.1.1_react@19.1.0_use-sync-external-store@1.5.0_react@19.1.0_/node_modules/zustand/esm/vanilla.mjs","../../../../../node_modules/.pnpm/zustand@5.0.3_@types+react@19.1.3_immer@10.1.1_react@19.1.0_use-sync-external-store@1.5.0_react@19.1.0_/node_modules/zustand/esm/react.mjs"],"sourcesContent":["const createStoreImpl = (createState) => {\n let state;\n const listeners = /* @__PURE__ */ new Set();\n const setState = (partial, replace) => {\n const nextState = typeof partial === \"function\" ? partial(state) : partial;\n if (!Object.is(nextState, state)) {\n const previousState = state;\n state = (replace != null ? replace : typeof nextState !== \"object\" || nextState === null) ? nextState : Object.assign({}, state, nextState);\n listeners.forEach((listener) => listener(state, previousState));\n }\n };\n const getState = () => state;\n const getInitialState = () => initialState;\n const subscribe = (listener) => {\n listeners.add(listener);\n return () => listeners.delete(listener);\n };\n const api = { setState, getState, getInitialState, subscribe };\n const initialState = state = createState(setState, getState, api);\n return api;\n};\nconst createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;\n\nexport { createStore };\n","import React from 'react';\nimport { createStore } from 'zustand/vanilla';\n\nconst identity = (arg) => arg;\nfunction useStore(api, selector = identity) {\n const slice = React.useSyncExternalStore(\n api.subscribe,\n () => selector(api.getState()),\n () => selector(api.getInitialState())\n );\n React.useDebugValue(slice);\n return slice;\n}\nconst createImpl = (createState) => {\n const api = createStore(createState);\n const useBoundStore = (selector) => useStore(api, selector);\n Object.assign(useBoundStore, api);\n return useBoundStore;\n};\nconst create = (createState) => createState ? createImpl(createState) : createImpl;\n\nexport { create, useStore };\n"],"names":[],"mappings":";;AAAA,MAAM,eAAe,GAAG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AG,eAAe;;ACrBjG,MAAA,KAAA,GAAA,MAAA,YAAA,CAAA,OAAA,CAAA;;AAGA,MAAM,QAAQ,GAAG,CAAC,GAAG,KAAK,GAAG;AAC7B,SAAS,QAAQ,CAAC,GAAG,EAAE,QAAQ,GAAG,QAAQ,EAAE;AAC5C,EAAE,MAAM,KAAK,GAAG,KAAK,CAAC,oBAAoB;AAC1C,IAAI,GAAG,CAAC,SAAS;AACjB,IAAI,MAAM,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;AAClC,IAAI,MAAM,QAAQ,CAAC,GAAG,CAAC,eAAe,EAAE;AACxC,GAAG;AACH,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;AAC5B,EAAE,OAAO,KAAK;AACd;AACA,MAAM,UAAU,GAAG,CAAC,WAAW,KAAK;AACpC,EAAE,MAAM,GAAG,GAAG,WAAW,CAAC,WAAW,CAAC;AACtC,EAAE,MAAM,aAAa,GAAG,CAAC,QAAQ,KAAK,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;AAC7D,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,GAAG,CAAC;AACnC,EAAE,OAAO,aAAa;AACtB,CAAC;AACI,MAAC,MAAM,GAAG,CAAC,WAAW,KAAK,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC,GAAG;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -2,23 +2,29 @@ const currentImports = {};
|
|
|
2
2
|
const exportSet = new Set(['Module', '__esModule', 'default', '_export_sfc']);
|
|
3
3
|
let moduleMap = {
|
|
4
4
|
"auth/core/web":()=>{
|
|
5
|
-
dynamicLoadingCss(["style-
|
|
6
|
-
return __federation_import('./__federation_expose_authCoreWeb-
|
|
5
|
+
dynamicLoadingCss(["style-BhUCMIWI.css"], false, 'auth/core/web');
|
|
6
|
+
return __federation_import('./__federation_expose_authCoreWeb-CJxY8hZC.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
|
7
7
|
"auth/core/common":()=>{
|
|
8
|
-
dynamicLoadingCss(["style-
|
|
9
|
-
return __federation_import('./__federation_expose_authCoreCommon-
|
|
8
|
+
dynamicLoadingCss(["style-BhUCMIWI.css"], false, 'auth/core/common');
|
|
9
|
+
return __federation_import('./__federation_expose_authCoreCommon-C5cVmNCH.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
|
10
10
|
"auth0/core/web":()=>{
|
|
11
|
-
dynamicLoadingCss(["style-
|
|
12
|
-
return __federation_import('./__federation_expose_auth0CoreWeb-
|
|
11
|
+
dynamicLoadingCss(["style-BhUCMIWI.css"], false, 'auth0/core/web');
|
|
12
|
+
return __federation_import('./__federation_expose_auth0CoreWeb-5F0rTNis.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
|
13
13
|
"auth0/core/common":()=>{
|
|
14
|
-
dynamicLoadingCss(["style-
|
|
15
|
-
return __federation_import('./__federation_expose_auth0CoreCommon-
|
|
14
|
+
dynamicLoadingCss(["style-BhUCMIWI.css"], false, 'auth0/core/common');
|
|
15
|
+
return __federation_import('./__federation_expose_auth0CoreCommon-lV5QSzvf.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
|
16
|
+
"local-auth/core/web":()=>{
|
|
17
|
+
dynamicLoadingCss(["style-BhUCMIWI.css"], false, 'local-auth/core/web');
|
|
18
|
+
return __federation_import('./__federation_expose_local-authCoreWeb-B5iBudnh.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
|
19
|
+
"local-auth/core/common":()=>{
|
|
20
|
+
dynamicLoadingCss(["style-BhUCMIWI.css"], false, 'local-auth/core/common');
|
|
21
|
+
return __federation_import('./__federation_expose_local-authCoreCommon-Dr_ngV2l.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
|
16
22
|
"placeholder-auth/core/web":()=>{
|
|
17
|
-
dynamicLoadingCss(["style-
|
|
18
|
-
return __federation_import('./__federation_expose_placeholder-authCoreWeb-
|
|
23
|
+
dynamicLoadingCss(["style-BhUCMIWI.css"], false, 'placeholder-auth/core/web');
|
|
24
|
+
return __federation_import('./__federation_expose_placeholder-authCoreWeb-DbI_bZsk.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
|
19
25
|
"placeholder-auth/core/common":()=>{
|
|
20
|
-
dynamicLoadingCss(["style-
|
|
21
|
-
return __federation_import('./__federation_expose_placeholder-authCoreCommon-
|
|
26
|
+
dynamicLoadingCss(["style-BhUCMIWI.css"], false, 'placeholder-auth/core/common');
|
|
27
|
+
return __federation_import('./__federation_expose_placeholder-authCoreCommon-l8knzO7I.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},};
|
|
22
28
|
const seen = {};
|
|
23
29
|
const dynamicLoadingCss = (cssFilePaths, dontAppendStylesToHead, exposeItemName) => {
|
|
24
30
|
const metaUrl = import.meta.url;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remoteEntry.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remoteEntry.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
function compareValues(a, b, order) {
|
|
2
|
+
if (a < b) {
|
|
3
|
+
return order === 'asc' ? -1 : 1;
|
|
4
|
+
}
|
|
5
|
+
if (a > b) {
|
|
6
|
+
return order === 'asc' ? 1 : -1;
|
|
7
|
+
}
|
|
8
|
+
return 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function orderBy(arr, criteria, orders) {
|
|
12
|
+
return arr.slice().sort((a, b) => {
|
|
13
|
+
const ordersLength = orders.length;
|
|
14
|
+
for (let i = 0; i < criteria.length; i++) {
|
|
15
|
+
const order = ordersLength > i ? orders[i] : orders[ordersLength - 1];
|
|
16
|
+
const criterion = criteria[i];
|
|
17
|
+
const criterionIsFunction = typeof criterion === 'function';
|
|
18
|
+
const valueA = criterionIsFunction ? criterion(a) : a[criterion];
|
|
19
|
+
const valueB = criterionIsFunction ? criterion(b) : b[criterion];
|
|
20
|
+
const result = compareValues(valueA, valueB, order);
|
|
21
|
+
if (result !== 0) {
|
|
22
|
+
return result;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return 0;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function sortBy(arr, criteria) {
|
|
30
|
+
return orderBy(arr, criteria, ['asc']);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { sortBy as s };
|
|
34
|
+
//# sourceMappingURL=sortBy-BPH_zRB8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sortBy-BPH_zRB8.js","sources":["../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/_internal/compareValues.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/array/orderBy.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/array/sortBy.mjs"],"sourcesContent":["function compareValues(a, b, order) {\n if (a < b) {\n return order === 'asc' ? -1 : 1;\n }\n if (a > b) {\n return order === 'asc' ? 1 : -1;\n }\n return 0;\n}\n\nexport { compareValues };\n","import { compareValues } from '../_internal/compareValues.mjs';\n\nfunction orderBy(arr, criteria, orders) {\n return arr.slice().sort((a, b) => {\n const ordersLength = orders.length;\n for (let i = 0; i < criteria.length; i++) {\n const order = ordersLength > i ? orders[i] : orders[ordersLength - 1];\n const criterion = criteria[i];\n const criterionIsFunction = typeof criterion === 'function';\n const valueA = criterionIsFunction ? criterion(a) : a[criterion];\n const valueB = criterionIsFunction ? criterion(b) : b[criterion];\n const result = compareValues(valueA, valueB, order);\n if (result !== 0) {\n return result;\n }\n }\n return 0;\n });\n}\n\nexport { orderBy };\n","import { orderBy } from './orderBy.mjs';\n\nfunction sortBy(arr, criteria) {\n return orderBy(arr, criteria, ['asc']);\n}\n\nexport { sortBy };\n"],"names":[],"mappings":"AAAA,SAAS,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE;AACpC,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE;AACf,QAAQ,OAAO,KAAK,KAAK,KAAK,GAAG,EAAE,GAAG,CAAC;AACvC;AACA,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE;AACf,QAAQ,OAAO,KAAK,KAAK,KAAK,GAAG,CAAC,GAAG,EAAE;AACvC;AACA,IAAI,OAAO,CAAC;AACZ;;ACNA,SAAS,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE;AACxC,IAAI,OAAO,GAAG,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK;AACtC,QAAQ,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM;AAC1C,QAAQ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAClD,YAAY,MAAM,KAAK,GAAG,YAAY,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,YAAY,GAAG,CAAC,CAAC;AACjF,YAAY,MAAM,SAAS,GAAG,QAAQ,CAAC,CAAC,CAAC;AACzC,YAAY,MAAM,mBAAmB,GAAG,OAAO,SAAS,KAAK,UAAU;AACvE,YAAY,MAAM,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC;AAC5E,YAAY,MAAM,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC;AAC5E,YAAY,MAAM,MAAM,GAAG,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC;AAC/D,YAAY,IAAI,MAAM,KAAK,CAAC,EAAE;AAC9B,gBAAgB,OAAO,MAAM;AAC7B;AACA;AACA,QAAQ,OAAO,CAAC;AAChB,KAAK,CAAC;AACN;;AChBA,SAAS,MAAM,CAAC,GAAG,EAAE,QAAQ,EAAE;AAC/B,IAAI,OAAO,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;AAC1C;;;;","x_google_ignoreList":[0,1,2]}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
4
4
|
*, :before, :after, ::backdrop {
|
|
5
5
|
--tw-space-y-reverse: 0;
|
|
6
|
+
--tw-font-weight: initial;
|
|
6
7
|
}
|
|
7
8
|
}
|
|
8
9
|
}
|
|
@@ -11,12 +12,19 @@
|
|
|
11
12
|
:root, :host {
|
|
12
13
|
--auth-spacing: .25rem;
|
|
13
14
|
--auth-container-6xl: 72rem;
|
|
15
|
+
--auth-text-sm: .875rem;
|
|
16
|
+
--auth-text-sm--line-height: calc(1.25 / .875);
|
|
17
|
+
--auth-font-weight-medium: 500;
|
|
14
18
|
}
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
@layer base, components;
|
|
18
22
|
|
|
19
23
|
@layer utilities {
|
|
24
|
+
.auth\:relative {
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
|
|
20
28
|
.auth\:mb-\[--action-bar-height\] {
|
|
21
29
|
margin-bottom: --action-bar-height;
|
|
22
30
|
}
|
|
@@ -29,14 +37,30 @@
|
|
|
29
37
|
display: grid;
|
|
30
38
|
}
|
|
31
39
|
|
|
40
|
+
.auth\:inline-block {
|
|
41
|
+
display: inline-block;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.auth\:h-full {
|
|
45
|
+
height: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
32
48
|
.auth\:max-w-6xl {
|
|
33
49
|
max-width: var(--auth-container-6xl);
|
|
34
50
|
}
|
|
35
51
|
|
|
52
|
+
.auth\:flex-1 {
|
|
53
|
+
flex: 1;
|
|
54
|
+
}
|
|
55
|
+
|
|
36
56
|
.auth\:grid-cols-1 {
|
|
37
57
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
38
58
|
}
|
|
39
59
|
|
|
60
|
+
.auth\:flex-col {
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
}
|
|
63
|
+
|
|
40
64
|
.auth\:items-center {
|
|
41
65
|
align-items: center;
|
|
42
66
|
}
|
|
@@ -45,14 +69,12 @@
|
|
|
45
69
|
gap: calc(var(--auth-spacing) * 2);
|
|
46
70
|
}
|
|
47
71
|
|
|
48
|
-
.auth\:gap-
|
|
49
|
-
gap: calc(var(--auth-spacing) *
|
|
72
|
+
.auth\:gap-4 {
|
|
73
|
+
gap: calc(var(--auth-spacing) * 4);
|
|
50
74
|
}
|
|
51
75
|
|
|
52
|
-
|
|
53
|
-
--
|
|
54
|
-
margin-block-start: calc(calc(var(--auth-spacing) * 2) * var(--tw-space-y-reverse));
|
|
55
|
-
margin-block-end: calc(calc(var(--auth-spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
|
|
76
|
+
.auth\:gap-6 {
|
|
77
|
+
gap: calc(var(--auth-spacing) * 6);
|
|
56
78
|
}
|
|
57
79
|
|
|
58
80
|
:where(.auth\:space-y-4 > :not(:last-child)) {
|
|
@@ -67,6 +89,14 @@
|
|
|
67
89
|
margin-block-end: calc(calc(var(--auth-spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
|
|
68
90
|
}
|
|
69
91
|
|
|
92
|
+
.auth\:overflow-hidden {
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.auth\:overflow-y-auto {
|
|
97
|
+
overflow-y: auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
70
100
|
.auth\:py-4 {
|
|
71
101
|
padding-block: calc(var(--auth-spacing) * 4);
|
|
72
102
|
}
|
|
@@ -75,6 +105,16 @@
|
|
|
75
105
|
padding-bottom: calc(var(--auth-spacing) * 16);
|
|
76
106
|
}
|
|
77
107
|
|
|
108
|
+
.auth\:text-sm {
|
|
109
|
+
font-size: var(--auth-text-sm);
|
|
110
|
+
line-height: var(--tw-leading, var(--auth-text-sm--line-height));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.auth\:font-medium {
|
|
114
|
+
--tw-font-weight: var(--auth-font-weight-medium);
|
|
115
|
+
font-weight: var(--auth-font-weight-medium);
|
|
116
|
+
}
|
|
117
|
+
|
|
78
118
|
.auth\:text-muted-foreground {
|
|
79
119
|
color: var(--muted-foreground);
|
|
80
120
|
}
|
|
@@ -91,3 +131,8 @@
|
|
|
91
131
|
inherits: false;
|
|
92
132
|
initial-value: 0;
|
|
93
133
|
}
|
|
134
|
+
|
|
135
|
+
@property --tw-font-weight {
|
|
136
|
+
syntax: "*";
|
|
137
|
+
inherits: false
|
|
138
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { g as get, s as set, e as appendErrors } from './index.esm-UnRzlLlr.js';
|
|
2
|
+
import { importShared } from './__federation_fn_import-DReOsou_.js';
|
|
3
|
+
import { j as jsxRuntimeExports } from './jsx-runtime-XI9uIe3W.js';
|
|
4
|
+
|
|
5
|
+
const r=(t,r,o)=>{if(t&&"reportValidity"in t){const s=get(o,r);t.setCustomValidity(s&&s.message||""),t.reportValidity();}},o=(e,t)=>{for(const o in t.fields){const s=t.fields[o];s&&s.ref&&"reportValidity"in s.ref?r(s.ref,o,e):s&&s.refs&&s.refs.forEach(t=>r(t,o,e));}},s$1=(r,s)=>{s.shouldUseNativeValidation&&o(r,s);const n={};for(const o in r){const f=get(s.fields,o),c=Object.assign(r[o]||{},{ref:f&&f.ref});if(i(s.names||Object.keys(r),o)){const r=Object.assign({},get(n,o));set(r,"root",c),set(n,o,r);}else set(n,o,c);}return n},i=(e,t)=>{const r=n$1(t);return e.some(e=>n$1(e).match(`^${r}\\.\\d+`))};function n$1(e){return e.replace(/\]|\[/g,"")}
|
|
6
|
+
|
|
7
|
+
function n(r,e){for(var n={};r.length;){var s=r[0],t=s.code,i=s.message,a=s.path.join(".");if(!n[a])if("unionErrors"in s){var u=s.unionErrors[0].errors[0];n[a]={message:u.message,type:u.code};}else n[a]={message:i,type:t};if("unionErrors"in s&&s.unionErrors.forEach(function(e){return e.errors.forEach(function(e){return r.push(e)})}),e){var c=n[a].types,f=c&&c[s.code];n[a]=appendErrors(a,e,n,t,f?[].concat(f,s.message):s.message);}r.shift();}return n}function s(o$1,s,t){return void 0===t&&(t={}),function(i,a,u){try{return Promise.resolve(function(e,n){try{var a=Promise.resolve(o$1["sync"===t.mode?"parse":"parseAsync"](i,s)).then(function(e){return u.shouldUseNativeValidation&&o({},u),{errors:{},values:t.raw?Object.assign({},i):e}});}catch(r){return n(r)}return a&&a.then?a.then(void 0,n):a}(0,function(r){if(function(r){return Array.isArray(null==r?void 0:r.errors)}(r))return {values:{},errors:s$1(n(r.errors,!u.shouldUseNativeValidation&&"all"===u.criteriaMode),u)};throw r}))}catch(r){return Promise.reject(r)}}}
|
|
8
|
+
|
|
9
|
+
const {PluginUtils} = await importShared('@baseplate-dev/project-builder-lib');
|
|
10
|
+
|
|
11
|
+
const {useProjectDefinition} = await importShared('@baseplate-dev/project-builder-lib/web');
|
|
12
|
+
|
|
13
|
+
const {NavigationTabs,NavigationTabsItem} = await importShared('@baseplate-dev/ui-components');
|
|
14
|
+
|
|
15
|
+
const {Link} = await importShared('@tanstack/react-router');
|
|
16
|
+
|
|
17
|
+
function AuthConfigTabs() {
|
|
18
|
+
const { definition, schemaParserContext } = useProjectDefinition();
|
|
19
|
+
const authPlugin = schemaParserContext.pluginStore.availablePlugins.find(
|
|
20
|
+
(p) => p.metadata.packageName === "@baseplate-dev/plugin-auth" && p.metadata.name === "auth"
|
|
21
|
+
);
|
|
22
|
+
if (!authPlugin) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
const authConfig = PluginUtils.configByKey(
|
|
26
|
+
definition,
|
|
27
|
+
authPlugin.metadata.key
|
|
28
|
+
);
|
|
29
|
+
const implementationPluginKey = authConfig?.implementationPluginKey;
|
|
30
|
+
const authImplementationPlugin = schemaParserContext.pluginStore.availablePlugins.find(
|
|
31
|
+
(p) => p.metadata.key === implementationPluginKey
|
|
32
|
+
);
|
|
33
|
+
if (!authImplementationPlugin) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(NavigationTabs, { children: [
|
|
37
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(NavigationTabsItem, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
38
|
+
Link,
|
|
39
|
+
{
|
|
40
|
+
to: "/plugins/edit/$key",
|
|
41
|
+
params: { key: authPlugin.metadata.key },
|
|
42
|
+
activeOptions: { exact: true },
|
|
43
|
+
children: "Auth"
|
|
44
|
+
}
|
|
45
|
+
) }),
|
|
46
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(NavigationTabsItem, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47
|
+
Link,
|
|
48
|
+
{
|
|
49
|
+
to: `/plugins/edit/${authImplementationPlugin.metadata.key}`,
|
|
50
|
+
activeOptions: { exact: true },
|
|
51
|
+
children: authImplementationPlugin.metadata.displayName
|
|
52
|
+
}
|
|
53
|
+
) })
|
|
54
|
+
] });
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { AuthConfigTabs as A, s };
|
|
58
|
+
//# sourceMappingURL=styles-I6mpdfRm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles-I6mpdfRm.js","sources":["../../../../../node_modules/.pnpm/@hookform+resolvers@5.0.1_react-hook-form@7.60.0_react@19.1.0_/node_modules/@hookform/resolvers/dist/resolvers.mjs","../../../../../node_modules/.pnpm/@hookform+resolvers@5.0.1_react-hook-form@7.60.0_react@19.1.0_/node_modules/@hookform/resolvers/zod/dist/zod.mjs","../../../src/common/components/auth-config-tabs.tsx"],"sourcesContent":["import{get as e,set as t}from\"react-hook-form\";const r=(t,r,o)=>{if(t&&\"reportValidity\"in t){const s=e(o,r);t.setCustomValidity(s&&s.message||\"\"),t.reportValidity()}},o=(e,t)=>{for(const o in t.fields){const s=t.fields[o];s&&s.ref&&\"reportValidity\"in s.ref?r(s.ref,o,e):s&&s.refs&&s.refs.forEach(t=>r(t,o,e))}},s=(r,s)=>{s.shouldUseNativeValidation&&o(r,s);const n={};for(const o in r){const f=e(s.fields,o),c=Object.assign(r[o]||{},{ref:f&&f.ref});if(i(s.names||Object.keys(r),o)){const r=Object.assign({},e(n,o));t(r,\"root\",c),t(n,o,r)}else t(n,o,c)}return n},i=(e,t)=>{const r=n(t);return e.some(e=>n(e).match(`^${r}\\\\.\\\\d+`))};function n(e){return e.replace(/\\]|\\[/g,\"\")}export{s as toNestErrors,o as validateFieldsNatively};\n//# sourceMappingURL=resolvers.mjs.map\n","import{validateFieldsNatively as r,toNestErrors as e}from\"@hookform/resolvers\";import{appendErrors as o}from\"react-hook-form\";function n(r,e){for(var n={};r.length;){var s=r[0],t=s.code,i=s.message,a=s.path.join(\".\");if(!n[a])if(\"unionErrors\"in s){var u=s.unionErrors[0].errors[0];n[a]={message:u.message,type:u.code}}else n[a]={message:i,type:t};if(\"unionErrors\"in s&&s.unionErrors.forEach(function(e){return e.errors.forEach(function(e){return r.push(e)})}),e){var c=n[a].types,f=c&&c[s.code];n[a]=o(a,e,n,t,f?[].concat(f,s.message):s.message)}r.shift()}return n}function s(o,s,t){return void 0===t&&(t={}),function(i,a,u){try{return Promise.resolve(function(e,n){try{var a=Promise.resolve(o[\"sync\"===t.mode?\"parse\":\"parseAsync\"](i,s)).then(function(e){return u.shouldUseNativeValidation&&r({},u),{errors:{},values:t.raw?Object.assign({},i):e}})}catch(r){return n(r)}return a&&a.then?a.then(void 0,n):a}(0,function(r){if(function(r){return Array.isArray(null==r?void 0:r.errors)}(r))return{values:{},errors:e(n(r.errors,!u.shouldUseNativeValidation&&\"all\"===u.criteriaMode),u)};throw r}))}catch(r){return Promise.reject(r)}}}export{s as zodResolver};\n//# sourceMappingURL=zod.module.js.map\n","import { PluginUtils } from '@baseplate-dev/project-builder-lib';\nimport { useProjectDefinition } from '@baseplate-dev/project-builder-lib/web';\nimport {\n NavigationTabs,\n NavigationTabsItem,\n} from '@baseplate-dev/ui-components';\nimport { Link } from '@tanstack/react-router';\n\nimport type { AuthPluginDefinition } from '#src/auth/core/schema/plugin-definition.js';\n\nexport function AuthConfigTabs(): React.ReactElement | null {\n const { definition, schemaParserContext } = useProjectDefinition();\n\n const authPlugin = schemaParserContext.pluginStore.availablePlugins.find(\n (p) =>\n p.metadata.packageName === '@baseplate-dev/plugin-auth' &&\n p.metadata.name === 'auth',\n );\n\n if (!authPlugin) {\n return null;\n }\n\n const authConfig = PluginUtils.configByKey(\n definition,\n authPlugin.metadata.key,\n ) as AuthPluginDefinition | undefined;\n\n const implementationPluginKey = authConfig?.implementationPluginKey;\n\n const authImplementationPlugin =\n schemaParserContext.pluginStore.availablePlugins.find(\n (p) => p.metadata.key === implementationPluginKey,\n );\n\n if (!authImplementationPlugin) {\n return null;\n }\n\n return (\n <NavigationTabs>\n <NavigationTabsItem asChild>\n <Link\n to=\"/plugins/edit/$key\"\n params={{ key: authPlugin.metadata.key }}\n activeOptions={{ exact: true }}\n >\n Auth\n </Link>\n </NavigationTabsItem>\n <NavigationTabsItem asChild>\n <Link\n to={`/plugins/edit/${authImplementationPlugin.metadata.key}`}\n activeOptions={{ exact: true }}\n >\n {authImplementationPlugin.metadata.displayName}\n </Link>\n </NavigationTabsItem>\n </NavigationTabs>\n );\n}\n"],"names":["e","s","t","n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EAAiB,wBAAyB,CAAA,QAAA,CAAS,GAAG,CAAA,CAAA;AAAA,QAC1D,aAAA,EAAe,EAAE,KAAA,EAAO,IAAK,EAAA;AAAA,QAE5B,mCAAyB,QAAS,CAAA;AAAA;AAAA,KAEvC,EAAA;AAAA,GACF,EAAA,CAAA;AAEJ;;;;","x_google_ignoreList":[0,1]}
|
package/dist/web/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<meta charset="UTF-8" />
|
|
16
16
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
17
17
|
<title>React Remote</title>
|
|
18
|
-
<link rel="stylesheet" crossorigin href="/assets/style-
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/style-BhUCMIWI.css">
|
|
19
19
|
</head>
|
|
20
20
|
|
|
21
21
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baseplate-dev/plugin-auth",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Contains the auth plugin for Baseplate",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"authentication",
|
|
@@ -25,21 +25,22 @@
|
|
|
25
25
|
"CHANGELOG",
|
|
26
26
|
"dist/**/*",
|
|
27
27
|
"!dist/**/*.d.ts.map",
|
|
28
|
-
"!dist/**/*.tsbuildinfo"
|
|
29
|
-
"manifest.json"
|
|
28
|
+
"!dist/**/*.tsbuildinfo"
|
|
30
29
|
],
|
|
31
30
|
"dependencies": {
|
|
32
31
|
"@hookform/lenses": "0.7.1",
|
|
33
32
|
"@hookform/resolvers": "5.0.1",
|
|
33
|
+
"@tanstack/react-router": "1.130.8",
|
|
34
34
|
"react": "19.1.0",
|
|
35
35
|
"react-dom": "19.1.0",
|
|
36
36
|
"react-hook-form": "7.60.0",
|
|
37
37
|
"react-icons": "5.5.0",
|
|
38
38
|
"zod": "3.24.1",
|
|
39
|
-
"@baseplate-dev/core-generators": "0.
|
|
40
|
-
"@baseplate-dev/fastify-generators": "0.
|
|
41
|
-
"@baseplate-dev/react-generators": "0.
|
|
42
|
-
"@baseplate-dev/ui-components": "0.
|
|
39
|
+
"@baseplate-dev/core-generators": "0.3.1",
|
|
40
|
+
"@baseplate-dev/fastify-generators": "0.3.1",
|
|
41
|
+
"@baseplate-dev/react-generators": "0.3.1",
|
|
42
|
+
"@baseplate-dev/ui-components": "0.3.1",
|
|
43
|
+
"@baseplate-dev/utils": "0.3.1"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@originjs/vite-plugin-federation": "1.3.6",
|
|
@@ -50,19 +51,19 @@
|
|
|
50
51
|
"@vitejs/plugin-react": "4.4.1",
|
|
51
52
|
"concurrently": "9.0.1",
|
|
52
53
|
"cpx2": "8.0.0",
|
|
53
|
-
"eslint": "9.
|
|
54
|
-
"prettier": "3.
|
|
54
|
+
"eslint": "9.32.0",
|
|
55
|
+
"prettier": "3.6.2",
|
|
55
56
|
"tailwindcss": "4.1.6",
|
|
56
57
|
"typescript": "5.7.3",
|
|
57
58
|
"vite": "6.3.5",
|
|
58
|
-
"vitest": "3.
|
|
59
|
-
"@baseplate-dev/project-builder-lib": "0.
|
|
60
|
-
"@baseplate-dev/sync": "0.
|
|
61
|
-
"@baseplate-dev/tools": "0.
|
|
59
|
+
"vitest": "3.2.4",
|
|
60
|
+
"@baseplate-dev/project-builder-lib": "0.3.1",
|
|
61
|
+
"@baseplate-dev/sync": "0.3.1",
|
|
62
|
+
"@baseplate-dev/tools": "0.3.1"
|
|
62
63
|
},
|
|
63
64
|
"peerDependencies": {
|
|
64
|
-
"@baseplate-dev/project-builder-lib": "0.
|
|
65
|
-
"@baseplate-dev/sync": "0.
|
|
65
|
+
"@baseplate-dev/project-builder-lib": "0.3.1",
|
|
66
|
+
"@baseplate-dev/sync": "0.3.1"
|
|
66
67
|
},
|
|
67
68
|
"engines": {
|
|
68
69
|
"node": "^22.0.0"
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
},
|
|
77
78
|
"scripts": {
|
|
78
79
|
"build": "concurrently pnpm:build:*",
|
|
79
|
-
"build:static": "cpx \"src/**/{templates/**,static/**,
|
|
80
|
+
"build:static": "cpx \"src/**/{templates/**,static/**,plugin.json}\" \"dist/\" --clean",
|
|
80
81
|
"build:tsc": "tsc -p tsconfig.build.json",
|
|
81
82
|
"build:vite": "vite build",
|
|
82
83
|
"clean": "rm -rf ./dist",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-apollo.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-apollo/auth-apollo.generator.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,mBAAmB;;;gDA8C0I,sBAAsB;gCAA0E,sBAAsB;qCAAqE,sBAAsB;;;;;;;;;;;;;;;;;;;;;EADzX,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-apollo.generator.js","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-apollo/auth-apollo.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,eAAe,GAChB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAExE,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEtC,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC;IACjD,IAAI,EAAE,uBAAuB;IAC7B,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACjC,gBAAgB;IAChB,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC;QACjB,IAAI,EAAE,mBAAmB,CAAC;YACxB,YAAY,EAAE;gBACZ,iBAAiB,EAAE,yBAAyB;gBAC5C,YAAY,EAAE,2BAA2B;aAC1C;YACD,GAAG,CAAC,EAAE,iBAAiB,EAAE,YAAY,EAAE;gBACrC,iBAAiB,CAAC,2BAA2B,CAAC,GAAG,CAAC;oBAChD,IAAI,EAAE,mBAAmB;oBACzB,IAAI,EAAE,YAAY,CAAC,iBAAiB,CAAC,YAAY,EAAE;oBACnD,eAAe,EAAE,cAAc,CAC7B,+DAA+D,EAC/D,YAAY,CAAC,oBAAoB,CAAC,WAAW,EAAE,CAChD;iBACF,CAAC,CAAC;gBAEH,OAAO;oBACL,SAAS,EAAE;wBACT,UAAU,EAAE,EAAE;qBACf;oBACD,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;wBACvB,MAAM,YAAY,GAAG,MAAM,OAAO,CAAC,YAAY,CAC7C,uBAAuB,CACxB,CAAC;wBACF,MAAM,gBAAgB,GAAG,WAAW,CAAC,sBAAsB,CACzD,YAAY,EACZ,oBAAoB,CACrB,CAAC;wBAEF,iBAAiB,CAAC,WAAW,CAAC,GAAG,CAAC;4BAChC,IAAI,EAAE,kBAAkB;4BACxB,YAAY,EAAE,cAAc,CAAC,gBAAgB,EAAE;gCAC7C,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC;6BAC/D,CAAC;4BACF,QAAQ,EAAE,OAAO;yBAClB,CAAC,CAAC;oBACL,CAAC;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-apollo/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-apollo/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-error-link.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-apollo/templates/session-error-link.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-error-link.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-apollo/templates/session-error-link.ts"],"names":[],"mappings":"AAAA,cAAc;AAEd,2BAA2B;AAC3B,MAAM,gBAAgB,GAAG,OAAO,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;IACpD,MAAM,WAAW,GAAG,YAAuC,CAAC;IAC5D,IACE,OAAO,WAAW,KAAK,QAAQ;QAC/B,WAAW,CAAC,UAAU,KAAK,GAAG;QAC9B,OAAO,WAAW,CAAC,MAAM,KAAK,QAAQ;QACtC,WAAW,CAAC,MAAM,CAAC,IAAI,KAAK,iBAAiB,EAC7C,CAAC;QACD,iBAAiB,CAAC,OAAO,EAAE,CAAC;IAC9B,CAAC;IACD,OAAO;AACT,CAAC,CAAC,CAAC;;AACH,yBAAyB"}
|
package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-email-password.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-email-password/auth-email-password.generator.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BrC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-email-password.generator.js","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-email-password/auth-email-password.generator.ts"],"names":[],"mappings":"AAAA,OAA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BACxD,CAAC;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnD,CAAC"}
|