@baseplate-dev/plugin-auth 0.6.18 → 0.6.20
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 +50 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +64 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +64 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +32 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +32 -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 +64 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +64 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +32 -0
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +64 -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 +32 -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 +32 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +192 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +32 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +320 -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 +67 -2
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +33 -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 +33 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +33 -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 +64 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.d.ts +64 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.d.ts +32 -0
- package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.d.ts +32 -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 +64 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +64 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +32 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +32 -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 +64 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +64 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +32 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +64 -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 +32 -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 +273 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +549 -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 +272 -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 +550 -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 +32 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +257 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +32 -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 +320 -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 +80 -7
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +33 -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 +92 -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 +49 -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-Ckrp2j8j.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-aFLESEyS.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-tY6BN-tn.js} +2844 -1738
- 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-R9lCFRaW.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-CGEb3Tbe.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-0-3ede9334.js → mf-entry-bootstrap-0-ed392701.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-1-3da85eea.js → mf-entry-bootstrap-1-e2d80a25.js} +2 -2
- package/dist/web/assets/{mf-entry-bootstrap-2-32e24e11.js → mf-entry-bootstrap-2-ea90e6fe.js} +1 -1
- package/dist/web/assets/{mf-entry-bootstrap-3-a3cfea9d.js → mf-entry-bootstrap-3-5268230e.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-DZYLavnA.js} +8 -8
- package/dist/web/assets/{virtualExposes-DWORnjyA.js → virtualExposes-DnIi4GOx.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-rNmzkDAw.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-E86pU-VB.js} +13 -13
- package/dist/web/assets/{web-Dgb85jhs.js → web-BKsbE-x8.js} +41 -41
- package/dist/web/assets/{web-xJ-GnSkC.js → web-BNZ-0TYy.js} +25 -25
- package/dist/web/assets/{web-kaD9AzNS.js → web-C6j3Z4Pi.js} +8 -8
- package/dist/web/assets/{web-CBVepebK.js → web-DPZssHx1.js} +19 -19
- package/dist/web/assets/{web-PqAcfBSy.js → web-DiHdy5Ov.js} +7 -7
- package/dist/web/assets/{web-EDeSquSP.js → web-RWlatCpa.js} +19 -19
- package/dist/web/assets/{web-RhChfBw_.js → web-f-cndKO0.js} +17 -17
- package/dist/web/index.html +4 -4
- package/dist/web/remoteEntry.js +1 -1
- package/package.json +13 -13
- 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,55 @@
|
|
|
1
1
|
# @baseplate-dev/plugin-auth
|
|
2
2
|
|
|
3
|
+
## 0.6.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`a46af22`](https://github.com/halfdomelabs/baseplate/commit/a46af223affa4b970a2f67f19cccea2db3e267a4), [`e4d40c9`](https://github.com/halfdomelabs/baseplate/commit/e4d40c9478e8359e2bb4bd234d8d5555b4c8878f), [`7ecb3de`](https://github.com/halfdomelabs/baseplate/commit/7ecb3de0d29d4cdf589f675599e8b3087b0a0a15), [`ead8efd`](https://github.com/halfdomelabs/baseplate/commit/ead8efd62f187b87bbd21d6cd749d9edd6adc216), [`ecfe3f1`](https://github.com/halfdomelabs/baseplate/commit/ecfe3f1b8839f351ff7e18e22286a446ecbce688), [`8f84be0`](https://github.com/halfdomelabs/baseplate/commit/8f84be0f95ef67f1c7cf2330bbc10b661e192aa7)]:
|
|
8
|
+
- @baseplate-dev/react-generators@0.6.20
|
|
9
|
+
- @baseplate-dev/ui-components@0.6.20
|
|
10
|
+
- @baseplate-dev/fastify-generators@0.6.20
|
|
11
|
+
- @baseplate-dev/sync@0.6.20
|
|
12
|
+
- @baseplate-dev/core-generators@0.6.20
|
|
13
|
+
- @baseplate-dev/plugin-email@0.6.20
|
|
14
|
+
- @baseplate-dev/project-builder-lib@0.6.20
|
|
15
|
+
- @baseplate-dev/plugin-queue@0.6.20
|
|
16
|
+
- @baseplate-dev/plugin-rate-limit@0.6.20
|
|
17
|
+
- @baseplate-dev/utils@0.6.20
|
|
18
|
+
|
|
19
|
+
## 0.6.19
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [#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.
|
|
24
|
+
|
|
25
|
+
- [#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).
|
|
26
|
+
|
|
27
|
+
- [#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.
|
|
28
|
+
|
|
29
|
+
- [#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.
|
|
30
|
+
|
|
31
|
+
- [#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.
|
|
32
|
+
|
|
33
|
+
- [#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.
|
|
34
|
+
|
|
35
|
+
- [#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.
|
|
36
|
+
|
|
37
|
+
- [#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.
|
|
38
|
+
|
|
39
|
+
- [#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.
|
|
40
|
+
|
|
41
|
+
- 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)]:
|
|
42
|
+
- @baseplate-dev/fastify-generators@0.6.19
|
|
43
|
+
- @baseplate-dev/react-generators@0.6.19
|
|
44
|
+
- @baseplate-dev/ui-components@0.6.19
|
|
45
|
+
- @baseplate-dev/project-builder-lib@0.6.19
|
|
46
|
+
- @baseplate-dev/core-generators@0.6.19
|
|
47
|
+
- @baseplate-dev/plugin-email@0.6.19
|
|
48
|
+
- @baseplate-dev/sync@0.6.19
|
|
49
|
+
- @baseplate-dev/plugin-queue@0.6.19
|
|
50
|
+
- @baseplate-dev/plugin-rate-limit@0.6.19
|
|
51
|
+
- @baseplate-dev/utils@0.6.19
|
|
52
|
+
|
|
3
53
|
## 0.6.18
|
|
4
54
|
|
|
5
55
|
### 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: {};
|
|
@@ -260,6 +291,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
260
291
|
useConfirmDialogState: {};
|
|
261
292
|
useControlledState: {};
|
|
262
293
|
useControllerMerged: {};
|
|
294
|
+
useFieldIds: {};
|
|
263
295
|
useIsMobile: {};
|
|
264
296
|
useSidebar: {};
|
|
265
297
|
}>>;
|
|
@@ -272,6 +304,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
272
304
|
isTypeOnly: true;
|
|
273
305
|
};
|
|
274
306
|
Alert: {};
|
|
307
|
+
AlertAction: {};
|
|
275
308
|
AlertDescription: {};
|
|
276
309
|
AlertTitle: {};
|
|
277
310
|
Autocomplete: {};
|
|
@@ -301,6 +334,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
301
334
|
buttonVariants: {};
|
|
302
335
|
Calendar: {};
|
|
303
336
|
Card: {};
|
|
337
|
+
CardAction: {};
|
|
304
338
|
CardContent: {};
|
|
305
339
|
CardDescription: {};
|
|
306
340
|
CardFooter: {};
|
|
@@ -427,6 +461,10 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
427
461
|
NotFoundCard: {};
|
|
428
462
|
NumberField: {};
|
|
429
463
|
NumberFieldController: {};
|
|
464
|
+
PageHeader: {};
|
|
465
|
+
PageHeaderActions: {};
|
|
466
|
+
PageHeaderDescription: {};
|
|
467
|
+
PageHeaderTitle: {};
|
|
430
468
|
Popover: {};
|
|
431
469
|
PopoverContent: {};
|
|
432
470
|
PopoverTrigger: {};
|
|
@@ -436,6 +474,11 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
436
474
|
isTypeOnly: true;
|
|
437
475
|
};
|
|
438
476
|
ScrollArea: {};
|
|
477
|
+
Section: {};
|
|
478
|
+
SectionActions: {};
|
|
479
|
+
SectionDescription: {};
|
|
480
|
+
SectionHeader: {};
|
|
481
|
+
SectionTitle: {};
|
|
439
482
|
Select: {};
|
|
440
483
|
SelectField: {};
|
|
441
484
|
SelectFieldController: {};
|
|
@@ -491,7 +534,27 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
491
534
|
Textarea: {};
|
|
492
535
|
TextareaField: {};
|
|
493
536
|
TextareaFieldController: {};
|
|
537
|
+
Toast: {};
|
|
538
|
+
toast: {};
|
|
539
|
+
ToastAction: {};
|
|
540
|
+
ToastClose: {};
|
|
541
|
+
ToastContent: {};
|
|
542
|
+
ToastDescription: {};
|
|
494
543
|
Toaster: {};
|
|
544
|
+
toastManager: {};
|
|
545
|
+
ToastOptions: {
|
|
546
|
+
isTypeOnly: true;
|
|
547
|
+
};
|
|
548
|
+
ToastPortal: {};
|
|
549
|
+
ToastProvider: {};
|
|
550
|
+
ToastTitle: {};
|
|
551
|
+
ToastType: {
|
|
552
|
+
isTypeOnly: true;
|
|
553
|
+
};
|
|
554
|
+
ToastUpdateOptions: {
|
|
555
|
+
isTypeOnly: true;
|
|
556
|
+
};
|
|
557
|
+
ToastViewport: {};
|
|
495
558
|
Tooltip: {};
|
|
496
559
|
TooltipContent: {};
|
|
497
560
|
TooltipProvider: {};
|
|
@@ -504,6 +567,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
504
567
|
useConfirmDialogState: {};
|
|
505
568
|
useControlledState: {};
|
|
506
569
|
useControllerMerged: {};
|
|
570
|
+
useFieldIds: {};
|
|
507
571
|
useIsMobile: {};
|
|
508
572
|
useSidebar: {};
|
|
509
573
|
}>>;
|
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: {};
|
|
@@ -258,6 +289,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
258
289
|
useConfirmDialogState: {};
|
|
259
290
|
useControlledState: {};
|
|
260
291
|
useControllerMerged: {};
|
|
292
|
+
useFieldIds: {};
|
|
261
293
|
useIsMobile: {};
|
|
262
294
|
useSidebar: {};
|
|
263
295
|
}>>;
|
|
@@ -281,6 +313,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
281
313
|
isTypeOnly: true;
|
|
282
314
|
};
|
|
283
315
|
Alert: {};
|
|
316
|
+
AlertAction: {};
|
|
284
317
|
AlertDescription: {};
|
|
285
318
|
AlertTitle: {};
|
|
286
319
|
Autocomplete: {};
|
|
@@ -310,6 +343,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
310
343
|
buttonVariants: {};
|
|
311
344
|
Calendar: {};
|
|
312
345
|
Card: {};
|
|
346
|
+
CardAction: {};
|
|
313
347
|
CardContent: {};
|
|
314
348
|
CardDescription: {};
|
|
315
349
|
CardFooter: {};
|
|
@@ -436,6 +470,10 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
436
470
|
NotFoundCard: {};
|
|
437
471
|
NumberField: {};
|
|
438
472
|
NumberFieldController: {};
|
|
473
|
+
PageHeader: {};
|
|
474
|
+
PageHeaderActions: {};
|
|
475
|
+
PageHeaderDescription: {};
|
|
476
|
+
PageHeaderTitle: {};
|
|
439
477
|
Popover: {};
|
|
440
478
|
PopoverContent: {};
|
|
441
479
|
PopoverTrigger: {};
|
|
@@ -445,6 +483,11 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
445
483
|
isTypeOnly: true;
|
|
446
484
|
};
|
|
447
485
|
ScrollArea: {};
|
|
486
|
+
Section: {};
|
|
487
|
+
SectionActions: {};
|
|
488
|
+
SectionDescription: {};
|
|
489
|
+
SectionHeader: {};
|
|
490
|
+
SectionTitle: {};
|
|
448
491
|
Select: {};
|
|
449
492
|
SelectField: {};
|
|
450
493
|
SelectFieldController: {};
|
|
@@ -500,7 +543,27 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
500
543
|
Textarea: {};
|
|
501
544
|
TextareaField: {};
|
|
502
545
|
TextareaFieldController: {};
|
|
546
|
+
Toast: {};
|
|
547
|
+
toast: {};
|
|
548
|
+
ToastAction: {};
|
|
549
|
+
ToastClose: {};
|
|
550
|
+
ToastContent: {};
|
|
551
|
+
ToastDescription: {};
|
|
503
552
|
Toaster: {};
|
|
553
|
+
toastManager: {};
|
|
554
|
+
ToastOptions: {
|
|
555
|
+
isTypeOnly: true;
|
|
556
|
+
};
|
|
557
|
+
ToastPortal: {};
|
|
558
|
+
ToastProvider: {};
|
|
559
|
+
ToastTitle: {};
|
|
560
|
+
ToastType: {
|
|
561
|
+
isTypeOnly: true;
|
|
562
|
+
};
|
|
563
|
+
ToastUpdateOptions: {
|
|
564
|
+
isTypeOnly: true;
|
|
565
|
+
};
|
|
566
|
+
ToastViewport: {};
|
|
504
567
|
Tooltip: {};
|
|
505
568
|
TooltipContent: {};
|
|
506
569
|
TooltipProvider: {};
|
|
@@ -513,6 +576,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
|
|
|
513
576
|
useConfirmDialogState: {};
|
|
514
577
|
useControlledState: {};
|
|
515
578
|
useControllerMerged: {};
|
|
579
|
+
useFieldIds: {};
|
|
516
580
|
useIsMobile: {};
|
|
517
581
|
useSidebar: {};
|
|
518
582
|
}>>;
|
|
@@ -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: {};
|
|
@@ -257,6 +288,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_RENDERERS:
|
|
|
257
288
|
useConfirmDialogState: {};
|
|
258
289
|
useControlledState: {};
|
|
259
290
|
useControllerMerged: {};
|
|
291
|
+
useFieldIds: {};
|
|
260
292
|
useIsMobile: {};
|
|
261
293
|
useSidebar: {};
|
|
262
294
|
}>>;
|
|
@@ -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: {};
|
|
@@ -247,6 +278,7 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
|
|
|
247
278
|
useConfirmDialogState: {};
|
|
248
279
|
useControlledState: {};
|
|
249
280
|
useControllerMerged: {};
|
|
281
|
+
useFieldIds: {};
|
|
250
282
|
useIsMobile: {};
|
|
251
283
|
useSidebar: {};
|
|
252
284
|
}>>;
|
|
@@ -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: {};
|
|
@@ -259,6 +290,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
259
290
|
useConfirmDialogState: {};
|
|
260
291
|
useControlledState: {};
|
|
261
292
|
useControllerMerged: {};
|
|
293
|
+
useFieldIds: {};
|
|
262
294
|
useIsMobile: {};
|
|
263
295
|
useSidebar: {};
|
|
264
296
|
}>>;
|
|
@@ -271,6 +303,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
271
303
|
isTypeOnly: true;
|
|
272
304
|
};
|
|
273
305
|
Alert: {};
|
|
306
|
+
AlertAction: {};
|
|
274
307
|
AlertDescription: {};
|
|
275
308
|
AlertTitle: {};
|
|
276
309
|
Autocomplete: {};
|
|
@@ -300,6 +333,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
300
333
|
buttonVariants: {};
|
|
301
334
|
Calendar: {};
|
|
302
335
|
Card: {};
|
|
336
|
+
CardAction: {};
|
|
303
337
|
CardContent: {};
|
|
304
338
|
CardDescription: {};
|
|
305
339
|
CardFooter: {};
|
|
@@ -426,6 +460,10 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
426
460
|
NotFoundCard: {};
|
|
427
461
|
NumberField: {};
|
|
428
462
|
NumberFieldController: {};
|
|
463
|
+
PageHeader: {};
|
|
464
|
+
PageHeaderActions: {};
|
|
465
|
+
PageHeaderDescription: {};
|
|
466
|
+
PageHeaderTitle: {};
|
|
429
467
|
Popover: {};
|
|
430
468
|
PopoverContent: {};
|
|
431
469
|
PopoverTrigger: {};
|
|
@@ -435,6 +473,11 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
435
473
|
isTypeOnly: true;
|
|
436
474
|
};
|
|
437
475
|
ScrollArea: {};
|
|
476
|
+
Section: {};
|
|
477
|
+
SectionActions: {};
|
|
478
|
+
SectionDescription: {};
|
|
479
|
+
SectionHeader: {};
|
|
480
|
+
SectionTitle: {};
|
|
438
481
|
Select: {};
|
|
439
482
|
SelectField: {};
|
|
440
483
|
SelectFieldController: {};
|
|
@@ -490,7 +533,27 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
490
533
|
Textarea: {};
|
|
491
534
|
TextareaField: {};
|
|
492
535
|
TextareaFieldController: {};
|
|
536
|
+
Toast: {};
|
|
537
|
+
toast: {};
|
|
538
|
+
ToastAction: {};
|
|
539
|
+
ToastClose: {};
|
|
540
|
+
ToastContent: {};
|
|
541
|
+
ToastDescription: {};
|
|
493
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: {};
|
|
494
557
|
Tooltip: {};
|
|
495
558
|
TooltipContent: {};
|
|
496
559
|
TooltipProvider: {};
|
|
@@ -503,6 +566,7 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
|
|
|
503
566
|
useConfirmDialogState: {};
|
|
504
567
|
useControlledState: {};
|
|
505
568
|
useControllerMerged: {};
|
|
569
|
+
useFieldIds: {};
|
|
506
570
|
useIsMobile: {};
|
|
507
571
|
useSidebar: {};
|
|
508
572
|
}>>;
|