@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @baseplate-dev/plugin-auth
|
|
2
2
|
|
|
3
|
+
## 0.6.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1035](https://github.com/halfdomelabs/baseplate/pull/1035) [`2671e93`](https://github.com/halfdomelabs/baseplate/commit/2671e9352cd5c7cdd2803a4f5475a6342b79d5f8) Thanks [@kingston](https://github.com/kingston)! - Guesses at an emailed verification code are now counted before the code is compared, so a burst of concurrent guesses can no longer exceed the code's attempt budget, and simultaneous guesses no longer surface a Prisma error or discard a code another request is still redeeming. Every validation spends an attempt, including a correct one.
|
|
8
|
+
|
|
9
|
+
- [#1048](https://github.com/halfdomelabs/baseplate/pull/1048) [`00800a2`](https://github.com/halfdomelabs/baseplate/commit/00800a222acd086f1885d24588804cdca115fb5f) Thanks [@kingston](https://github.com/kingston)! - Generated apps no longer depend on sonner: toasts come from a Base UI `toast.tsx` component that the app owns, which stacks, swipes to dismiss, announces errors assertively, and sits bottom-right instead of top-center. Code that imported `toast` from `'sonner'` should import it from the generated components instead (`@/components/ui/toast`, or the shared component library in library mode).
|
|
10
|
+
|
|
11
|
+
- [#1034](https://github.com/halfdomelabs/baseplate/pull/1034) [`902e8ae`](https://github.com/halfdomelabs/baseplate/commit/902e8ae08b9e33f7a8275fb0728ae7e77ed138d1) Thanks [@kingston](https://github.com/kingston)! - Auth now derives its signing keys from `APP_SECRET` instead of `AUTH_SECRET` and `BETTER_AUTH_SECRET`, which are no longer read and can be dropped from your environment. Upgrading signs existing users out and invalidates outstanding one-time codes.
|
|
12
|
+
|
|
13
|
+
- [#1038](https://github.com/halfdomelabs/baseplate/pull/1038) [`74ae3ed`](https://github.com/halfdomelabs/baseplate/commit/74ae3ed92144aeeb60aad7b826d98cb90053214c) Thanks [@kingston](https://github.com/kingston)! - Password reset and email verification links now point back to the app the request came from, so a reset started on the admin console emails an admin console link instead of always linking to the project's default web app; a request from an unrecognised origin still falls back to that default. Invite links are unchanged.
|
|
14
|
+
|
|
15
|
+
- [#1035](https://github.com/halfdomelabs/baseplate/pull/1035) [`2671e93`](https://github.com/halfdomelabs/baseplate/commit/2671e9352cd5c7cdd2803a4f5475a6342b79d5f8) Thanks [@kingston](https://github.com/kingston)! - Each app now carries its own public URL, and the backend reads them through `getApiUrl`, `getWebUrl` and `getWebOrigins`, so anything minting an absolute link names the client it means rather than declaring a URL setting of its own. `ALLOWED_ORIGINS` and `AUTH_FRONTEND_URL` are gone: set `API_URL` and a `WEB_URL_<APP>` per web app before upgrading, or the app will fail to start, plus `ADDITIONAL_WEB_ORIGINS` for any trusted origin that is not an app in the project.
|
|
16
|
+
|
|
17
|
+
- [#1042](https://github.com/halfdomelabs/baseplate/pull/1042) [`9c2117d`](https://github.com/halfdomelabs/baseplate/commit/9c2117d377d51a769fe8b9519045493cbe0cf3de) Thanks [@kingston](https://github.com/kingston)! - The auth hook that returns the signed-in user id is now consistently `useUserIdOrThrow` in `use-user-id-or-throw.ts` across Better Auth, local auth and placeholder auth, following Prisma's `OrThrow` naming; Better Auth apps should rename their imports of `useRequiredUserId`. Import maps for auth context, password reset and Stripe billing no longer offer symbols that the generated files stopped exporting.
|
|
18
|
+
|
|
19
|
+
- [#1036](https://github.com/halfdomelabs/baseplate/pull/1036) [`0a595f4`](https://github.com/halfdomelabs/baseplate/commit/0a595f4b730660b4ce777474316f8090c07f7415) Thanks [@kingston](https://github.com/kingston)! - Accepting an invite no longer replaces the password of an account that registered after the invite was sent; the accept-invite page now tells that user to sign in instead.
|
|
20
|
+
|
|
21
|
+
- [#1028](https://github.com/halfdomelabs/baseplate/pull/1028) [`94d84c1`](https://github.com/halfdomelabs/baseplate/commit/94d84c1ce807fe7fa55eb1f6f01515a6fea137f6) Thanks [@kingston](https://github.com/kingston)! - Signing in, signing out, and session changes from another tab no longer unmount the app, so the previous screen no longer flashes before the new one and page state survives the transition.
|
|
22
|
+
|
|
23
|
+
- [#1041](https://github.com/halfdomelabs/baseplate/pull/1041) [`5fe4f0a`](https://github.com/halfdomelabs/baseplate/commit/5fe4f0a16e41bf7f18985856380b428ab26181a3) Thanks [@kingston](https://github.com/kingston)! - Editing a component, hook, or service in a generated web app now updates the page in place instead of rebuilding the router and remounting the whole app, so your route, scroll position, and open subscriptions survive a save. Sentry is now initialised from `main.tsx` via `initSentry(router)` rather than importing the router itself.
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`4805d5a`](https://github.com/halfdomelabs/baseplate/commit/4805d5a2eb09c415c9a304d8169cf0aaa32734da), [`fc4a2b1`](https://github.com/halfdomelabs/baseplate/commit/fc4a2b1a65271daf2b7f9ba1b4d898ea22c406ab), [`9e622b6`](https://github.com/halfdomelabs/baseplate/commit/9e622b67fbe22137759aea0c3dac40ac73b99b35), [`9e622b6`](https://github.com/halfdomelabs/baseplate/commit/9e622b67fbe22137759aea0c3dac40ac73b99b35), [`9e622b6`](https://github.com/halfdomelabs/baseplate/commit/9e622b67fbe22137759aea0c3dac40ac73b99b35), [`00800a2`](https://github.com/halfdomelabs/baseplate/commit/00800a222acd086f1885d24588804cdca115fb5f), [`57e356a`](https://github.com/halfdomelabs/baseplate/commit/57e356ad50d7eac9bb58f66b4d04a11efd74d7f2), [`0a595f4`](https://github.com/halfdomelabs/baseplate/commit/0a595f4b730660b4ce777474316f8090c07f7415), [`9c2117d`](https://github.com/halfdomelabs/baseplate/commit/9c2117d377d51a769fe8b9519045493cbe0cf3de), [`2671e93`](https://github.com/halfdomelabs/baseplate/commit/2671e9352cd5c7cdd2803a4f5475a6342b79d5f8), [`daef666`](https://github.com/halfdomelabs/baseplate/commit/daef666c5710453aa3a5777976e8ba4e70025135), [`9c2117d`](https://github.com/halfdomelabs/baseplate/commit/9c2117d377d51a769fe8b9519045493cbe0cf3de), [`840dcb3`](https://github.com/halfdomelabs/baseplate/commit/840dcb37c0f10e7a1126dcc3d78550cb045c3f25), [`616d2f5`](https://github.com/halfdomelabs/baseplate/commit/616d2f5cb41a91e01b1689309a56d5b2525037dc), [`94d84c1`](https://github.com/halfdomelabs/baseplate/commit/94d84c1ce807fe7fa55eb1f6f01515a6fea137f6), [`00800a2`](https://github.com/halfdomelabs/baseplate/commit/00800a222acd086f1885d24588804cdca115fb5f), [`6a5a1bf`](https://github.com/halfdomelabs/baseplate/commit/6a5a1bfe71e75e2bce938a89d9c2860f8a9ee213), [`5fe4f0a`](https://github.com/halfdomelabs/baseplate/commit/5fe4f0a16e41bf7f18985856380b428ab26181a3), [`2299376`](https://github.com/halfdomelabs/baseplate/commit/229937646555f840597afe238470112d84592c78), [`e5c3315`](https://github.com/halfdomelabs/baseplate/commit/e5c3315615780e85914cf9ce3a95d325572d0f84)]:
|
|
26
|
+
- @baseplate-dev/fastify-generators@0.6.19
|
|
27
|
+
- @baseplate-dev/react-generators@0.6.19
|
|
28
|
+
- @baseplate-dev/ui-components@0.6.19
|
|
29
|
+
- @baseplate-dev/project-builder-lib@0.6.19
|
|
30
|
+
- @baseplate-dev/core-generators@0.6.19
|
|
31
|
+
- @baseplate-dev/plugin-email@0.6.19
|
|
32
|
+
- @baseplate-dev/sync@0.6.19
|
|
33
|
+
- @baseplate-dev/plugin-queue@0.6.19
|
|
34
|
+
- @baseplate-dev/plugin-rate-limit@0.6.19
|
|
35
|
+
- @baseplate-dev/utils@0.6.19
|
|
36
|
+
|
|
3
37
|
## 0.6.18
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -28,6 +28,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
28
28
|
isTypeOnly: true;
|
|
29
29
|
};
|
|
30
30
|
Alert: {};
|
|
31
|
+
AlertAction: {};
|
|
31
32
|
AlertDescription: {};
|
|
32
33
|
AlertTitle: {};
|
|
33
34
|
Autocomplete: {};
|
|
@@ -57,6 +58,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
57
58
|
buttonVariants: {};
|
|
58
59
|
Calendar: {};
|
|
59
60
|
Card: {};
|
|
61
|
+
CardAction: {};
|
|
60
62
|
CardContent: {};
|
|
61
63
|
CardDescription: {};
|
|
62
64
|
CardFooter: {};
|
|
@@ -183,6 +185,10 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
183
185
|
NotFoundCard: {};
|
|
184
186
|
NumberField: {};
|
|
185
187
|
NumberFieldController: {};
|
|
188
|
+
PageHeader: {};
|
|
189
|
+
PageHeaderActions: {};
|
|
190
|
+
PageHeaderDescription: {};
|
|
191
|
+
PageHeaderTitle: {};
|
|
186
192
|
Popover: {};
|
|
187
193
|
PopoverContent: {};
|
|
188
194
|
PopoverTrigger: {};
|
|
@@ -192,6 +198,11 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
192
198
|
isTypeOnly: true;
|
|
193
199
|
};
|
|
194
200
|
ScrollArea: {};
|
|
201
|
+
Section: {};
|
|
202
|
+
SectionActions: {};
|
|
203
|
+
SectionDescription: {};
|
|
204
|
+
SectionHeader: {};
|
|
205
|
+
SectionTitle: {};
|
|
195
206
|
Select: {};
|
|
196
207
|
SelectField: {};
|
|
197
208
|
SelectFieldController: {};
|
|
@@ -247,7 +258,27 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
247
258
|
Textarea: {};
|
|
248
259
|
TextareaField: {};
|
|
249
260
|
TextareaFieldController: {};
|
|
261
|
+
Toast: {};
|
|
262
|
+
toast: {};
|
|
263
|
+
ToastAction: {};
|
|
264
|
+
ToastClose: {};
|
|
265
|
+
ToastContent: {};
|
|
266
|
+
ToastDescription: {};
|
|
250
267
|
Toaster: {};
|
|
268
|
+
toastManager: {};
|
|
269
|
+
ToastOptions: {
|
|
270
|
+
isTypeOnly: true;
|
|
271
|
+
};
|
|
272
|
+
ToastPortal: {};
|
|
273
|
+
ToastProvider: {};
|
|
274
|
+
ToastTitle: {};
|
|
275
|
+
ToastType: {
|
|
276
|
+
isTypeOnly: true;
|
|
277
|
+
};
|
|
278
|
+
ToastUpdateOptions: {
|
|
279
|
+
isTypeOnly: true;
|
|
280
|
+
};
|
|
281
|
+
ToastViewport: {};
|
|
251
282
|
Tooltip: {};
|
|
252
283
|
TooltipContent: {};
|
|
253
284
|
TooltipProvider: {};
|
|
@@ -272,6 +303,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
272
303
|
isTypeOnly: true;
|
|
273
304
|
};
|
|
274
305
|
Alert: {};
|
|
306
|
+
AlertAction: {};
|
|
275
307
|
AlertDescription: {};
|
|
276
308
|
AlertTitle: {};
|
|
277
309
|
Autocomplete: {};
|
|
@@ -301,6 +333,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
301
333
|
buttonVariants: {};
|
|
302
334
|
Calendar: {};
|
|
303
335
|
Card: {};
|
|
336
|
+
CardAction: {};
|
|
304
337
|
CardContent: {};
|
|
305
338
|
CardDescription: {};
|
|
306
339
|
CardFooter: {};
|
|
@@ -427,6 +460,10 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
427
460
|
NotFoundCard: {};
|
|
428
461
|
NumberField: {};
|
|
429
462
|
NumberFieldController: {};
|
|
463
|
+
PageHeader: {};
|
|
464
|
+
PageHeaderActions: {};
|
|
465
|
+
PageHeaderDescription: {};
|
|
466
|
+
PageHeaderTitle: {};
|
|
430
467
|
Popover: {};
|
|
431
468
|
PopoverContent: {};
|
|
432
469
|
PopoverTrigger: {};
|
|
@@ -436,6 +473,11 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
436
473
|
isTypeOnly: true;
|
|
437
474
|
};
|
|
438
475
|
ScrollArea: {};
|
|
476
|
+
Section: {};
|
|
477
|
+
SectionActions: {};
|
|
478
|
+
SectionDescription: {};
|
|
479
|
+
SectionHeader: {};
|
|
480
|
+
SectionTitle: {};
|
|
439
481
|
Select: {};
|
|
440
482
|
SelectField: {};
|
|
441
483
|
SelectFieldController: {};
|
|
@@ -491,7 +533,27 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
491
533
|
Textarea: {};
|
|
492
534
|
TextareaField: {};
|
|
493
535
|
TextareaFieldController: {};
|
|
536
|
+
Toast: {};
|
|
537
|
+
toast: {};
|
|
538
|
+
ToastAction: {};
|
|
539
|
+
ToastClose: {};
|
|
540
|
+
ToastContent: {};
|
|
541
|
+
ToastDescription: {};
|
|
494
542
|
Toaster: {};
|
|
543
|
+
toastManager: {};
|
|
544
|
+
ToastOptions: {
|
|
545
|
+
isTypeOnly: true;
|
|
546
|
+
};
|
|
547
|
+
ToastPortal: {};
|
|
548
|
+
ToastProvider: {};
|
|
549
|
+
ToastTitle: {};
|
|
550
|
+
ToastType: {
|
|
551
|
+
isTypeOnly: true;
|
|
552
|
+
};
|
|
553
|
+
ToastUpdateOptions: {
|
|
554
|
+
isTypeOnly: true;
|
|
555
|
+
};
|
|
556
|
+
ToastViewport: {};
|
|
495
557
|
Tooltip: {};
|
|
496
558
|
TooltipContent: {};
|
|
497
559
|
TooltipProvider: {};
|
package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_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 BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
55
56
|
buttonVariants: {};
|
|
56
57
|
Calendar: {};
|
|
57
58
|
Card: {};
|
|
59
|
+
CardAction: {};
|
|
58
60
|
CardContent: {};
|
|
59
61
|
CardDescription: {};
|
|
60
62
|
CardFooter: {};
|
|
@@ -181,6 +183,10 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
181
183
|
NotFoundCard: {};
|
|
182
184
|
NumberField: {};
|
|
183
185
|
NumberFieldController: {};
|
|
186
|
+
PageHeader: {};
|
|
187
|
+
PageHeaderActions: {};
|
|
188
|
+
PageHeaderDescription: {};
|
|
189
|
+
PageHeaderTitle: {};
|
|
184
190
|
Popover: {};
|
|
185
191
|
PopoverContent: {};
|
|
186
192
|
PopoverTrigger: {};
|
|
@@ -190,6 +196,11 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
190
196
|
isTypeOnly: true;
|
|
191
197
|
};
|
|
192
198
|
ScrollArea: {};
|
|
199
|
+
Section: {};
|
|
200
|
+
SectionActions: {};
|
|
201
|
+
SectionDescription: {};
|
|
202
|
+
SectionHeader: {};
|
|
203
|
+
SectionTitle: {};
|
|
193
204
|
Select: {};
|
|
194
205
|
SelectField: {};
|
|
195
206
|
SelectFieldController: {};
|
|
@@ -245,7 +256,27 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
245
256
|
Textarea: {};
|
|
246
257
|
TextareaField: {};
|
|
247
258
|
TextareaFieldController: {};
|
|
259
|
+
Toast: {};
|
|
260
|
+
toast: {};
|
|
261
|
+
ToastAction: {};
|
|
262
|
+
ToastClose: {};
|
|
263
|
+
ToastContent: {};
|
|
264
|
+
ToastDescription: {};
|
|
248
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: {};
|
|
249
280
|
Tooltip: {};
|
|
250
281
|
TooltipContent: {};
|
|
251
282
|
TooltipProvider: {};
|
|
@@ -281,6 +312,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
281
312
|
isTypeOnly: true;
|
|
282
313
|
};
|
|
283
314
|
Alert: {};
|
|
315
|
+
AlertAction: {};
|
|
284
316
|
AlertDescription: {};
|
|
285
317
|
AlertTitle: {};
|
|
286
318
|
Autocomplete: {};
|
|
@@ -310,6 +342,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
310
342
|
buttonVariants: {};
|
|
311
343
|
Calendar: {};
|
|
312
344
|
Card: {};
|
|
345
|
+
CardAction: {};
|
|
313
346
|
CardContent: {};
|
|
314
347
|
CardDescription: {};
|
|
315
348
|
CardFooter: {};
|
|
@@ -436,6 +469,10 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
436
469
|
NotFoundCard: {};
|
|
437
470
|
NumberField: {};
|
|
438
471
|
NumberFieldController: {};
|
|
472
|
+
PageHeader: {};
|
|
473
|
+
PageHeaderActions: {};
|
|
474
|
+
PageHeaderDescription: {};
|
|
475
|
+
PageHeaderTitle: {};
|
|
439
476
|
Popover: {};
|
|
440
477
|
PopoverContent: {};
|
|
441
478
|
PopoverTrigger: {};
|
|
@@ -445,6 +482,11 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
445
482
|
isTypeOnly: true;
|
|
446
483
|
};
|
|
447
484
|
ScrollArea: {};
|
|
485
|
+
Section: {};
|
|
486
|
+
SectionActions: {};
|
|
487
|
+
SectionDescription: {};
|
|
488
|
+
SectionHeader: {};
|
|
489
|
+
SectionTitle: {};
|
|
448
490
|
Select: {};
|
|
449
491
|
SelectField: {};
|
|
450
492
|
SelectFieldController: {};
|
|
@@ -500,7 +542,27 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
500
542
|
Textarea: {};
|
|
501
543
|
TextareaField: {};
|
|
502
544
|
TextareaFieldController: {};
|
|
545
|
+
Toast: {};
|
|
546
|
+
toast: {};
|
|
547
|
+
ToastAction: {};
|
|
548
|
+
ToastClose: {};
|
|
549
|
+
ToastContent: {};
|
|
550
|
+
ToastDescription: {};
|
|
503
551
|
Toaster: {};
|
|
552
|
+
toastManager: {};
|
|
553
|
+
ToastOptions: {
|
|
554
|
+
isTypeOnly: true;
|
|
555
|
+
};
|
|
556
|
+
ToastPortal: {};
|
|
557
|
+
ToastProvider: {};
|
|
558
|
+
ToastTitle: {};
|
|
559
|
+
ToastType: {
|
|
560
|
+
isTypeOnly: true;
|
|
561
|
+
};
|
|
562
|
+
ToastUpdateOptions: {
|
|
563
|
+
isTypeOnly: true;
|
|
564
|
+
};
|
|
565
|
+
ToastViewport: {};
|
|
504
566
|
Tooltip: {};
|
|
505
567
|
TooltipContent: {};
|
|
506
568
|
TooltipProvider: {};
|
|
@@ -25,6 +25,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_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 BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_RENDERERS:
|
|
|
54
55
|
buttonVariants: {};
|
|
55
56
|
Calendar: {};
|
|
56
57
|
Card: {};
|
|
58
|
+
CardAction: {};
|
|
57
59
|
CardContent: {};
|
|
58
60
|
CardDescription: {};
|
|
59
61
|
CardFooter: {};
|
|
@@ -180,6 +182,10 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_RENDERERS:
|
|
|
180
182
|
NotFoundCard: {};
|
|
181
183
|
NumberField: {};
|
|
182
184
|
NumberFieldController: {};
|
|
185
|
+
PageHeader: {};
|
|
186
|
+
PageHeaderActions: {};
|
|
187
|
+
PageHeaderDescription: {};
|
|
188
|
+
PageHeaderTitle: {};
|
|
183
189
|
Popover: {};
|
|
184
190
|
PopoverContent: {};
|
|
185
191
|
PopoverTrigger: {};
|
|
@@ -189,6 +195,11 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_RENDERERS:
|
|
|
189
195
|
isTypeOnly: true;
|
|
190
196
|
};
|
|
191
197
|
ScrollArea: {};
|
|
198
|
+
Section: {};
|
|
199
|
+
SectionActions: {};
|
|
200
|
+
SectionDescription: {};
|
|
201
|
+
SectionHeader: {};
|
|
202
|
+
SectionTitle: {};
|
|
192
203
|
Select: {};
|
|
193
204
|
SelectField: {};
|
|
194
205
|
SelectFieldController: {};
|
|
@@ -244,7 +255,27 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_RENDERERS:
|
|
|
244
255
|
Textarea: {};
|
|
245
256
|
TextareaField: {};
|
|
246
257
|
TextareaFieldController: {};
|
|
258
|
+
Toast: {};
|
|
259
|
+
toast: {};
|
|
260
|
+
ToastAction: {};
|
|
261
|
+
ToastClose: {};
|
|
262
|
+
ToastContent: {};
|
|
263
|
+
ToastDescription: {};
|
|
247
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: {};
|
|
248
279
|
Tooltip: {};
|
|
249
280
|
TooltipContent: {};
|
|
250
281
|
TooltipProvider: {};
|
|
@@ -15,6 +15,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
|
|
|
15
15
|
isTypeOnly: true;
|
|
16
16
|
};
|
|
17
17
|
Alert: {};
|
|
18
|
+
AlertAction: {};
|
|
18
19
|
AlertDescription: {};
|
|
19
20
|
AlertTitle: {};
|
|
20
21
|
Autocomplete: {};
|
|
@@ -44,6 +45,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
|
|
|
44
45
|
buttonVariants: {};
|
|
45
46
|
Calendar: {};
|
|
46
47
|
Card: {};
|
|
48
|
+
CardAction: {};
|
|
47
49
|
CardContent: {};
|
|
48
50
|
CardDescription: {};
|
|
49
51
|
CardFooter: {};
|
|
@@ -170,6 +172,10 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
|
|
|
170
172
|
NotFoundCard: {};
|
|
171
173
|
NumberField: {};
|
|
172
174
|
NumberFieldController: {};
|
|
175
|
+
PageHeader: {};
|
|
176
|
+
PageHeaderActions: {};
|
|
177
|
+
PageHeaderDescription: {};
|
|
178
|
+
PageHeaderTitle: {};
|
|
173
179
|
Popover: {};
|
|
174
180
|
PopoverContent: {};
|
|
175
181
|
PopoverTrigger: {};
|
|
@@ -179,6 +185,11 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
|
|
|
179
185
|
isTypeOnly: true;
|
|
180
186
|
};
|
|
181
187
|
ScrollArea: {};
|
|
188
|
+
Section: {};
|
|
189
|
+
SectionActions: {};
|
|
190
|
+
SectionDescription: {};
|
|
191
|
+
SectionHeader: {};
|
|
192
|
+
SectionTitle: {};
|
|
182
193
|
Select: {};
|
|
183
194
|
SelectField: {};
|
|
184
195
|
SelectFieldController: {};
|
|
@@ -234,7 +245,27 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
|
|
|
234
245
|
Textarea: {};
|
|
235
246
|
TextareaField: {};
|
|
236
247
|
TextareaFieldController: {};
|
|
248
|
+
Toast: {};
|
|
249
|
+
toast: {};
|
|
250
|
+
ToastAction: {};
|
|
251
|
+
ToastClose: {};
|
|
252
|
+
ToastContent: {};
|
|
253
|
+
ToastDescription: {};
|
|
237
254
|
Toaster: {};
|
|
255
|
+
toastManager: {};
|
|
256
|
+
ToastOptions: {
|
|
257
|
+
isTypeOnly: true;
|
|
258
|
+
};
|
|
259
|
+
ToastPortal: {};
|
|
260
|
+
ToastProvider: {};
|
|
261
|
+
ToastTitle: {};
|
|
262
|
+
ToastType: {
|
|
263
|
+
isTypeOnly: true;
|
|
264
|
+
};
|
|
265
|
+
ToastUpdateOptions: {
|
|
266
|
+
isTypeOnly: true;
|
|
267
|
+
};
|
|
268
|
+
ToastViewport: {};
|
|
238
269
|
Tooltip: {};
|
|
239
270
|
TooltipContent: {};
|
|
240
271
|
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, MultiComboboxFieldController, } from '%reactComponentsImports';
|
|
3
|
+
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, MultiComboboxFieldController, 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 roleFormSchema = z.object({
|
|
11
10
|
roles: z.array(z.string()),
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
DialogHeader,
|
|
14
14
|
DialogTitle,
|
|
15
15
|
MultiComboboxFieldController,
|
|
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 roleFormSchema = z.object({
|
|
@@ -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: {};
|
|
@@ -182,6 +184,10 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
182
184
|
NotFoundCard: {};
|
|
183
185
|
NumberField: {};
|
|
184
186
|
NumberFieldController: {};
|
|
187
|
+
PageHeader: {};
|
|
188
|
+
PageHeaderActions: {};
|
|
189
|
+
PageHeaderDescription: {};
|
|
190
|
+
PageHeaderTitle: {};
|
|
185
191
|
Popover: {};
|
|
186
192
|
PopoverContent: {};
|
|
187
193
|
PopoverTrigger: {};
|
|
@@ -191,6 +197,11 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
191
197
|
isTypeOnly: true;
|
|
192
198
|
};
|
|
193
199
|
ScrollArea: {};
|
|
200
|
+
Section: {};
|
|
201
|
+
SectionActions: {};
|
|
202
|
+
SectionDescription: {};
|
|
203
|
+
SectionHeader: {};
|
|
204
|
+
SectionTitle: {};
|
|
194
205
|
Select: {};
|
|
195
206
|
SelectField: {};
|
|
196
207
|
SelectFieldController: {};
|
|
@@ -246,7 +257,27 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
246
257
|
Textarea: {};
|
|
247
258
|
TextareaField: {};
|
|
248
259
|
TextareaFieldController: {};
|
|
260
|
+
Toast: {};
|
|
261
|
+
toast: {};
|
|
262
|
+
ToastAction: {};
|
|
263
|
+
ToastClose: {};
|
|
264
|
+
ToastContent: {};
|
|
265
|
+
ToastDescription: {};
|
|
249
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: {};
|
|
250
281
|
Tooltip: {};
|
|
251
282
|
TooltipContent: {};
|
|
252
283
|
TooltipProvider: {};
|
|
@@ -271,6 +302,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
271
302
|
isTypeOnly: true;
|
|
272
303
|
};
|
|
273
304
|
Alert: {};
|
|
305
|
+
AlertAction: {};
|
|
274
306
|
AlertDescription: {};
|
|
275
307
|
AlertTitle: {};
|
|
276
308
|
Autocomplete: {};
|
|
@@ -300,6 +332,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
300
332
|
buttonVariants: {};
|
|
301
333
|
Calendar: {};
|
|
302
334
|
Card: {};
|
|
335
|
+
CardAction: {};
|
|
303
336
|
CardContent: {};
|
|
304
337
|
CardDescription: {};
|
|
305
338
|
CardFooter: {};
|
|
@@ -426,6 +459,10 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
426
459
|
NotFoundCard: {};
|
|
427
460
|
NumberField: {};
|
|
428
461
|
NumberFieldController: {};
|
|
462
|
+
PageHeader: {};
|
|
463
|
+
PageHeaderActions: {};
|
|
464
|
+
PageHeaderDescription: {};
|
|
465
|
+
PageHeaderTitle: {};
|
|
429
466
|
Popover: {};
|
|
430
467
|
PopoverContent: {};
|
|
431
468
|
PopoverTrigger: {};
|
|
@@ -435,6 +472,11 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
435
472
|
isTypeOnly: true;
|
|
436
473
|
};
|
|
437
474
|
ScrollArea: {};
|
|
475
|
+
Section: {};
|
|
476
|
+
SectionActions: {};
|
|
477
|
+
SectionDescription: {};
|
|
478
|
+
SectionHeader: {};
|
|
479
|
+
SectionTitle: {};
|
|
438
480
|
Select: {};
|
|
439
481
|
SelectField: {};
|
|
440
482
|
SelectFieldController: {};
|
|
@@ -490,7 +532,27 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
490
532
|
Textarea: {};
|
|
491
533
|
TextareaField: {};
|
|
492
534
|
TextareaFieldController: {};
|
|
535
|
+
Toast: {};
|
|
536
|
+
toast: {};
|
|
537
|
+
ToastAction: {};
|
|
538
|
+
ToastClose: {};
|
|
539
|
+
ToastContent: {};
|
|
540
|
+
ToastDescription: {};
|
|
493
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: {};
|
|
494
556
|
Tooltip: {};
|
|
495
557
|
TooltipContent: {};
|
|
496
558
|
TooltipProvider: {};
|