@baseplate-dev/plugin-auth 1.0.7 → 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 +258 -8
- package/dist/auth/core/common.js +2 -3
- package/dist/auth/core/components/auth-definition-editor.js +9 -2
- package/dist/auth/core/components/role-editor-form/role-editor-form.js +2 -0
- package/dist/auth/core/node.js +1 -0
- 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 +5 -0
- package/dist/auth/core/schema/plugin-definition.js +4 -0
- package/dist/auth/core/schema/roles/constants.js +9 -0
- package/dist/auth/core/schema/roles/schema.d.ts +8 -0
- package/dist/auth/core/schema/roles/schema.js +1 -0
- package/dist/auth/core/web.js +31 -2
- 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/packages.d.ts +1 -1
- package/dist/better-auth/constants/packages.js +1 -1
- package/dist/better-auth/core/common.js +5 -2
- package/dist/better-auth/core/components/better-auth-definition-editor.js +17 -5
- package/dist/better-auth/core/node.js +21 -4
- package/dist/better-auth/core/schema/models.d.ts +1 -1
- package/dist/better-auth/core/schema/models.js +25 -10
- package/dist/better-auth/core/schema/plugin-definition.d.ts +4 -1
- package/dist/better-auth/core/schema/plugin-definition.js +7 -2
- 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.js +15 -2
- 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 +75 -9
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +38 -4
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +100 -8
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +44 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js +9 -2
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts +24 -6
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js +8 -5
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +48 -3
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js +17 -6
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/plugins/better-auth.plugin.ts +7 -4
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +86 -41
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/user-session.service.ts +58 -46
- package/dist/better-auth/generators/fastify/index.d.ts +3 -0
- package/dist/better-auth/generators/fastify/index.js +3 -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-pages/better-auth-pages.generator.d.ts +26 -15
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +812 -44
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts +3 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js +3 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +26 -15
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +1600 -86
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js +49 -1
- 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 +9 -1
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/register.tsx +5 -1
- 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/react-better-auth/generated/index.d.ts +52 -30
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +26 -15
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +26 -15
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +26 -15
- package/dist/better-auth/plugin.json +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +52 -30
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +52 -30
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +26 -15
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +26 -15
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +1 -3
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +52 -30
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +52 -30
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +26 -15
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +52 -30
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +1 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +26 -15
- package/dist/local-auth/admin/node.js +1 -1
- package/dist/local-auth/core/common.js +5 -2
- package/dist/local-auth/core/components/local-auth-definition-editor.js +9 -5
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +0 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +10 -24
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +7 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +38 -70
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +9 -24
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +2 -8
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +49 -71
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +6 -7
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js +2 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.ts +2 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +5 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +5 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +4 -4
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +10 -6
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts +4 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +10 -6
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +16 -7
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +11 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +33 -14
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +49 -21
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +71 -9
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +23 -11
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +190 -13
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +61 -3
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +15 -4
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +9 -3
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +6 -3
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +144 -11
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +20 -5
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts +0 -4
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js +2 -15
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.ts +2 -16
- 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/user-session.mutations.js +1 -2
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +4 -2
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js +8 -3
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts +11 -4
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +18 -17
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +18 -18
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +6 -6
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +6 -6
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +32 -16
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +37 -4
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +172 -94
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +28 -15
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +260 -143
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +5 -2
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.tsx +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +19 -4
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +23 -4
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +4 -11
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +7 -11
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +7 -4
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +13 -4
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx +1 -1
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +52 -30
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +26 -15
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +52 -30
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +26 -15
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +0 -9
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js +0 -2
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.d.ts +0 -2
- package/dist/local-auth/core/generators/seed-initial-user/index.js +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +4 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js +2 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +3 -1
- package/dist/local-auth/core/node.js +12 -5
- package/dist/local-auth/core/schema/models.d.ts +1 -1
- package/dist/local-auth/core/schema/models.js +25 -10
- package/dist/local-auth/core/schema/plugin-definition.d.ts +2 -2
- package/dist/local-auth/core/schema/plugin-definition.js +2 -5
- 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.js +15 -2
- package/dist/local-auth/plugin.json +6 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +2 -2
- 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.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/{auth-module.generator.d.ts → placeholder-auth-module.generator.d.ts} +20 -3
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/{auth-module.generator.js → placeholder-auth-module.generator.js} +18 -1
- 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/schema/models.js +17 -2
- package/dist/placeholder-auth/core/web.js +13 -2
- 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/{style-DiK_rD1L.css → styles-Cc26Bbxc.css} +1 -1
- 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 +42 -42
- 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/components/role-editor-form/role-dialog.d.ts.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.js.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-editor-form.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/plugin-definition.d.ts.map +0 -1
- package/dist/auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/auth/core/schema/roles/constants.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/constants.js.map +0 -1
- package/dist/auth/core/schema/roles/index.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/index.js.map +0 -1
- package/dist/auth/core/schema/roles/schema.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/schema.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/utils/get-auth-plugin-definition.d.ts.map +0 -1
- package/dist/auth/utils/get-auth-plugin-definition.js.map +0 -1
- package/dist/auth/utils/index.d.ts.map +0 -1
- package/dist/auth/utils/index.js.map +0 -1
- package/dist/better-auth/constants/model-names.d.ts.map +0 -1
- package/dist/better-auth/constants/model-names.js.map +0 -1
- package/dist/better-auth/constants/packages.d.ts.map +0 -1
- package/dist/better-auth/constants/packages.js.map +0 -1
- package/dist/better-auth/core/common.d.ts.map +0 -1
- package/dist/better-auth/core/common.js.map +0 -1
- package/dist/better-auth/core/components/better-auth-definition-editor.d.ts.map +0 -1
- package/dist/better-auth/core/components/better-auth-definition-editor.js.map +0 -1
- package/dist/better-auth/core/index.d.ts.map +0 -1
- package/dist/better-auth/core/index.js.map +0 -1
- package/dist/better-auth/core/node.d.ts.map +0 -1
- package/dist/better-auth/core/node.js.map +0 -1
- package/dist/better-auth/core/schema/models.d.ts.map +0 -1
- package/dist/better-auth/core/schema/models.js.map +0 -1
- package/dist/better-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/better-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/better-auth/core/web.d.ts.map +0 -1
- package/dist/better-auth/core/web.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/index.js.map +0 -1
- package/dist/better-auth/generators/index.d.ts.map +0 -1
- package/dist/better-auth/generators/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/index.js.map +0 -1
- package/dist/better-auth/generators/react/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js.map +0 -1
- package/dist/better-auth/index.d.ts.map +0 -1
- package/dist/better-auth/index.js.map +0 -1
- package/dist/common/components/auth-config-tabs.d.ts.map +0 -1
- package/dist/common/components/auth-config-tabs.js.map +0 -1
- package/dist/local-auth/admin/common.d.ts.map +0 -1
- package/dist/local-auth/admin/common.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js.map +0 -1
- package/dist/local-auth/admin/node.d.ts.map +0 -1
- package/dist/local-auth/admin/node.js.map +0 -1
- package/dist/local-auth/admin/schema/manage-role-action.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/manage-role-action.js.map +0 -1
- package/dist/local-auth/admin/schema/reset-password-action.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/reset-password-action.js.map +0 -1
- package/dist/local-auth/admin/schema/roles-column.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/roles-column.js.map +0 -1
- package/dist/local-auth/admin/web.d.ts.map +0 -1
- package/dist/local-auth/admin/web.js.map +0 -1
- package/dist/local-auth/constants/model-names.d.ts.map +0 -1
- package/dist/local-auth/constants/model-names.js.map +0 -1
- package/dist/local-auth/core/common.d.ts.map +0 -1
- package/dist/local-auth/core/common.js.map +0 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +0 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js.map +0 -1
- package/dist/local-auth/core/generators/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-auth/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-auth/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts +0 -18
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js +0 -26
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js.map +0 -1
- package/dist/local-auth/core/index.d.ts.map +0 -1
- package/dist/local-auth/core/index.js.map +0 -1
- package/dist/local-auth/core/node.d.ts.map +0 -1
- package/dist/local-auth/core/node.js.map +0 -1
- package/dist/local-auth/core/schema/models.d.ts.map +0 -1
- package/dist/local-auth/core/schema/models.js.map +0 -1
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/local-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/local-auth/core/web.d.ts.map +0 -1
- package/dist/local-auth/core/web.js.map +0 -1
- package/dist/local-auth/index.d.ts.map +0 -1
- package/dist/local-auth/index.js.map +0 -1
- package/dist/placeholder-auth/constants/model-names.d.ts.map +0 -1
- package/dist/placeholder-auth/constants/model-names.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-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.map +0 -1
- 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/web/assets/__federation_expose_authCoreCommon-CnNoa4tF.js +0 -30
- package/dist/web/assets/__federation_expose_authCoreCommon-CnNoa4tF.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-BL_U7yuj.js +0 -433
- package/dist/web/assets/__federation_expose_authCoreWeb-BL_U7yuj.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authCoreCommon-D-mTcxYO.js +0 -20
- package/dist/web/assets/__federation_expose_better-authCoreCommon-D-mTcxYO.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authCoreWeb-CXHL-Ghf.js +0 -402
- package/dist/web/assets/__federation_expose_better-authCoreWeb-CXHL-Ghf.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authAdminCommon-LIsARRNU.js +0 -63
- package/dist/web/assets/__federation_expose_local-authAdminCommon-LIsARRNU.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authAdminWeb-DyYUDLm9.js +0 -41
- package/dist/web/assets/__federation_expose_local-authAdminWeb-DyYUDLm9.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authCoreCommon-p_UbExc7.js +0 -21
- package/dist/web/assets/__federation_expose_local-authCoreCommon-p_UbExc7.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authCoreWeb-8TcUJFT6.js +0 -432
- package/dist/web/assets/__federation_expose_local-authCoreWeb-8TcUJFT6.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CtZXaDUc.js +0 -23
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CtZXaDUc.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-CZAKokTb.js +0 -162
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-CZAKokTb.js.map +0 -1
- package/dist/web/assets/__federation_fn_import-3DENgil8.js +0 -421
- package/dist/web/assets/__federation_fn_import-3DENgil8.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B5bdbzFj.js +0 -357
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B5bdbzFj.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DCA3vO4J.js +0 -21478
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DCA3vO4J.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BvL7RO9S.js +0 -73599
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BvL7RO9S.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-0-N5BG4T.js +0 -1822
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-0-N5BG4T.js.map +0 -1
- package/dist/web/assets/__federation_shared_@tanstack/react-router-DSniiJ6U.js +0 -6565
- package/dist/web/assets/__federation_shared_@tanstack/react-router-DSniiJ6U.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js +0 -8
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js +0 -251
- package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js.map +0 -1
- package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js +0 -13250
- package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js.map +0 -1
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js +0 -6
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js.map +0 -1
- package/dist/web/assets/get-auth-plugin-definition-DHcbFujw.js +0 -13
- package/dist/web/assets/get-auth-plugin-definition-DHcbFujw.js.map +0 -1
- package/dist/web/assets/index-DQKNnI1w.js +0 -103
- package/dist/web/assets/index-DQKNnI1w.js.map +0 -1
- package/dist/web/assets/index-DUwCgkeV.js +0 -570
- package/dist/web/assets/index-DUwCgkeV.js.map +0 -1
- package/dist/web/assets/index-l0sNRNKZ.js.map +0 -1
- package/dist/web/assets/index.esm-Dpqxgpya.js +0 -2676
- package/dist/web/assets/index.esm-Dpqxgpya.js.map +0 -1
- package/dist/web/assets/isEqual-tnzoadW8.js +0 -242
- package/dist/web/assets/isEqual-tnzoadW8.js.map +0 -1
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js +0 -60
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js.map +0 -1
- package/dist/web/assets/mergeWith-VagwCqUi.js +0 -76
- package/dist/web/assets/mergeWith-VagwCqUi.js.map +0 -1
- package/dist/web/assets/model-names-DrcaRxt1.js +0 -25
- package/dist/web/assets/model-names-DrcaRxt1.js.map +0 -1
- package/dist/web/assets/model-utils-BFX3c3dn.js +0 -694
- package/dist/web/assets/model-utils-BFX3c3dn.js.map +0 -1
- package/dist/web/assets/plugin-definition-B86WQ7Ni.js +0 -79
- package/dist/web/assets/plugin-definition-B86WQ7Ni.js.map +0 -1
- package/dist/web/assets/plugin-definition-CEQb6mWV.js +0 -20
- package/dist/web/assets/plugin-definition-CEQb6mWV.js.map +0 -1
- package/dist/web/assets/plugin-definition-DrsKbcJc.js +0 -31
- package/dist/web/assets/plugin-definition-DrsKbcJc.js.map +0 -1
- package/dist/web/assets/plugin-definition-KEpaSB6p.js +0 -16
- package/dist/web/assets/plugin-definition-KEpaSB6p.js.map +0 -1
- package/dist/web/assets/react-hu8Hx0R4.js +0 -47
- package/dist/web/assets/react-hu8Hx0R4.js.map +0 -1
- package/dist/web/assets/registries-Tz_dluz3.js +0 -1119
- package/dist/web/assets/registries-Tz_dluz3.js.map +0 -1
- package/dist/web/assets/remoteEntry.js +0 -78
- package/dist/web/assets/remoteEntry.js.map +0 -1
- package/dist/web/assets/styles-CpKtlIgU.js +0 -69
- package/dist/web/assets/styles-CpKtlIgU.js.map +0 -1
- package/dist/web/assets/with-selector-DTXBONcE.js +0 -201
- package/dist/web/assets/with-selector-DTXBONcE.js.map +0 -1
|
@@ -5,7 +5,6 @@ import { BadRequestError, handleZodRequestValidationError, logError, NotFoundErr
|
|
|
5
5
|
import { createPasswordHash, verifyPasswordHash, } from '%passwordHasherServiceImports';
|
|
6
6
|
import { prisma } from '%prismaImports';
|
|
7
7
|
import { memoizeRateLimiter } from '%rateLimitImports';
|
|
8
|
-
import { userSessionService } from '%userSessionServiceImports';
|
|
9
8
|
import z from 'zod';
|
|
10
9
|
const PROVIDER_ID = 'email-password';
|
|
11
10
|
const emailPasswordSchema = z.object({
|
|
@@ -14,6 +13,7 @@ const emailPasswordSchema = z.object({
|
|
|
14
13
|
.max(PASSWORD_MAX_LENGTH)
|
|
15
14
|
.transform((value) => value.toLowerCase()),
|
|
16
15
|
password: z.string().min(PASSWORD_MIN_LENGTH).max(PASSWORD_MAX_LENGTH),
|
|
16
|
+
name: z.string().min(1).max(100).optional(),
|
|
17
17
|
});
|
|
18
18
|
/**
|
|
19
19
|
* Rate limiters for authentication operations.
|
|
@@ -24,19 +24,31 @@ const getRegistrationLimiter = memoizeRateLimiter('registration', {
|
|
|
24
24
|
blockDuration: 60 * 60, // Block for 1 hour if exceeded
|
|
25
25
|
});
|
|
26
26
|
const getLoginIpLimiter = memoizeRateLimiter('login-ip', {
|
|
27
|
-
points:
|
|
28
|
-
duration: 60 * 60
|
|
27
|
+
points: 15,
|
|
28
|
+
duration: 60 * 60, // 1 hour
|
|
29
29
|
blockDuration: 60 * 60, // Block for 1 hour if exceeded
|
|
30
30
|
});
|
|
31
31
|
const getLoginConsecutiveFailsLimiter = memoizeRateLimiter('login-consecutive-fails', {
|
|
32
|
-
points:
|
|
33
|
-
duration: 60 * 60
|
|
34
|
-
blockDuration: 60 * 15, // Block for 15 minutes after
|
|
32
|
+
points: 10,
|
|
33
|
+
duration: 60 * 60, // 1 hour (duration for tracking)
|
|
34
|
+
blockDuration: 60 * 15, // Block for 15 minutes after consecutive fails
|
|
35
35
|
});
|
|
36
|
+
/**
|
|
37
|
+
* Resets login rate limits for the given email+IP combination.
|
|
38
|
+
* Intentionally scoped to the requesting IP only — a password reset should not
|
|
39
|
+
* clear rate limits accumulated from other IPs (which may be attacker traffic).
|
|
40
|
+
*/
|
|
41
|
+
export async function resetLoginRateLimits({ email, ip, }) {
|
|
42
|
+
await Promise.all([
|
|
43
|
+
getLoginConsecutiveFailsLimiter().delete(`${email}_${ip}`),
|
|
44
|
+
getLoginIpLimiter().delete(ip),
|
|
45
|
+
]);
|
|
46
|
+
}
|
|
36
47
|
export async function createUserWithEmailAndPassword({ input, }) {
|
|
37
|
-
const { email, password } = await emailPasswordSchema
|
|
48
|
+
const { email, password, name } = await emailPasswordSchema
|
|
38
49
|
.parseAsync(input)
|
|
39
50
|
.catch(handleZodRequestValidationError);
|
|
51
|
+
TPL_NAME_REQUIRED_CHECK;
|
|
40
52
|
// check if user with that email already exists
|
|
41
53
|
const existingUser = await prisma.userAccount.findUnique({
|
|
42
54
|
where: {
|
|
@@ -53,6 +65,7 @@ export async function createUserWithEmailAndPassword({ input, }) {
|
|
|
53
65
|
const user = await prisma.user.create({
|
|
54
66
|
data: {
|
|
55
67
|
email,
|
|
68
|
+
name,
|
|
56
69
|
accounts: {
|
|
57
70
|
create: {
|
|
58
71
|
accountId: email,
|
|
@@ -68,7 +81,7 @@ export async function registerUserWithEmailAndPassword({ input, context, }) {
|
|
|
68
81
|
// Rate limit registration by IP
|
|
69
82
|
await getRegistrationLimiter().consumeOrThrow(context.reqInfo.ip, 'Too many registration attempts. Please try again later.', 'registration-rate-limited');
|
|
70
83
|
const user = await createUserWithEmailAndPassword({ input });
|
|
71
|
-
const session = await
|
|
84
|
+
const session = await context.services.userSession.createSession(user.id, context);
|
|
72
85
|
// Send verification email (fire-and-forget, don't block registration)
|
|
73
86
|
requestEmailVerification({ userId: user.id, context }).catch(logError);
|
|
74
87
|
return { session, user };
|
|
@@ -81,11 +94,14 @@ export async function authenticateUserWithEmailAndPassword({ input, context, })
|
|
|
81
94
|
const clientIp = context.reqInfo.ip;
|
|
82
95
|
const emailIpKey = `${email}_${clientIp}`;
|
|
83
96
|
// Check IP-based rate limit (slow brute force protection)
|
|
84
|
-
await getLoginIpLimiter().
|
|
97
|
+
const ipResult = await getLoginIpLimiter().get(clientIp);
|
|
98
|
+
if (ipResult && !ipResult.allowed) {
|
|
99
|
+
throw new TooManyRequestsError('Too many login attempts. Please try again later or reset your password.', 'login-ip-rate-limited', { retryAfterMs: ipResult.msBeforeNext });
|
|
100
|
+
}
|
|
85
101
|
// Check consecutive failures rate limit (fast brute force protection)
|
|
86
102
|
const consecutiveFailsResult = await getLoginConsecutiveFailsLimiter().get(emailIpKey);
|
|
87
103
|
if (consecutiveFailsResult && !consecutiveFailsResult.allowed) {
|
|
88
|
-
throw new TooManyRequestsError('Account temporarily locked due to too many failed attempts. Please try again later.', 'login-consecutive-fails-blocked', { retryAfterMs: consecutiveFailsResult.msBeforeNext });
|
|
104
|
+
throw new TooManyRequestsError('Account temporarily locked due to too many failed attempts. Please reset your password or try again later.', 'login-consecutive-fails-blocked', { retryAfterMs: consecutiveFailsResult.msBeforeNext });
|
|
89
105
|
}
|
|
90
106
|
// check if user with that email exists
|
|
91
107
|
const userAccount = await prisma.userAccount.findUnique({
|
|
@@ -97,15 +113,18 @@ export async function authenticateUserWithEmailAndPassword({ input, context, })
|
|
|
97
113
|
},
|
|
98
114
|
});
|
|
99
115
|
// check for password match
|
|
100
|
-
const isValid = await verifyPasswordHash(userAccount?.password
|
|
116
|
+
const isValid = await verifyPasswordHash(userAccount?.password, password);
|
|
101
117
|
if (!isValid || !userAccount) {
|
|
102
118
|
// Track failed attempt
|
|
103
|
-
await
|
|
119
|
+
await Promise.all([
|
|
120
|
+
getLoginIpLimiter().consume(clientIp),
|
|
121
|
+
getLoginConsecutiveFailsLimiter().consume(emailIpKey),
|
|
122
|
+
]);
|
|
104
123
|
throw new BadRequestError('Invalid email or password', 'invalid-credentials');
|
|
105
124
|
}
|
|
106
125
|
// Reset consecutive failures on successful login
|
|
107
126
|
await getLoginConsecutiveFailsLimiter().delete(emailIpKey);
|
|
108
|
-
const session = await
|
|
127
|
+
const session = await context.services.userSession.createSession(userAccount.userId, context);
|
|
109
128
|
return { session };
|
|
110
129
|
}
|
|
111
130
|
const changePasswordSchema = z.object({
|
|
@@ -133,7 +152,7 @@ export async function changeUserPassword({ userId, input, }) {
|
|
|
133
152
|
},
|
|
134
153
|
});
|
|
135
154
|
// Verify current password
|
|
136
|
-
const isValid = await verifyPasswordHash(userAccount?.password
|
|
155
|
+
const isValid = await verifyPasswordHash(userAccount?.password, currentPassword);
|
|
137
156
|
if (!isValid || !userAccount) {
|
|
138
157
|
throw new BadRequestError('Current password is incorrect', 'invalid-current-password');
|
|
139
158
|
}
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
} from '%passwordHasherServiceImports';
|
|
20
20
|
import { prisma } from '%prismaImports';
|
|
21
21
|
import { memoizeRateLimiter } from '%rateLimitImports';
|
|
22
|
-
import { userSessionService } from '%userSessionServiceImports';
|
|
23
22
|
import z from 'zod';
|
|
24
23
|
|
|
25
24
|
const PROVIDER_ID = 'email-password';
|
|
@@ -30,6 +29,7 @@ const emailPasswordSchema = z.object({
|
|
|
30
29
|
.max(PASSWORD_MAX_LENGTH)
|
|
31
30
|
.transform((value) => value.toLowerCase()),
|
|
32
31
|
password: z.string().min(PASSWORD_MIN_LENGTH).max(PASSWORD_MAX_LENGTH),
|
|
32
|
+
name: z.string().min(1).max(100).optional(),
|
|
33
33
|
});
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -43,31 +43,51 @@ const getRegistrationLimiter = memoizeRateLimiter('registration', {
|
|
|
43
43
|
});
|
|
44
44
|
|
|
45
45
|
const getLoginIpLimiter = memoizeRateLimiter('login-ip', {
|
|
46
|
-
points:
|
|
47
|
-
duration: 60 * 60
|
|
46
|
+
points: 15,
|
|
47
|
+
duration: 60 * 60, // 1 hour
|
|
48
48
|
blockDuration: 60 * 60, // Block for 1 hour if exceeded
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
const getLoginConsecutiveFailsLimiter = memoizeRateLimiter(
|
|
52
52
|
'login-consecutive-fails',
|
|
53
53
|
{
|
|
54
|
-
points:
|
|
55
|
-
duration: 60 * 60
|
|
56
|
-
blockDuration: 60 * 15, // Block for 15 minutes after
|
|
54
|
+
points: 10,
|
|
55
|
+
duration: 60 * 60, // 1 hour (duration for tracking)
|
|
56
|
+
blockDuration: 60 * 15, // Block for 15 minutes after consecutive fails
|
|
57
57
|
},
|
|
58
58
|
);
|
|
59
59
|
|
|
60
|
+
/**
|
|
61
|
+
* Resets login rate limits for the given email+IP combination.
|
|
62
|
+
* Intentionally scoped to the requesting IP only — a password reset should not
|
|
63
|
+
* clear rate limits accumulated from other IPs (which may be attacker traffic).
|
|
64
|
+
*/
|
|
65
|
+
export async function resetLoginRateLimits({
|
|
66
|
+
email,
|
|
67
|
+
ip,
|
|
68
|
+
}: {
|
|
69
|
+
email: string;
|
|
70
|
+
ip: string;
|
|
71
|
+
}): Promise<void> {
|
|
72
|
+
await Promise.all([
|
|
73
|
+
getLoginConsecutiveFailsLimiter().delete(`${email}_${ip}`),
|
|
74
|
+
getLoginIpLimiter().delete(ip),
|
|
75
|
+
]);
|
|
76
|
+
}
|
|
77
|
+
|
|
60
78
|
export async function createUserWithEmailAndPassword({
|
|
61
79
|
input,
|
|
62
80
|
}: {
|
|
63
81
|
input: {
|
|
64
82
|
email: string;
|
|
65
83
|
password: string;
|
|
84
|
+
name?: string;
|
|
66
85
|
};
|
|
67
86
|
}): Promise<User> {
|
|
68
|
-
const { email, password } = await emailPasswordSchema
|
|
87
|
+
const { email, password, name } = await emailPasswordSchema
|
|
69
88
|
.parseAsync(input)
|
|
70
89
|
.catch(handleZodRequestValidationError);
|
|
90
|
+
TPL_NAME_REQUIRED_CHECK;
|
|
71
91
|
// check if user with that email already exists
|
|
72
92
|
const existingUser = await prisma.userAccount.findUnique({
|
|
73
93
|
where: {
|
|
@@ -86,6 +106,7 @@ export async function createUserWithEmailAndPassword({
|
|
|
86
106
|
const user = await prisma.user.create({
|
|
87
107
|
data: {
|
|
88
108
|
email,
|
|
109
|
+
name,
|
|
89
110
|
accounts: {
|
|
90
111
|
create: {
|
|
91
112
|
accountId: email,
|
|
@@ -106,6 +127,7 @@ export async function registerUserWithEmailAndPassword({
|
|
|
106
127
|
input: {
|
|
107
128
|
email: string;
|
|
108
129
|
password: string;
|
|
130
|
+
name?: string;
|
|
109
131
|
};
|
|
110
132
|
context: RequestServiceContext;
|
|
111
133
|
}): Promise<{ session: UserSessionPayload; user: User }> {
|
|
@@ -117,7 +139,10 @@ export async function registerUserWithEmailAndPassword({
|
|
|
117
139
|
);
|
|
118
140
|
|
|
119
141
|
const user = await createUserWithEmailAndPassword({ input });
|
|
120
|
-
const session = await
|
|
142
|
+
const session = await context.services.userSession.createSession(
|
|
143
|
+
user.id,
|
|
144
|
+
context,
|
|
145
|
+
);
|
|
121
146
|
|
|
122
147
|
// Send verification email (fire-and-forget, don't block registration)
|
|
123
148
|
requestEmailVerification({ userId: user.id, context }).catch(logError);
|
|
@@ -144,11 +169,14 @@ export async function authenticateUserWithEmailAndPassword({
|
|
|
144
169
|
const emailIpKey = `${email}_${clientIp}`;
|
|
145
170
|
|
|
146
171
|
// Check IP-based rate limit (slow brute force protection)
|
|
147
|
-
await getLoginIpLimiter().
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
172
|
+
const ipResult = await getLoginIpLimiter().get(clientIp);
|
|
173
|
+
if (ipResult && !ipResult.allowed) {
|
|
174
|
+
throw new TooManyRequestsError(
|
|
175
|
+
'Too many login attempts. Please try again later or reset your password.',
|
|
176
|
+
'login-ip-rate-limited',
|
|
177
|
+
{ retryAfterMs: ipResult.msBeforeNext },
|
|
178
|
+
);
|
|
179
|
+
}
|
|
152
180
|
|
|
153
181
|
// Check consecutive failures rate limit (fast brute force protection)
|
|
154
182
|
const consecutiveFailsResult =
|
|
@@ -156,7 +184,7 @@ export async function authenticateUserWithEmailAndPassword({
|
|
|
156
184
|
|
|
157
185
|
if (consecutiveFailsResult && !consecutiveFailsResult.allowed) {
|
|
158
186
|
throw new TooManyRequestsError(
|
|
159
|
-
'Account temporarily locked due to too many failed attempts. Please try again later.',
|
|
187
|
+
'Account temporarily locked due to too many failed attempts. Please reset your password or try again later.',
|
|
160
188
|
'login-consecutive-fails-blocked',
|
|
161
189
|
{ retryAfterMs: consecutiveFailsResult.msBeforeNext },
|
|
162
190
|
);
|
|
@@ -173,13 +201,13 @@ export async function authenticateUserWithEmailAndPassword({
|
|
|
173
201
|
});
|
|
174
202
|
|
|
175
203
|
// check for password match
|
|
176
|
-
const isValid = await verifyPasswordHash(
|
|
177
|
-
userAccount?.password ?? '',
|
|
178
|
-
password,
|
|
179
|
-
);
|
|
204
|
+
const isValid = await verifyPasswordHash(userAccount?.password, password);
|
|
180
205
|
if (!isValid || !userAccount) {
|
|
181
206
|
// Track failed attempt
|
|
182
|
-
await
|
|
207
|
+
await Promise.all([
|
|
208
|
+
getLoginIpLimiter().consume(clientIp),
|
|
209
|
+
getLoginConsecutiveFailsLimiter().consume(emailIpKey),
|
|
210
|
+
]);
|
|
183
211
|
throw new BadRequestError(
|
|
184
212
|
'Invalid email or password',
|
|
185
213
|
'invalid-credentials',
|
|
@@ -189,7 +217,7 @@ export async function authenticateUserWithEmailAndPassword({
|
|
|
189
217
|
// Reset consecutive failures on successful login
|
|
190
218
|
await getLoginConsecutiveFailsLimiter().delete(emailIpKey);
|
|
191
219
|
|
|
192
|
-
const session = await
|
|
220
|
+
const session = await context.services.userSession.createSession(
|
|
193
221
|
userAccount.userId,
|
|
194
222
|
context,
|
|
195
223
|
);
|
|
@@ -235,7 +263,7 @@ export async function changeUserPassword({
|
|
|
235
263
|
|
|
236
264
|
// Verify current password
|
|
237
265
|
const isValid = await verifyPasswordHash(
|
|
238
|
-
userAccount?.password
|
|
266
|
+
userAccount?.password,
|
|
239
267
|
currentPassword,
|
|
240
268
|
);
|
|
241
269
|
if (!isValid || !userAccount) {
|
|
@@ -25,6 +25,7 @@ export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_GENERATED: {
|
|
|
25
25
|
};
|
|
26
26
|
EmailLayout: {};
|
|
27
27
|
Heading: {};
|
|
28
|
+
Link: {};
|
|
28
29
|
renderEmail: {};
|
|
29
30
|
Section: {};
|
|
30
31
|
Text: {};
|
|
@@ -47,6 +48,7 @@ export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_GENERATED: {
|
|
|
47
48
|
};
|
|
48
49
|
EmailLayout: {};
|
|
49
50
|
Heading: {};
|
|
51
|
+
Link: {};
|
|
50
52
|
renderEmail: {};
|
|
51
53
|
Section: {};
|
|
52
54
|
Text: {};
|
|
@@ -66,6 +68,7 @@ export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_GENERATED: {
|
|
|
66
68
|
};
|
|
67
69
|
EmailLayout: {};
|
|
68
70
|
Heading: {};
|
|
71
|
+
Link: {};
|
|
69
72
|
renderEmail: {};
|
|
70
73
|
Section: {};
|
|
71
74
|
Text: {};
|
|
@@ -85,6 +88,7 @@ export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_GENERATED: {
|
|
|
85
88
|
};
|
|
86
89
|
EmailLayout: {};
|
|
87
90
|
Heading: {};
|
|
91
|
+
Link: {};
|
|
88
92
|
renderEmail: {};
|
|
89
93
|
Section: {};
|
|
90
94
|
Text: {};
|
|
@@ -12,6 +12,7 @@ export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES: {
|
|
|
12
12
|
};
|
|
13
13
|
EmailLayout: {};
|
|
14
14
|
Heading: {};
|
|
15
|
+
Link: {};
|
|
15
16
|
renderEmail: {};
|
|
16
17
|
Section: {};
|
|
17
18
|
Text: {};
|
|
@@ -31,6 +32,7 @@ export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES: {
|
|
|
31
32
|
};
|
|
32
33
|
EmailLayout: {};
|
|
33
34
|
Heading: {};
|
|
35
|
+
Link: {};
|
|
34
36
|
renderEmail: {};
|
|
35
37
|
Section: {};
|
|
36
38
|
Text: {};
|
|
@@ -50,6 +52,7 @@ export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES: {
|
|
|
50
52
|
};
|
|
51
53
|
EmailLayout: {};
|
|
52
54
|
Heading: {};
|
|
55
|
+
Link: {};
|
|
53
56
|
renderEmail: {};
|
|
54
57
|
Section: {};
|
|
55
58
|
Text: {};
|
|
@@ -9,14 +9,14 @@ export declare const authModuleGenerator: import("@baseplate-dev/sync").Generato
|
|
|
9
9
|
}, undefined>;
|
|
10
10
|
imports: import("@baseplate-dev/sync").GeneratorTask<{
|
|
11
11
|
authModuleImports: import("@baseplate-dev/sync").ProviderExport<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
12
|
+
cleanupAuthVerificationQueue: {};
|
|
13
|
+
cleanupAuthVerificationWorker: {};
|
|
12
14
|
cleanupExpiredAuthVerifications: {};
|
|
15
|
+
CookieUserSessionService: {};
|
|
13
16
|
createAuthVerification: {};
|
|
14
17
|
userSessionPayload: {};
|
|
15
18
|
validateAuthVerification: {};
|
|
16
19
|
}>>;
|
|
17
|
-
userSessionServiceImports: import("@baseplate-dev/sync").ProviderExport<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
18
|
-
userSessionService: {};
|
|
19
|
-
}>>;
|
|
20
20
|
}, {
|
|
21
21
|
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").LocalAuthCoreAuthModulePaths>;
|
|
22
22
|
}, undefined>;
|
|
@@ -50,7 +50,8 @@ export declare const authModuleGenerator: import("@baseplate-dev/sync").Generato
|
|
|
50
50
|
};
|
|
51
51
|
}>>;
|
|
52
52
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
53
|
-
|
|
53
|
+
getConfig: {};
|
|
54
|
+
isDevelopment: {};
|
|
54
55
|
}>>;
|
|
55
56
|
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
56
57
|
BadRequestError: {};
|
|
@@ -60,6 +61,7 @@ export declare const authModuleGenerator: import("@baseplate-dev/sync").Generato
|
|
|
60
61
|
InternalServerError: {};
|
|
61
62
|
logError: {};
|
|
62
63
|
NotFoundError: {};
|
|
64
|
+
throwIfPrismaNotFound: {};
|
|
63
65
|
TooManyRequestsError: {};
|
|
64
66
|
UnauthorizedError: {};
|
|
65
67
|
}>>;
|
|
@@ -76,14 +78,67 @@ export declare const authModuleGenerator: import("@baseplate-dev/sync").Generato
|
|
|
76
78
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
77
79
|
prisma: {};
|
|
78
80
|
}>>;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
queuesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
82
|
+
bindQueueHandler: {};
|
|
83
|
+
DEFAULT_QUEUE_CONCURRENCY: {};
|
|
84
|
+
defineQueue: {};
|
|
85
|
+
EnqueueOptions: {
|
|
86
|
+
isTypeOnly: true;
|
|
87
|
+
};
|
|
88
|
+
QueueHandlerBinding: {
|
|
89
|
+
isTypeOnly: true;
|
|
90
|
+
};
|
|
91
|
+
QueueHandlerBindingConfig: {
|
|
92
|
+
isTypeOnly: true;
|
|
93
|
+
};
|
|
94
|
+
QueueHandlerBindingInput: {
|
|
95
|
+
isTypeOnly: true;
|
|
96
|
+
};
|
|
97
|
+
QueueInfo: {
|
|
98
|
+
isTypeOnly: true;
|
|
99
|
+
};
|
|
100
|
+
QueueIntrospection: {
|
|
101
|
+
isTypeOnly: true;
|
|
102
|
+
};
|
|
103
|
+
QueueJob: {
|
|
104
|
+
isTypeOnly: true;
|
|
105
|
+
};
|
|
106
|
+
QueueJobHandler: {
|
|
107
|
+
isTypeOnly: true;
|
|
108
|
+
};
|
|
109
|
+
QueuePolicyFixPlan: {
|
|
110
|
+
isTypeOnly: true;
|
|
111
|
+
};
|
|
112
|
+
QueuePolicyFixResult: {
|
|
113
|
+
isTypeOnly: true;
|
|
114
|
+
};
|
|
115
|
+
QueueRuntime: {
|
|
116
|
+
isTypeOnly: true;
|
|
117
|
+
};
|
|
118
|
+
QueueService: {
|
|
119
|
+
isTypeOnly: true;
|
|
120
|
+
};
|
|
121
|
+
QueueToken: {
|
|
122
|
+
isTypeOnly: true;
|
|
123
|
+
};
|
|
124
|
+
QueueWorkers: {
|
|
125
|
+
isTypeOnly: true;
|
|
126
|
+
};
|
|
127
|
+
RepeatableConfig: {
|
|
128
|
+
isTypeOnly: true;
|
|
129
|
+
};
|
|
130
|
+
ScheduledJob: {
|
|
131
|
+
isTypeOnly: true;
|
|
132
|
+
};
|
|
81
133
|
}>>;
|
|
82
134
|
requestServiceContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
83
135
|
createContextFromRequest: {};
|
|
84
136
|
RequestServiceContext: {
|
|
85
137
|
isTypeOnly: true;
|
|
86
138
|
};
|
|
139
|
+
RequestServiceContextWith: {
|
|
140
|
+
isTypeOnly: true;
|
|
141
|
+
};
|
|
87
142
|
}>>;
|
|
88
143
|
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
89
144
|
userSessionTypesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -108,9 +163,16 @@ export declare const authModuleGenerator: import("@baseplate-dev/sync").Generato
|
|
|
108
163
|
prismaOutput: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/fastify-generators").PrismaOutputProvider>;
|
|
109
164
|
renderers: import("@baseplate-dev/sync").ProviderType<import("./generated/template-renderers.js").LocalAuthCoreAuthModuleRenderers>;
|
|
110
165
|
userObjectType: import("@baseplate-dev/sync").ProviderDependency<import("@baseplate-dev/fastify-generators").PothosTypeOutputProvider>;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
166
|
+
appModule: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/fastify-generators").AppModuleProvider>;
|
|
167
|
+
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").LocalAuthCoreAuthModulePaths>;
|
|
168
|
+
}, any>;
|
|
169
|
+
appRuntimeConfig: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
170
|
+
appRuntimeConfig: import("@baseplate-dev/sync").ProviderType<Omit<import("@baseplate-dev/utils").FieldMap<{
|
|
171
|
+
services: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/fastify-generators").AppRuntimeServiceEntry>;
|
|
172
|
+
construction: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/fastify-generators").AppRuntimeConstructionEntry>;
|
|
173
|
+
flattenedModuleFields: import("@baseplate-dev/utils").MapContainer<string, string>;
|
|
174
|
+
usesBackgroundServices: import("@baseplate-dev/utils").ScalarContainer<boolean | undefined>;
|
|
175
|
+
}>, "getValues">>;
|
|
114
176
|
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").LocalAuthCoreAuthModulePaths>;
|
|
115
177
|
}, any>;
|
|
116
178
|
}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { tsCodeFragment, TsCodeUtils } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { appModuleProvider, configServiceProvider, createPothosPrismaObjectTypeOutputName, pothosTypeOutputProvider, prismaOutputProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
|
-
import { queueConfigProvider } from '@baseplate-dev/plugin-queue';
|
|
1
|
+
import { tsCodeFragment, TsCodeUtils, tsTypeImportBuilder, } from '@baseplate-dev/core-generators';
|
|
2
|
+
import { appModuleProvider, appRuntimeConfigProvider, configServiceProvider, createPothosPrismaObjectTypeOutputName, pothosTypeOutputProvider, prismaOutputProvider, } from '@baseplate-dev/fastify-generators';
|
|
4
3
|
import { createGenerator, createGeneratorTask, createProviderTask, } from '@baseplate-dev/sync';
|
|
5
4
|
import { quot } from '@baseplate-dev/utils';
|
|
6
5
|
import { z } from 'zod';
|
|
@@ -56,10 +55,10 @@ export const authModuleGenerator = createGenerator({
|
|
|
56
55
|
userObjectType: pothosTypeOutputProvider
|
|
57
56
|
.dependency()
|
|
58
57
|
.reference(createPothosPrismaObjectTypeOutputName(LOCAL_AUTH_MODELS.user)),
|
|
59
|
-
|
|
58
|
+
appModule: appModuleProvider,
|
|
60
59
|
paths: GENERATED_TEMPLATES.paths.provider,
|
|
61
60
|
},
|
|
62
|
-
run({ prismaOutput, renderers, userObjectType,
|
|
61
|
+
run({ prismaOutput, renderers, userObjectType, appModule, paths }) {
|
|
63
62
|
return {
|
|
64
63
|
providers: {
|
|
65
64
|
authModule: {},
|
|
@@ -88,16 +87,29 @@ export const authModuleGenerator = createGenerator({
|
|
|
88
87
|
},
|
|
89
88
|
},
|
|
90
89
|
}));
|
|
91
|
-
// Render queue
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
90
|
+
// Render queue
|
|
91
|
+
await builder.apply(renderers.queuesCleanupAuthVerification.render({}));
|
|
92
|
+
await builder.apply(renderers.queuesCleanupAuthVerificationWorker.render({}));
|
|
93
|
+
// Register with the app module's queues field
|
|
94
|
+
appModule.moduleFields.set('queues', 'cleanupAuthVerificationWorker', TsCodeUtils.importFragment('cleanupAuthVerificationWorker', paths.queuesCleanupAuthVerificationWorker));
|
|
97
95
|
},
|
|
98
96
|
};
|
|
99
97
|
},
|
|
100
98
|
}),
|
|
99
|
+
appRuntimeConfig: createGeneratorTask({
|
|
100
|
+
dependencies: {
|
|
101
|
+
appRuntimeConfig: appRuntimeConfigProvider,
|
|
102
|
+
paths: GENERATED_TEMPLATES.paths.provider,
|
|
103
|
+
},
|
|
104
|
+
run({ appRuntimeConfig, paths }) {
|
|
105
|
+
appRuntimeConfig.services.set('userSession', {
|
|
106
|
+
type: tsCodeFragment('CookieUserSessionService', tsTypeImportBuilder(['CookieUserSessionService']).from(paths.userSessionService)),
|
|
107
|
+
});
|
|
108
|
+
appRuntimeConfig.construction.set('userSession', {
|
|
109
|
+
fragment: TsCodeUtils.template `new ${TsCodeUtils.importFragment('CookieUserSessionService', paths.userSessionService)}()`,
|
|
110
|
+
});
|
|
111
|
+
},
|
|
112
|
+
}),
|
|
101
113
|
}),
|
|
102
114
|
});
|
|
103
115
|
//# sourceMappingURL=auth-module.generator.js.map
|