@baseplate-dev/plugin-auth 0.6.3 → 0.6.5
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 +48 -0
- package/dist/auth/core/common.d.ts.map +1 -1
- package/dist/auth/core/common.js +2 -3
- package/dist/auth/core/common.js.map +1 -1
- package/dist/auth/core/components/auth-definition-editor.d.ts.map +1 -1
- package/dist/auth/core/components/auth-definition-editor.js +6 -2
- package/dist/auth/core/components/auth-definition-editor.js.map +1 -1
- package/dist/auth/core/node.d.ts.map +1 -1
- package/dist/auth/core/node.js +1 -0
- package/dist/auth/core/node.js.map +1 -1
- package/dist/auth/core/schema/migrations.d.ts +3 -0
- package/dist/auth/core/schema/migrations.d.ts.map +1 -0
- package/dist/auth/core/schema/migrations.js +54 -0
- package/dist/auth/core/schema/migrations.js.map +1 -0
- package/dist/auth/core/schema/plugin-definition.d.ts +5 -0
- package/dist/auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/auth/core/schema/plugin-definition.js +4 -0
- package/dist/auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/auth/core/schema/roles/constants.d.ts.map +1 -1
- package/dist/auth/core/schema/roles/constants.js +9 -0
- package/dist/auth/core/schema/roles/constants.js.map +1 -1
- package/dist/auth/core/schema/roles/schema.d.ts +8 -0
- package/dist/auth/core/schema/roles/schema.d.ts.map +1 -1
- package/dist/auth/core/schema/roles/schema.js +1 -0
- package/dist/auth/core/schema/roles/schema.js.map +1 -1
- package/dist/better-auth/admin/common.d.ts +5 -0
- package/dist/better-auth/admin/common.d.ts.map +1 -0
- package/dist/better-auth/admin/common.js +29 -0
- package/dist/better-auth/admin/common.js.map +1 -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.d.ts.map +1 -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/admin-crud-manage-roles-action.generator.js.map +1 -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.d.ts.map +1 -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/index.js.map +1 -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.d.ts.map +1 -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-paths.js.map +1 -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.d.ts.map +1 -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/template-renderers.js.map +1 -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.d.ts.map +1 -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/generated/typed-templates.js.map +1 -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.d.ts.map +1 -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/index.js.map +1 -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.d.ts.map +1 -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.js.map +1 -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.d.ts.map +1 -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/admin-crud-reset-password-action.generator.js.map +1 -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.d.ts.map +1 -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/index.js.map +1 -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.d.ts.map +1 -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-paths.js.map +1 -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.d.ts.map +1 -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/template-renderers.js.map +1 -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.d.ts.map +1 -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/generated/typed-templates.js.map +1 -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.d.ts.map +1 -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/index.js.map +1 -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.d.ts.map +1 -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.js.map +1 -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.d.ts.map +1 -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/admin-crud-roles-column.generator.js.map +1 -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.d.ts.map +1 -0
- package/dist/better-auth/admin/generators/admin-crud-roles-column/index.js +2 -0
- package/dist/better-auth/admin/generators/admin-crud-roles-column/index.js.map +1 -0
- package/dist/better-auth/admin/node.d.ts +5 -0
- package/dist/better-auth/admin/node.d.ts.map +1 -0
- package/dist/better-auth/admin/node.js +57 -0
- package/dist/better-auth/admin/node.js.map +1 -0
- package/dist/better-auth/admin/schema/manage-role-action.d.ts +12 -0
- package/dist/better-auth/admin/schema/manage-role-action.d.ts.map +1 -0
- package/dist/better-auth/admin/schema/manage-role-action.js +6 -0
- package/dist/better-auth/admin/schema/manage-role-action.js.map +1 -0
- package/dist/better-auth/admin/schema/reset-password-action.d.ts +12 -0
- package/dist/better-auth/admin/schema/reset-password-action.d.ts.map +1 -0
- package/dist/better-auth/admin/schema/reset-password-action.js +6 -0
- package/dist/better-auth/admin/schema/reset-password-action.js.map +1 -0
- package/dist/better-auth/admin/schema/roles-column.d.ts +9 -0
- package/dist/better-auth/admin/schema/roles-column.d.ts.map +1 -0
- package/dist/better-auth/admin/schema/roles-column.js +6 -0
- package/dist/better-auth/admin/schema/roles-column.js.map +1 -0
- package/dist/better-auth/admin/web.d.ts +5 -0
- package/dist/better-auth/admin/web.d.ts.map +1 -0
- package/dist/better-auth/admin/web.js +39 -0
- package/dist/better-auth/admin/web.js.map +1 -0
- package/dist/better-auth/core/common.d.ts.map +1 -1
- package/dist/better-auth/core/common.js +5 -2
- package/dist/better-auth/core/common.js.map +1 -1
- package/dist/better-auth/core/components/better-auth-definition-editor.d.ts.map +1 -1
- package/dist/better-auth/core/components/better-auth-definition-editor.js +17 -5
- package/dist/better-auth/core/components/better-auth-definition-editor.js.map +1 -1
- package/dist/better-auth/core/node.d.ts.map +1 -1
- package/dist/better-auth/core/node.js +21 -4
- package/dist/better-auth/core/node.js.map +1 -1
- package/dist/better-auth/core/schema/models.d.ts +1 -1
- package/dist/better-auth/core/schema/models.d.ts.map +1 -1
- package/dist/better-auth/core/schema/models.js +25 -10
- package/dist/better-auth/core/schema/models.js.map +1 -1
- package/dist/better-auth/core/schema/plugin-definition.d.ts +4 -1
- package/dist/better-auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/better-auth/core/schema/plugin-definition.js +7 -2
- package/dist/better-auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/better-auth/core/schema/schema-issue-checker.d.ts +3 -0
- package/dist/better-auth/core/schema/schema-issue-checker.d.ts.map +1 -0
- package/dist/better-auth/core/schema/schema-issue-checker.js +21 -0
- package/dist/better-auth/core/schema/schema-issue-checker.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.d.ts +72 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.d.ts.map +1 -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/better-auth-admin-module.generator.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts +109 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts.map +1 -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/index.js.map +1 -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.d.ts.map +1 -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-paths.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.d.ts +55 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.d.ts.map +1 -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/template-renderers.js.map +1 -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.d.ts.map +1 -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/ts-import-providers.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.d.ts +46 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.d.ts.map +1 -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/generated/typed-templates.js.map +1 -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.d.ts.map +1 -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/index.js.map +1 -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 +43 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.d.ts.map +1 -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/better-auth-email-templates.generator.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.d.ts +96 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.d.ts.map +1 -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/index.js.map +1 -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.d.ts.map +1 -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-paths.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.d.ts +41 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.d.ts.map +1 -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/template-renderers.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.d.ts +60 -0
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.d.ts.map +1 -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/generated/typed-templates.js.map +1 -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.d.ts.map +1 -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/index.js.map +1 -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 +26 -4
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts.map +1 -1
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +14 -3
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js.map +1 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +42 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts.map +1 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +20 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js +4 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js.map +1 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +22 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js +7 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js.map +1 -1
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +25 -1
- package/dist/better-auth/generators/fastify/index.d.ts +3 -0
- package/dist/better-auth/generators/fastify/index.d.ts.map +1 -1
- package/dist/better-auth/generators/fastify/index.js +3 -0
- package/dist/better-auth/generators/fastify/index.js.map +1 -1
- 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.d.ts.map +1 -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/index.js.map +1 -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.d.ts.map +1 -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-paths.js.map +1 -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.d.ts.map +1 -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/template-renderers.js.map +1 -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.d.ts.map +1 -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/generated/typed-templates.js.map +1 -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.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/index.js +2 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/index.js.map +1 -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.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js +60 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js.map +1 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/templates/src/prisma/seed-initial-user.ts +63 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +12 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +771 -3
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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-paths.js.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +12 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +1543 -29
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js +49 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +1 -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 +24 -2
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +12 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +12 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +12 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +1 -1
- 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 +24 -2
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +24 -2
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +12 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +12 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -1
- 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.js.map +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 +24 -2
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +24 -2
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +12 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +24 -2
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -1
- 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.js.map +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 +12 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/node.js +1 -1
- package/dist/local-auth/admin/node.js.map +1 -1
- package/dist/local-auth/core/common.d.ts.map +1 -1
- package/dist/local-auth/core/common.js +5 -2
- package/dist/local-auth/core/common.js.map +1 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +1 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.js +9 -5
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -1
- 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/auth-email-password.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +3 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +6 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -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.js.map +1 -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/user-password.service.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +4 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +6 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +11 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +22 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +1 -1
- 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.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts +11 -4
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +16 -2
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +37 -4
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +78 -10
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +12 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +120 -17
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +5 -2
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +3 -10
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +6 -10
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +24 -2
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +12 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +24 -2
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +12 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js +0 -2
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +1 -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.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.js +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.js.map +1 -1
- package/dist/local-auth/core/node.d.ts.map +1 -1
- package/dist/local-auth/core/node.js +12 -5
- package/dist/local-auth/core/node.js.map +1 -1
- package/dist/local-auth/core/schema/models.d.ts +1 -1
- package/dist/local-auth/core/schema/models.d.ts.map +1 -1
- package/dist/local-auth/core/schema/models.js +25 -10
- package/dist/local-auth/core/schema/models.js.map +1 -1
- package/dist/local-auth/core/schema/plugin-definition.d.ts +2 -2
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/local-auth/core/schema/plugin-definition.js +2 -5
- package/dist/local-auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/local-auth/core/schema/schema-issue-checker.d.ts +3 -0
- package/dist/local-auth/core/schema/schema-issue-checker.d.ts.map +1 -0
- package/dist/local-auth/core/schema/schema-issue-checker.js +21 -0
- package/dist/local-auth/core/schema/schema-issue-checker.js.map +1 -0
- package/dist/local-auth/plugin.json +6 -1
- package/dist/placeholder-auth/core/schema/models.d.ts.map +1 -1
- package/dist/placeholder-auth/core/schema/models.js +17 -2
- package/dist/placeholder-auth/core/schema/models.js.map +1 -1
- package/dist/web/assets/__federation_expose_authCoreCommon-NPAy2Xu2.js +85 -0
- package/dist/web/assets/__federation_expose_authCoreCommon-NPAy2Xu2.js.map +1 -0
- package/dist/web/assets/{__federation_expose_authCoreWeb-BL_U7yuj.js → __federation_expose_authCoreWeb-D0AlXNml.js} +29 -9
- package/dist/web/assets/__federation_expose_authCoreWeb-D0AlXNml.js.map +1 -0
- package/dist/web/assets/__federation_expose_better-authAdminCommon-Bp8fb_BT.js +63 -0
- package/dist/web/assets/__federation_expose_better-authAdminCommon-Bp8fb_BT.js.map +1 -0
- package/dist/web/assets/__federation_expose_better-authAdminWeb-Dggf6fZk.js +41 -0
- package/dist/web/assets/__federation_expose_better-authAdminWeb-Dggf6fZk.js.map +1 -0
- package/dist/web/assets/__federation_expose_better-authCoreCommon-D3bQgHWh.js +54 -0
- package/dist/web/assets/__federation_expose_better-authCoreCommon-D3bQgHWh.js.map +1 -0
- package/dist/web/assets/__federation_expose_better-authCoreWeb-4VA_40fu.js +157 -0
- package/dist/web/assets/__federation_expose_better-authCoreWeb-4VA_40fu.js.map +1 -0
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-LIsARRNU.js → __federation_expose_local-authAdminCommon-Bp8fb_BT.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-LIsARRNU.js.map → __federation_expose_local-authAdminCommon-Bp8fb_BT.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-DyYUDLm9.js → __federation_expose_local-authAdminWeb-BDyZDL1a.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-DyYUDLm9.js.map → __federation_expose_local-authAdminWeb-BDyZDL1a.js.map} +1 -1
- package/dist/web/assets/__federation_expose_local-authCoreCommon-C3UyEu-M.js +54 -0
- package/dist/web/assets/__federation_expose_local-authCoreCommon-C3UyEu-M.js.map +1 -0
- package/dist/web/assets/__federation_expose_local-authCoreWeb-BYkl2IGk.js +167 -0
- package/dist/web/assets/__federation_expose_local-authCoreWeb-BYkl2IGk.js.map +1 -0
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CtZXaDUc.js → __federation_expose_placeholder-authCoreCommon-Bq0ln8n5.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CtZXaDUc.js.map → __federation_expose_placeholder-authCoreCommon-Bq0ln8n5.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-CZAKokTb.js → __federation_expose_placeholder-authCoreWeb-BNGIcu0Y.js} +22 -7
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-BNGIcu0Y.js.map +1 -0
- package/dist/web/assets/{__federation_fn_import-3DENgil8.js → __federation_fn_import-DybuDj1g.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-3DENgil8.js.map → __federation_fn_import-DybuDj1g.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-B5bdbzFj.js → web-CAuxM6sN.js} +16 -14
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-CAuxM6sN.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-DCA3vO4J.js → project-builder-lib-DkaXS95C.js} +11341 -10287
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DkaXS95C.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-BvL7RO9S.js → ui-components-DX4jbl4M.js} +219 -53
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DX4jbl4M.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-0-N5BG4T.js → utils-B-MiuXg4.js} +49 -16
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-B-MiuXg4.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-DSniiJ6U.js → react-router-DyqK0P1G.js} +2 -2
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-DSniiJ6U.js.map → react-router-DyqK0P1G.js.map} +1 -1
- package/dist/web/assets/{get-auth-plugin-definition-DHcbFujw.js → get-auth-plugin-definition-BigT75An.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-DHcbFujw.js.map → get-auth-plugin-definition-BigT75An.js.map} +1 -1
- package/dist/web/assets/{index-DQKNnI1w.js → index-BwviOVwi.js} +3 -5
- package/dist/web/assets/{index-DQKNnI1w.js.map → index-BwviOVwi.js.map} +1 -1
- package/dist/web/assets/{index.esm-Dpqxgpya.js → index.esm-Db6zPKK9.js} +2 -2
- package/dist/web/assets/{index.esm-Dpqxgpya.js.map → index.esm-Db6zPKK9.js.map} +1 -1
- package/dist/web/assets/model-names-D7UT0B8x.js +10 -0
- package/dist/web/assets/model-names-D7UT0B8x.js.map +1 -0
- package/dist/web/assets/{model-utils-BFX3c3dn.js → model-utils-D0sDtkf1.js} +165 -19
- package/dist/web/assets/model-utils-D0sDtkf1.js.map +1 -0
- package/dist/web/assets/plugin-definition-BQN6LXOW.js +304 -0
- package/dist/web/assets/plugin-definition-BQN6LXOW.js.map +1 -0
- package/dist/web/assets/{plugin-definition-KEpaSB6p.js → plugin-definition-Cg8Gij5x.js} +2 -2
- package/dist/web/assets/{plugin-definition-KEpaSB6p.js.map → plugin-definition-Cg8Gij5x.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-B86WQ7Ni.js → plugin-definition-ChoxTjiw.js} +20 -6
- package/dist/web/assets/plugin-definition-ChoxTjiw.js.map +1 -0
- package/dist/web/assets/{__federation_expose_better-authCoreWeb-CXHL-Ghf.js → plugin-definition-D9-5sSEf.js} +43 -130
- package/dist/web/assets/plugin-definition-D9-5sSEf.js.map +1 -0
- package/dist/web/assets/{react-hu8Hx0R4.js → react-CcDhDxl8.js} +2 -2
- package/dist/web/assets/{react-hu8Hx0R4.js.map → react-CcDhDxl8.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +16 -10
- package/dist/web/assets/remoteEntry.js.map +1 -1
- package/dist/web/assets/{styles-CpKtlIgU.js → styles-Otn_yxD1.js} +3 -3
- package/dist/web/assets/{styles-CpKtlIgU.js.map → styles-Otn_yxD1.js.map} +1 -1
- package/package.json +15 -15
- 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/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.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.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-authCoreWeb-CZAKokTb.js.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- package/dist/web/assets/model-utils-BFX3c3dn.js.map +0 -1
- 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
|
@@ -97,7 +97,6 @@ export declare const mainGroup: {
|
|
|
97
97
|
DropdownMenuSubContent: {};
|
|
98
98
|
DropdownMenuSubTrigger: {};
|
|
99
99
|
DropdownMenuTrigger: {};
|
|
100
|
-
EmptyDisplay: {};
|
|
101
100
|
ErrorableLoader: {};
|
|
102
101
|
ErrorDisplay: {};
|
|
103
102
|
Field: {};
|
|
@@ -127,6 +126,18 @@ export declare const mainGroup: {
|
|
|
127
126
|
InputGroupText: {};
|
|
128
127
|
InputGroupTextarea: {};
|
|
129
128
|
inputVariants: {};
|
|
129
|
+
Item: {};
|
|
130
|
+
ItemActions: {};
|
|
131
|
+
ItemContent: {};
|
|
132
|
+
ItemDescription: {};
|
|
133
|
+
ItemFooter: {};
|
|
134
|
+
ItemGroup: {};
|
|
135
|
+
ItemHeader: {};
|
|
136
|
+
ItemMedia: {};
|
|
137
|
+
itemMediaVariants: {};
|
|
138
|
+
ItemSeparator: {};
|
|
139
|
+
ItemTitle: {};
|
|
140
|
+
itemVariants: {};
|
|
130
141
|
Label: {};
|
|
131
142
|
LinkButton: {};
|
|
132
143
|
Loader: {};
|
|
@@ -340,7 +351,6 @@ export declare const mainGroup: {
|
|
|
340
351
|
DropdownMenuSubContent: {};
|
|
341
352
|
DropdownMenuSubTrigger: {};
|
|
342
353
|
DropdownMenuTrigger: {};
|
|
343
|
-
EmptyDisplay: {};
|
|
344
354
|
ErrorableLoader: {};
|
|
345
355
|
ErrorDisplay: {};
|
|
346
356
|
Field: {};
|
|
@@ -370,6 +380,18 @@ export declare const mainGroup: {
|
|
|
370
380
|
InputGroupText: {};
|
|
371
381
|
InputGroupTextarea: {};
|
|
372
382
|
inputVariants: {};
|
|
383
|
+
Item: {};
|
|
384
|
+
ItemActions: {};
|
|
385
|
+
ItemContent: {};
|
|
386
|
+
ItemDescription: {};
|
|
387
|
+
ItemFooter: {};
|
|
388
|
+
ItemGroup: {};
|
|
389
|
+
ItemHeader: {};
|
|
390
|
+
ItemMedia: {};
|
|
391
|
+
itemMediaVariants: {};
|
|
392
|
+
ItemSeparator: {};
|
|
393
|
+
ItemTitle: {};
|
|
394
|
+
itemVariants: {};
|
|
373
395
|
Label: {};
|
|
374
396
|
LinkButton: {};
|
|
375
397
|
Loader: {};
|
|
@@ -487,7 +509,11 @@ export declare const mainGroup: {
|
|
|
487
509
|
}, {
|
|
488
510
|
constants: {};
|
|
489
511
|
}>;
|
|
490
|
-
register: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
512
|
+
register: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
513
|
+
TPL_NAME_FORM_CONTROL: {};
|
|
514
|
+
TPL_REGISTER_INPUT: {};
|
|
515
|
+
TPL_REGISTER_SCHEMA: {};
|
|
516
|
+
}, {
|
|
491
517
|
apolloErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
492
518
|
getApolloErrorCode: {};
|
|
493
519
|
}>>;
|
|
@@ -587,7 +613,6 @@ export declare const mainGroup: {
|
|
|
587
613
|
DropdownMenuSubContent: {};
|
|
588
614
|
DropdownMenuSubTrigger: {};
|
|
589
615
|
DropdownMenuTrigger: {};
|
|
590
|
-
EmptyDisplay: {};
|
|
591
616
|
ErrorableLoader: {};
|
|
592
617
|
ErrorDisplay: {};
|
|
593
618
|
Field: {};
|
|
@@ -617,6 +642,18 @@ export declare const mainGroup: {
|
|
|
617
642
|
InputGroupText: {};
|
|
618
643
|
InputGroupTextarea: {};
|
|
619
644
|
inputVariants: {};
|
|
645
|
+
Item: {};
|
|
646
|
+
ItemActions: {};
|
|
647
|
+
ItemContent: {};
|
|
648
|
+
ItemDescription: {};
|
|
649
|
+
ItemFooter: {};
|
|
650
|
+
ItemGroup: {};
|
|
651
|
+
ItemHeader: {};
|
|
652
|
+
ItemMedia: {};
|
|
653
|
+
itemMediaVariants: {};
|
|
654
|
+
ItemSeparator: {};
|
|
655
|
+
ItemTitle: {};
|
|
656
|
+
itemVariants: {};
|
|
620
657
|
Label: {};
|
|
621
658
|
LinkButton: {};
|
|
622
659
|
Loader: {};
|
|
@@ -731,9 +768,7 @@ export declare const mainGroup: {
|
|
|
731
768
|
UserSessionClient: {};
|
|
732
769
|
userSessionClient: {};
|
|
733
770
|
}>>;
|
|
734
|
-
},
|
|
735
|
-
constants: {};
|
|
736
|
-
}>;
|
|
771
|
+
}, Record<never, Record<never, never>>>;
|
|
737
772
|
resetPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
738
773
|
apolloErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
739
774
|
getApolloErrorCode: {};
|
|
@@ -834,7 +869,6 @@ export declare const mainGroup: {
|
|
|
834
869
|
DropdownMenuSubContent: {};
|
|
835
870
|
DropdownMenuSubTrigger: {};
|
|
836
871
|
DropdownMenuTrigger: {};
|
|
837
|
-
EmptyDisplay: {};
|
|
838
872
|
ErrorableLoader: {};
|
|
839
873
|
ErrorDisplay: {};
|
|
840
874
|
Field: {};
|
|
@@ -864,6 +898,18 @@ export declare const mainGroup: {
|
|
|
864
898
|
InputGroupText: {};
|
|
865
899
|
InputGroupTextarea: {};
|
|
866
900
|
inputVariants: {};
|
|
901
|
+
Item: {};
|
|
902
|
+
ItemActions: {};
|
|
903
|
+
ItemContent: {};
|
|
904
|
+
ItemDescription: {};
|
|
905
|
+
ItemFooter: {};
|
|
906
|
+
ItemGroup: {};
|
|
907
|
+
ItemHeader: {};
|
|
908
|
+
ItemMedia: {};
|
|
909
|
+
itemMediaVariants: {};
|
|
910
|
+
ItemSeparator: {};
|
|
911
|
+
ItemTitle: {};
|
|
912
|
+
itemVariants: {};
|
|
867
913
|
Label: {};
|
|
868
914
|
LinkButton: {};
|
|
869
915
|
Loader: {};
|
|
@@ -1079,7 +1125,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1079
1125
|
DropdownMenuSubContent: {};
|
|
1080
1126
|
DropdownMenuSubTrigger: {};
|
|
1081
1127
|
DropdownMenuTrigger: {};
|
|
1082
|
-
EmptyDisplay: {};
|
|
1083
1128
|
ErrorableLoader: {};
|
|
1084
1129
|
ErrorDisplay: {};
|
|
1085
1130
|
Field: {};
|
|
@@ -1109,6 +1154,18 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1109
1154
|
InputGroupText: {};
|
|
1110
1155
|
InputGroupTextarea: {};
|
|
1111
1156
|
inputVariants: {};
|
|
1157
|
+
Item: {};
|
|
1158
|
+
ItemActions: {};
|
|
1159
|
+
ItemContent: {};
|
|
1160
|
+
ItemDescription: {};
|
|
1161
|
+
ItemFooter: {};
|
|
1162
|
+
ItemGroup: {};
|
|
1163
|
+
ItemHeader: {};
|
|
1164
|
+
ItemMedia: {};
|
|
1165
|
+
itemMediaVariants: {};
|
|
1166
|
+
ItemSeparator: {};
|
|
1167
|
+
ItemTitle: {};
|
|
1168
|
+
itemVariants: {};
|
|
1112
1169
|
Label: {};
|
|
1113
1170
|
LinkButton: {};
|
|
1114
1171
|
Loader: {};
|
|
@@ -1322,7 +1379,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1322
1379
|
DropdownMenuSubContent: {};
|
|
1323
1380
|
DropdownMenuSubTrigger: {};
|
|
1324
1381
|
DropdownMenuTrigger: {};
|
|
1325
|
-
EmptyDisplay: {};
|
|
1326
1382
|
ErrorableLoader: {};
|
|
1327
1383
|
ErrorDisplay: {};
|
|
1328
1384
|
Field: {};
|
|
@@ -1352,6 +1408,18 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1352
1408
|
InputGroupText: {};
|
|
1353
1409
|
InputGroupTextarea: {};
|
|
1354
1410
|
inputVariants: {};
|
|
1411
|
+
Item: {};
|
|
1412
|
+
ItemActions: {};
|
|
1413
|
+
ItemContent: {};
|
|
1414
|
+
ItemDescription: {};
|
|
1415
|
+
ItemFooter: {};
|
|
1416
|
+
ItemGroup: {};
|
|
1417
|
+
ItemHeader: {};
|
|
1418
|
+
ItemMedia: {};
|
|
1419
|
+
itemMediaVariants: {};
|
|
1420
|
+
ItemSeparator: {};
|
|
1421
|
+
ItemTitle: {};
|
|
1422
|
+
itemVariants: {};
|
|
1355
1423
|
Label: {};
|
|
1356
1424
|
LinkButton: {};
|
|
1357
1425
|
Loader: {};
|
|
@@ -1469,7 +1537,11 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1469
1537
|
}, {
|
|
1470
1538
|
constants: {};
|
|
1471
1539
|
}>;
|
|
1472
|
-
register: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
1540
|
+
register: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
1541
|
+
TPL_NAME_FORM_CONTROL: {};
|
|
1542
|
+
TPL_REGISTER_INPUT: {};
|
|
1543
|
+
TPL_REGISTER_SCHEMA: {};
|
|
1544
|
+
}, {
|
|
1473
1545
|
apolloErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
1474
1546
|
getApolloErrorCode: {};
|
|
1475
1547
|
}>>;
|
|
@@ -1569,7 +1641,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1569
1641
|
DropdownMenuSubContent: {};
|
|
1570
1642
|
DropdownMenuSubTrigger: {};
|
|
1571
1643
|
DropdownMenuTrigger: {};
|
|
1572
|
-
EmptyDisplay: {};
|
|
1573
1644
|
ErrorableLoader: {};
|
|
1574
1645
|
ErrorDisplay: {};
|
|
1575
1646
|
Field: {};
|
|
@@ -1599,6 +1670,18 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1599
1670
|
InputGroupText: {};
|
|
1600
1671
|
InputGroupTextarea: {};
|
|
1601
1672
|
inputVariants: {};
|
|
1673
|
+
Item: {};
|
|
1674
|
+
ItemActions: {};
|
|
1675
|
+
ItemContent: {};
|
|
1676
|
+
ItemDescription: {};
|
|
1677
|
+
ItemFooter: {};
|
|
1678
|
+
ItemGroup: {};
|
|
1679
|
+
ItemHeader: {};
|
|
1680
|
+
ItemMedia: {};
|
|
1681
|
+
itemMediaVariants: {};
|
|
1682
|
+
ItemSeparator: {};
|
|
1683
|
+
ItemTitle: {};
|
|
1684
|
+
itemVariants: {};
|
|
1602
1685
|
Label: {};
|
|
1603
1686
|
LinkButton: {};
|
|
1604
1687
|
Loader: {};
|
|
@@ -1713,9 +1796,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1713
1796
|
UserSessionClient: {};
|
|
1714
1797
|
userSessionClient: {};
|
|
1715
1798
|
}>>;
|
|
1716
|
-
},
|
|
1717
|
-
constants: {};
|
|
1718
|
-
}>;
|
|
1799
|
+
}, Record<never, Record<never, never>>>;
|
|
1719
1800
|
resetPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
1720
1801
|
apolloErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
1721
1802
|
getApolloErrorCode: {};
|
|
@@ -1816,7 +1897,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1816
1897
|
DropdownMenuSubContent: {};
|
|
1817
1898
|
DropdownMenuSubTrigger: {};
|
|
1818
1899
|
DropdownMenuTrigger: {};
|
|
1819
|
-
EmptyDisplay: {};
|
|
1820
1900
|
ErrorableLoader: {};
|
|
1821
1901
|
ErrorDisplay: {};
|
|
1822
1902
|
Field: {};
|
|
@@ -1846,6 +1926,18 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1846
1926
|
InputGroupText: {};
|
|
1847
1927
|
InputGroupTextarea: {};
|
|
1848
1928
|
inputVariants: {};
|
|
1929
|
+
Item: {};
|
|
1930
|
+
ItemActions: {};
|
|
1931
|
+
ItemContent: {};
|
|
1932
|
+
ItemDescription: {};
|
|
1933
|
+
ItemFooter: {};
|
|
1934
|
+
ItemGroup: {};
|
|
1935
|
+
ItemHeader: {};
|
|
1936
|
+
ItemMedia: {};
|
|
1937
|
+
itemMediaVariants: {};
|
|
1938
|
+
ItemSeparator: {};
|
|
1939
|
+
ItemTitle: {};
|
|
1940
|
+
itemVariants: {};
|
|
1849
1941
|
Label: {};
|
|
1850
1942
|
LinkButton: {};
|
|
1851
1943
|
Loader: {};
|
|
@@ -2061,7 +2153,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2061
2153
|
DropdownMenuSubContent: {};
|
|
2062
2154
|
DropdownMenuSubTrigger: {};
|
|
2063
2155
|
DropdownMenuTrigger: {};
|
|
2064
|
-
EmptyDisplay: {};
|
|
2065
2156
|
ErrorableLoader: {};
|
|
2066
2157
|
ErrorDisplay: {};
|
|
2067
2158
|
Field: {};
|
|
@@ -2091,6 +2182,18 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2091
2182
|
InputGroupText: {};
|
|
2092
2183
|
InputGroupTextarea: {};
|
|
2093
2184
|
inputVariants: {};
|
|
2185
|
+
Item: {};
|
|
2186
|
+
ItemActions: {};
|
|
2187
|
+
ItemContent: {};
|
|
2188
|
+
ItemDescription: {};
|
|
2189
|
+
ItemFooter: {};
|
|
2190
|
+
ItemGroup: {};
|
|
2191
|
+
ItemHeader: {};
|
|
2192
|
+
ItemMedia: {};
|
|
2193
|
+
itemMediaVariants: {};
|
|
2194
|
+
ItemSeparator: {};
|
|
2195
|
+
ItemTitle: {};
|
|
2196
|
+
itemVariants: {};
|
|
2094
2197
|
Label: {};
|
|
2095
2198
|
LinkButton: {};
|
|
2096
2199
|
Loader: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-routes/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-routes/generated/typed-templates.ts"],"names":[],"mappings":"AAyHA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAC"}
|
|
@@ -59,11 +59,14 @@ const register = createTsTemplateFile({
|
|
|
59
59
|
reactSessionImports: reactSessionImportsProvider,
|
|
60
60
|
},
|
|
61
61
|
name: 'register',
|
|
62
|
-
referencedGeneratorTemplates: { constants: {} },
|
|
63
62
|
source: {
|
|
64
63
|
path: path.join(import.meta.dirname, '../templates/routes/auth_/register.tsx'),
|
|
65
64
|
},
|
|
66
|
-
variables: {
|
|
65
|
+
variables: {
|
|
66
|
+
TPL_NAME_FORM_CONTROL: {},
|
|
67
|
+
TPL_REGISTER_INPUT: {},
|
|
68
|
+
TPL_REGISTER_SCHEMA: {},
|
|
69
|
+
},
|
|
67
70
|
});
|
|
68
71
|
const resetPassword = createTsTemplateFile({
|
|
69
72
|
fileOptions: { kind: 'singleton' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-routes/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACtB,8BAA8B,EAC9B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,gFAAgF,CAAC;AAE7H,MAAM,SAAS,GAAG,oBAAoB,CAAC;IACrC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,MAAM;IACb,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,WAAW;IACjB,cAAc,EAAE;QACd,mBAAmB,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE;QAC1C,mBAAmB,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE;KAC3C;IACD,M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B,EAAE;QAClB,kBAAkB,EAAE,0BAA0B;QAC9C,cAAc,EAAE,sBAAsB;QACtC,sBAAsB,EAAE,8BAA8B;QACtD,iBAAiB,EAAE,yBAAyB;QAC5C,mBAAmB,EAAE,2BAA2B;KACjD;IACD,IAAI,EAAE,UAAU;IAChB,
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-routes/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACtB,8BAA8B,EAC9B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,gFAAgF,CAAC;AAE7H,MAAM,SAAS,GAAG,oBAAoB,CAAC;IACrC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,MAAM;IACb,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,WAAW;IACjB,cAAc,EAAE;QACd,mBAAmB,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE;QAC1C,mBAAmB,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE;KAC3C;IACD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,yCAAyC,CAC1C;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,oBAAoB,CAAC;IAC1C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,MAAM;IACb,kBAAkB,EAAE;QAClB,cAAc,EAAE,sBAAsB;QACtC,sBAAsB,EAAE,8BAA8B;QACtD,iBAAiB,EAAE,yBAAyB;KAC7C;IACD,IAAI,EAAE,iBAAiB;IACvB,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,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,4CAA4C,CAC7C;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,+BAA+B,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -80,6 +80,6 @@ function LoginPage() {
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
|
-
return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Login to your account" }), _jsx(CardDescription, { children: "Enter your email below to login to your account" })] }), _jsx(CardContent, { children: _jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs("div", { className: "flex flex-col gap-
|
|
83
|
+
return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Login to your account" }), _jsx(CardDescription, { children: "Enter your email below to login to your account" })] }), _jsx(CardContent, { children: _jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs("div", { className: "flex flex-col gap-4", children: [_jsx(InputFieldController, { control: control, name: "email", type: "email", autoComplete: "email", placeholder: "user@example.com" }), _jsx(InputFieldController, { control: control, name: "password", type: "password", autoComplete: "current-password", placeholder: "Password" }), _jsx(Button, { type: "submit", className: "w-full", disabled: loading, children: "Login" })] }), _jsxs("div", { className: "mt-4 flex flex-col gap-4 text-center text-sm", children: [_jsx(Link, { to: "/auth/forgot-password", className: "text-muted-foreground underline-offset-4 hover:underline", children: "Forgot your password?" }), _jsxs("div", { children: ["Don't have an account?", ' ', _jsx(Link, { to: "/auth/register", className: "underline underline-offset-4", children: "Sign up" })] })] })] }) })] }));
|
|
84
84
|
}
|
|
85
85
|
//# sourceMappingURL=login.js.map
|
|
@@ -125,7 +125,7 @@ function LoginPage(): React.JSX.Element {
|
|
|
125
125
|
</CardHeader>
|
|
126
126
|
<CardContent>
|
|
127
127
|
<form onSubmit={handleSubmit(onSubmit)}>
|
|
128
|
-
<div className="flex flex-col gap-
|
|
128
|
+
<div className="flex flex-col gap-4">
|
|
129
129
|
<InputFieldController
|
|
130
130
|
control={control}
|
|
131
131
|
name="email"
|
package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,KAAK;;;;sQAahB,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// @ts-nocheck
|
|
3
|
-
import { PASSWORD_MAX_LENGTH, PASSWORD_MIN_LENGTH } from '$constants';
|
|
4
3
|
import { getApolloErrorCode } from '%apolloErrorImports';
|
|
5
4
|
import { graphql } from '%graphqlImports';
|
|
6
5
|
import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, InputFieldController, } from '%reactComponentsImports';
|
|
@@ -26,10 +25,7 @@ export const Route = createFileRoute('/auth_/register')({
|
|
|
26
25
|
}
|
|
27
26
|
},
|
|
28
27
|
});
|
|
29
|
-
const formSchema =
|
|
30
|
-
email: z.email().transform((value) => value.toLowerCase()),
|
|
31
|
-
password: z.string().min(PASSWORD_MIN_LENGTH).max(PASSWORD_MAX_LENGTH),
|
|
32
|
-
});
|
|
28
|
+
const formSchema = TPL_REGISTER_SCHEMA;
|
|
33
29
|
const registerWithEmailPasswordMutation = graphql(`
|
|
34
30
|
mutation RegisterWithEmailPassword($input: RegisterWithEmailPasswordInput!) {
|
|
35
31
|
registerWithEmailPassword(input: $input) {
|
|
@@ -50,10 +46,7 @@ function RegisterPage() {
|
|
|
50
46
|
const onSubmit = (data) => {
|
|
51
47
|
registerWithEmailPassword({
|
|
52
48
|
variables: {
|
|
53
|
-
input:
|
|
54
|
-
email: data.email,
|
|
55
|
-
password: data.password,
|
|
56
|
-
},
|
|
49
|
+
input: TPL_REGISTER_INPUT,
|
|
57
50
|
},
|
|
58
51
|
})
|
|
59
52
|
.then(({ data }) => {
|
|
@@ -77,6 +70,6 @@ function RegisterPage() {
|
|
|
77
70
|
}
|
|
78
71
|
});
|
|
79
72
|
};
|
|
80
|
-
return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Register to your account" }), _jsx(CardDescription, { children: "Enter your email below to register for an account" })] }), _jsx(CardContent, { children: _jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs("div", { className: "flex flex-col gap-
|
|
73
|
+
return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Register to your account" }), _jsx(CardDescription, { children: "Enter your email below to register for an account" })] }), _jsx(CardContent, { children: _jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [_jsxs("div", { className: "flex flex-col gap-4", children: [_jsx(InputFieldController, { control: control, name: "email", type: "email", autoComplete: "email", placeholder: "user@example.com", label: "Email" }), _jsx(InputFieldController, { control: control, name: "password", type: "password", autoComplete: "new-password", placeholder: "Password", label: "Password" }), _jsx(TPL_NAME_FORM_CONTROL, {}), _jsx(Button, { type: "submit", className: "w-full", disabled: loading, children: "Register" })] }), _jsxs("div", { className: "mt-4 text-center text-sm", children: ["Already have an account?", ' ', _jsx(Link, { to: "/auth/login", className: "underline underline-offset-4", children: "Login" })] })] }) })] }));
|
|
81
74
|
}
|
|
82
75
|
//# sourceMappingURL=register.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.js","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx"],"names":[],"mappings":";AAAA,cAAc;AAEd,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"register.js","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx"],"names":[],"mappings":";AAAA,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EACL,MAAM,EACN,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EACL,eAAe,EACf,IAAI,EACJ,QAAQ,EACR,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;IACtD,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC;QACvB,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;aACvD,QAAQ,EAAE;KACd,CAAC;IACF,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,OAAO,EAA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AG,EAC5B,KAAC,IAAI,IAAC,EAAE,EAAC,aAAa,EAAC,SAAS,EAAC,8BAA8B,sBAExD,IACH,IACD,GACK,IACT,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
-
import { PASSWORD_MAX_LENGTH, PASSWORD_MIN_LENGTH } from '$constants';
|
|
4
3
|
import { getApolloErrorCode } from '%apolloErrorImports';
|
|
5
4
|
import { graphql } from '%graphqlImports';
|
|
6
5
|
import {
|
|
@@ -41,10 +40,7 @@ export const Route = createFileRoute('/auth_/register')({
|
|
|
41
40
|
},
|
|
42
41
|
});
|
|
43
42
|
|
|
44
|
-
const formSchema =
|
|
45
|
-
email: z.email().transform((value) => value.toLowerCase()),
|
|
46
|
-
password: z.string().min(PASSWORD_MIN_LENGTH).max(PASSWORD_MAX_LENGTH),
|
|
47
|
-
});
|
|
43
|
+
const formSchema = TPL_REGISTER_SCHEMA;
|
|
48
44
|
|
|
49
45
|
type FormData = z.infer<typeof formSchema>;
|
|
50
46
|
|
|
@@ -76,10 +72,7 @@ function RegisterPage(): React.JSX.Element {
|
|
|
76
72
|
const onSubmit = (data: FormData): void => {
|
|
77
73
|
registerWithEmailPassword({
|
|
78
74
|
variables: {
|
|
79
|
-
input:
|
|
80
|
-
email: data.email,
|
|
81
|
-
password: data.password,
|
|
82
|
-
},
|
|
75
|
+
input: TPL_REGISTER_INPUT,
|
|
83
76
|
},
|
|
84
77
|
})
|
|
85
78
|
.then(({ data }) => {
|
|
@@ -121,13 +114,14 @@ function RegisterPage(): React.JSX.Element {
|
|
|
121
114
|
</CardHeader>
|
|
122
115
|
<CardContent>
|
|
123
116
|
<form onSubmit={handleSubmit(onSubmit)}>
|
|
124
|
-
<div className="flex flex-col gap-
|
|
117
|
+
<div className="flex flex-col gap-4">
|
|
125
118
|
<InputFieldController
|
|
126
119
|
control={control}
|
|
127
120
|
name="email"
|
|
128
121
|
type="email"
|
|
129
122
|
autoComplete="email"
|
|
130
123
|
placeholder="user@example.com"
|
|
124
|
+
label="Email"
|
|
131
125
|
/>
|
|
132
126
|
<InputFieldController
|
|
133
127
|
control={control}
|
|
@@ -135,7 +129,9 @@ function RegisterPage(): React.JSX.Element {
|
|
|
135
129
|
type="password"
|
|
136
130
|
autoComplete="new-password"
|
|
137
131
|
placeholder="Password"
|
|
132
|
+
label="Password"
|
|
138
133
|
/>
|
|
134
|
+
<TPL_NAME_FORM_CONTROL />
|
|
139
135
|
<Button type="submit" className="w-full" disabled={loading}>
|
|
140
136
|
Register
|
|
141
137
|
</Button>
|
|
@@ -133,7 +133,6 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_GENERATED: {
|
|
|
133
133
|
DropdownMenuSubContent: {};
|
|
134
134
|
DropdownMenuSubTrigger: {};
|
|
135
135
|
DropdownMenuTrigger: {};
|
|
136
|
-
EmptyDisplay: {};
|
|
137
136
|
ErrorableLoader: {};
|
|
138
137
|
ErrorDisplay: {};
|
|
139
138
|
Field: {};
|
|
@@ -163,6 +162,18 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_GENERATED: {
|
|
|
163
162
|
InputGroupText: {};
|
|
164
163
|
InputGroupTextarea: {};
|
|
165
164
|
inputVariants: {};
|
|
165
|
+
Item: {};
|
|
166
|
+
ItemActions: {};
|
|
167
|
+
ItemContent: {};
|
|
168
|
+
ItemDescription: {};
|
|
169
|
+
ItemFooter: {};
|
|
170
|
+
ItemGroup: {};
|
|
171
|
+
ItemHeader: {};
|
|
172
|
+
ItemMedia: {};
|
|
173
|
+
itemMediaVariants: {};
|
|
174
|
+
ItemSeparator: {};
|
|
175
|
+
ItemTitle: {};
|
|
176
|
+
itemVariants: {};
|
|
166
177
|
Label: {};
|
|
167
178
|
LinkButton: {};
|
|
168
179
|
Loader: {};
|
|
@@ -397,7 +408,6 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_GENERATED: {
|
|
|
397
408
|
DropdownMenuSubContent: {};
|
|
398
409
|
DropdownMenuSubTrigger: {};
|
|
399
410
|
DropdownMenuTrigger: {};
|
|
400
|
-
EmptyDisplay: {};
|
|
401
411
|
ErrorableLoader: {};
|
|
402
412
|
ErrorDisplay: {};
|
|
403
413
|
Field: {};
|
|
@@ -427,6 +437,18 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_GENERATED: {
|
|
|
427
437
|
InputGroupText: {};
|
|
428
438
|
InputGroupTextarea: {};
|
|
429
439
|
inputVariants: {};
|
|
440
|
+
Item: {};
|
|
441
|
+
ItemActions: {};
|
|
442
|
+
ItemContent: {};
|
|
443
|
+
ItemDescription: {};
|
|
444
|
+
ItemFooter: {};
|
|
445
|
+
ItemGroup: {};
|
|
446
|
+
ItemHeader: {};
|
|
447
|
+
ItemMedia: {};
|
|
448
|
+
itemMediaVariants: {};
|
|
449
|
+
ItemSeparator: {};
|
|
450
|
+
ItemTitle: {};
|
|
451
|
+
itemVariants: {};
|
|
430
452
|
Label: {};
|
|
431
453
|
LinkButton: {};
|
|
432
454
|
Loader: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uCAAuC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnD,CAAC"}
|
|
@@ -122,7 +122,6 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_RENDERERS: {
|
|
|
122
122
|
DropdownMenuSubContent: {};
|
|
123
123
|
DropdownMenuSubTrigger: {};
|
|
124
124
|
DropdownMenuTrigger: {};
|
|
125
|
-
EmptyDisplay: {};
|
|
126
125
|
ErrorableLoader: {};
|
|
127
126
|
ErrorDisplay: {};
|
|
128
127
|
Field: {};
|
|
@@ -152,6 +151,18 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_RENDERERS: {
|
|
|
152
151
|
InputGroupText: {};
|
|
153
152
|
InputGroupTextarea: {};
|
|
154
153
|
inputVariants: {};
|
|
154
|
+
Item: {};
|
|
155
|
+
ItemActions: {};
|
|
156
|
+
ItemContent: {};
|
|
157
|
+
ItemDescription: {};
|
|
158
|
+
ItemFooter: {};
|
|
159
|
+
ItemGroup: {};
|
|
160
|
+
ItemHeader: {};
|
|
161
|
+
ItemMedia: {};
|
|
162
|
+
itemMediaVariants: {};
|
|
163
|
+
ItemSeparator: {};
|
|
164
|
+
ItemTitle: {};
|
|
165
|
+
itemVariants: {};
|
|
155
166
|
Label: {};
|
|
156
167
|
LinkButton: {};
|
|
157
168
|
Loader: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAezD,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAC;AAE/E,MAAM,WAAW,kCAAkC;IACjD,SAAS,EAAE;QACT,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,uCAAuC,CAAC,SAAS,CACzD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AA0DD,eAAO,MAAM,uCAAuC
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAezD,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAC;AAE/E,MAAM,WAAW,kCAAkC;IACjD,SAAS,EAAE;QACT,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,uCAAuC,CAAC,SAAS,CACzD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AA0DD,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnD,CAAC"}
|
|
@@ -115,7 +115,6 @@ export declare const mainGroup: {
|
|
|
115
115
|
DropdownMenuSubContent: {};
|
|
116
116
|
DropdownMenuSubTrigger: {};
|
|
117
117
|
DropdownMenuTrigger: {};
|
|
118
|
-
EmptyDisplay: {};
|
|
119
118
|
ErrorableLoader: {};
|
|
120
119
|
ErrorDisplay: {};
|
|
121
120
|
Field: {};
|
|
@@ -145,6 +144,18 @@ export declare const mainGroup: {
|
|
|
145
144
|
InputGroupText: {};
|
|
146
145
|
InputGroupTextarea: {};
|
|
147
146
|
inputVariants: {};
|
|
147
|
+
Item: {};
|
|
148
|
+
ItemActions: {};
|
|
149
|
+
ItemContent: {};
|
|
150
|
+
ItemDescription: {};
|
|
151
|
+
ItemFooter: {};
|
|
152
|
+
ItemGroup: {};
|
|
153
|
+
ItemHeader: {};
|
|
154
|
+
ItemMedia: {};
|
|
155
|
+
itemMediaVariants: {};
|
|
156
|
+
ItemSeparator: {};
|
|
157
|
+
ItemTitle: {};
|
|
158
|
+
itemVariants: {};
|
|
148
159
|
Label: {};
|
|
149
160
|
LinkButton: {};
|
|
150
161
|
Loader: {};
|
|
@@ -377,7 +388,6 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
377
388
|
DropdownMenuSubContent: {};
|
|
378
389
|
DropdownMenuSubTrigger: {};
|
|
379
390
|
DropdownMenuTrigger: {};
|
|
380
|
-
EmptyDisplay: {};
|
|
381
391
|
ErrorableLoader: {};
|
|
382
392
|
ErrorDisplay: {};
|
|
383
393
|
Field: {};
|
|
@@ -407,6 +417,18 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
407
417
|
InputGroupText: {};
|
|
408
418
|
InputGroupTextarea: {};
|
|
409
419
|
inputVariants: {};
|
|
420
|
+
Item: {};
|
|
421
|
+
ItemActions: {};
|
|
422
|
+
ItemContent: {};
|
|
423
|
+
ItemDescription: {};
|
|
424
|
+
ItemFooter: {};
|
|
425
|
+
ItemGroup: {};
|
|
426
|
+
ItemHeader: {};
|
|
427
|
+
ItemMedia: {};
|
|
428
|
+
itemMediaVariants: {};
|
|
429
|
+
ItemSeparator: {};
|
|
430
|
+
ItemTitle: {};
|
|
431
|
+
itemVariants: {};
|
|
410
432
|
Label: {};
|
|
411
433
|
LinkButton: {};
|
|
412
434
|
Loader: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAgDA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAgDA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6C,CAAC;AAEpE,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgB,CAAC"}
|