@baseplate-dev/plugin-auth 0.6.18 → 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 +34 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +62 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +62 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +31 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +31 -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 +62 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +62 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +31 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +62 -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 +31 -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 +31 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +186 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +31 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +310 -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 +65 -2
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +32 -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 +32 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +32 -1
- package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx +12 -3
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.d.ts +62 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.d.ts +62 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.d.ts +31 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.d.ts +31 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.js +1 -2
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.tsx +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +62 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +62 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +31 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +31 -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 +62 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +62 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +31 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +62 -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 +31 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +10 -7
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +8 -11
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +40 -13
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +9 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +6 -5
- 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 +40 -16
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +11 -8
- 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.js +17 -13
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.ts +25 -13
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +2 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +5 -3
- 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 +19 -7
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -26
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +48 -7
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +19 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +7 -3
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +28 -7
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +5 -14
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.d.ts +7 -6
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.js +23 -17
- package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.ts +25 -18
- 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 +31 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +249 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +31 -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 +310 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.js +12 -5
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.tsx +14 -4
- 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.js +4 -4
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.tsx +4 -3
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +4 -4
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +4 -3
- 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 +78 -7
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +32 -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 +90 -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 +48 -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 +7 -7
- 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__mf_owner__1-CKKmnLep.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-DUupKqD4.js} +14 -14
- package/dist/web/assets/{_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-Cx7TvZ_H.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} +198 -66
- package/dist/web/assets/{_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-D3Nvasea.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} +1 -1
- package/dist/web/assets/{_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-C2GDE8Py.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} +2517 -1545
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CiccpWjh.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} +2 -2
- package/dist/web/assets/auth-DR6QxrAW.js +1 -0
- package/dist/web/assets/{common-CoLuMS7U.js → common-BsyRiQi3.js} +6 -6
- package/dist/web/assets/{common-N3skPbzk.js → common-CRwNlCMn.js} +10 -10
- package/dist/web/assets/{common-Co5lW_TK.js → common-CvqlRZC9.js} +12 -12
- package/dist/web/assets/{common-C8_sC5pp.js → common-D3atSs7O.js} +15 -15
- package/dist/web/assets/common-DuFyXa6l.js +36 -0
- package/dist/web/assets/common-islduJTj.js +43 -0
- package/dist/web/assets/{get-auth-plugin-definition-DyokUVjX.js → get-auth-plugin-definition-BgWWHl_Y.js} +3 -3
- package/dist/web/assets/{hostInit-BCYmw0H5.js → hostInit-DNA4kLRY.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-0-3ede9334.js → mf-entry-bootstrap-0-ea77c09b.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-1-3da85eea.js → mf-entry-bootstrap-1-9dee3d8d.js} +2 -2
- package/dist/web/assets/{mf-entry-bootstrap-2-32e24e11.js → mf-entry-bootstrap-2-3179040b.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-3-a3cfea9d.js → mf-entry-bootstrap-3-370d200d.js} +2 -2
- package/dist/web/assets/{models-BcPOQC5p.js → models-BOeSYfRn.js} +4 -4
- package/dist/web/assets/{models-BcUgOGGn.js → models-DF6DoXt6.js} +4 -4
- package/dist/web/assets/{plugin-definition-D1EImXIf.js → plugin-definition--k0VAeK3.js} +9 -9
- package/dist/web/assets/{plugin-definition-lw-gB4hU.js → plugin-definition-CMwSlxsJ.js} +3 -3
- package/dist/web/assets/{styles-EOyEbGA4.js → styles-BQEcQHoR.js} +8 -8
- package/dist/web/assets/{virtualExposes-DWORnjyA.js → virtualExposes-C7fDiAmS.js} +1 -1
- package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-t-KnBiUh.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BZBRyml2.js} +3 -3
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DZfE3QCR.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-6SjVUCs8.js} +13 -13
- package/dist/web/assets/{web-kaD9AzNS.js → web-8wz0ad-V.js} +8 -8
- package/dist/web/assets/{web-EDeSquSP.js → web-BGixH_gT.js} +19 -19
- package/dist/web/assets/{web-PqAcfBSy.js → web-BxIwkN3O.js} +7 -7
- package/dist/web/assets/{web-CBVepebK.js → web-CQMfABjr.js} +19 -19
- package/dist/web/assets/{web-RhChfBw_.js → web-CcNpItSu.js} +17 -17
- package/dist/web/assets/{web-xJ-GnSkC.js → web-CypPeiVv.js} +25 -25
- package/dist/web/assets/{web-Dgb85jhs.js → web-CzK_la2_.js} +41 -41
- package/dist/web/index.html +4 -4
- package/dist/web/remoteEntry.js +1 -1
- package/package.json +12 -12
- 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/auth-CsHp2bQi.js +0 -1
- package/dist/web/assets/common-BGTuTgx7.js +0 -43
- package/dist/web/assets/common-Dueu_1NG.js +0 -36
|
@@ -14,6 +14,7 @@ export declare const mainGroup: {
|
|
|
14
14
|
isTypeOnly: true;
|
|
15
15
|
};
|
|
16
16
|
Alert: {};
|
|
17
|
+
AlertAction: {};
|
|
17
18
|
AlertDescription: {};
|
|
18
19
|
AlertTitle: {};
|
|
19
20
|
Autocomplete: {};
|
|
@@ -43,6 +44,7 @@ export declare const mainGroup: {
|
|
|
43
44
|
buttonVariants: {};
|
|
44
45
|
Calendar: {};
|
|
45
46
|
Card: {};
|
|
47
|
+
CardAction: {};
|
|
46
48
|
CardContent: {};
|
|
47
49
|
CardDescription: {};
|
|
48
50
|
CardFooter: {};
|
|
@@ -169,6 +171,10 @@ export declare const mainGroup: {
|
|
|
169
171
|
NotFoundCard: {};
|
|
170
172
|
NumberField: {};
|
|
171
173
|
NumberFieldController: {};
|
|
174
|
+
PageHeader: {};
|
|
175
|
+
PageHeaderActions: {};
|
|
176
|
+
PageHeaderDescription: {};
|
|
177
|
+
PageHeaderTitle: {};
|
|
172
178
|
Popover: {};
|
|
173
179
|
PopoverContent: {};
|
|
174
180
|
PopoverTrigger: {};
|
|
@@ -178,6 +184,11 @@ export declare const mainGroup: {
|
|
|
178
184
|
isTypeOnly: true;
|
|
179
185
|
};
|
|
180
186
|
ScrollArea: {};
|
|
187
|
+
Section: {};
|
|
188
|
+
SectionActions: {};
|
|
189
|
+
SectionDescription: {};
|
|
190
|
+
SectionHeader: {};
|
|
191
|
+
SectionTitle: {};
|
|
181
192
|
Select: {};
|
|
182
193
|
SelectField: {};
|
|
183
194
|
SelectFieldController: {};
|
|
@@ -233,7 +244,27 @@ export declare const mainGroup: {
|
|
|
233
244
|
Textarea: {};
|
|
234
245
|
TextareaField: {};
|
|
235
246
|
TextareaFieldController: {};
|
|
247
|
+
Toast: {};
|
|
248
|
+
toast: {};
|
|
249
|
+
ToastAction: {};
|
|
250
|
+
ToastClose: {};
|
|
251
|
+
ToastContent: {};
|
|
252
|
+
ToastDescription: {};
|
|
236
253
|
Toaster: {};
|
|
254
|
+
toastManager: {};
|
|
255
|
+
ToastOptions: {
|
|
256
|
+
isTypeOnly: true;
|
|
257
|
+
};
|
|
258
|
+
ToastPortal: {};
|
|
259
|
+
ToastProvider: {};
|
|
260
|
+
ToastTitle: {};
|
|
261
|
+
ToastType: {
|
|
262
|
+
isTypeOnly: true;
|
|
263
|
+
};
|
|
264
|
+
ToastUpdateOptions: {
|
|
265
|
+
isTypeOnly: true;
|
|
266
|
+
};
|
|
267
|
+
ToastViewport: {};
|
|
237
268
|
Tooltip: {};
|
|
238
269
|
TooltipContent: {};
|
|
239
270
|
TooltipProvider: {};
|
|
@@ -279,6 +310,7 @@ export declare const mainGroup: {
|
|
|
279
310
|
isTypeOnly: true;
|
|
280
311
|
};
|
|
281
312
|
Alert: {};
|
|
313
|
+
AlertAction: {};
|
|
282
314
|
AlertDescription: {};
|
|
283
315
|
AlertTitle: {};
|
|
284
316
|
Autocomplete: {};
|
|
@@ -308,6 +340,7 @@ export declare const mainGroup: {
|
|
|
308
340
|
buttonVariants: {};
|
|
309
341
|
Calendar: {};
|
|
310
342
|
Card: {};
|
|
343
|
+
CardAction: {};
|
|
311
344
|
CardContent: {};
|
|
312
345
|
CardDescription: {};
|
|
313
346
|
CardFooter: {};
|
|
@@ -434,6 +467,10 @@ export declare const mainGroup: {
|
|
|
434
467
|
NotFoundCard: {};
|
|
435
468
|
NumberField: {};
|
|
436
469
|
NumberFieldController: {};
|
|
470
|
+
PageHeader: {};
|
|
471
|
+
PageHeaderActions: {};
|
|
472
|
+
PageHeaderDescription: {};
|
|
473
|
+
PageHeaderTitle: {};
|
|
437
474
|
Popover: {};
|
|
438
475
|
PopoverContent: {};
|
|
439
476
|
PopoverTrigger: {};
|
|
@@ -443,6 +480,11 @@ export declare const mainGroup: {
|
|
|
443
480
|
isTypeOnly: true;
|
|
444
481
|
};
|
|
445
482
|
ScrollArea: {};
|
|
483
|
+
Section: {};
|
|
484
|
+
SectionActions: {};
|
|
485
|
+
SectionDescription: {};
|
|
486
|
+
SectionHeader: {};
|
|
487
|
+
SectionTitle: {};
|
|
446
488
|
Select: {};
|
|
447
489
|
SelectField: {};
|
|
448
490
|
SelectFieldController: {};
|
|
@@ -498,7 +540,27 @@ export declare const mainGroup: {
|
|
|
498
540
|
Textarea: {};
|
|
499
541
|
TextareaField: {};
|
|
500
542
|
TextareaFieldController: {};
|
|
543
|
+
Toast: {};
|
|
544
|
+
toast: {};
|
|
545
|
+
ToastAction: {};
|
|
546
|
+
ToastClose: {};
|
|
547
|
+
ToastContent: {};
|
|
548
|
+
ToastDescription: {};
|
|
501
549
|
Toaster: {};
|
|
550
|
+
toastManager: {};
|
|
551
|
+
ToastOptions: {
|
|
552
|
+
isTypeOnly: true;
|
|
553
|
+
};
|
|
554
|
+
ToastPortal: {};
|
|
555
|
+
ToastProvider: {};
|
|
556
|
+
ToastTitle: {};
|
|
557
|
+
ToastType: {
|
|
558
|
+
isTypeOnly: true;
|
|
559
|
+
};
|
|
560
|
+
ToastUpdateOptions: {
|
|
561
|
+
isTypeOnly: true;
|
|
562
|
+
};
|
|
563
|
+
ToastViewport: {};
|
|
502
564
|
Tooltip: {};
|
|
503
565
|
TooltipContent: {};
|
|
504
566
|
TooltipProvider: {};
|
|
@@ -545,6 +607,7 @@ export declare const mainGroup: {
|
|
|
545
607
|
isTypeOnly: true;
|
|
546
608
|
};
|
|
547
609
|
Alert: {};
|
|
610
|
+
AlertAction: {};
|
|
548
611
|
AlertDescription: {};
|
|
549
612
|
AlertTitle: {};
|
|
550
613
|
Autocomplete: {};
|
|
@@ -574,6 +637,7 @@ export declare const mainGroup: {
|
|
|
574
637
|
buttonVariants: {};
|
|
575
638
|
Calendar: {};
|
|
576
639
|
Card: {};
|
|
640
|
+
CardAction: {};
|
|
577
641
|
CardContent: {};
|
|
578
642
|
CardDescription: {};
|
|
579
643
|
CardFooter: {};
|
|
@@ -700,6 +764,10 @@ export declare const mainGroup: {
|
|
|
700
764
|
NotFoundCard: {};
|
|
701
765
|
NumberField: {};
|
|
702
766
|
NumberFieldController: {};
|
|
767
|
+
PageHeader: {};
|
|
768
|
+
PageHeaderActions: {};
|
|
769
|
+
PageHeaderDescription: {};
|
|
770
|
+
PageHeaderTitle: {};
|
|
703
771
|
Popover: {};
|
|
704
772
|
PopoverContent: {};
|
|
705
773
|
PopoverTrigger: {};
|
|
@@ -709,6 +777,11 @@ export declare const mainGroup: {
|
|
|
709
777
|
isTypeOnly: true;
|
|
710
778
|
};
|
|
711
779
|
ScrollArea: {};
|
|
780
|
+
Section: {};
|
|
781
|
+
SectionActions: {};
|
|
782
|
+
SectionDescription: {};
|
|
783
|
+
SectionHeader: {};
|
|
784
|
+
SectionTitle: {};
|
|
712
785
|
Select: {};
|
|
713
786
|
SelectField: {};
|
|
714
787
|
SelectFieldController: {};
|
|
@@ -764,7 +837,27 @@ export declare const mainGroup: {
|
|
|
764
837
|
Textarea: {};
|
|
765
838
|
TextareaField: {};
|
|
766
839
|
TextareaFieldController: {};
|
|
840
|
+
Toast: {};
|
|
841
|
+
toast: {};
|
|
842
|
+
ToastAction: {};
|
|
843
|
+
ToastClose: {};
|
|
844
|
+
ToastContent: {};
|
|
845
|
+
ToastDescription: {};
|
|
767
846
|
Toaster: {};
|
|
847
|
+
toastManager: {};
|
|
848
|
+
ToastOptions: {
|
|
849
|
+
isTypeOnly: true;
|
|
850
|
+
};
|
|
851
|
+
ToastPortal: {};
|
|
852
|
+
ToastProvider: {};
|
|
853
|
+
ToastTitle: {};
|
|
854
|
+
ToastType: {
|
|
855
|
+
isTypeOnly: true;
|
|
856
|
+
};
|
|
857
|
+
ToastUpdateOptions: {
|
|
858
|
+
isTypeOnly: true;
|
|
859
|
+
};
|
|
860
|
+
ToastViewport: {};
|
|
768
861
|
Tooltip: {};
|
|
769
862
|
TooltipContent: {};
|
|
770
863
|
TooltipProvider: {};
|
|
@@ -810,6 +903,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
810
903
|
isTypeOnly: true;
|
|
811
904
|
};
|
|
812
905
|
Alert: {};
|
|
906
|
+
AlertAction: {};
|
|
813
907
|
AlertDescription: {};
|
|
814
908
|
AlertTitle: {};
|
|
815
909
|
Autocomplete: {};
|
|
@@ -839,6 +933,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
839
933
|
buttonVariants: {};
|
|
840
934
|
Calendar: {};
|
|
841
935
|
Card: {};
|
|
936
|
+
CardAction: {};
|
|
842
937
|
CardContent: {};
|
|
843
938
|
CardDescription: {};
|
|
844
939
|
CardFooter: {};
|
|
@@ -965,6 +1060,10 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
965
1060
|
NotFoundCard: {};
|
|
966
1061
|
NumberField: {};
|
|
967
1062
|
NumberFieldController: {};
|
|
1063
|
+
PageHeader: {};
|
|
1064
|
+
PageHeaderActions: {};
|
|
1065
|
+
PageHeaderDescription: {};
|
|
1066
|
+
PageHeaderTitle: {};
|
|
968
1067
|
Popover: {};
|
|
969
1068
|
PopoverContent: {};
|
|
970
1069
|
PopoverTrigger: {};
|
|
@@ -974,6 +1073,11 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
974
1073
|
isTypeOnly: true;
|
|
975
1074
|
};
|
|
976
1075
|
ScrollArea: {};
|
|
1076
|
+
Section: {};
|
|
1077
|
+
SectionActions: {};
|
|
1078
|
+
SectionDescription: {};
|
|
1079
|
+
SectionHeader: {};
|
|
1080
|
+
SectionTitle: {};
|
|
977
1081
|
Select: {};
|
|
978
1082
|
SelectField: {};
|
|
979
1083
|
SelectFieldController: {};
|
|
@@ -1029,7 +1133,27 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1029
1133
|
Textarea: {};
|
|
1030
1134
|
TextareaField: {};
|
|
1031
1135
|
TextareaFieldController: {};
|
|
1136
|
+
Toast: {};
|
|
1137
|
+
toast: {};
|
|
1138
|
+
ToastAction: {};
|
|
1139
|
+
ToastClose: {};
|
|
1140
|
+
ToastContent: {};
|
|
1141
|
+
ToastDescription: {};
|
|
1032
1142
|
Toaster: {};
|
|
1143
|
+
toastManager: {};
|
|
1144
|
+
ToastOptions: {
|
|
1145
|
+
isTypeOnly: true;
|
|
1146
|
+
};
|
|
1147
|
+
ToastPortal: {};
|
|
1148
|
+
ToastProvider: {};
|
|
1149
|
+
ToastTitle: {};
|
|
1150
|
+
ToastType: {
|
|
1151
|
+
isTypeOnly: true;
|
|
1152
|
+
};
|
|
1153
|
+
ToastUpdateOptions: {
|
|
1154
|
+
isTypeOnly: true;
|
|
1155
|
+
};
|
|
1156
|
+
ToastViewport: {};
|
|
1033
1157
|
Tooltip: {};
|
|
1034
1158
|
TooltipContent: {};
|
|
1035
1159
|
TooltipProvider: {};
|
|
@@ -1076,6 +1200,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1076
1200
|
isTypeOnly: true;
|
|
1077
1201
|
};
|
|
1078
1202
|
Alert: {};
|
|
1203
|
+
AlertAction: {};
|
|
1079
1204
|
AlertDescription: {};
|
|
1080
1205
|
AlertTitle: {};
|
|
1081
1206
|
Autocomplete: {};
|
|
@@ -1105,6 +1230,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1105
1230
|
buttonVariants: {};
|
|
1106
1231
|
Calendar: {};
|
|
1107
1232
|
Card: {};
|
|
1233
|
+
CardAction: {};
|
|
1108
1234
|
CardContent: {};
|
|
1109
1235
|
CardDescription: {};
|
|
1110
1236
|
CardFooter: {};
|
|
@@ -1231,6 +1357,10 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1231
1357
|
NotFoundCard: {};
|
|
1232
1358
|
NumberField: {};
|
|
1233
1359
|
NumberFieldController: {};
|
|
1360
|
+
PageHeader: {};
|
|
1361
|
+
PageHeaderActions: {};
|
|
1362
|
+
PageHeaderDescription: {};
|
|
1363
|
+
PageHeaderTitle: {};
|
|
1234
1364
|
Popover: {};
|
|
1235
1365
|
PopoverContent: {};
|
|
1236
1366
|
PopoverTrigger: {};
|
|
@@ -1240,6 +1370,11 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1240
1370
|
isTypeOnly: true;
|
|
1241
1371
|
};
|
|
1242
1372
|
ScrollArea: {};
|
|
1373
|
+
Section: {};
|
|
1374
|
+
SectionActions: {};
|
|
1375
|
+
SectionDescription: {};
|
|
1376
|
+
SectionHeader: {};
|
|
1377
|
+
SectionTitle: {};
|
|
1243
1378
|
Select: {};
|
|
1244
1379
|
SelectField: {};
|
|
1245
1380
|
SelectFieldController: {};
|
|
@@ -1295,7 +1430,27 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1295
1430
|
Textarea: {};
|
|
1296
1431
|
TextareaField: {};
|
|
1297
1432
|
TextareaFieldController: {};
|
|
1433
|
+
Toast: {};
|
|
1434
|
+
toast: {};
|
|
1435
|
+
ToastAction: {};
|
|
1436
|
+
ToastClose: {};
|
|
1437
|
+
ToastContent: {};
|
|
1438
|
+
ToastDescription: {};
|
|
1298
1439
|
Toaster: {};
|
|
1440
|
+
toastManager: {};
|
|
1441
|
+
ToastOptions: {
|
|
1442
|
+
isTypeOnly: true;
|
|
1443
|
+
};
|
|
1444
|
+
ToastPortal: {};
|
|
1445
|
+
ToastProvider: {};
|
|
1446
|
+
ToastTitle: {};
|
|
1447
|
+
ToastType: {
|
|
1448
|
+
isTypeOnly: true;
|
|
1449
|
+
};
|
|
1450
|
+
ToastUpdateOptions: {
|
|
1451
|
+
isTypeOnly: true;
|
|
1452
|
+
};
|
|
1453
|
+
ToastViewport: {};
|
|
1299
1454
|
Tooltip: {};
|
|
1300
1455
|
TooltipContent: {};
|
|
1301
1456
|
TooltipProvider: {};
|
|
@@ -1339,6 +1494,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1339
1494
|
isTypeOnly: true;
|
|
1340
1495
|
};
|
|
1341
1496
|
Alert: {};
|
|
1497
|
+
AlertAction: {};
|
|
1342
1498
|
AlertDescription: {};
|
|
1343
1499
|
AlertTitle: {};
|
|
1344
1500
|
Autocomplete: {};
|
|
@@ -1368,6 +1524,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1368
1524
|
buttonVariants: {};
|
|
1369
1525
|
Calendar: {};
|
|
1370
1526
|
Card: {};
|
|
1527
|
+
CardAction: {};
|
|
1371
1528
|
CardContent: {};
|
|
1372
1529
|
CardDescription: {};
|
|
1373
1530
|
CardFooter: {};
|
|
@@ -1494,6 +1651,10 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1494
1651
|
NotFoundCard: {};
|
|
1495
1652
|
NumberField: {};
|
|
1496
1653
|
NumberFieldController: {};
|
|
1654
|
+
PageHeader: {};
|
|
1655
|
+
PageHeaderActions: {};
|
|
1656
|
+
PageHeaderDescription: {};
|
|
1657
|
+
PageHeaderTitle: {};
|
|
1497
1658
|
Popover: {};
|
|
1498
1659
|
PopoverContent: {};
|
|
1499
1660
|
PopoverTrigger: {};
|
|
@@ -1503,6 +1664,11 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1503
1664
|
isTypeOnly: true;
|
|
1504
1665
|
};
|
|
1505
1666
|
ScrollArea: {};
|
|
1667
|
+
Section: {};
|
|
1668
|
+
SectionActions: {};
|
|
1669
|
+
SectionDescription: {};
|
|
1670
|
+
SectionHeader: {};
|
|
1671
|
+
SectionTitle: {};
|
|
1506
1672
|
Select: {};
|
|
1507
1673
|
SelectField: {};
|
|
1508
1674
|
SelectFieldController: {};
|
|
@@ -1558,7 +1724,27 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1558
1724
|
Textarea: {};
|
|
1559
1725
|
TextareaField: {};
|
|
1560
1726
|
TextareaFieldController: {};
|
|
1727
|
+
Toast: {};
|
|
1728
|
+
toast: {};
|
|
1729
|
+
ToastAction: {};
|
|
1730
|
+
ToastClose: {};
|
|
1731
|
+
ToastContent: {};
|
|
1732
|
+
ToastDescription: {};
|
|
1561
1733
|
Toaster: {};
|
|
1734
|
+
toastManager: {};
|
|
1735
|
+
ToastOptions: {
|
|
1736
|
+
isTypeOnly: true;
|
|
1737
|
+
};
|
|
1738
|
+
ToastPortal: {};
|
|
1739
|
+
ToastProvider: {};
|
|
1740
|
+
ToastTitle: {};
|
|
1741
|
+
ToastType: {
|
|
1742
|
+
isTypeOnly: true;
|
|
1743
|
+
};
|
|
1744
|
+
ToastUpdateOptions: {
|
|
1745
|
+
isTypeOnly: true;
|
|
1746
|
+
};
|
|
1747
|
+
ToastViewport: {};
|
|
1562
1748
|
Tooltip: {};
|
|
1563
1749
|
TooltipContent: {};
|
|
1564
1750
|
TooltipProvider: {};
|
|
@@ -1604,6 +1790,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1604
1790
|
isTypeOnly: true;
|
|
1605
1791
|
};
|
|
1606
1792
|
Alert: {};
|
|
1793
|
+
AlertAction: {};
|
|
1607
1794
|
AlertDescription: {};
|
|
1608
1795
|
AlertTitle: {};
|
|
1609
1796
|
Autocomplete: {};
|
|
@@ -1633,6 +1820,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1633
1820
|
buttonVariants: {};
|
|
1634
1821
|
Calendar: {};
|
|
1635
1822
|
Card: {};
|
|
1823
|
+
CardAction: {};
|
|
1636
1824
|
CardContent: {};
|
|
1637
1825
|
CardDescription: {};
|
|
1638
1826
|
CardFooter: {};
|
|
@@ -1759,6 +1947,10 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1759
1947
|
NotFoundCard: {};
|
|
1760
1948
|
NumberField: {};
|
|
1761
1949
|
NumberFieldController: {};
|
|
1950
|
+
PageHeader: {};
|
|
1951
|
+
PageHeaderActions: {};
|
|
1952
|
+
PageHeaderDescription: {};
|
|
1953
|
+
PageHeaderTitle: {};
|
|
1762
1954
|
Popover: {};
|
|
1763
1955
|
PopoverContent: {};
|
|
1764
1956
|
PopoverTrigger: {};
|
|
@@ -1768,6 +1960,11 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1768
1960
|
isTypeOnly: true;
|
|
1769
1961
|
};
|
|
1770
1962
|
ScrollArea: {};
|
|
1963
|
+
Section: {};
|
|
1964
|
+
SectionActions: {};
|
|
1965
|
+
SectionDescription: {};
|
|
1966
|
+
SectionHeader: {};
|
|
1967
|
+
SectionTitle: {};
|
|
1771
1968
|
Select: {};
|
|
1772
1969
|
SelectField: {};
|
|
1773
1970
|
SelectFieldController: {};
|
|
@@ -1823,7 +2020,27 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1823
2020
|
Textarea: {};
|
|
1824
2021
|
TextareaField: {};
|
|
1825
2022
|
TextareaFieldController: {};
|
|
2023
|
+
Toast: {};
|
|
2024
|
+
toast: {};
|
|
2025
|
+
ToastAction: {};
|
|
2026
|
+
ToastClose: {};
|
|
2027
|
+
ToastContent: {};
|
|
2028
|
+
ToastDescription: {};
|
|
1826
2029
|
Toaster: {};
|
|
2030
|
+
toastManager: {};
|
|
2031
|
+
ToastOptions: {
|
|
2032
|
+
isTypeOnly: true;
|
|
2033
|
+
};
|
|
2034
|
+
ToastPortal: {};
|
|
2035
|
+
ToastProvider: {};
|
|
2036
|
+
ToastTitle: {};
|
|
2037
|
+
ToastType: {
|
|
2038
|
+
isTypeOnly: true;
|
|
2039
|
+
};
|
|
2040
|
+
ToastUpdateOptions: {
|
|
2041
|
+
isTypeOnly: true;
|
|
2042
|
+
};
|
|
2043
|
+
ToastViewport: {};
|
|
1827
2044
|
Tooltip: {};
|
|
1828
2045
|
TooltipContent: {};
|
|
1829
2046
|
TooltipProvider: {};
|
|
@@ -1870,6 +2087,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1870
2087
|
isTypeOnly: true;
|
|
1871
2088
|
};
|
|
1872
2089
|
Alert: {};
|
|
2090
|
+
AlertAction: {};
|
|
1873
2091
|
AlertDescription: {};
|
|
1874
2092
|
AlertTitle: {};
|
|
1875
2093
|
Autocomplete: {};
|
|
@@ -1899,6 +2117,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
1899
2117
|
buttonVariants: {};
|
|
1900
2118
|
Calendar: {};
|
|
1901
2119
|
Card: {};
|
|
2120
|
+
CardAction: {};
|
|
1902
2121
|
CardContent: {};
|
|
1903
2122
|
CardDescription: {};
|
|
1904
2123
|
CardFooter: {};
|
|
@@ -2025,6 +2244,10 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2025
2244
|
NotFoundCard: {};
|
|
2026
2245
|
NumberField: {};
|
|
2027
2246
|
NumberFieldController: {};
|
|
2247
|
+
PageHeader: {};
|
|
2248
|
+
PageHeaderActions: {};
|
|
2249
|
+
PageHeaderDescription: {};
|
|
2250
|
+
PageHeaderTitle: {};
|
|
2028
2251
|
Popover: {};
|
|
2029
2252
|
PopoverContent: {};
|
|
2030
2253
|
PopoverTrigger: {};
|
|
@@ -2034,6 +2257,11 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2034
2257
|
isTypeOnly: true;
|
|
2035
2258
|
};
|
|
2036
2259
|
ScrollArea: {};
|
|
2260
|
+
Section: {};
|
|
2261
|
+
SectionActions: {};
|
|
2262
|
+
SectionDescription: {};
|
|
2263
|
+
SectionHeader: {};
|
|
2264
|
+
SectionTitle: {};
|
|
2037
2265
|
Select: {};
|
|
2038
2266
|
SelectField: {};
|
|
2039
2267
|
SelectFieldController: {};
|
|
@@ -2089,7 +2317,27 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2089
2317
|
Textarea: {};
|
|
2090
2318
|
TextareaField: {};
|
|
2091
2319
|
TextareaFieldController: {};
|
|
2320
|
+
Toast: {};
|
|
2321
|
+
toast: {};
|
|
2322
|
+
ToastAction: {};
|
|
2323
|
+
ToastClose: {};
|
|
2324
|
+
ToastContent: {};
|
|
2325
|
+
ToastDescription: {};
|
|
2092
2326
|
Toaster: {};
|
|
2327
|
+
toastManager: {};
|
|
2328
|
+
ToastOptions: {
|
|
2329
|
+
isTypeOnly: true;
|
|
2330
|
+
};
|
|
2331
|
+
ToastPortal: {};
|
|
2332
|
+
ToastProvider: {};
|
|
2333
|
+
ToastTitle: {};
|
|
2334
|
+
ToastType: {
|
|
2335
|
+
isTypeOnly: true;
|
|
2336
|
+
};
|
|
2337
|
+
ToastUpdateOptions: {
|
|
2338
|
+
isTypeOnly: true;
|
|
2339
|
+
};
|
|
2340
|
+
ToastViewport: {};
|
|
2093
2341
|
Tooltip: {};
|
|
2094
2342
|
TooltipContent: {};
|
|
2095
2343
|
TooltipProvider: {};
|
|
@@ -2139,6 +2387,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2139
2387
|
isTypeOnly: true;
|
|
2140
2388
|
};
|
|
2141
2389
|
Alert: {};
|
|
2390
|
+
AlertAction: {};
|
|
2142
2391
|
AlertDescription: {};
|
|
2143
2392
|
AlertTitle: {};
|
|
2144
2393
|
Autocomplete: {};
|
|
@@ -2168,6 +2417,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2168
2417
|
buttonVariants: {};
|
|
2169
2418
|
Calendar: {};
|
|
2170
2419
|
Card: {};
|
|
2420
|
+
CardAction: {};
|
|
2171
2421
|
CardContent: {};
|
|
2172
2422
|
CardDescription: {};
|
|
2173
2423
|
CardFooter: {};
|
|
@@ -2294,6 +2544,10 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2294
2544
|
NotFoundCard: {};
|
|
2295
2545
|
NumberField: {};
|
|
2296
2546
|
NumberFieldController: {};
|
|
2547
|
+
PageHeader: {};
|
|
2548
|
+
PageHeaderActions: {};
|
|
2549
|
+
PageHeaderDescription: {};
|
|
2550
|
+
PageHeaderTitle: {};
|
|
2297
2551
|
Popover: {};
|
|
2298
2552
|
PopoverContent: {};
|
|
2299
2553
|
PopoverTrigger: {};
|
|
@@ -2303,6 +2557,11 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2303
2557
|
isTypeOnly: true;
|
|
2304
2558
|
};
|
|
2305
2559
|
ScrollArea: {};
|
|
2560
|
+
Section: {};
|
|
2561
|
+
SectionActions: {};
|
|
2562
|
+
SectionDescription: {};
|
|
2563
|
+
SectionHeader: {};
|
|
2564
|
+
SectionTitle: {};
|
|
2306
2565
|
Select: {};
|
|
2307
2566
|
SelectField: {};
|
|
2308
2567
|
SelectFieldController: {};
|
|
@@ -2358,7 +2617,27 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2358
2617
|
Textarea: {};
|
|
2359
2618
|
TextareaField: {};
|
|
2360
2619
|
TextareaFieldController: {};
|
|
2620
|
+
Toast: {};
|
|
2621
|
+
toast: {};
|
|
2622
|
+
ToastAction: {};
|
|
2623
|
+
ToastClose: {};
|
|
2624
|
+
ToastContent: {};
|
|
2625
|
+
ToastDescription: {};
|
|
2361
2626
|
Toaster: {};
|
|
2627
|
+
toastManager: {};
|
|
2628
|
+
ToastOptions: {
|
|
2629
|
+
isTypeOnly: true;
|
|
2630
|
+
};
|
|
2631
|
+
ToastPortal: {};
|
|
2632
|
+
ToastProvider: {};
|
|
2633
|
+
ToastTitle: {};
|
|
2634
|
+
ToastType: {
|
|
2635
|
+
isTypeOnly: true;
|
|
2636
|
+
};
|
|
2637
|
+
ToastUpdateOptions: {
|
|
2638
|
+
isTypeOnly: true;
|
|
2639
|
+
};
|
|
2640
|
+
ToastViewport: {};
|
|
2362
2641
|
Tooltip: {};
|
|
2363
2642
|
TooltipContent: {};
|
|
2364
2643
|
TooltipProvider: {};
|
|
@@ -2403,6 +2682,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2403
2682
|
isTypeOnly: true;
|
|
2404
2683
|
};
|
|
2405
2684
|
Alert: {};
|
|
2685
|
+
AlertAction: {};
|
|
2406
2686
|
AlertDescription: {};
|
|
2407
2687
|
AlertTitle: {};
|
|
2408
2688
|
Autocomplete: {};
|
|
@@ -2432,6 +2712,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2432
2712
|
buttonVariants: {};
|
|
2433
2713
|
Calendar: {};
|
|
2434
2714
|
Card: {};
|
|
2715
|
+
CardAction: {};
|
|
2435
2716
|
CardContent: {};
|
|
2436
2717
|
CardDescription: {};
|
|
2437
2718
|
CardFooter: {};
|
|
@@ -2558,6 +2839,10 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2558
2839
|
NotFoundCard: {};
|
|
2559
2840
|
NumberField: {};
|
|
2560
2841
|
NumberFieldController: {};
|
|
2842
|
+
PageHeader: {};
|
|
2843
|
+
PageHeaderActions: {};
|
|
2844
|
+
PageHeaderDescription: {};
|
|
2845
|
+
PageHeaderTitle: {};
|
|
2561
2846
|
Popover: {};
|
|
2562
2847
|
PopoverContent: {};
|
|
2563
2848
|
PopoverTrigger: {};
|
|
@@ -2567,6 +2852,11 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2567
2852
|
isTypeOnly: true;
|
|
2568
2853
|
};
|
|
2569
2854
|
ScrollArea: {};
|
|
2855
|
+
Section: {};
|
|
2856
|
+
SectionActions: {};
|
|
2857
|
+
SectionDescription: {};
|
|
2858
|
+
SectionHeader: {};
|
|
2859
|
+
SectionTitle: {};
|
|
2570
2860
|
Select: {};
|
|
2571
2861
|
SelectField: {};
|
|
2572
2862
|
SelectFieldController: {};
|
|
@@ -2622,7 +2912,27 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
2622
2912
|
Textarea: {};
|
|
2623
2913
|
TextareaField: {};
|
|
2624
2914
|
TextareaFieldController: {};
|
|
2915
|
+
Toast: {};
|
|
2916
|
+
toast: {};
|
|
2917
|
+
ToastAction: {};
|
|
2918
|
+
ToastClose: {};
|
|
2919
|
+
ToastContent: {};
|
|
2920
|
+
ToastDescription: {};
|
|
2625
2921
|
Toaster: {};
|
|
2922
|
+
toastManager: {};
|
|
2923
|
+
ToastOptions: {
|
|
2924
|
+
isTypeOnly: true;
|
|
2925
|
+
};
|
|
2926
|
+
ToastPortal: {};
|
|
2927
|
+
ToastProvider: {};
|
|
2928
|
+
ToastTitle: {};
|
|
2929
|
+
ToastType: {
|
|
2930
|
+
isTypeOnly: true;
|
|
2931
|
+
};
|
|
2932
|
+
ToastUpdateOptions: {
|
|
2933
|
+
isTypeOnly: true;
|
|
2934
|
+
};
|
|
2935
|
+
ToastViewport: {};
|
|
2626
2936
|
Tooltip: {};
|
|
2627
2937
|
TooltipContent: {};
|
|
2628
2938
|
TooltipProvider: {};
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { PASSWORD_MAX_LENGTH, PASSWORD_MIN_LENGTH } from '$constants';
|
|
4
4
|
import { getApolloErrorCode } from '%apolloErrorImports';
|
|
5
5
|
import { graphql } from '%graphqlImports';
|
|
6
|
-
import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, InputFieldController, } from '%reactComponentsImports';
|
|
6
|
+
import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, InputFieldController, toast, } from '%reactComponentsImports';
|
|
7
7
|
import { logAndFormatError, logError } from '%reactErrorImports';
|
|
8
8
|
import { userSessionClient } from '%reactSessionImports';
|
|
9
9
|
import { useMutation } from '@apollo/client/react';
|
|
@@ -11,7 +11,6 @@ import { zodResolver } from '@hookform/resolvers/zod';
|
|
|
11
11
|
import { createFileRoute, Link, redirect, useNavigate, } from '@tanstack/react-router';
|
|
12
12
|
import { useCallback, useEffect, useState } from 'react';
|
|
13
13
|
import { useForm } from 'react-hook-form';
|
|
14
|
-
import { toast } from 'sonner';
|
|
15
14
|
import { z } from 'zod';
|
|
16
15
|
export const Route = createFileRoute('/auth_/accept-invite')({
|
|
17
16
|
validateSearch: z.object({
|
|
@@ -51,6 +50,7 @@ const acceptInviteMutation = graphql(`
|
|
|
51
50
|
acceptInvite(input: $input) {
|
|
52
51
|
session {
|
|
53
52
|
userId
|
|
53
|
+
roles
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -111,17 +111,24 @@ function AcceptInvitePage() {
|
|
|
111
111
|
if (!data) {
|
|
112
112
|
throw new Error('No data returned from accept invite mutation');
|
|
113
113
|
}
|
|
114
|
-
const { userId } = data.acceptInvite.session;
|
|
115
|
-
userSessionClient.signIn(userId);
|
|
114
|
+
const { userId, roles } = data.acceptInvite.session;
|
|
115
|
+
userSessionClient.signIn(userId, roles);
|
|
116
116
|
navigate({ to: '/', replace: true }).catch(logError);
|
|
117
117
|
})
|
|
118
118
|
.catch((err) => {
|
|
119
|
-
const errorCode = getApolloErrorCode(err, [
|
|
119
|
+
const errorCode = getApolloErrorCode(err, [
|
|
120
|
+
'invalid-token',
|
|
121
|
+
'user-already-has-account',
|
|
122
|
+
]);
|
|
120
123
|
switch (errorCode) {
|
|
121
124
|
case 'invalid-token': {
|
|
122
125
|
setTokenValid(false);
|
|
123
126
|
break;
|
|
124
127
|
}
|
|
128
|
+
case 'user-already-has-account': {
|
|
129
|
+
toast.error('You already have a password set. Please sign in instead.');
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
125
132
|
case null: {
|
|
126
133
|
toast.error(logAndFormatError(err, 'Sorry, we could not accept your invite.'));
|
|
127
134
|
}
|