@baseplate-dev/plugin-auth 0.6.17 → 0.6.19
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 +54 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +74 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +74 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +37 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +37 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +1 -2
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +1 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +74 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +74 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +37 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +74 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +1 -2
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +1 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +37 -0
- package/dist/better-auth/core/node.js +7 -8
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts +1 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.d.ts +1 -0
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.js +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +20 -3
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +5 -24
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +40 -2
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +19 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js +6 -2
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +20 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js +4 -1
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +16 -8
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts +1 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts +5 -4
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts +1 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js +1 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts +2 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js +2 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts +6 -6
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js +13 -13
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/{use-required-user-id.ts → use-user-id-or-throw.ts} +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +37 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +222 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +37 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +370 -0
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/forgot-password.tsx +1 -4
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +77 -2
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +38 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +38 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +38 -1
- package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx +12 -3
- package/dist/local-auth/admin/common.js +6 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.d.ts +593 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.js +119 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.d.ts +602 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.js +11 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.js +24 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.d.ts +307 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.js +45 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.d.ts +294 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.js +21 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.d.ts +21 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.js +68 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.tsx +122 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +74 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +74 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +37 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +37 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +1 -2
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +74 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +74 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +37 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +74 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +1 -2
- 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 +37 -0
- package/dist/local-auth/admin/node.js +13 -0
- package/dist/local-auth/admin/schema/invite-user-action.d.ts +12 -0
- package/dist/local-auth/admin/schema/invite-user-action.js +6 -0
- package/dist/local-auth/admin/web.js +8 -0
- package/dist/local-auth/core/common.js +7 -2
- package/dist/local-auth/core/components/local-auth-definition-editor.js +2 -1
- package/dist/local-auth/core/components/local-auth-web-app-settings-form.d.ts +9 -0
- package/dist/local-auth/core/components/local-auth-web-app-settings-form.js +11 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +16 -7
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +73 -16
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +222 -7
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +5 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +5 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +27 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +71 -4
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +1 -3
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js +1 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +226 -10
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +91 -7
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.d.ts +19 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.js +20 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.ts +22 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +12 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +12 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +14 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.js +30 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.ts +38 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.js +42 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.ts +54 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +2 -19
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +1 -22
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.d.ts +37 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.js +225 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.ts +333 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +5 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.d.ts +39 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.js +142 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.ts +221 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +5 -6
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +8 -5
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +3 -1
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +18 -3
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +40 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +20 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +40 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +24 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.js +18 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.tsx +57 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.js +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.tsx +47 -0
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +272 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +547 -4
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +271 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +4 -2
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +2 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +2 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +548 -6
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +15 -14
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +7 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +23 -7
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +7 -26
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +65 -4
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +22 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +19 -2
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +10 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +7 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +42 -4
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +24 -13
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.d.ts +67 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.js +140 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.ts +191 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +8 -9
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +10 -11
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +39 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +38 -5
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +1089 -268
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +3 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +49 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +51 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +918 -283
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +69 -23
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.d.ts +9 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.js +10 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.ts +11 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.js +155 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.tsx +274 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js +1 -2
- 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-otp.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.js +184 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.tsx +312 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +5 -5
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +6 -12
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +4 -4
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +4 -3
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +1 -2
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +1 -2
- 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 +90 -7
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +38 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts +1 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js +1 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +102 -12
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +5 -2
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +54 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.js +35 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +17 -44
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +21 -49
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts +43 -34
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js +96 -80
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.ts +148 -82
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +0 -2
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +0 -1
- package/dist/local-auth/core/node.js +30 -12
- package/dist/local-auth/core/schema/migrations.d.ts +3 -0
- package/dist/local-auth/core/schema/migrations.js +36 -0
- package/dist/local-auth/core/schema/models.js +8 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts +1 -0
- package/dist/local-auth/core/schema/plugin-definition.js +1 -0
- package/dist/local-auth/core/schema/web-app-schema.d.ts +15 -0
- package/dist/local-auth/core/schema/web-app-schema.js +16 -0
- package/dist/local-auth/core/web.js +8 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +4 -3
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +2 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +2 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +4 -4
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +13 -13
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.d.ts +1 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.ts +2 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +1 -2
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts +1 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js +1 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +0 -1
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ChkXxpXe.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-DUupKqD4.js} +42 -34
- package/dist/web/assets/{dist-DY7ZXvq4.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js} +16857 -381
- 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-37vlYRxk.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-mszeXpf-.js} +90 -38
- 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-DRSNXPPo.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CtIleM_e.js} +4095 -2399
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-BckLhSjF.js} +212 -57
- package/dist/web/assets/auth-DR6QxrAW.js +1 -0
- package/dist/web/assets/{common-iHaemino.js → common-BsyRiQi3.js} +6 -6
- package/dist/web/assets/{common-TDf_PrjX.js → common-CRwNlCMn.js} +10 -10
- package/dist/web/assets/{common-ByxS61u8.js → common-CvqlRZC9.js} +12 -12
- package/dist/web/assets/common-D3atSs7O.js +70 -0
- package/dist/web/assets/common-DuFyXa6l.js +36 -0
- package/dist/web/assets/common-islduJTj.js +43 -0
- package/dist/web/assets/{dist-CrLSslv6.js → dist-DQd1TAJX.js} +273 -132
- package/dist/web/assets/{get-auth-plugin-definition-kDCtXq_6.js → get-auth-plugin-definition-BgWWHl_Y.js} +3 -3
- package/dist/web/assets/{hostInit-Cruek6c6.js → hostInit-DNA4kLRY.js} +32 -5
- package/dist/web/assets/{mf-entry-bootstrap-0-dfed0275.js → mf-entry-bootstrap-0-ea77c09b.js} +2 -1
- package/dist/web/assets/{mf-entry-bootstrap-1-5275674a.js → mf-entry-bootstrap-1-9dee3d8d.js} +3 -2
- package/dist/web/assets/{mf-entry-bootstrap-2-39fb9255.js → mf-entry-bootstrap-2-3179040b.js} +3 -2
- package/dist/web/assets/{mf-entry-bootstrap-3-49e64336.js → mf-entry-bootstrap-3-370d200d.js} +3 -2
- package/dist/web/assets/{models-DSvs_3bA.js → models-BOeSYfRn.js} +4 -5
- package/dist/web/assets/{models-BZmCbizK.js → models-DF6DoXt6.js} +11 -6
- package/dist/web/assets/{plugin-definition-CYj29S3q.js → plugin-definition--k0VAeK3.js} +9 -10
- package/dist/web/assets/plugin-definition-CMwSlxsJ.js +10 -0
- package/dist/web/assets/{styles-yjbHBTlw.js → styles-BQEcQHoR.js} +9 -10
- package/dist/web/assets/{virtualExposes-CbPBmicF.js → virtualExposes-C7fDiAmS.js} +1 -1
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BZBRyml2.js +747 -0
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B6BXIeF1.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-6SjVUCs8.js} +13 -13
- package/dist/web/assets/web-8wz0ad-V.js +59 -0
- package/dist/web/assets/{web-CXAHKjIY.js → web-BGixH_gT.js} +27 -27
- package/dist/web/assets/{web-1eTcxMhf.js → web-BxIwkN3O.js} +6 -6
- package/dist/web/assets/{web-VqBA3jxZ.js → web-CQMfABjr.js} +24 -24
- package/dist/web/assets/{web-CDAKPPK9.js → web-CcNpItSu.js} +22 -22
- package/dist/web/assets/web-CypPeiVv.js +148 -0
- package/dist/web/assets/{web-D0MSKfyv.js → web-CzK_la2_.js} +53 -53
- package/dist/web/index.html +5 -5
- package/dist/web/remoteEntry.js +1 -1
- package/package.json +14 -14
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts +0 -38
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js +0 -71
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.ts +0 -77
- 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-CO5Pvo0y.js +0 -384
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-BEZ7A-cz.js +0 -13566
- package/dist/web/assets/auth-BxAE0rgh.js +0 -1
- package/dist/web/assets/common-CKl_XlvH.js +0 -37
- package/dist/web/assets/common-UpVCKZeW.js +0 -41
- package/dist/web/assets/common-crSwCD36.js +0 -37
- package/dist/web/assets/model-utils-C0WDb_Ec.js +0 -1599
- package/dist/web/assets/plugin-definition-DOMmPL2Z.js +0 -11
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js +0 -259
- package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js +0 -129
- package/dist/web/assets/web-DbeAaDTV.js +0 -118
- package/dist/web/assets/web-miDovYk_.js +0 -46
- package/dist/web/remoteEntry.ssr.js +0 -43
|
@@ -27,6 +27,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
27
27
|
isTypeOnly: true;
|
|
28
28
|
};
|
|
29
29
|
Alert: {};
|
|
30
|
+
AlertAction: {};
|
|
30
31
|
AlertDescription: {};
|
|
31
32
|
AlertTitle: {};
|
|
32
33
|
Autocomplete: {};
|
|
@@ -56,6 +57,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
56
57
|
buttonVariants: {};
|
|
57
58
|
Calendar: {};
|
|
58
59
|
Card: {};
|
|
60
|
+
CardAction: {};
|
|
59
61
|
CardContent: {};
|
|
60
62
|
CardDescription: {};
|
|
61
63
|
CardFooter: {};
|
|
@@ -140,6 +142,12 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
140
142
|
InputGroupInput: {};
|
|
141
143
|
InputGroupText: {};
|
|
142
144
|
InputGroupTextarea: {};
|
|
145
|
+
InputOtp: {};
|
|
146
|
+
InputOtpField: {};
|
|
147
|
+
InputOtpFieldController: {};
|
|
148
|
+
InputOtpGroup: {};
|
|
149
|
+
InputOtpSeparator: {};
|
|
150
|
+
InputOtpSlot: {};
|
|
143
151
|
inputVariants: {};
|
|
144
152
|
Item: {};
|
|
145
153
|
ItemActions: {};
|
|
@@ -176,6 +184,10 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
176
184
|
NotFoundCard: {};
|
|
177
185
|
NumberField: {};
|
|
178
186
|
NumberFieldController: {};
|
|
187
|
+
PageHeader: {};
|
|
188
|
+
PageHeaderActions: {};
|
|
189
|
+
PageHeaderDescription: {};
|
|
190
|
+
PageHeaderTitle: {};
|
|
179
191
|
Popover: {};
|
|
180
192
|
PopoverContent: {};
|
|
181
193
|
PopoverTrigger: {};
|
|
@@ -185,6 +197,11 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
185
197
|
isTypeOnly: true;
|
|
186
198
|
};
|
|
187
199
|
ScrollArea: {};
|
|
200
|
+
Section: {};
|
|
201
|
+
SectionActions: {};
|
|
202
|
+
SectionDescription: {};
|
|
203
|
+
SectionHeader: {};
|
|
204
|
+
SectionTitle: {};
|
|
188
205
|
Select: {};
|
|
189
206
|
SelectField: {};
|
|
190
207
|
SelectFieldController: {};
|
|
@@ -240,7 +257,27 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
240
257
|
Textarea: {};
|
|
241
258
|
TextareaField: {};
|
|
242
259
|
TextareaFieldController: {};
|
|
260
|
+
Toast: {};
|
|
261
|
+
toast: {};
|
|
262
|
+
ToastAction: {};
|
|
263
|
+
ToastClose: {};
|
|
264
|
+
ToastContent: {};
|
|
265
|
+
ToastDescription: {};
|
|
243
266
|
Toaster: {};
|
|
267
|
+
toastManager: {};
|
|
268
|
+
ToastOptions: {
|
|
269
|
+
isTypeOnly: true;
|
|
270
|
+
};
|
|
271
|
+
ToastPortal: {};
|
|
272
|
+
ToastProvider: {};
|
|
273
|
+
ToastTitle: {};
|
|
274
|
+
ToastType: {
|
|
275
|
+
isTypeOnly: true;
|
|
276
|
+
};
|
|
277
|
+
ToastUpdateOptions: {
|
|
278
|
+
isTypeOnly: true;
|
|
279
|
+
};
|
|
280
|
+
ToastViewport: {};
|
|
244
281
|
Tooltip: {};
|
|
245
282
|
TooltipContent: {};
|
|
246
283
|
TooltipProvider: {};
|
|
@@ -265,6 +302,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
265
302
|
isTypeOnly: true;
|
|
266
303
|
};
|
|
267
304
|
Alert: {};
|
|
305
|
+
AlertAction: {};
|
|
268
306
|
AlertDescription: {};
|
|
269
307
|
AlertTitle: {};
|
|
270
308
|
Autocomplete: {};
|
|
@@ -294,6 +332,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
294
332
|
buttonVariants: {};
|
|
295
333
|
Calendar: {};
|
|
296
334
|
Card: {};
|
|
335
|
+
CardAction: {};
|
|
297
336
|
CardContent: {};
|
|
298
337
|
CardDescription: {};
|
|
299
338
|
CardFooter: {};
|
|
@@ -378,6 +417,12 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
378
417
|
InputGroupInput: {};
|
|
379
418
|
InputGroupText: {};
|
|
380
419
|
InputGroupTextarea: {};
|
|
420
|
+
InputOtp: {};
|
|
421
|
+
InputOtpField: {};
|
|
422
|
+
InputOtpFieldController: {};
|
|
423
|
+
InputOtpGroup: {};
|
|
424
|
+
InputOtpSeparator: {};
|
|
425
|
+
InputOtpSlot: {};
|
|
381
426
|
inputVariants: {};
|
|
382
427
|
Item: {};
|
|
383
428
|
ItemActions: {};
|
|
@@ -414,6 +459,10 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
414
459
|
NotFoundCard: {};
|
|
415
460
|
NumberField: {};
|
|
416
461
|
NumberFieldController: {};
|
|
462
|
+
PageHeader: {};
|
|
463
|
+
PageHeaderActions: {};
|
|
464
|
+
PageHeaderDescription: {};
|
|
465
|
+
PageHeaderTitle: {};
|
|
417
466
|
Popover: {};
|
|
418
467
|
PopoverContent: {};
|
|
419
468
|
PopoverTrigger: {};
|
|
@@ -423,6 +472,11 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
423
472
|
isTypeOnly: true;
|
|
424
473
|
};
|
|
425
474
|
ScrollArea: {};
|
|
475
|
+
Section: {};
|
|
476
|
+
SectionActions: {};
|
|
477
|
+
SectionDescription: {};
|
|
478
|
+
SectionHeader: {};
|
|
479
|
+
SectionTitle: {};
|
|
426
480
|
Select: {};
|
|
427
481
|
SelectField: {};
|
|
428
482
|
SelectFieldController: {};
|
|
@@ -478,7 +532,27 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
478
532
|
Textarea: {};
|
|
479
533
|
TextareaField: {};
|
|
480
534
|
TextareaFieldController: {};
|
|
535
|
+
Toast: {};
|
|
536
|
+
toast: {};
|
|
537
|
+
ToastAction: {};
|
|
538
|
+
ToastClose: {};
|
|
539
|
+
ToastContent: {};
|
|
540
|
+
ToastDescription: {};
|
|
481
541
|
Toaster: {};
|
|
542
|
+
toastManager: {};
|
|
543
|
+
ToastOptions: {
|
|
544
|
+
isTypeOnly: true;
|
|
545
|
+
};
|
|
546
|
+
ToastPortal: {};
|
|
547
|
+
ToastProvider: {};
|
|
548
|
+
ToastTitle: {};
|
|
549
|
+
ToastType: {
|
|
550
|
+
isTypeOnly: true;
|
|
551
|
+
};
|
|
552
|
+
ToastUpdateOptions: {
|
|
553
|
+
isTypeOnly: true;
|
|
554
|
+
};
|
|
555
|
+
ToastViewport: {};
|
|
482
556
|
Tooltip: {};
|
|
483
557
|
TooltipContent: {};
|
|
484
558
|
TooltipProvider: {};
|
package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
26
26
|
isTypeOnly: true;
|
|
27
27
|
};
|
|
28
28
|
Alert: {};
|
|
29
|
+
AlertAction: {};
|
|
29
30
|
AlertDescription: {};
|
|
30
31
|
AlertTitle: {};
|
|
31
32
|
Autocomplete: {};
|
|
@@ -55,6 +56,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
55
56
|
buttonVariants: {};
|
|
56
57
|
Calendar: {};
|
|
57
58
|
Card: {};
|
|
59
|
+
CardAction: {};
|
|
58
60
|
CardContent: {};
|
|
59
61
|
CardDescription: {};
|
|
60
62
|
CardFooter: {};
|
|
@@ -139,6 +141,12 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
139
141
|
InputGroupInput: {};
|
|
140
142
|
InputGroupText: {};
|
|
141
143
|
InputGroupTextarea: {};
|
|
144
|
+
InputOtp: {};
|
|
145
|
+
InputOtpField: {};
|
|
146
|
+
InputOtpFieldController: {};
|
|
147
|
+
InputOtpGroup: {};
|
|
148
|
+
InputOtpSeparator: {};
|
|
149
|
+
InputOtpSlot: {};
|
|
142
150
|
inputVariants: {};
|
|
143
151
|
Item: {};
|
|
144
152
|
ItemActions: {};
|
|
@@ -175,6 +183,10 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
175
183
|
NotFoundCard: {};
|
|
176
184
|
NumberField: {};
|
|
177
185
|
NumberFieldController: {};
|
|
186
|
+
PageHeader: {};
|
|
187
|
+
PageHeaderActions: {};
|
|
188
|
+
PageHeaderDescription: {};
|
|
189
|
+
PageHeaderTitle: {};
|
|
178
190
|
Popover: {};
|
|
179
191
|
PopoverContent: {};
|
|
180
192
|
PopoverTrigger: {};
|
|
@@ -184,6 +196,11 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
184
196
|
isTypeOnly: true;
|
|
185
197
|
};
|
|
186
198
|
ScrollArea: {};
|
|
199
|
+
Section: {};
|
|
200
|
+
SectionActions: {};
|
|
201
|
+
SectionDescription: {};
|
|
202
|
+
SectionHeader: {};
|
|
203
|
+
SectionTitle: {};
|
|
187
204
|
Select: {};
|
|
188
205
|
SelectField: {};
|
|
189
206
|
SelectFieldController: {};
|
|
@@ -239,7 +256,27 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
239
256
|
Textarea: {};
|
|
240
257
|
TextareaField: {};
|
|
241
258
|
TextareaFieldController: {};
|
|
259
|
+
Toast: {};
|
|
260
|
+
toast: {};
|
|
261
|
+
ToastAction: {};
|
|
262
|
+
ToastClose: {};
|
|
263
|
+
ToastContent: {};
|
|
264
|
+
ToastDescription: {};
|
|
242
265
|
Toaster: {};
|
|
266
|
+
toastManager: {};
|
|
267
|
+
ToastOptions: {
|
|
268
|
+
isTypeOnly: true;
|
|
269
|
+
};
|
|
270
|
+
ToastPortal: {};
|
|
271
|
+
ToastProvider: {};
|
|
272
|
+
ToastTitle: {};
|
|
273
|
+
ToastType: {
|
|
274
|
+
isTypeOnly: true;
|
|
275
|
+
};
|
|
276
|
+
ToastUpdateOptions: {
|
|
277
|
+
isTypeOnly: true;
|
|
278
|
+
};
|
|
279
|
+
ToastViewport: {};
|
|
243
280
|
Tooltip: {};
|
|
244
281
|
TooltipContent: {};
|
|
245
282
|
TooltipProvider: {};
|
|
@@ -274,6 +311,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
274
311
|
isTypeOnly: true;
|
|
275
312
|
};
|
|
276
313
|
Alert: {};
|
|
314
|
+
AlertAction: {};
|
|
277
315
|
AlertDescription: {};
|
|
278
316
|
AlertTitle: {};
|
|
279
317
|
Autocomplete: {};
|
|
@@ -303,6 +341,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
303
341
|
buttonVariants: {};
|
|
304
342
|
Calendar: {};
|
|
305
343
|
Card: {};
|
|
344
|
+
CardAction: {};
|
|
306
345
|
CardContent: {};
|
|
307
346
|
CardDescription: {};
|
|
308
347
|
CardFooter: {};
|
|
@@ -387,6 +426,12 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
387
426
|
InputGroupInput: {};
|
|
388
427
|
InputGroupText: {};
|
|
389
428
|
InputGroupTextarea: {};
|
|
429
|
+
InputOtp: {};
|
|
430
|
+
InputOtpField: {};
|
|
431
|
+
InputOtpFieldController: {};
|
|
432
|
+
InputOtpGroup: {};
|
|
433
|
+
InputOtpSeparator: {};
|
|
434
|
+
InputOtpSlot: {};
|
|
390
435
|
inputVariants: {};
|
|
391
436
|
Item: {};
|
|
392
437
|
ItemActions: {};
|
|
@@ -423,6 +468,10 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
423
468
|
NotFoundCard: {};
|
|
424
469
|
NumberField: {};
|
|
425
470
|
NumberFieldController: {};
|
|
471
|
+
PageHeader: {};
|
|
472
|
+
PageHeaderActions: {};
|
|
473
|
+
PageHeaderDescription: {};
|
|
474
|
+
PageHeaderTitle: {};
|
|
426
475
|
Popover: {};
|
|
427
476
|
PopoverContent: {};
|
|
428
477
|
PopoverTrigger: {};
|
|
@@ -432,6 +481,11 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
432
481
|
isTypeOnly: true;
|
|
433
482
|
};
|
|
434
483
|
ScrollArea: {};
|
|
484
|
+
Section: {};
|
|
485
|
+
SectionActions: {};
|
|
486
|
+
SectionDescription: {};
|
|
487
|
+
SectionHeader: {};
|
|
488
|
+
SectionTitle: {};
|
|
435
489
|
Select: {};
|
|
436
490
|
SelectField: {};
|
|
437
491
|
SelectFieldController: {};
|
|
@@ -487,7 +541,27 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATED
|
|
|
487
541
|
Textarea: {};
|
|
488
542
|
TextareaField: {};
|
|
489
543
|
TextareaFieldController: {};
|
|
544
|
+
Toast: {};
|
|
545
|
+
toast: {};
|
|
546
|
+
ToastAction: {};
|
|
547
|
+
ToastClose: {};
|
|
548
|
+
ToastContent: {};
|
|
549
|
+
ToastDescription: {};
|
|
490
550
|
Toaster: {};
|
|
551
|
+
toastManager: {};
|
|
552
|
+
ToastOptions: {
|
|
553
|
+
isTypeOnly: true;
|
|
554
|
+
};
|
|
555
|
+
ToastPortal: {};
|
|
556
|
+
ToastProvider: {};
|
|
557
|
+
ToastTitle: {};
|
|
558
|
+
ToastType: {
|
|
559
|
+
isTypeOnly: true;
|
|
560
|
+
};
|
|
561
|
+
ToastUpdateOptions: {
|
|
562
|
+
isTypeOnly: true;
|
|
563
|
+
};
|
|
564
|
+
ToastViewport: {};
|
|
491
565
|
Tooltip: {};
|
|
492
566
|
TooltipContent: {};
|
|
493
567
|
TooltipProvider: {};
|
|
@@ -25,6 +25,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERERS
|
|
|
25
25
|
isTypeOnly: true;
|
|
26
26
|
};
|
|
27
27
|
Alert: {};
|
|
28
|
+
AlertAction: {};
|
|
28
29
|
AlertDescription: {};
|
|
29
30
|
AlertTitle: {};
|
|
30
31
|
Autocomplete: {};
|
|
@@ -54,6 +55,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERERS
|
|
|
54
55
|
buttonVariants: {};
|
|
55
56
|
Calendar: {};
|
|
56
57
|
Card: {};
|
|
58
|
+
CardAction: {};
|
|
57
59
|
CardContent: {};
|
|
58
60
|
CardDescription: {};
|
|
59
61
|
CardFooter: {};
|
|
@@ -138,6 +140,12 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERERS
|
|
|
138
140
|
InputGroupInput: {};
|
|
139
141
|
InputGroupText: {};
|
|
140
142
|
InputGroupTextarea: {};
|
|
143
|
+
InputOtp: {};
|
|
144
|
+
InputOtpField: {};
|
|
145
|
+
InputOtpFieldController: {};
|
|
146
|
+
InputOtpGroup: {};
|
|
147
|
+
InputOtpSeparator: {};
|
|
148
|
+
InputOtpSlot: {};
|
|
141
149
|
inputVariants: {};
|
|
142
150
|
Item: {};
|
|
143
151
|
ItemActions: {};
|
|
@@ -174,6 +182,10 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERERS
|
|
|
174
182
|
NotFoundCard: {};
|
|
175
183
|
NumberField: {};
|
|
176
184
|
NumberFieldController: {};
|
|
185
|
+
PageHeader: {};
|
|
186
|
+
PageHeaderActions: {};
|
|
187
|
+
PageHeaderDescription: {};
|
|
188
|
+
PageHeaderTitle: {};
|
|
177
189
|
Popover: {};
|
|
178
190
|
PopoverContent: {};
|
|
179
191
|
PopoverTrigger: {};
|
|
@@ -183,6 +195,11 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERERS
|
|
|
183
195
|
isTypeOnly: true;
|
|
184
196
|
};
|
|
185
197
|
ScrollArea: {};
|
|
198
|
+
Section: {};
|
|
199
|
+
SectionActions: {};
|
|
200
|
+
SectionDescription: {};
|
|
201
|
+
SectionHeader: {};
|
|
202
|
+
SectionTitle: {};
|
|
186
203
|
Select: {};
|
|
187
204
|
SelectField: {};
|
|
188
205
|
SelectFieldController: {};
|
|
@@ -238,7 +255,27 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERERS
|
|
|
238
255
|
Textarea: {};
|
|
239
256
|
TextareaField: {};
|
|
240
257
|
TextareaFieldController: {};
|
|
258
|
+
Toast: {};
|
|
259
|
+
toast: {};
|
|
260
|
+
ToastAction: {};
|
|
261
|
+
ToastClose: {};
|
|
262
|
+
ToastContent: {};
|
|
263
|
+
ToastDescription: {};
|
|
241
264
|
Toaster: {};
|
|
265
|
+
toastManager: {};
|
|
266
|
+
ToastOptions: {
|
|
267
|
+
isTypeOnly: true;
|
|
268
|
+
};
|
|
269
|
+
ToastPortal: {};
|
|
270
|
+
ToastProvider: {};
|
|
271
|
+
ToastTitle: {};
|
|
272
|
+
ToastType: {
|
|
273
|
+
isTypeOnly: true;
|
|
274
|
+
};
|
|
275
|
+
ToastUpdateOptions: {
|
|
276
|
+
isTypeOnly: true;
|
|
277
|
+
};
|
|
278
|
+
ToastViewport: {};
|
|
242
279
|
Tooltip: {};
|
|
243
280
|
TooltipContent: {};
|
|
244
281
|
TooltipProvider: {};
|
|
@@ -13,6 +13,7 @@ export declare const mainGroup: {
|
|
|
13
13
|
isTypeOnly: true;
|
|
14
14
|
};
|
|
15
15
|
Alert: {};
|
|
16
|
+
AlertAction: {};
|
|
16
17
|
AlertDescription: {};
|
|
17
18
|
AlertTitle: {};
|
|
18
19
|
Autocomplete: {};
|
|
@@ -42,6 +43,7 @@ export declare const mainGroup: {
|
|
|
42
43
|
buttonVariants: {};
|
|
43
44
|
Calendar: {};
|
|
44
45
|
Card: {};
|
|
46
|
+
CardAction: {};
|
|
45
47
|
CardContent: {};
|
|
46
48
|
CardDescription: {};
|
|
47
49
|
CardFooter: {};
|
|
@@ -126,6 +128,12 @@ export declare const mainGroup: {
|
|
|
126
128
|
InputGroupInput: {};
|
|
127
129
|
InputGroupText: {};
|
|
128
130
|
InputGroupTextarea: {};
|
|
131
|
+
InputOtp: {};
|
|
132
|
+
InputOtpField: {};
|
|
133
|
+
InputOtpFieldController: {};
|
|
134
|
+
InputOtpGroup: {};
|
|
135
|
+
InputOtpSeparator: {};
|
|
136
|
+
InputOtpSlot: {};
|
|
129
137
|
inputVariants: {};
|
|
130
138
|
Item: {};
|
|
131
139
|
ItemActions: {};
|
|
@@ -162,6 +170,10 @@ export declare const mainGroup: {
|
|
|
162
170
|
NotFoundCard: {};
|
|
163
171
|
NumberField: {};
|
|
164
172
|
NumberFieldController: {};
|
|
173
|
+
PageHeader: {};
|
|
174
|
+
PageHeaderActions: {};
|
|
175
|
+
PageHeaderDescription: {};
|
|
176
|
+
PageHeaderTitle: {};
|
|
165
177
|
Popover: {};
|
|
166
178
|
PopoverContent: {};
|
|
167
179
|
PopoverTrigger: {};
|
|
@@ -171,6 +183,11 @@ export declare const mainGroup: {
|
|
|
171
183
|
isTypeOnly: true;
|
|
172
184
|
};
|
|
173
185
|
ScrollArea: {};
|
|
186
|
+
Section: {};
|
|
187
|
+
SectionActions: {};
|
|
188
|
+
SectionDescription: {};
|
|
189
|
+
SectionHeader: {};
|
|
190
|
+
SectionTitle: {};
|
|
174
191
|
Select: {};
|
|
175
192
|
SelectField: {};
|
|
176
193
|
SelectFieldController: {};
|
|
@@ -226,7 +243,27 @@ export declare const mainGroup: {
|
|
|
226
243
|
Textarea: {};
|
|
227
244
|
TextareaField: {};
|
|
228
245
|
TextareaFieldController: {};
|
|
246
|
+
Toast: {};
|
|
247
|
+
toast: {};
|
|
248
|
+
ToastAction: {};
|
|
249
|
+
ToastClose: {};
|
|
250
|
+
ToastContent: {};
|
|
251
|
+
ToastDescription: {};
|
|
229
252
|
Toaster: {};
|
|
253
|
+
toastManager: {};
|
|
254
|
+
ToastOptions: {
|
|
255
|
+
isTypeOnly: true;
|
|
256
|
+
};
|
|
257
|
+
ToastPortal: {};
|
|
258
|
+
ToastProvider: {};
|
|
259
|
+
ToastTitle: {};
|
|
260
|
+
ToastType: {
|
|
261
|
+
isTypeOnly: true;
|
|
262
|
+
};
|
|
263
|
+
ToastUpdateOptions: {
|
|
264
|
+
isTypeOnly: true;
|
|
265
|
+
};
|
|
266
|
+
ToastViewport: {};
|
|
230
267
|
Tooltip: {};
|
|
231
268
|
TooltipContent: {};
|
|
232
269
|
TooltipProvider: {};
|
|
@@ -260,6 +297,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATES
|
|
|
260
297
|
isTypeOnly: true;
|
|
261
298
|
};
|
|
262
299
|
Alert: {};
|
|
300
|
+
AlertAction: {};
|
|
263
301
|
AlertDescription: {};
|
|
264
302
|
AlertTitle: {};
|
|
265
303
|
Autocomplete: {};
|
|
@@ -289,6 +327,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATES
|
|
|
289
327
|
buttonVariants: {};
|
|
290
328
|
Calendar: {};
|
|
291
329
|
Card: {};
|
|
330
|
+
CardAction: {};
|
|
292
331
|
CardContent: {};
|
|
293
332
|
CardDescription: {};
|
|
294
333
|
CardFooter: {};
|
|
@@ -373,6 +412,12 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATES
|
|
|
373
412
|
InputGroupInput: {};
|
|
374
413
|
InputGroupText: {};
|
|
375
414
|
InputGroupTextarea: {};
|
|
415
|
+
InputOtp: {};
|
|
416
|
+
InputOtpField: {};
|
|
417
|
+
InputOtpFieldController: {};
|
|
418
|
+
InputOtpGroup: {};
|
|
419
|
+
InputOtpSeparator: {};
|
|
420
|
+
InputOtpSlot: {};
|
|
376
421
|
inputVariants: {};
|
|
377
422
|
Item: {};
|
|
378
423
|
ItemActions: {};
|
|
@@ -409,6 +454,10 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATES
|
|
|
409
454
|
NotFoundCard: {};
|
|
410
455
|
NumberField: {};
|
|
411
456
|
NumberFieldController: {};
|
|
457
|
+
PageHeader: {};
|
|
458
|
+
PageHeaderActions: {};
|
|
459
|
+
PageHeaderDescription: {};
|
|
460
|
+
PageHeaderTitle: {};
|
|
412
461
|
Popover: {};
|
|
413
462
|
PopoverContent: {};
|
|
414
463
|
PopoverTrigger: {};
|
|
@@ -418,6 +467,11 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATES
|
|
|
418
467
|
isTypeOnly: true;
|
|
419
468
|
};
|
|
420
469
|
ScrollArea: {};
|
|
470
|
+
Section: {};
|
|
471
|
+
SectionActions: {};
|
|
472
|
+
SectionDescription: {};
|
|
473
|
+
SectionHeader: {};
|
|
474
|
+
SectionTitle: {};
|
|
421
475
|
Select: {};
|
|
422
476
|
SelectField: {};
|
|
423
477
|
SelectFieldController: {};
|
|
@@ -473,7 +527,27 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATES
|
|
|
473
527
|
Textarea: {};
|
|
474
528
|
TextareaField: {};
|
|
475
529
|
TextareaFieldController: {};
|
|
530
|
+
Toast: {};
|
|
531
|
+
toast: {};
|
|
532
|
+
ToastAction: {};
|
|
533
|
+
ToastClose: {};
|
|
534
|
+
ToastContent: {};
|
|
535
|
+
ToastDescription: {};
|
|
476
536
|
Toaster: {};
|
|
537
|
+
toastManager: {};
|
|
538
|
+
ToastOptions: {
|
|
539
|
+
isTypeOnly: true;
|
|
540
|
+
};
|
|
541
|
+
ToastPortal: {};
|
|
542
|
+
ToastProvider: {};
|
|
543
|
+
ToastTitle: {};
|
|
544
|
+
ToastType: {
|
|
545
|
+
isTypeOnly: true;
|
|
546
|
+
};
|
|
547
|
+
ToastUpdateOptions: {
|
|
548
|
+
isTypeOnly: true;
|
|
549
|
+
};
|
|
550
|
+
ToastViewport: {};
|
|
477
551
|
Tooltip: {};
|
|
478
552
|
TooltipContent: {};
|
|
479
553
|
TooltipProvider: {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { graphql, readFragment } from '%graphqlImports';
|
|
3
|
-
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, InputFieldController, } from '%reactComponentsImports';
|
|
3
|
+
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, InputFieldController, toast, } from '%reactComponentsImports';
|
|
4
4
|
import { useMutation } from '@apollo/client/react';
|
|
5
5
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { useForm } from 'react-hook-form';
|
|
8
|
-
import { toast } from 'sonner';
|
|
9
8
|
import { z } from 'zod';
|
|
10
9
|
const PASSWORD_MIN_LENGTH = 8;
|
|
11
10
|
const passwordResetSchema = z
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
DialogHeader,
|
|
14
14
|
DialogTitle,
|
|
15
15
|
InputFieldController,
|
|
16
|
+
toast,
|
|
16
17
|
} from '%reactComponentsImports';
|
|
17
18
|
import { useMutation } from '@apollo/client/react';
|
|
18
19
|
import { zodResolver } from '@hookform/resolvers/zod';
|
|
19
20
|
import { useState } from 'react';
|
|
20
21
|
import { useForm } from 'react-hook-form';
|
|
21
|
-
import { toast } from 'sonner';
|
|
22
22
|
import { z } from 'zod';
|
|
23
23
|
|
|
24
24
|
const PASSWORD_MIN_LENGTH = 8;
|
|
@@ -10,6 +10,7 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
10
10
|
isTypeOnly: true;
|
|
11
11
|
};
|
|
12
12
|
Alert: {};
|
|
13
|
+
AlertAction: {};
|
|
13
14
|
AlertDescription: {};
|
|
14
15
|
AlertTitle: {};
|
|
15
16
|
Autocomplete: {};
|
|
@@ -39,6 +40,7 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
39
40
|
buttonVariants: {};
|
|
40
41
|
Calendar: {};
|
|
41
42
|
Card: {};
|
|
43
|
+
CardAction: {};
|
|
42
44
|
CardContent: {};
|
|
43
45
|
CardDescription: {};
|
|
44
46
|
CardFooter: {};
|
|
@@ -123,6 +125,12 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
123
125
|
InputGroupInput: {};
|
|
124
126
|
InputGroupText: {};
|
|
125
127
|
InputGroupTextarea: {};
|
|
128
|
+
InputOtp: {};
|
|
129
|
+
InputOtpField: {};
|
|
130
|
+
InputOtpFieldController: {};
|
|
131
|
+
InputOtpGroup: {};
|
|
132
|
+
InputOtpSeparator: {};
|
|
133
|
+
InputOtpSlot: {};
|
|
126
134
|
inputVariants: {};
|
|
127
135
|
Item: {};
|
|
128
136
|
ItemActions: {};
|
|
@@ -159,6 +167,10 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
159
167
|
NotFoundCard: {};
|
|
160
168
|
NumberField: {};
|
|
161
169
|
NumberFieldController: {};
|
|
170
|
+
PageHeader: {};
|
|
171
|
+
PageHeaderActions: {};
|
|
172
|
+
PageHeaderDescription: {};
|
|
173
|
+
PageHeaderTitle: {};
|
|
162
174
|
Popover: {};
|
|
163
175
|
PopoverContent: {};
|
|
164
176
|
PopoverTrigger: {};
|
|
@@ -168,6 +180,11 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
168
180
|
isTypeOnly: true;
|
|
169
181
|
};
|
|
170
182
|
ScrollArea: {};
|
|
183
|
+
Section: {};
|
|
184
|
+
SectionActions: {};
|
|
185
|
+
SectionDescription: {};
|
|
186
|
+
SectionHeader: {};
|
|
187
|
+
SectionTitle: {};
|
|
171
188
|
Select: {};
|
|
172
189
|
SelectField: {};
|
|
173
190
|
SelectFieldController: {};
|
|
@@ -223,7 +240,27 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
223
240
|
Textarea: {};
|
|
224
241
|
TextareaField: {};
|
|
225
242
|
TextareaFieldController: {};
|
|
243
|
+
Toast: {};
|
|
244
|
+
toast: {};
|
|
245
|
+
ToastAction: {};
|
|
246
|
+
ToastClose: {};
|
|
247
|
+
ToastContent: {};
|
|
248
|
+
ToastDescription: {};
|
|
226
249
|
Toaster: {};
|
|
250
|
+
toastManager: {};
|
|
251
|
+
ToastOptions: {
|
|
252
|
+
isTypeOnly: true;
|
|
253
|
+
};
|
|
254
|
+
ToastPortal: {};
|
|
255
|
+
ToastProvider: {};
|
|
256
|
+
ToastTitle: {};
|
|
257
|
+
ToastType: {
|
|
258
|
+
isTypeOnly: true;
|
|
259
|
+
};
|
|
260
|
+
ToastUpdateOptions: {
|
|
261
|
+
isTypeOnly: true;
|
|
262
|
+
};
|
|
263
|
+
ToastViewport: {};
|
|
227
264
|
Tooltip: {};
|
|
228
265
|
TooltipContent: {};
|
|
229
266
|
TooltipProvider: {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { adminCrudActionCompilerSpec, adminCrudColumnCompilerSpec, authConfigSpec, createPluginModule, } from '@baseplate-dev/project-builder-lib';
|
|
2
|
+
import { adminCrudInviteUserActionGenerator } from './generators/admin-crud-invite-user-action/index.js';
|
|
2
3
|
import { adminCrudManageRolesActionGenerator } from './generators/admin-crud-manage-roles-action/index.js';
|
|
3
4
|
import { adminCrudResetPasswordActionGenerator } from './generators/admin-crud-reset-password-action/index.js';
|
|
4
5
|
import { adminCrudRolesColumnGenerator } from './generators/admin-crud-roles-column/index.js';
|
|
@@ -40,6 +41,17 @@ function buildResetPasswordActionCompiler() {
|
|
|
40
41
|
},
|
|
41
42
|
};
|
|
42
43
|
}
|
|
44
|
+
function buildInviteUserActionCompiler() {
|
|
45
|
+
return {
|
|
46
|
+
name: 'invite-user',
|
|
47
|
+
compileAction(definition, { order }) {
|
|
48
|
+
return adminCrudInviteUserActionGenerator({
|
|
49
|
+
order,
|
|
50
|
+
position: definition.position,
|
|
51
|
+
});
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
}
|
|
43
55
|
export default createPluginModule({
|
|
44
56
|
name: 'node',
|
|
45
57
|
dependencies: {
|
|
@@ -50,6 +62,7 @@ export default createPluginModule({
|
|
|
50
62
|
adminCrudActionCompiler.actions.addMany([
|
|
51
63
|
buildManageRolesActionCompiler(),
|
|
52
64
|
buildResetPasswordActionCompiler(),
|
|
65
|
+
buildInviteUserActionCompiler(),
|
|
53
66
|
]);
|
|
54
67
|
adminCrudColumnCompiler.columns.add(buildRolesColumnCompiler());
|
|
55
68
|
},
|