@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
|
@@ -31,6 +31,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
31
31
|
isTypeOnly: true;
|
|
32
32
|
};
|
|
33
33
|
Alert: {};
|
|
34
|
+
AlertAction: {};
|
|
34
35
|
AlertDescription: {};
|
|
35
36
|
AlertTitle: {};
|
|
36
37
|
Autocomplete: {};
|
|
@@ -60,6 +61,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
60
61
|
buttonVariants: {};
|
|
61
62
|
Calendar: {};
|
|
62
63
|
Card: {};
|
|
64
|
+
CardAction: {};
|
|
63
65
|
CardContent: {};
|
|
64
66
|
CardDescription: {};
|
|
65
67
|
CardFooter: {};
|
|
@@ -186,6 +188,10 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
186
188
|
NotFoundCard: {};
|
|
187
189
|
NumberField: {};
|
|
188
190
|
NumberFieldController: {};
|
|
191
|
+
PageHeader: {};
|
|
192
|
+
PageHeaderActions: {};
|
|
193
|
+
PageHeaderDescription: {};
|
|
194
|
+
PageHeaderTitle: {};
|
|
189
195
|
Popover: {};
|
|
190
196
|
PopoverContent: {};
|
|
191
197
|
PopoverTrigger: {};
|
|
@@ -195,6 +201,11 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
195
201
|
isTypeOnly: true;
|
|
196
202
|
};
|
|
197
203
|
ScrollArea: {};
|
|
204
|
+
Section: {};
|
|
205
|
+
SectionActions: {};
|
|
206
|
+
SectionDescription: {};
|
|
207
|
+
SectionHeader: {};
|
|
208
|
+
SectionTitle: {};
|
|
198
209
|
Select: {};
|
|
199
210
|
SelectField: {};
|
|
200
211
|
SelectFieldController: {};
|
|
@@ -250,7 +261,27 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
250
261
|
Textarea: {};
|
|
251
262
|
TextareaField: {};
|
|
252
263
|
TextareaFieldController: {};
|
|
264
|
+
Toast: {};
|
|
265
|
+
toast: {};
|
|
266
|
+
ToastAction: {};
|
|
267
|
+
ToastClose: {};
|
|
268
|
+
ToastContent: {};
|
|
269
|
+
ToastDescription: {};
|
|
253
270
|
Toaster: {};
|
|
271
|
+
toastManager: {};
|
|
272
|
+
ToastOptions: {
|
|
273
|
+
isTypeOnly: true;
|
|
274
|
+
};
|
|
275
|
+
ToastPortal: {};
|
|
276
|
+
ToastProvider: {};
|
|
277
|
+
ToastTitle: {};
|
|
278
|
+
ToastType: {
|
|
279
|
+
isTypeOnly: true;
|
|
280
|
+
};
|
|
281
|
+
ToastUpdateOptions: {
|
|
282
|
+
isTypeOnly: true;
|
|
283
|
+
};
|
|
284
|
+
ToastViewport: {};
|
|
254
285
|
Tooltip: {};
|
|
255
286
|
TooltipContent: {};
|
|
256
287
|
TooltipProvider: {};
|
|
@@ -294,6 +325,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
294
325
|
isTypeOnly: true;
|
|
295
326
|
};
|
|
296
327
|
Alert: {};
|
|
328
|
+
AlertAction: {};
|
|
297
329
|
AlertDescription: {};
|
|
298
330
|
AlertTitle: {};
|
|
299
331
|
Autocomplete: {};
|
|
@@ -323,6 +355,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
323
355
|
buttonVariants: {};
|
|
324
356
|
Calendar: {};
|
|
325
357
|
Card: {};
|
|
358
|
+
CardAction: {};
|
|
326
359
|
CardContent: {};
|
|
327
360
|
CardDescription: {};
|
|
328
361
|
CardFooter: {};
|
|
@@ -449,6 +482,10 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
449
482
|
NotFoundCard: {};
|
|
450
483
|
NumberField: {};
|
|
451
484
|
NumberFieldController: {};
|
|
485
|
+
PageHeader: {};
|
|
486
|
+
PageHeaderActions: {};
|
|
487
|
+
PageHeaderDescription: {};
|
|
488
|
+
PageHeaderTitle: {};
|
|
452
489
|
Popover: {};
|
|
453
490
|
PopoverContent: {};
|
|
454
491
|
PopoverTrigger: {};
|
|
@@ -458,6 +495,11 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
458
495
|
isTypeOnly: true;
|
|
459
496
|
};
|
|
460
497
|
ScrollArea: {};
|
|
498
|
+
Section: {};
|
|
499
|
+
SectionActions: {};
|
|
500
|
+
SectionDescription: {};
|
|
501
|
+
SectionHeader: {};
|
|
502
|
+
SectionTitle: {};
|
|
461
503
|
Select: {};
|
|
462
504
|
SelectField: {};
|
|
463
505
|
SelectFieldController: {};
|
|
@@ -513,7 +555,27 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_GENERATED: {
|
|
|
513
555
|
Textarea: {};
|
|
514
556
|
TextareaField: {};
|
|
515
557
|
TextareaFieldController: {};
|
|
558
|
+
Toast: {};
|
|
559
|
+
toast: {};
|
|
560
|
+
ToastAction: {};
|
|
561
|
+
ToastClose: {};
|
|
562
|
+
ToastContent: {};
|
|
563
|
+
ToastDescription: {};
|
|
516
564
|
Toaster: {};
|
|
565
|
+
toastManager: {};
|
|
566
|
+
ToastOptions: {
|
|
567
|
+
isTypeOnly: true;
|
|
568
|
+
};
|
|
569
|
+
ToastPortal: {};
|
|
570
|
+
ToastProvider: {};
|
|
571
|
+
ToastTitle: {};
|
|
572
|
+
ToastType: {
|
|
573
|
+
isTypeOnly: true;
|
|
574
|
+
};
|
|
575
|
+
ToastUpdateOptions: {
|
|
576
|
+
isTypeOnly: true;
|
|
577
|
+
};
|
|
578
|
+
ToastViewport: {};
|
|
517
579
|
Tooltip: {};
|
|
518
580
|
TooltipContent: {};
|
|
519
581
|
TooltipProvider: {};
|
|
@@ -30,6 +30,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_RENDERERS: {
|
|
|
30
30
|
isTypeOnly: true;
|
|
31
31
|
};
|
|
32
32
|
Alert: {};
|
|
33
|
+
AlertAction: {};
|
|
33
34
|
AlertDescription: {};
|
|
34
35
|
AlertTitle: {};
|
|
35
36
|
Autocomplete: {};
|
|
@@ -59,6 +60,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_RENDERERS: {
|
|
|
59
60
|
buttonVariants: {};
|
|
60
61
|
Calendar: {};
|
|
61
62
|
Card: {};
|
|
63
|
+
CardAction: {};
|
|
62
64
|
CardContent: {};
|
|
63
65
|
CardDescription: {};
|
|
64
66
|
CardFooter: {};
|
|
@@ -185,6 +187,10 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_RENDERERS: {
|
|
|
185
187
|
NotFoundCard: {};
|
|
186
188
|
NumberField: {};
|
|
187
189
|
NumberFieldController: {};
|
|
190
|
+
PageHeader: {};
|
|
191
|
+
PageHeaderActions: {};
|
|
192
|
+
PageHeaderDescription: {};
|
|
193
|
+
PageHeaderTitle: {};
|
|
188
194
|
Popover: {};
|
|
189
195
|
PopoverContent: {};
|
|
190
196
|
PopoverTrigger: {};
|
|
@@ -194,6 +200,11 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_RENDERERS: {
|
|
|
194
200
|
isTypeOnly: true;
|
|
195
201
|
};
|
|
196
202
|
ScrollArea: {};
|
|
203
|
+
Section: {};
|
|
204
|
+
SectionActions: {};
|
|
205
|
+
SectionDescription: {};
|
|
206
|
+
SectionHeader: {};
|
|
207
|
+
SectionTitle: {};
|
|
197
208
|
Select: {};
|
|
198
209
|
SelectField: {};
|
|
199
210
|
SelectFieldController: {};
|
|
@@ -249,7 +260,27 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_RENDERERS: {
|
|
|
249
260
|
Textarea: {};
|
|
250
261
|
TextareaField: {};
|
|
251
262
|
TextareaFieldController: {};
|
|
263
|
+
Toast: {};
|
|
264
|
+
toast: {};
|
|
265
|
+
ToastAction: {};
|
|
266
|
+
ToastClose: {};
|
|
267
|
+
ToastContent: {};
|
|
268
|
+
ToastDescription: {};
|
|
252
269
|
Toaster: {};
|
|
270
|
+
toastManager: {};
|
|
271
|
+
ToastOptions: {
|
|
272
|
+
isTypeOnly: true;
|
|
273
|
+
};
|
|
274
|
+
ToastPortal: {};
|
|
275
|
+
ToastProvider: {};
|
|
276
|
+
ToastTitle: {};
|
|
277
|
+
ToastType: {
|
|
278
|
+
isTypeOnly: true;
|
|
279
|
+
};
|
|
280
|
+
ToastUpdateOptions: {
|
|
281
|
+
isTypeOnly: true;
|
|
282
|
+
};
|
|
283
|
+
ToastViewport: {};
|
|
253
284
|
Tooltip: {};
|
|
254
285
|
TooltipContent: {};
|
|
255
286
|
TooltipProvider: {};
|
|
@@ -18,6 +18,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_TEMPLATES: {
|
|
|
18
18
|
isTypeOnly: true;
|
|
19
19
|
};
|
|
20
20
|
Alert: {};
|
|
21
|
+
AlertAction: {};
|
|
21
22
|
AlertDescription: {};
|
|
22
23
|
AlertTitle: {};
|
|
23
24
|
Autocomplete: {};
|
|
@@ -47,6 +48,7 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_TEMPLATES: {
|
|
|
47
48
|
buttonVariants: {};
|
|
48
49
|
Calendar: {};
|
|
49
50
|
Card: {};
|
|
51
|
+
CardAction: {};
|
|
50
52
|
CardContent: {};
|
|
51
53
|
CardDescription: {};
|
|
52
54
|
CardFooter: {};
|
|
@@ -173,6 +175,10 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_TEMPLATES: {
|
|
|
173
175
|
NotFoundCard: {};
|
|
174
176
|
NumberField: {};
|
|
175
177
|
NumberFieldController: {};
|
|
178
|
+
PageHeader: {};
|
|
179
|
+
PageHeaderActions: {};
|
|
180
|
+
PageHeaderDescription: {};
|
|
181
|
+
PageHeaderTitle: {};
|
|
176
182
|
Popover: {};
|
|
177
183
|
PopoverContent: {};
|
|
178
184
|
PopoverTrigger: {};
|
|
@@ -182,6 +188,11 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_TEMPLATES: {
|
|
|
182
188
|
isTypeOnly: true;
|
|
183
189
|
};
|
|
184
190
|
ScrollArea: {};
|
|
191
|
+
Section: {};
|
|
192
|
+
SectionActions: {};
|
|
193
|
+
SectionDescription: {};
|
|
194
|
+
SectionHeader: {};
|
|
195
|
+
SectionTitle: {};
|
|
185
196
|
Select: {};
|
|
186
197
|
SelectField: {};
|
|
187
198
|
SelectFieldController: {};
|
|
@@ -237,7 +248,27 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_INVITE_USER_ACTION_TEMPLATES: {
|
|
|
237
248
|
Textarea: {};
|
|
238
249
|
TextareaField: {};
|
|
239
250
|
TextareaFieldController: {};
|
|
251
|
+
Toast: {};
|
|
252
|
+
toast: {};
|
|
253
|
+
ToastAction: {};
|
|
254
|
+
ToastClose: {};
|
|
255
|
+
ToastContent: {};
|
|
256
|
+
ToastDescription: {};
|
|
240
257
|
Toaster: {};
|
|
258
|
+
toastManager: {};
|
|
259
|
+
ToastOptions: {
|
|
260
|
+
isTypeOnly: true;
|
|
261
|
+
};
|
|
262
|
+
ToastPortal: {};
|
|
263
|
+
ToastProvider: {};
|
|
264
|
+
ToastTitle: {};
|
|
265
|
+
ToastType: {
|
|
266
|
+
isTypeOnly: true;
|
|
267
|
+
};
|
|
268
|
+
ToastUpdateOptions: {
|
|
269
|
+
isTypeOnly: true;
|
|
270
|
+
};
|
|
271
|
+
ToastViewport: {};
|
|
241
272
|
Tooltip: {};
|
|
242
273
|
TooltipContent: {};
|
|
243
274
|
TooltipProvider: {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { getApolloErrorCode } from '%apolloErrorImports';
|
|
3
3
|
import { graphql, readFragment } from '%graphqlImports';
|
|
4
|
-
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from '%reactComponentsImports';
|
|
4
|
+
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, toast, } from '%reactComponentsImports';
|
|
5
5
|
import { logAndFormatError } from '%reactErrorImports';
|
|
6
6
|
import { useMutation } from '@apollo/client/react';
|
|
7
|
-
import { toast } from 'sonner';
|
|
8
7
|
export const inviteUserDialogUserFragment = graphql(`
|
|
9
8
|
fragment InviteUserDialog_user on User {
|
|
10
9
|
id
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
DialogFooter,
|
|
14
14
|
DialogHeader,
|
|
15
15
|
DialogTitle,
|
|
16
|
+
toast,
|
|
16
17
|
} from '%reactComponentsImports';
|
|
17
18
|
import { logAndFormatError } from '%reactErrorImports';
|
|
18
19
|
import { useMutation } from '@apollo/client/react';
|
|
19
|
-
import { toast } from 'sonner';
|
|
20
20
|
|
|
21
21
|
export const inviteUserDialogUserFragment = graphql(`
|
|
22
22
|
fragment InviteUserDialog_user on User {
|
|
@@ -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/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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 LOCAL_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()),
|