@baseplate-dev/plugin-auth 1.0.6 → 1.0.8
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/CHANGELOG.md +970 -0
- package/LICENSE +114 -123
- package/README.md +3 -3
- package/dist/auth/core/common.d.ts +2 -5
- package/dist/auth/core/common.js +15 -19
- package/dist/auth/core/components/auth-definition-editor.js +51 -30
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts +12 -0
- package/dist/auth/core/components/role-editor-form/role-dialog.js +29 -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.js +54 -0
- package/dist/auth/core/node.d.ts +3 -3
- package/dist/auth/core/node.js +29 -40
- package/dist/auth/core/schema/migrations.d.ts +3 -0
- package/dist/auth/core/schema/migrations.js +54 -0
- package/dist/auth/core/schema/plugin-definition.d.ts +11 -74
- package/dist/auth/core/schema/plugin-definition.js +9 -20
- package/dist/auth/core/schema/roles/constants.js +34 -0
- package/dist/auth/core/schema/roles/index.d.ts +3 -0
- package/dist/auth/core/schema/roles/index.js +3 -0
- package/dist/auth/core/schema/roles/schema.d.ts +62 -0
- package/dist/auth/core/schema/roles/schema.js +38 -0
- package/dist/auth/core/web.d.ts +3 -3
- package/dist/auth/core/web.js +34 -6
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +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.js +10 -0
- package/dist/auth/utils/index.d.ts +2 -0
- package/dist/auth/utils/index.js +2 -0
- package/dist/better-auth/admin/common.d.ts +5 -0
- package/dist/better-auth/admin/common.js +29 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +510 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +123 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +510 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js +9 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +12 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +24 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +260 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +41 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +249 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +20 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts +2 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/index.js +2 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +22 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +78 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +162 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +509 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +114 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +510 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.js +9 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +12 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +24 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +260 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +41 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +495 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +22 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/index.d.ts +2 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/index.js +2 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +22 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +89 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +171 -0
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +244 -0
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +54 -0
- package/dist/better-auth/admin/generators/admin-crud-roles-column/index.d.ts +2 -0
- package/dist/better-auth/admin/generators/admin-crud-roles-column/index.js +2 -0
- package/dist/better-auth/admin/node.d.ts +5 -0
- package/dist/better-auth/admin/node.js +57 -0
- package/dist/better-auth/admin/schema/manage-role-action.d.ts +12 -0
- package/dist/better-auth/admin/schema/manage-role-action.js +6 -0
- package/dist/better-auth/admin/schema/reset-password-action.d.ts +12 -0
- package/dist/better-auth/admin/schema/reset-password-action.js +6 -0
- package/dist/better-auth/admin/schema/roles-column.d.ts +9 -0
- package/dist/better-auth/admin/schema/roles-column.js +6 -0
- package/dist/better-auth/admin/web.d.ts +5 -0
- package/dist/better-auth/admin/web.js +39 -0
- package/dist/better-auth/constants/model-names.d.ts +8 -0
- package/dist/better-auth/constants/model-names.js +8 -0
- package/dist/better-auth/constants/packages.d.ts +4 -0
- package/dist/better-auth/constants/packages.js +4 -0
- package/dist/better-auth/core/common.d.ts +6 -0
- package/dist/better-auth/core/common.js +20 -0
- package/dist/better-auth/core/components/better-auth-definition-editor.d.ts +5 -0
- package/dist/better-auth/core/components/better-auth-definition-editor.js +62 -0
- package/dist/better-auth/core/index.d.ts +2 -0
- package/dist/better-auth/core/index.js +2 -0
- package/dist/better-auth/core/node.d.ts +5 -0
- package/dist/better-auth/core/node.js +64 -0
- package/dist/better-auth/core/schema/models.d.ts +3 -0
- package/dist/better-auth/core/schema/models.js +293 -0
- package/dist/better-auth/core/schema/plugin-definition.d.ts +8 -0
- package/dist/better-auth/core/schema/plugin-definition.js +9 -0
- package/dist/better-auth/core/schema/schema-issue-checker.d.ts +3 -0
- package/dist/better-auth/core/schema/schema-issue-checker.js +21 -0
- package/dist/better-auth/core/web.d.ts +6 -0
- package/dist/better-auth/core/web.js +26 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.d.ts +73 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.js +56 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts +111 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.js +11 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-paths.d.ts +13 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-paths.js +25 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.d.ts +56 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.js +57 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.d.ts +21 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.js +30 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.d.ts +47 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.js +33 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/index.d.ts +4 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/index.js +3 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/templates/module/schema/admin-auth.mutations.ts +48 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/templates/module/services/admin-auth.service.ts +106 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.d.ts +44 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.js +48 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.d.ts +100 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.js +9 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-paths.d.ts +14 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-paths.js +26 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.d.ts +42 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.js +59 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.d.ts +63 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.js +42 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/index.d.ts +2 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/index.js +2 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/templates/src/emails/auth/account-verification.email.tsx +55 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/templates/src/emails/auth/password-changed.email.tsx +44 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/templates/src/emails/auth/password-reset.email.tsx +55 -0
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +151 -0
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +109 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +234 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js +11 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts +16 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js +28 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +116 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js +91 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts +48 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js +40 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +110 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js +83 -0
- package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts +4 -0
- package/dist/better-auth/generators/fastify/better-auth-module/index.js +3 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/plugins/better-auth.plugin.ts +34 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/schema/user-session.queries.ts +22 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +107 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/user-session.service.ts +84 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/utils/headers.utils.ts +21 -0
- package/dist/better-auth/generators/fastify/index.d.ts +5 -0
- package/dist/better-auth/generators/fastify/index.js +5 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/index.d.ts +66 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/index.js +9 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-paths.d.ts +12 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-paths.js +24 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-renderers.d.ts +38 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-renderers.js +43 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/typed-templates.d.ts +27 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/typed-templates.js +18 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/index.d.ts +2 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/index.js +2 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.d.ts +49 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js +64 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/templates/src/prisma/seed-initial-user.ts +64 -0
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts +43 -0
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js +37 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts +72 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js +11 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts +14 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js +26 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts +27 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js +43 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts +18 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js +27 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts +51 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js +48 -0
- package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts +2 -0
- package/dist/better-auth/generators/react/better-auth-hooks/index.js +2 -0
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-log-out.ts +16 -0
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-session.ts +29 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +260 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js +26 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +1492 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.js +9 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts +16 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js +28 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +261 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js +44 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +2457 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js +83 -0
- package/dist/better-auth/generators/react/better-auth-pages/index.d.ts +2 -0
- package/dist/better-auth/generators/react/better-auth-pages/index.js +2 -0
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/forgot-password.tsx +133 -0
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/login.tsx +152 -0
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/register.tsx +164 -0
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/reset-password.tsx +177 -0
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/verify-email.tsx +109 -0
- package/dist/better-auth/generators/react/index.d.ts +4 -0
- package/dist/better-auth/generators/react/index.js +4 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +537 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/index.js +11 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts +13 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js +25 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +271 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js +51 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts +21 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js +30 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +258 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js +33 -0
- package/dist/better-auth/generators/react/react-better-auth/index.d.ts +4 -0
- package/dist/better-auth/generators/react/react-better-auth/index.js +3 -0
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +291 -0
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js +74 -0
- package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx +55 -0
- package/dist/better-auth/generators/react/react-better-auth/templates/src/services/auth-client.ts +13 -0
- package/dist/better-auth/index.d.ts +3 -0
- package/dist/better-auth/index.js +2 -0
- package/dist/better-auth/plugin.json +9 -0
- package/dist/better-auth/static/icon.svg +10 -0
- package/dist/common/components/auth-config-tabs.d.ts +2 -0
- package/dist/common/components/auth-config-tabs.js +21 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/local-auth/admin/common.d.ts +5 -0
- package/dist/local-auth/admin/common.js +29 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +510 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +127 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +510 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js +9 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +24 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +260 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +41 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +249 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +20 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +22 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +78 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +162 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +509 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +119 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +510 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js +9 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +24 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +260 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +41 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +495 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +22 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +22 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +89 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +171 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +244 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +54 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js +2 -0
- package/dist/local-auth/admin/node.d.ts +5 -0
- package/dist/local-auth/admin/node.js +57 -0
- package/dist/local-auth/admin/schema/manage-role-action.d.ts +12 -0
- package/dist/local-auth/admin/schema/manage-role-action.js +6 -0
- package/dist/local-auth/admin/schema/reset-password-action.d.ts +12 -0
- package/dist/local-auth/admin/schema/reset-password-action.js +6 -0
- package/dist/local-auth/admin/schema/roles-column.d.ts +9 -0
- package/dist/local-auth/admin/schema/roles-column.js +6 -0
- package/dist/local-auth/admin/web.d.ts +5 -0
- package/dist/local-auth/admin/web.js +39 -0
- package/dist/local-auth/constants/model-names.d.ts +23 -0
- package/dist/local-auth/constants/model-names.js +23 -0
- package/dist/local-auth/core/common.d.ts +6 -0
- package/dist/local-auth/core/common.js +20 -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.js +63 -0
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +13 -0
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js +40 -0
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js +20 -0
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.ts +18 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +122 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +82 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +327 -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/template-paths.d.ts +18 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +30 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +95 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +87 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +45 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js +46 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +372 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +140 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +17 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +18 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +21 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js +24 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.ts +35 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js +39 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.ts +55 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +76 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +95 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts +24 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +87 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +144 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts +38 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +165 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +244 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +71 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +226 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +358 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +44 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +48 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +100 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +26 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +42 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +59 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +63 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +42 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.js +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.tsx +55 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js +12 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.tsx +44 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.tsx +55 -0
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +57 -0
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js +32 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +93 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +14 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +26 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +35 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +45 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +29 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +37 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +71 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +50 -0
- package/dist/local-auth/core/generators/auth-hooks/index.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-hooks/index.js +3 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +30 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +33 -0
- 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.js +16 -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.js +15 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +16 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +179 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +115 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +458 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +25 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +37 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +160 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +120 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +36 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +40 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +402 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +207 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js +4 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.ts +7 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.worker.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.worker.js +18 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.worker.ts +22 -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.js +16 -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-roles.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js +23 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.ts +26 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js +19 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.ts +25 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +17 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +24 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +36 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +43 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +40 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +106 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +146 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts +15 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js +40 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts +54 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts +42 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +191 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +262 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +38 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +42 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +279 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +65 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +1575 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +18 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +28 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +277 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +62 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts +21 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js +30 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +2323 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +120 -0
- package/dist/local-auth/core/generators/auth-routes/index.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-routes/index.js +3 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts +10 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js +11 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.ts +12 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js +60 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.tsx +127 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +100 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +187 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +75 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +149 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +153 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +292 -0
- 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_/verify-email.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +106 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx +206 -0
- package/dist/local-auth/core/generators/index.d.ts +10 -0
- package/dist/local-auth/core/generators/index.js +10 -0
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts +9 -0
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.js +31 -0
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +568 -0
- package/dist/local-auth/core/generators/react-session/generated/index.js +11 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +13 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js +25 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +282 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +51 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts +21 -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/typed-templates.d.ts +547 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +35 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +301 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.js +48 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +72 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +99 -0
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts +58 -0
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js +103 -0
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.ts +122 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +90 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js +9 -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.js +24 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +50 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js +46 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +39 -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/index.d.ts +2 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.js +2 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +58 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +61 -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.js +33 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +45 -0
- package/dist/local-auth/core/node.d.ts +5 -0
- package/dist/local-auth/core/node.js +76 -0
- package/dist/local-auth/core/schema/models.d.ts +3 -0
- package/dist/local-auth/core/schema/models.js +281 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts +9 -0
- package/dist/local-auth/core/schema/plugin-definition.js +10 -0
- package/dist/local-auth/core/schema/schema-issue-checker.d.ts +3 -0
- package/dist/local-auth/core/schema/schema-issue-checker.js +21 -0
- package/dist/local-auth/core/web.d.ts +6 -0
- package/dist/local-auth/core/web.js +26 -0
- package/dist/local-auth/index.d.ts +2 -0
- package/dist/local-auth/index.js +2 -0
- package/dist/local-auth/plugin.json +14 -0
- package/dist/local-auth/static/icon.svg +1 -0
- package/dist/placeholder-auth/constants/model-names.d.ts +4 -0
- package/dist/placeholder-auth/constants/model-names.js +4 -0
- package/dist/placeholder-auth/core/common.d.ts +2 -5
- package/dist/placeholder-auth/core/common.js +11 -20
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js +21 -29
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +3 -12
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +0 -2
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +0 -2
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +1 -7
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +2 -14
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +3 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +0 -15
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +7 -32
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +4 -6
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js +1 -7
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +6 -2
- 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/ts-import-providers.d.ts +10 -2
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js +8 -5
- 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.js +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.d.ts +3 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.js +2 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +64 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.js +44 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.d.ts +5 -21
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.js +17 -26
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.ts +21 -31
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts +1 -1
- package/dist/placeholder-auth/core/node.d.ts +3 -3
- package/dist/placeholder-auth/core/node.js +11 -17
- package/dist/placeholder-auth/core/schema/models.d.ts +2 -5
- package/dist/placeholder-auth/core/schema/models.js +46 -28
- package/dist/placeholder-auth/core/schema/plugin-definition.d.ts +2 -79
- package/dist/placeholder-auth/core/schema/plugin-definition.js +2 -15
- package/dist/placeholder-auth/core/web.d.ts +3 -3
- package/dist/placeholder-auth/core/web.js +16 -6
- package/dist/placeholder-auth/plugin.json +10 -0
- package/dist/web/assets/_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DdyPR8Y-.js +242 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js +384 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DZIcwf2B.js +125 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js +80678 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js +7380 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js +13567 -0
- package/dist/web/assets/arduino-BP2nYunF.js +21 -0
- package/dist/web/assets/auth-8qJtXAgU.js +1 -0
- package/dist/web/assets/bash-Zh_IyzBN.js +192 -0
- package/dist/web/assets/basic-3mvohyEL.js +28 -0
- package/dist/web/assets/c-C7Ey31hW.js +74 -0
- package/dist/web/assets/clike-D9YNFwtw.js +41 -0
- package/dist/web/assets/common-23-wvKrM.js +39 -0
- package/dist/web/assets/common-B-NI9TR-.js +37 -0
- package/dist/web/assets/common-BBriDRRy.js +63 -0
- package/dist/web/assets/common-BvU-7KsV.js +39 -0
- package/dist/web/assets/common-DBBUvtGu.js +37 -0
- package/dist/web/assets/common-eFh2vwGb.js +18 -0
- package/dist/web/assets/cpp-_RjA_yNA.js +82 -0
- package/dist/web/assets/csharp-0LZzOc6Q.js +301 -0
- package/dist/web/assets/css-D7TbgetL.js +70 -0
- package/dist/web/assets/diff-CtSa_15w.js +54 -0
- package/dist/web/assets/dist-BjxypexQ.js +18953 -0
- package/dist/web/assets/dist-SBfmsOB2.js +3576 -0
- package/dist/web/assets/get-auth-plugin-definition-x8oAsN1R.js +14 -0
- package/dist/web/assets/go-CzER04EZ.js +36 -0
- package/dist/web/assets/hostInit-oh7k6PLP.js +99 -0
- package/dist/web/assets/index-D-gGyBWJ.js +2 -0
- package/dist/web/assets/ini-CU-wHLTy.js +51 -0
- package/dist/web/assets/java-HAvRESj1.js +116 -0
- package/dist/web/assets/javascript-BVAr0eZH.js +124 -0
- package/dist/web/assets/json-DN8T4yFI.js +38 -0
- package/dist/web/assets/kotlin-DkCMjTKK.js +83 -0
- package/dist/web/assets/less-ZXX1tgaG.js +42 -0
- package/dist/web/assets/lua-D9bD4wrb.js +28 -0
- package/dist/web/assets/makefile-CKoRpler.js +40 -0
- package/dist/web/assets/markdown-_2_uVr2L.js +278 -0
- package/dist/web/assets/markup-BVZ8HhdW.js +176 -0
- package/dist/web/assets/markup-templating-BDIRuVJH.js +94 -0
- package/dist/web/assets/mf-entry-bootstrap-0-f953ebce.js +35 -0
- package/dist/web/assets/model-names-BluImOzu.js +27 -0
- package/dist/web/assets/model-names-CUS5rSei.js +12 -0
- package/dist/web/assets/model-utils-dNFTOjqi.js +1599 -0
- package/dist/web/assets/models-BpslIbU7.js +304 -0
- package/dist/web/assets/models-CKab4MTC.js +285 -0
- package/dist/web/assets/objectivec-DPgB68It.js +25 -0
- package/dist/web/assets/perl-Cul_ma_h.js +92 -0
- package/dist/web/assets/php-JTON0zp9.js +298 -0
- package/dist/web/assets/plugin-definition-8Exesd6T.js +78 -0
- package/dist/web/assets/plugin-definition-ChBrbazJ.js +11 -0
- package/dist/web/assets/python-CURlmZ7M.js +73 -0
- package/dist/web/assets/r-8lr7pbGm.js +30 -0
- package/dist/web/assets/regex-CxQ7DXCx.js +96 -0
- package/dist/web/assets/rolldown-runtime-FZ4Itg2g.js +42 -0
- package/dist/web/assets/ruby-BoFHz67P.js +175 -0
- package/dist/web/assets/rust-CpZXpaj0.js +107 -0
- package/dist/web/assets/sass-DG0YAnL7.js +65 -0
- package/dist/web/assets/scss-BDRIqhak.js +70 -0
- package/dist/web/assets/sql-C-bL8_gT.js +40 -0
- package/dist/web/assets/styles-Cc26Bbxc.css +120 -0
- package/dist/web/assets/styles-Cuq4wgvD.js +176 -0
- package/dist/web/assets/swift-rQ52kfab.js +107 -0
- package/dist/web/assets/typescript-CDkIWcT8.js +57 -0
- package/dist/web/assets/vbnet-_PL7-T9d.js +32 -0
- package/dist/web/assets/virtualExposes-BwIds34r.js +2 -0
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-RJNeuwba.js +259 -0
- package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js +129 -0
- package/dist/web/assets/virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js +203 -0
- package/dist/web/assets/vite-preload-helper-iIio8xkS.js +67 -0
- package/dist/web/assets/web-BZd3bM0n.js +410 -0
- package/dist/web/assets/web-BgWG7dYl.js +123 -0
- package/dist/web/assets/web-CXHw8SK7.js +118 -0
- package/dist/web/assets/web-CnB-sqCR.js +357 -0
- package/dist/web/assets/web-DHv2aVpi.js +106 -0
- package/dist/web/assets/web-DNrWXjpS.js +46 -0
- package/dist/web/assets/web-D_H-MoGI.js +46 -0
- package/dist/web/assets/workerBundle-GFUata9j.js +10 -0
- package/dist/web/assets/yaml-C9m3vuV5.js +90 -0
- package/dist/web/index.html +2 -2
- package/dist/web/remoteEntry.js +2 -0
- package/dist/web/remoteEntry.ssr.js +43 -0
- package/package.json +53 -47
- package/dist/auth/core/common.d.ts.map +0 -1
- package/dist/auth/core/common.js.map +0 -1
- package/dist/auth/core/components/auth-definition-editor.d.ts.map +0 -1
- package/dist/auth/core/components/auth-definition-editor.js.map +0 -1
- package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +0 -28
- 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 +0 -43
- 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 +0 -15
- package/dist/auth/core/generators/auth-apollo/templates/session-error-link.js.map +0 -1
- package/dist/auth/core/generators/auth-apollo/templates/session-error-link.ts +0 -16
- package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +0 -73
- 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 +0 -40
- 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 +0 -124
- 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/index.js.map +0 -1
- 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 +0 -26
- 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 +0 -58
- 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 +0 -55
- 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 +0 -25
- 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 +0 -32
- 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 +0 -105
- 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 +0 -58
- 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 +0 -2
- 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 +0 -3
- 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/constants/password.constants.ts +0 -3
- 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 +0 -33
- 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/schema/user-password.mutations.ts +0 -44
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +0 -21
- 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 +0 -74
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +0 -121
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +0 -61
- 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 +0 -33
- 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 +0 -127
- 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 +0 -17
- 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 +0 -27
- 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 +0 -47
- 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 +0 -50
- 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 +0 -131
- 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 +0 -83
- 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 +0 -18
- 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.gql +0 -10
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +0 -22
- 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-current-user.ts +0 -39
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +0 -2
- 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.gql +0 -5
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +0 -27
- 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-log-out.ts +0 -29
- 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 +0 -15
- 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-hooks/templates/src/hooks/use-user-id-or-throw.ts +0 -16
- package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts +0 -94
- 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 +0 -70
- 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 +0 -182
- 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 +0 -19
- 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 +0 -29
- 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 +0 -80
- 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 +0 -79
- 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 +0 -22
- 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 +0 -31
- 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 +0 -134
- 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 +0 -113
- 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 +0 -17
- 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-payload.object-type.ts +0 -23
- 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 +0 -18
- 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.mutations.ts +0 -22
- 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 +0 -19
- 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/schema/user-session.queries.ts +0 -23
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts +0 -43
- 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 +0 -180
- 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/services/user-session.service.ts +0 -250
- 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 +0 -38
- 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/session-cookie.ts +0 -42
- 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 +0 -176
- 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 +0 -38
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/index.d.ts +0 -495
- package/dist/auth/core/generators/auth-routes/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/index.js +0 -9
- 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 +0 -15
- 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 +0 -25
- 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 +0 -176
- 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 +0 -55
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.d.ts +0 -638
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.js +0 -57
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/index.d.ts +0 -2
- package/dist/auth/core/generators/auth-routes/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/index.js +0 -2
- 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 +0 -85
- 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_/login.tsx +0 -161
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/queries.gql +0 -15
- 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 +0 -77
- 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_/register.tsx +0 -148
- 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 +0 -8
- package/dist/auth/core/generators/index.d.ts.map +0 -1
- package/dist/auth/core/generators/index.js +0 -8
- 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 +0 -9
- 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 +0 -31
- 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 +0 -54
- 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.gql +0 -6
- 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 +0 -79
- 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 +0 -133
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.ts +0 -153
- package/dist/auth/core/index.d.ts.map +0 -1
- package/dist/auth/core/index.js.map +0 -1
- package/dist/auth/core/node.d.ts.map +0 -1
- package/dist/auth/core/node.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 +0 -203
- package/dist/auth/core/schema/models.js.map +0 -1
- package/dist/auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/auth/core/web.d.ts.map +0 -1
- package/dist/auth/core/web.js.map +0 -1
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/auth/index.js.map +0 -1
- package/dist/auth/metadata.json +0 -8
- package/dist/auth0/constants/packages.d.ts +0 -6
- package/dist/auth0/constants/packages.d.ts.map +0 -1
- package/dist/auth0/constants/packages.js +0 -6
- package/dist/auth0/constants/packages.js.map +0 -1
- package/dist/auth0/core/common.d.ts +0 -7
- package/dist/auth0/core/common.d.ts.map +0 -1
- package/dist/auth0/core/common.js +0 -28
- package/dist/auth0/core/common.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/auth0/core/node.d.ts +0 -5
- package/dist/auth0/core/node.d.ts.map +0 -1
- package/dist/auth0/core/node.js +0 -49
- package/dist/auth0/core/node.js.map +0 -1
- package/dist/auth0/core/schema/migrations.d.ts +0 -3
- package/dist/auth0/core/schema/migrations.d.ts.map +0 -1
- package/dist/auth0/core/schema/migrations.js +0 -19
- package/dist/auth0/core/schema/migrations.js.map +0 -1
- package/dist/auth0/core/schema/models.d.ts +0 -6
- package/dist/auth0/core/schema/models.d.ts.map +0 -1
- package/dist/auth0/core/schema/models.js +0 -39
- package/dist/auth0/core/schema/models.js.map +0 -1
- package/dist/auth0/core/schema/plugin-definition.d.ts +0 -83
- package/dist/auth0/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/auth0/core/schema/plugin-definition.js +0 -17
- package/dist/auth0/core/schema/plugin-definition.js.map +0 -1
- package/dist/auth0/core/web.d.ts +0 -6
- package/dist/auth0/core/web.d.ts.map +0 -1
- package/dist/auth0/core/web.js +0 -14
- package/dist/auth0/core/web.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +0 -75
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +0 -120
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +0 -105
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/index.js +0 -11
- package/dist/auth0/generators/fastify/auth0-module/generated/index.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +0 -13
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +0 -23
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +0 -55
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js +0 -52
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.d.ts +0 -10
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.js +0 -23
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +0 -43
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js +0 -28
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/index.d.ts +0 -2
- package/dist/auth0/generators/fastify/auth0-module/index.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/index.js +0 -2
- package/dist/auth0/generators/fastify/auth0-module/index.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/templates/module/services/management.ts +0 -22
- package/dist/auth0/generators/fastify/auth0-module/templates/module/services/user-session.service.ts +0 -101
- package/dist/auth0/generators/fastify/index.d.ts +0 -2
- package/dist/auth0/generators/fastify/index.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/index.js +0 -2
- package/dist/auth0/generators/fastify/index.js.map +0 -1
- package/dist/auth0/generators/index.d.ts.map +0 -1
- package/dist/auth0/generators/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.d.ts +0 -10
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.js +0 -41
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.js.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/index.d.ts +0 -2
- package/dist/auth0/generators/react/auth0-apollo/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/index.js +0 -2
- package/dist/auth0/generators/react/auth0-apollo/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/templates/auth-link.ts +0 -11
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +0 -40
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +0 -40
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +0 -72
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/index.js +0 -11
- package/dist/auth0/generators/react/auth0-hooks/generated/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +0 -16
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +0 -26
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +0 -29
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +0 -47
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +0 -16
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +0 -27
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +0 -52
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +0 -69
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/index.d.ts +0 -2
- package/dist/auth0/generators/react/auth0-hooks/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/index.js +0 -2
- package/dist/auth0/generators/react/auth0-hooks/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.gql +0 -10
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.ts +0 -29
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-log-out.ts +0 -14
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-session.ts +0 -23
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts +0 -143
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.js +0 -26
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts +0 -278
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/index.js +0 -9
- package/dist/auth0/generators/react/auth0-pages/generated/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-paths.d.ts +0 -12
- package/dist/auth0/generators/react/auth0-pages/generated/template-paths.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-paths.js +0 -20
- package/dist/auth0/generators/react/auth0-pages/generated/template-paths.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts +0 -144
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.js +0 -37
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts +0 -263
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.js +0 -18
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/index.d.ts +0 -2
- package/dist/auth0/generators/react/auth0-pages/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/index.js +0 -2
- package/dist/auth0/generators/react/auth0-pages/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/templates/routes/login.tsx +0 -31
- package/dist/auth0/generators/react/index.d.ts +0 -5
- package/dist/auth0/generators/react/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/index.js +0 -5
- package/dist/auth0/generators/react/index.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts +0 -286
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/index.js +0 -9
- package/dist/auth0/generators/react/react-auth0/generated/index.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-paths.d.ts +0 -12
- package/dist/auth0/generators/react/react-auth0/generated/template-paths.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-paths.js +0 -22
- package/dist/auth0/generators/react/react-auth0/generated/template-paths.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts +0 -149
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.js +0 -39
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts +0 -136
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.js +0 -17
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/index.d.ts +0 -2
- package/dist/auth0/generators/react/react-auth0/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/index.js +0 -2
- package/dist/auth0/generators/react/react-auth0/index.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +0 -178
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.js +0 -107
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/templates/src/app/auth-loaded-gate.tsx +0 -78
- package/dist/auth0/metadata.json +0 -8
- package/dist/auth0/static/icon.svg +0 -7
- 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 +0 -14
- 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 +0 -29
- 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 +0 -49
- 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 +0 -25
- 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 +0 -84
- package/dist/common/roles/schema.d.ts.map +0 -1
- package/dist/common/roles/schema.js +0 -44
- package/dist/common/roles/schema.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/placeholder-auth/core/common.d.ts.map +0 -1
- package/dist/placeholder-auth/core/common.js.map +0 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts.map +0 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js.map +0 -1
- package/dist/placeholder-auth/core/generators/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -14
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js +0 -23
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.ts +0 -34
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts +0 -45
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.js +0 -27
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.js.map +0 -1
- package/dist/placeholder-auth/core/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/index.js.map +0 -1
- package/dist/placeholder-auth/core/node.d.ts.map +0 -1
- package/dist/placeholder-auth/core/node.js.map +0 -1
- package/dist/placeholder-auth/core/schema/models.d.ts.map +0 -1
- package/dist/placeholder-auth/core/schema/models.js.map +0 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/placeholder-auth/core/web.d.ts.map +0 -1
- package/dist/placeholder-auth/core/web.js.map +0 -1
- package/dist/placeholder-auth/index.d.ts.map +0 -1
- package/dist/placeholder-auth/index.js.map +0 -1
- package/dist/placeholder-auth/metadata.json +0 -9
- 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 +0 -201
- 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 +0 -401
- 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 +0 -197
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-CpxfTdxv.js.map +0 -1
- package/dist/web/assets/__federation_fn_import-CGvRdRVe.js +0 -421
- package/dist/web/assets/__federation_fn_import-CGvRdRVe.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-D1kBtwsm.js +0 -341
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-D1kBtwsm.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-B7442OYh.js +0 -10289
- 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 +0 -23637
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-X318M5Ml.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-dom-Bwq4pLax.js +0 -250
- package/dist/web/assets/__federation_shared_react-dom-Bwq4pLax.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-uocnGSER.js +0 -7
- package/dist/web/assets/__federation_shared_react-uocnGSER.js.map +0 -1
- package/dist/web/assets/__federation_shared_zod-BK7IELHt.js +0 -4380
- package/dist/web/assets/__federation_shared_zod-BK7IELHt.js.map +0 -1
- package/dist/web/assets/index-B1hOKVPw.js +0 -574
- package/dist/web/assets/index-B1hOKVPw.js.map +0 -1
- package/dist/web/assets/index-l0sNRNKZ.js.map +0 -1
- package/dist/web/assets/index-ydDQKauE.js +0 -101
- package/dist/web/assets/index-ydDQKauE.js.map +0 -1
- package/dist/web/assets/index.esm-DYWXRkn-.js +0 -2627
- package/dist/web/assets/index.esm-DYWXRkn-.js.map +0 -1
- package/dist/web/assets/model-merger-BVBtbNAj.js +0 -1708
- 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/react-B23vKoD0.js +0 -47
- package/dist/web/assets/react-B23vKoD0.js.map +0 -1
- package/dist/web/assets/remoteEntry.js +0 -66
- package/dist/web/assets/remoteEntry.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/style-ZUYizAnf.css +0 -93
- package/dist/web/assets/styles-Dfjm_ApH.js +0 -201
- package/dist/web/assets/styles-Dfjm_ApH.js.map +0 -1
- package/dist/web-export.js.map +0 -1
- package/manifest.json +0 -4
- /package/dist/{common → auth/core/schema}/roles/constants.d.ts +0 -0
- /package/dist/{auth0 → better-auth}/generators/index.d.ts +0 -0
- /package/dist/{auth0 → better-auth}/generators/index.js +0 -0
- /package/dist/{auth0/generators/react/auth0-hooks → better-auth/generators/react/better-auth-hooks}/templates/src/hooks/use-required-user-id.ts +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-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/schema/user-password.mutations.d.ts +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.queries.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/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/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-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
|
@@ -4,38 +4,28 @@ import type { AuthUserSessionInfo } from '%authContextImports';
|
|
|
4
4
|
import type { UserSessionService } from '%userSessionTypesImports';
|
|
5
5
|
import type { FastifyRequest } from 'fastify';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
7
|
+
/**
|
|
8
|
+
* Creates a placeholder {@link UserSessionService} that always throws. Swap
|
|
9
|
+
* this out for a real auth backend (e.g. `better-auth` or `local-auth`).
|
|
10
|
+
*/
|
|
11
|
+
export function createPlaceholderUserSessionService(): UserSessionService {
|
|
12
|
+
return {
|
|
13
|
+
async getSessionInfoFromRequest(
|
|
14
|
+
req: FastifyRequest,
|
|
15
|
+
): Promise<AuthUserSessionInfo | undefined> {
|
|
16
|
+
console.info(req.cookies);
|
|
17
|
+
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
throw new Error('Not implemented');
|
|
20
|
+
},
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
* @param req The request object
|
|
29
|
-
* @returns The session info or undefined if no session is found
|
|
30
|
-
*/
|
|
31
|
-
async getSessionInfoFromToken(
|
|
32
|
-
req: FastifyRequest,
|
|
33
|
-
): Promise<AuthUserSessionInfo | undefined> {
|
|
34
|
-
console.info(req.cookies);
|
|
35
|
-
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
22
|
+
async getSessionInfoFromToken(
|
|
23
|
+
req: FastifyRequest,
|
|
24
|
+
): Promise<AuthUserSessionInfo | undefined> {
|
|
25
|
+
console.info(req.cookies);
|
|
26
|
+
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
36
27
|
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
throw new Error('Not implemented');
|
|
29
|
+
},
|
|
30
|
+
};
|
|
39
31
|
}
|
|
40
|
-
|
|
41
|
-
export const userSessionService = new PlaceholderUserSessionService();
|
package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generator for placeholder React auth
|
|
3
3
|
*/
|
|
4
|
-
export declare const placeholderReactAuthGenerator: import("@baseplate-dev/sync").GeneratorBundleCreator<
|
|
4
|
+
export declare const placeholderReactAuthGenerator: import("@baseplate-dev/sync").GeneratorBundleCreator<Record<string, never>, {
|
|
5
5
|
reactAuth: import("@baseplate-dev/sync").GeneratorTask<{
|
|
6
6
|
reactAuth: import("@baseplate-dev/sync").ProviderExport<import("@baseplate-dev/react-generators").ReactAuthRoutesProvider>;
|
|
7
7
|
}, any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const _default: import("@baseplate-dev/project-builder-lib").
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
declare const _default: import("@baseplate-dev/project-builder-lib").PluginModule<{
|
|
2
|
+
[x: string]: import("@baseplate-dev/project-builder-lib").PluginSpec<object, object>;
|
|
3
|
+
}>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=node.d.ts.map
|
|
@@ -1,38 +1,32 @@
|
|
|
1
|
-
import { appCompilerSpec, backendAppEntryType,
|
|
2
|
-
import {
|
|
1
|
+
import { appCompilerSpec, backendAppEntryType, createPluginModule, webAppEntryType, } from '@baseplate-dev/project-builder-lib';
|
|
2
|
+
import { getAuthPluginDefinition } from '#src/auth/index.js';
|
|
3
3
|
import { placeholderAuthHooksGenerator, placeholderAuthModuleGenerator, placeholderReactAuthGenerator, } from './generators/index.js';
|
|
4
|
-
export default
|
|
4
|
+
export default createPluginModule({
|
|
5
|
+
name: 'node',
|
|
5
6
|
dependencies: {
|
|
6
7
|
appCompiler: appCompilerSpec,
|
|
7
8
|
},
|
|
8
|
-
|
|
9
|
-
initialize: ({ appCompiler }, { pluginId }) => {
|
|
9
|
+
initialize: ({ appCompiler }, { pluginKey }) => {
|
|
10
10
|
// register backend compiler
|
|
11
|
-
appCompiler.
|
|
12
|
-
|
|
11
|
+
appCompiler.compilers.push({
|
|
12
|
+
pluginKey,
|
|
13
13
|
appType: backendAppEntryType,
|
|
14
14
|
compile: ({ projectDefinition, appCompiler }) => {
|
|
15
|
-
const
|
|
16
|
-
appCompiler.addChildrenToFeature(
|
|
17
|
-
...createCommonBackendAuthModuleGenerators({ roles: auth.roles }),
|
|
15
|
+
const authDefinition = getAuthPluginDefinition(projectDefinition);
|
|
16
|
+
appCompiler.addChildrenToFeature(authDefinition.authFeatureRef, {
|
|
18
17
|
authModule: placeholderAuthModuleGenerator({}),
|
|
19
18
|
});
|
|
20
|
-
appCompiler.addRootChildren(createCommonBackendAuthRootGenerators());
|
|
21
19
|
},
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
appCompiler.registerAppCompiler({
|
|
25
|
-
pluginId,
|
|
20
|
+
}, {
|
|
21
|
+
pluginKey,
|
|
26
22
|
appType: webAppEntryType,
|
|
27
23
|
compile: ({ appCompiler }) => {
|
|
28
24
|
appCompiler.addRootChildren({
|
|
29
|
-
...createCommonWebAuthGenerators(),
|
|
30
25
|
reactAuth: placeholderReactAuthGenerator({}),
|
|
31
26
|
authHooks: placeholderAuthHooksGenerator({}),
|
|
32
27
|
});
|
|
33
28
|
},
|
|
34
29
|
});
|
|
35
|
-
return {};
|
|
36
30
|
},
|
|
37
31
|
});
|
|
38
32
|
//# sourceMappingURL=node.js.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare function createAuthModels({ authFeatureRef, modelRefs, }: Pick<PlaceholderAuthPluginDefinition, 'authFeatureRef' | 'modelRefs'>): {
|
|
4
|
-
user: ModelMergerModelInput;
|
|
5
|
-
};
|
|
1
|
+
import type { PartialProjectDefinitionInput } from '@baseplate-dev/project-builder-lib';
|
|
2
|
+
export declare function createPlaceholderAuthPartialDefinition(authFeatureName: string): PartialProjectDefinitionInput;
|
|
6
3
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1,35 +1,53 @@
|
|
|
1
|
-
|
|
1
|
+
import { PLACEHOLDER_AUTH_MODELS } from '#src/placeholder-auth/constants/model-names.js';
|
|
2
|
+
export function createPlaceholderAuthPartialDefinition(authFeatureName) {
|
|
2
3
|
return {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
models: [
|
|
5
|
+
{
|
|
6
|
+
name: PLACEHOLDER_AUTH_MODELS.user,
|
|
7
|
+
featureRef: authFeatureName,
|
|
8
|
+
model: {
|
|
9
|
+
fields: [
|
|
10
|
+
{
|
|
11
|
+
name: 'id',
|
|
12
|
+
type: 'uuid',
|
|
13
|
+
options: { defaultGeneration: 'uuidv7' },
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: 'email',
|
|
17
|
+
type: 'string',
|
|
18
|
+
isOptional: true,
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
primaryKeyFieldRefs: ['id'],
|
|
22
|
+
uniqueConstraints: [
|
|
23
|
+
{
|
|
24
|
+
fields: [{ fieldRef: 'email' }],
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
graphql: {
|
|
29
|
+
objectType: {
|
|
30
|
+
enabled: true,
|
|
31
|
+
fields: [
|
|
32
|
+
{ ref: 'id' },
|
|
33
|
+
{
|
|
34
|
+
ref: 'email',
|
|
35
|
+
globalRoles: ['admin'],
|
|
36
|
+
instanceRoles: ['self'],
|
|
37
|
+
},
|
|
38
|
+
],
|
|
23
39
|
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
40
|
+
},
|
|
41
|
+
authorizer: {
|
|
42
|
+
roles: [
|
|
43
|
+
{
|
|
44
|
+
name: 'self',
|
|
45
|
+
expression: 'model.id === userId',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
30
48
|
},
|
|
31
49
|
},
|
|
32
|
-
|
|
50
|
+
],
|
|
33
51
|
};
|
|
34
52
|
}
|
|
35
53
|
//# sourceMappingURL=models.js.map
|
|
@@ -1,82 +1,5 @@
|
|
|
1
1
|
import type { def } from '@baseplate-dev/project-builder-lib';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
export declare const createPlaceholderAuthPluginDefinitionSchema: (context: import("@baseplate-dev/project-builder-lib").DefinitionSchemaParserContext) => z.ZodObject<{
|
|
4
|
-
|
|
5
|
-
user: z.ZodEffects<z.ZodString, string, string>;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
user: string;
|
|
8
|
-
}, {
|
|
9
|
-
user: string;
|
|
10
|
-
}>;
|
|
11
|
-
authFeatureRef: z.ZodEffects<z.ZodString, string, string>;
|
|
12
|
-
roles: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
13
|
-
id: z.ZodString;
|
|
14
|
-
name: z.ZodString;
|
|
15
|
-
comment: z.ZodString;
|
|
16
|
-
builtIn: z.ZodDefault<z.ZodBoolean>;
|
|
17
|
-
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
comment: string;
|
|
21
|
-
builtIn: boolean;
|
|
22
|
-
}, {
|
|
23
|
-
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
comment: string;
|
|
26
|
-
builtIn?: boolean | undefined;
|
|
27
|
-
}>, {
|
|
28
|
-
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
comment: string;
|
|
31
|
-
builtIn: boolean;
|
|
32
|
-
}, {
|
|
33
|
-
id: string;
|
|
34
|
-
name: string;
|
|
35
|
-
comment: string;
|
|
36
|
-
builtIn?: boolean | undefined;
|
|
37
|
-
}>, "many">, {
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
comment: string;
|
|
41
|
-
builtIn: boolean;
|
|
42
|
-
}[], {
|
|
43
|
-
id: string;
|
|
44
|
-
name: string;
|
|
45
|
-
comment: string;
|
|
46
|
-
builtIn?: boolean | undefined;
|
|
47
|
-
}[]>, {
|
|
48
|
-
id: string;
|
|
49
|
-
name: string;
|
|
50
|
-
comment: string;
|
|
51
|
-
builtIn: boolean;
|
|
52
|
-
}[], {
|
|
53
|
-
id: string;
|
|
54
|
-
name: string;
|
|
55
|
-
comment: string;
|
|
56
|
-
builtIn?: boolean | undefined;
|
|
57
|
-
}[]>;
|
|
58
|
-
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
modelRefs: {
|
|
60
|
-
user: string;
|
|
61
|
-
};
|
|
62
|
-
authFeatureRef: string;
|
|
63
|
-
roles: {
|
|
64
|
-
id: string;
|
|
65
|
-
name: string;
|
|
66
|
-
comment: string;
|
|
67
|
-
builtIn: boolean;
|
|
68
|
-
}[];
|
|
69
|
-
}, {
|
|
70
|
-
modelRefs: {
|
|
71
|
-
user: string;
|
|
72
|
-
};
|
|
73
|
-
authFeatureRef: string;
|
|
74
|
-
roles: {
|
|
75
|
-
id: string;
|
|
76
|
-
name: string;
|
|
77
|
-
comment: string;
|
|
78
|
-
builtIn?: boolean | undefined;
|
|
79
|
-
}[];
|
|
80
|
-
}>;
|
|
81
|
-
export type PlaceholderAuthPluginDefinition = def.InferOutput<typeof createPlaceholderAuthPluginDefinitionSchema>;
|
|
3
|
+
export declare const createPlaceholderAuthPluginDefinitionSchema: (context: import("@baseplate-dev/project-builder-lib").DefinitionSchemaParserContext) => z.ZodObject<{}, z.core.$strip>;
|
|
4
|
+
export type PlaceholderAuthPluginDefinitionInput = def.InferInput<typeof createPlaceholderAuthPluginDefinitionSchema>;
|
|
82
5
|
//# sourceMappingURL=plugin-definition.d.ts.map
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import { definitionSchema
|
|
1
|
+
import { definitionSchema } from '@baseplate-dev/project-builder-lib';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
|
|
4
|
-
export const createPlaceholderAuthPluginDefinitionSchema = definitionSchema((ctx) => z.object({
|
|
5
|
-
modelRefs: z.object({
|
|
6
|
-
user: ctx.withRef({
|
|
7
|
-
type: modelEntityType,
|
|
8
|
-
onDelete: 'RESTRICT',
|
|
9
|
-
}),
|
|
10
|
-
}),
|
|
11
|
-
authFeatureRef: ctx.withRef({
|
|
12
|
-
type: featureEntityType,
|
|
13
|
-
onDelete: 'RESTRICT',
|
|
14
|
-
}),
|
|
15
|
-
roles: createAuthRolesSchema(ctx),
|
|
16
|
-
}));
|
|
3
|
+
export const createPlaceholderAuthPluginDefinitionSchema = definitionSchema(() => z.object({}));
|
|
17
4
|
//# sourceMappingURL=plugin-definition.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../styles.css';
|
|
2
|
-
declare const _default: import("@baseplate-dev/project-builder-lib").
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
declare const _default: import("@baseplate-dev/project-builder-lib").PluginModule<{
|
|
3
|
+
[x: string]: import("@baseplate-dev/project-builder-lib").PluginSpec<object, object>;
|
|
4
|
+
}>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=web.d.ts.map
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createPluginModule, FeatureUtils, pluginDefaultsSpec, webConfigSpec, } from '@baseplate-dev/project-builder-lib';
|
|
2
2
|
import { PlaceholderAuthDefinitionEditor } from './components/placeholder-auth-definition-editor.js';
|
|
3
|
+
import { createPlaceholderAuthPartialDefinition } from './schema/models.js';
|
|
3
4
|
import '../../styles.css';
|
|
4
|
-
|
|
5
|
+
const AUTH_FEATURE_NAME = 'accounts/auth';
|
|
6
|
+
export default createPluginModule({
|
|
7
|
+
name: 'web',
|
|
5
8
|
dependencies: {
|
|
6
9
|
webConfig: webConfigSpec,
|
|
10
|
+
pluginDefaults: pluginDefaultsSpec,
|
|
7
11
|
},
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
initialize: ({ webConfig, pluginDefaults }, { pluginKey }) => {
|
|
13
|
+
webConfig.components.set(pluginKey, PlaceholderAuthDefinitionEditor);
|
|
14
|
+
pluginDefaults.builders.set(pluginKey, ({ draft }) => {
|
|
15
|
+
// Idempotent with the parent auth builder, which also ensures this.
|
|
16
|
+
FeatureUtils.ensureFeatureByNameRecursively(draft, AUTH_FEATURE_NAME);
|
|
17
|
+
return {
|
|
18
|
+
config: {},
|
|
19
|
+
partialDef: createPlaceholderAuthPartialDefinition(AUTH_FEATURE_NAME),
|
|
20
|
+
};
|
|
21
|
+
});
|
|
12
22
|
},
|
|
13
23
|
});
|
|
14
24
|
//# sourceMappingURL=web.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "placeholder-auth",
|
|
3
|
+
"displayName": "Placeholder Auth",
|
|
4
|
+
"icon": "icon.svg",
|
|
5
|
+
"description": "This plugin sets up a placeholder auth service that acts as a template for other auth plugins.",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"hidden": true,
|
|
8
|
+
"moduleDirectories": ["core"],
|
|
9
|
+
"managedBy": "@baseplate-dev/plugin-auth:auth"
|
|
10
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { t as __vitePreload } from "./vite-preload-helper-iIio8xkS.js";
|
|
2
|
+
import "./dist-SBfmsOB2.js";
|
|
3
|
+
//#region \0virtual:mf-localSharedImportMap:__mfe_internal__plugin_mf_2_auth
|
|
4
|
+
var importMap = {
|
|
5
|
+
"react/jsx-runtime": async () => {
|
|
6
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js").then((n) => n.et), [], import.meta.url);
|
|
7
|
+
},
|
|
8
|
+
"react": async () => {
|
|
9
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js").then((n) => (n.xt(), n.bt)), [], import.meta.url);
|
|
10
|
+
},
|
|
11
|
+
"react-dom": async () => {
|
|
12
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js").then((n) => n.Y), [], import.meta.url);
|
|
13
|
+
},
|
|
14
|
+
"zod": async () => {
|
|
15
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js").then((n) => n.r), [], import.meta.url);
|
|
16
|
+
},
|
|
17
|
+
"@baseplate-dev/ui-components": async () => {
|
|
18
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js").then((n) => n.F), [], import.meta.url);
|
|
19
|
+
},
|
|
20
|
+
"@baseplate-dev/project-builder-lib/web": async () => {
|
|
21
|
+
return await __vitePreload(() => import("./web-BZd3bM0n.js"), [], import.meta.url);
|
|
22
|
+
},
|
|
23
|
+
"@baseplate-dev/project-builder-lib": async () => {
|
|
24
|
+
return await __vitePreload(() => import("./dist-BjxypexQ.js"), [], import.meta.url);
|
|
25
|
+
},
|
|
26
|
+
"@tanstack/react-router": async () => {
|
|
27
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js").then((n) => n.r), [], import.meta.url);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var usedShared = {
|
|
31
|
+
"react/jsx-runtime": {
|
|
32
|
+
name: "react/jsx-runtime",
|
|
33
|
+
version: "19.1.0",
|
|
34
|
+
scope: ["default"],
|
|
35
|
+
loaded: false,
|
|
36
|
+
eager: false,
|
|
37
|
+
from: "plugin-auth",
|
|
38
|
+
async get() {
|
|
39
|
+
usedShared["react/jsx-runtime"].loaded = true;
|
|
40
|
+
const { "react/jsx-runtime": pkgDynamicImport } = importMap;
|
|
41
|
+
const exportModule = { ...await pkgDynamicImport() };
|
|
42
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
43
|
+
value: true,
|
|
44
|
+
enumerable: false
|
|
45
|
+
});
|
|
46
|
+
return function() {
|
|
47
|
+
return exportModule;
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
shareConfig: {
|
|
51
|
+
singleton: true,
|
|
52
|
+
requiredVersion: "^19.1.0",
|
|
53
|
+
strictVersion: false,
|
|
54
|
+
eager: false
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"react": {
|
|
58
|
+
name: "react",
|
|
59
|
+
version: "19.1.0",
|
|
60
|
+
scope: ["default"],
|
|
61
|
+
loaded: false,
|
|
62
|
+
eager: false,
|
|
63
|
+
from: "plugin-auth",
|
|
64
|
+
async get() {
|
|
65
|
+
usedShared["react"].loaded = true;
|
|
66
|
+
const { "react": pkgDynamicImport } = importMap;
|
|
67
|
+
const exportModule = { ...await pkgDynamicImport() };
|
|
68
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
69
|
+
value: true,
|
|
70
|
+
enumerable: false
|
|
71
|
+
});
|
|
72
|
+
return function() {
|
|
73
|
+
return exportModule;
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
shareConfig: {
|
|
77
|
+
singleton: true,
|
|
78
|
+
requiredVersion: "^19.1.0",
|
|
79
|
+
strictVersion: false,
|
|
80
|
+
eager: false
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"react-dom": {
|
|
84
|
+
name: "react-dom",
|
|
85
|
+
version: "19.1.0",
|
|
86
|
+
scope: ["default"],
|
|
87
|
+
loaded: false,
|
|
88
|
+
eager: false,
|
|
89
|
+
from: "plugin-auth",
|
|
90
|
+
async get() {
|
|
91
|
+
usedShared["react-dom"].loaded = true;
|
|
92
|
+
const { "react-dom": pkgDynamicImport } = importMap;
|
|
93
|
+
const exportModule = { ...await pkgDynamicImport() };
|
|
94
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
95
|
+
value: true,
|
|
96
|
+
enumerable: false
|
|
97
|
+
});
|
|
98
|
+
return function() {
|
|
99
|
+
return exportModule;
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
shareConfig: {
|
|
103
|
+
singleton: true,
|
|
104
|
+
requiredVersion: "^19.1.0",
|
|
105
|
+
strictVersion: false,
|
|
106
|
+
eager: false
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"zod": {
|
|
110
|
+
name: "zod",
|
|
111
|
+
version: "4.3.6",
|
|
112
|
+
scope: ["default"],
|
|
113
|
+
loaded: false,
|
|
114
|
+
eager: false,
|
|
115
|
+
from: "plugin-auth",
|
|
116
|
+
async get() {
|
|
117
|
+
usedShared["zod"].loaded = true;
|
|
118
|
+
const { "zod": pkgDynamicImport } = importMap;
|
|
119
|
+
const exportModule = { ...await pkgDynamicImport() };
|
|
120
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
121
|
+
value: true,
|
|
122
|
+
enumerable: false
|
|
123
|
+
});
|
|
124
|
+
return function() {
|
|
125
|
+
return exportModule;
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
shareConfig: {
|
|
129
|
+
singleton: true,
|
|
130
|
+
requiredVersion: "^4.3.6",
|
|
131
|
+
strictVersion: false,
|
|
132
|
+
eager: false
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"@baseplate-dev/ui-components": {
|
|
136
|
+
name: "@baseplate-dev/ui-components",
|
|
137
|
+
version: "1.0.8",
|
|
138
|
+
scope: ["default"],
|
|
139
|
+
loaded: false,
|
|
140
|
+
eager: false,
|
|
141
|
+
from: "plugin-auth",
|
|
142
|
+
async get() {
|
|
143
|
+
usedShared["@baseplate-dev/ui-components"].loaded = true;
|
|
144
|
+
const { "@baseplate-dev/ui-components": pkgDynamicImport } = importMap;
|
|
145
|
+
const exportModule = { ...await pkgDynamicImport() };
|
|
146
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
147
|
+
value: true,
|
|
148
|
+
enumerable: false
|
|
149
|
+
});
|
|
150
|
+
return function() {
|
|
151
|
+
return exportModule;
|
|
152
|
+
};
|
|
153
|
+
},
|
|
154
|
+
shareConfig: {
|
|
155
|
+
singleton: true,
|
|
156
|
+
requiredVersion: "^1.0.8",
|
|
157
|
+
strictVersion: false,
|
|
158
|
+
eager: false
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"@baseplate-dev/project-builder-lib/web": {
|
|
162
|
+
name: "@baseplate-dev/project-builder-lib/web",
|
|
163
|
+
version: "1.0.8",
|
|
164
|
+
scope: ["default"],
|
|
165
|
+
loaded: false,
|
|
166
|
+
eager: false,
|
|
167
|
+
from: "plugin-auth",
|
|
168
|
+
async get() {
|
|
169
|
+
usedShared["@baseplate-dev/project-builder-lib/web"].loaded = true;
|
|
170
|
+
const { "@baseplate-dev/project-builder-lib/web": pkgDynamicImport } = importMap;
|
|
171
|
+
const exportModule = { ...await pkgDynamicImport() };
|
|
172
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
173
|
+
value: true,
|
|
174
|
+
enumerable: false
|
|
175
|
+
});
|
|
176
|
+
return function() {
|
|
177
|
+
return exportModule;
|
|
178
|
+
};
|
|
179
|
+
},
|
|
180
|
+
shareConfig: {
|
|
181
|
+
singleton: true,
|
|
182
|
+
requiredVersion: "^1.0.8",
|
|
183
|
+
strictVersion: false,
|
|
184
|
+
eager: false
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"@baseplate-dev/project-builder-lib": {
|
|
188
|
+
name: "@baseplate-dev/project-builder-lib",
|
|
189
|
+
version: "1.0.8",
|
|
190
|
+
scope: ["default"],
|
|
191
|
+
loaded: false,
|
|
192
|
+
eager: false,
|
|
193
|
+
from: "plugin-auth",
|
|
194
|
+
async get() {
|
|
195
|
+
usedShared["@baseplate-dev/project-builder-lib"].loaded = true;
|
|
196
|
+
const { "@baseplate-dev/project-builder-lib": pkgDynamicImport } = importMap;
|
|
197
|
+
const exportModule = { ...await pkgDynamicImport() };
|
|
198
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
199
|
+
value: true,
|
|
200
|
+
enumerable: false
|
|
201
|
+
});
|
|
202
|
+
return function() {
|
|
203
|
+
return exportModule;
|
|
204
|
+
};
|
|
205
|
+
},
|
|
206
|
+
shareConfig: {
|
|
207
|
+
singleton: true,
|
|
208
|
+
requiredVersion: "^1.0.8",
|
|
209
|
+
strictVersion: false,
|
|
210
|
+
eager: false
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"@tanstack/react-router": {
|
|
214
|
+
name: "@tanstack/react-router",
|
|
215
|
+
version: "1.170.18",
|
|
216
|
+
scope: ["default"],
|
|
217
|
+
loaded: false,
|
|
218
|
+
eager: false,
|
|
219
|
+
from: "plugin-auth",
|
|
220
|
+
async get() {
|
|
221
|
+
usedShared["@tanstack/react-router"].loaded = true;
|
|
222
|
+
const { "@tanstack/react-router": pkgDynamicImport } = importMap;
|
|
223
|
+
const exportModule = { ...await pkgDynamicImport() };
|
|
224
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
225
|
+
value: true,
|
|
226
|
+
enumerable: false
|
|
227
|
+
});
|
|
228
|
+
return function() {
|
|
229
|
+
return exportModule;
|
|
230
|
+
};
|
|
231
|
+
},
|
|
232
|
+
shareConfig: {
|
|
233
|
+
singleton: true,
|
|
234
|
+
requiredVersion: "^1.170.18",
|
|
235
|
+
strictVersion: false,
|
|
236
|
+
eager: false
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
var usedRemotes = [];
|
|
241
|
+
//#endregion
|
|
242
|
+
export { usedRemotes, usedShared };
|