@baseplate-dev/plugin-auth 0.6.9 → 0.6.11
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 +38 -0
- package/dist/auth/core/web.js +31 -2
- package/dist/better-auth/constants/packages.d.ts +1 -1
- package/dist/better-auth/constants/packages.js +1 -1
- package/dist/better-auth/core/web.js +15 -2
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +0 -1
- package/dist/local-auth/core/web.js +15 -2
- package/dist/placeholder-auth/core/web.js +13 -2
- package/dist/web/assets/_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DEljr3MS.js +226 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-B6a7L2-k.js +346 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-JKpdJ1L0.js +89 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DsLoA9K7.js +73549 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CGsbw2Lx.js +6181 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js +13784 -0
- package/dist/web/assets/auth-YjeUffyx.js +1 -0
- package/dist/web/assets/common-B3OG-gju.js +37 -0
- package/dist/web/assets/common-CTWnBc6I.js +39 -0
- package/dist/web/assets/common-CzNLnT_1.js +63 -0
- package/dist/web/assets/common-g_Gn0v5J.js +18 -0
- package/dist/web/assets/common-kfSP8YQO.js +39 -0
- package/dist/web/assets/common-zfktVQvk.js +37 -0
- package/dist/web/assets/dist-C6kDPCTC.js +18148 -0
- package/dist/web/assets/get-auth-plugin-definition-2vFJROjB.js +14 -0
- package/dist/web/assets/hostInit-35H-qR11.js +119 -0
- package/dist/web/assets/index-Cr47LBtj.js +2 -0
- package/dist/web/assets/mf-entry-bootstrap-0-13480d2a.js +32 -0
- package/dist/web/assets/model-names-BluImOzu.js +27 -0
- package/dist/web/assets/model-names-CUS5rSei.js +12 -0
- package/dist/web/assets/model-utils-ZF_FVZ_o.js +1287 -0
- package/dist/web/assets/models-CORL4i-6.js +285 -0
- package/dist/web/assets/models-DPPMgQz_.js +304 -0
- package/dist/web/assets/plugin-definition-UAfMRa7u.js +78 -0
- package/dist/web/assets/plugin-definition-mNNM2hOB.js +11 -0
- package/dist/web/assets/rolldown-runtime-FZ4Itg2g.js +42 -0
- package/dist/web/assets/{style-DiK_rD1L.css → styles-Cc26Bbxc.css} +1 -1
- package/dist/web/assets/styles-DNVWarsT.js +173 -0
- package/dist/web/assets/virtualExposes-CZsMFYa2.js +2 -0
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bt9-dftr.js +3892 -0
- package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DC8YPV1Z.js +129 -0
- package/dist/web/assets/virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-CmilMd0E.js +168 -0
- package/dist/web/assets/vite-preload-helper-iIio8xkS.js +67 -0
- package/dist/web/assets/web-BbqWFVPH.js +397 -0
- package/dist/web/assets/web-BldKZtQd.js +123 -0
- package/dist/web/assets/web-CNMEeTj-.js +46 -0
- package/dist/web/assets/web-CnsQCdFE.js +46 -0
- package/dist/web/assets/web-DiGj_0d0.js +118 -0
- package/dist/web/assets/web-OntIhIfe.js +355 -0
- package/dist/web/assets/web-y8E7eNgy.js +106 -0
- package/dist/web/index.html +2 -2
- package/dist/web/remoteEntry.js +2 -0
- package/dist/web/remoteEntry.ssr.js +43 -0
- package/package.json +24 -21
- package/dist/auth/core/common.d.ts.map +0 -1
- package/dist/auth/core/common.js.map +0 -1
- package/dist/auth/core/components/auth-definition-editor.d.ts.map +0 -1
- package/dist/auth/core/components/auth-definition-editor.js.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.js.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-editor-form.js.map +0 -1
- package/dist/auth/core/node.d.ts.map +0 -1
- package/dist/auth/core/node.js.map +0 -1
- package/dist/auth/core/schema/migrations.d.ts.map +0 -1
- package/dist/auth/core/schema/migrations.js.map +0 -1
- package/dist/auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/auth/core/schema/roles/constants.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/constants.js.map +0 -1
- package/dist/auth/core/schema/roles/index.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/index.js.map +0 -1
- package/dist/auth/core/schema/roles/schema.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/schema.js.map +0 -1
- package/dist/auth/core/web.d.ts.map +0 -1
- package/dist/auth/core/web.js.map +0 -1
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/auth/index.js.map +0 -1
- package/dist/auth/utils/get-auth-plugin-definition.d.ts.map +0 -1
- package/dist/auth/utils/get-auth-plugin-definition.js.map +0 -1
- package/dist/auth/utils/index.d.ts.map +0 -1
- package/dist/auth/utils/index.js.map +0 -1
- package/dist/better-auth/admin/common.d.ts.map +0 -1
- package/dist/better-auth/admin/common.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/index.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/index.js.map +0 -1
- package/dist/better-auth/admin/node.d.ts.map +0 -1
- package/dist/better-auth/admin/node.js.map +0 -1
- package/dist/better-auth/admin/schema/manage-role-action.d.ts.map +0 -1
- package/dist/better-auth/admin/schema/manage-role-action.js.map +0 -1
- package/dist/better-auth/admin/schema/reset-password-action.d.ts.map +0 -1
- package/dist/better-auth/admin/schema/reset-password-action.js.map +0 -1
- package/dist/better-auth/admin/schema/roles-column.d.ts.map +0 -1
- package/dist/better-auth/admin/schema/roles-column.js.map +0 -1
- package/dist/better-auth/admin/web.d.ts.map +0 -1
- package/dist/better-auth/admin/web.js.map +0 -1
- package/dist/better-auth/constants/model-names.d.ts.map +0 -1
- package/dist/better-auth/constants/model-names.js.map +0 -1
- package/dist/better-auth/constants/packages.d.ts.map +0 -1
- package/dist/better-auth/constants/packages.js.map +0 -1
- package/dist/better-auth/core/common.d.ts.map +0 -1
- package/dist/better-auth/core/common.js.map +0 -1
- package/dist/better-auth/core/components/better-auth-definition-editor.d.ts.map +0 -1
- package/dist/better-auth/core/components/better-auth-definition-editor.js.map +0 -1
- package/dist/better-auth/core/index.d.ts.map +0 -1
- package/dist/better-auth/core/index.js.map +0 -1
- package/dist/better-auth/core/node.d.ts.map +0 -1
- package/dist/better-auth/core/node.js.map +0 -1
- package/dist/better-auth/core/schema/models.d.ts.map +0 -1
- package/dist/better-auth/core/schema/models.js.map +0 -1
- package/dist/better-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/better-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/better-auth/core/schema/schema-issue-checker.d.ts.map +0 -1
- package/dist/better-auth/core/schema/schema-issue-checker.js.map +0 -1
- package/dist/better-auth/core/web.d.ts.map +0 -1
- package/dist/better-auth/core/web.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js.map +0 -1
- package/dist/better-auth/generators/index.d.ts.map +0 -1
- package/dist/better-auth/generators/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/index.js.map +0 -1
- package/dist/better-auth/generators/react/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js.map +0 -1
- package/dist/better-auth/index.d.ts.map +0 -1
- package/dist/better-auth/index.js.map +0 -1
- package/dist/common/components/auth-config-tabs.d.ts.map +0 -1
- package/dist/common/components/auth-config-tabs.js.map +0 -1
- package/dist/local-auth/admin/common.d.ts.map +0 -1
- package/dist/local-auth/admin/common.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js.map +0 -1
- package/dist/local-auth/admin/node.d.ts.map +0 -1
- package/dist/local-auth/admin/node.js.map +0 -1
- package/dist/local-auth/admin/schema/manage-role-action.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/manage-role-action.js.map +0 -1
- package/dist/local-auth/admin/schema/reset-password-action.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/reset-password-action.js.map +0 -1
- package/dist/local-auth/admin/schema/roles-column.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/roles-column.js.map +0 -1
- package/dist/local-auth/admin/web.d.ts.map +0 -1
- package/dist/local-auth/admin/web.js.map +0 -1
- package/dist/local-auth/constants/model-names.d.ts.map +0 -1
- package/dist/local-auth/constants/model-names.js.map +0 -1
- package/dist/local-auth/core/common.d.ts.map +0 -1
- package/dist/local-auth/core/common.js.map +0 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +0 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js.map +0 -1
- package/dist/local-auth/core/generators/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-auth/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-auth/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js.map +0 -1
- package/dist/local-auth/core/index.d.ts.map +0 -1
- package/dist/local-auth/core/index.js.map +0 -1
- package/dist/local-auth/core/node.d.ts.map +0 -1
- package/dist/local-auth/core/node.js.map +0 -1
- package/dist/local-auth/core/schema/models.d.ts.map +0 -1
- package/dist/local-auth/core/schema/models.js.map +0 -1
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/local-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/local-auth/core/schema/schema-issue-checker.d.ts.map +0 -1
- package/dist/local-auth/core/schema/schema-issue-checker.js.map +0 -1
- package/dist/local-auth/core/web.d.ts.map +0 -1
- package/dist/local-auth/core/web.js.map +0 -1
- package/dist/local-auth/index.d.ts.map +0 -1
- package/dist/local-auth/index.js.map +0 -1
- package/dist/placeholder-auth/constants/model-names.d.ts.map +0 -1
- package/dist/placeholder-auth/constants/model-names.js.map +0 -1
- package/dist/placeholder-auth/core/common.d.ts.map +0 -1
- package/dist/placeholder-auth/core/common.js.map +0 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts.map +0 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js.map +0 -1
- package/dist/placeholder-auth/core/generators/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.js.map +0 -1
- package/dist/placeholder-auth/core/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/index.js.map +0 -1
- package/dist/placeholder-auth/core/node.d.ts.map +0 -1
- package/dist/placeholder-auth/core/node.js.map +0 -1
- package/dist/placeholder-auth/core/schema/models.d.ts.map +0 -1
- package/dist/placeholder-auth/core/schema/models.js.map +0 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/placeholder-auth/core/web.d.ts.map +0 -1
- package/dist/placeholder-auth/core/web.js.map +0 -1
- package/dist/placeholder-auth/index.d.ts.map +0 -1
- package/dist/placeholder-auth/index.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreCommon-B9LFt4zi.js +0 -85
- package/dist/web/assets/__federation_expose_authCoreCommon-B9LFt4zi.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-CRo6bfSQ.js +0 -453
- package/dist/web/assets/__federation_expose_authCoreWeb-CRo6bfSQ.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authAdminCommon-Drx1dj0K.js +0 -63
- package/dist/web/assets/__federation_expose_better-authAdminCommon-Drx1dj0K.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authAdminWeb-Zsc9mjjD.js +0 -41
- package/dist/web/assets/__federation_expose_better-authAdminWeb-Zsc9mjjD.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authCoreCommon-BTstKS5D.js +0 -54
- package/dist/web/assets/__federation_expose_better-authCoreCommon-BTstKS5D.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authCoreWeb-ClXucVm1.js +0 -157
- package/dist/web/assets/__federation_expose_better-authCoreWeb-ClXucVm1.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authAdminCommon-Drx1dj0K.js +0 -63
- package/dist/web/assets/__federation_expose_local-authAdminCommon-Drx1dj0K.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authAdminWeb-Ci30yAgH.js +0 -41
- package/dist/web/assets/__federation_expose_local-authAdminWeb-Ci30yAgH.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authCoreCommon-C13Qctt3.js +0 -54
- package/dist/web/assets/__federation_expose_local-authCoreCommon-C13Qctt3.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authCoreWeb-CLMjEvfQ.js +0 -167
- package/dist/web/assets/__federation_expose_local-authCoreWeb-CLMjEvfQ.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CtZPLUXY.js +0 -23
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CtZPLUXY.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-DNuOQDyt.js +0 -177
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-DNuOQDyt.js.map +0 -1
- package/dist/web/assets/__federation_fn_import-DvwH-J9J.js +0 -421
- package/dist/web/assets/__federation_fn_import-DvwH-J9J.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B2EK5IrR.js +0 -359
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B2EK5IrR.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CueLW7vJ.js +0 -22532
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CueLW7vJ.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-Cs5voPoC.js +0 -78638
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-Cs5voPoC.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-DH2Y7csi.js +0 -1855
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-DH2Y7csi.js.map +0 -1
- package/dist/web/assets/__federation_shared_@tanstack/react-router-CDlgRD7c.js +0 -6565
- package/dist/web/assets/__federation_shared_@tanstack/react-router-CDlgRD7c.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js +0 -8
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js +0 -251
- package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js.map +0 -1
- package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js +0 -13250
- package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js.map +0 -1
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js +0 -6
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js.map +0 -1
- package/dist/web/assets/get-auth-plugin-definition-B2xRtRBt.js +0 -13
- package/dist/web/assets/get-auth-plugin-definition-B2xRtRBt.js.map +0 -1
- package/dist/web/assets/index-D2s6d88Y.js +0 -101
- package/dist/web/assets/index-D2s6d88Y.js.map +0 -1
- package/dist/web/assets/index-DUwCgkeV.js +0 -570
- package/dist/web/assets/index-DUwCgkeV.js.map +0 -1
- package/dist/web/assets/index-l0sNRNKZ.js.map +0 -1
- package/dist/web/assets/index.esm-CUhaqfEI.js +0 -2676
- package/dist/web/assets/index.esm-CUhaqfEI.js.map +0 -1
- package/dist/web/assets/isEqual-tnzoadW8.js +0 -242
- package/dist/web/assets/isEqual-tnzoadW8.js.map +0 -1
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js +0 -60
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js.map +0 -1
- package/dist/web/assets/mergeWith-VagwCqUi.js +0 -76
- package/dist/web/assets/mergeWith-VagwCqUi.js.map +0 -1
- package/dist/web/assets/model-names-D7UT0B8x.js +0 -10
- package/dist/web/assets/model-names-D7UT0B8x.js.map +0 -1
- package/dist/web/assets/model-names-DrcaRxt1.js +0 -25
- package/dist/web/assets/model-names-DrcaRxt1.js.map +0 -1
- package/dist/web/assets/model-utils-Ccvph4Ii.js +0 -840
- package/dist/web/assets/model-utils-Ccvph4Ii.js.map +0 -1
- package/dist/web/assets/plugin-definition-B6PqjUHm.js +0 -16
- package/dist/web/assets/plugin-definition-B6PqjUHm.js.map +0 -1
- package/dist/web/assets/plugin-definition-B6kOvigE.js +0 -315
- package/dist/web/assets/plugin-definition-B6kOvigE.js.map +0 -1
- package/dist/web/assets/plugin-definition-DDe2WhbZ.js +0 -93
- package/dist/web/assets/plugin-definition-DDe2WhbZ.js.map +0 -1
- package/dist/web/assets/plugin-definition-QKz1ZAYK.js +0 -304
- package/dist/web/assets/plugin-definition-QKz1ZAYK.js.map +0 -1
- package/dist/web/assets/react-D62wAwO5.js +0 -47
- package/dist/web/assets/react-D62wAwO5.js.map +0 -1
- package/dist/web/assets/registries-Tz_dluz3.js +0 -1119
- package/dist/web/assets/registries-Tz_dluz3.js.map +0 -1
- package/dist/web/assets/remoteEntry.js +0 -84
- package/dist/web/assets/remoteEntry.js.map +0 -1
- package/dist/web/assets/styles-BEU-uMT0.js +0 -69
- package/dist/web/assets/styles-BEU-uMT0.js.map +0 -1
- package/dist/web/assets/with-selector-DTXBONcE.js +0 -201
- package/dist/web/assets/with-selector-DTXBONcE.js.map +0 -1
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { L as LOCAL_AUTH_MODELS } from './model-names-DrcaRxt1.js';
|
|
2
|
-
import { importShared } from './__federation_fn_import-DvwH-J9J.js';
|
|
3
|
-
|
|
4
|
-
function createLocalAuthPartialDefinition(authFeatureName, accountsFeatureName) {
|
|
5
|
-
return {
|
|
6
|
-
models: [
|
|
7
|
-
{
|
|
8
|
-
name: LOCAL_AUTH_MODELS.user,
|
|
9
|
-
featureRef: accountsFeatureName,
|
|
10
|
-
model: {
|
|
11
|
-
fields: [
|
|
12
|
-
{
|
|
13
|
-
name: "id",
|
|
14
|
-
type: "uuid",
|
|
15
|
-
options: { defaultGeneration: "uuidv7" }
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
name: "name",
|
|
19
|
-
type: "string",
|
|
20
|
-
isOptional: true
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
name: "email",
|
|
24
|
-
type: "string"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
name: "emailVerified",
|
|
28
|
-
type: "boolean",
|
|
29
|
-
options: { default: "false" }
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: "updatedAt",
|
|
33
|
-
type: "dateTime",
|
|
34
|
-
options: { defaultToNow: true, updatedAt: true }
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
name: "createdAt",
|
|
38
|
-
type: "dateTime",
|
|
39
|
-
options: { defaultToNow: true }
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
primaryKeyFieldRefs: ["id"],
|
|
43
|
-
uniqueConstraints: [
|
|
44
|
-
{
|
|
45
|
-
fields: [{ fieldRef: "email" }]
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
graphql: {
|
|
50
|
-
objectType: {
|
|
51
|
-
enabled: true,
|
|
52
|
-
fields: [
|
|
53
|
-
{ ref: "id" },
|
|
54
|
-
{
|
|
55
|
-
ref: "email",
|
|
56
|
-
globalRoles: ["admin"],
|
|
57
|
-
instanceRoles: ["self"]
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
authorizer: {
|
|
63
|
-
roles: [
|
|
64
|
-
{
|
|
65
|
-
name: "self",
|
|
66
|
-
expression: "model.id === userId"
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: LOCAL_AUTH_MODELS.userAccount,
|
|
73
|
-
featureRef: accountsFeatureName,
|
|
74
|
-
model: {
|
|
75
|
-
fields: [
|
|
76
|
-
{
|
|
77
|
-
name: "id",
|
|
78
|
-
type: "uuid",
|
|
79
|
-
options: { defaultGeneration: "uuidv7" }
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
name: "userId",
|
|
83
|
-
type: "uuid"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
name: "accountId",
|
|
87
|
-
type: "string"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: "providerId",
|
|
91
|
-
type: "string"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: "password",
|
|
95
|
-
type: "string",
|
|
96
|
-
isOptional: true
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: "createdAt",
|
|
100
|
-
type: "dateTime",
|
|
101
|
-
options: { defaultToNow: true }
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
name: "updatedAt",
|
|
105
|
-
type: "dateTime",
|
|
106
|
-
options: { defaultToNow: true, updatedAt: true }
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
primaryKeyFieldRefs: ["id"],
|
|
110
|
-
uniqueConstraints: [
|
|
111
|
-
{
|
|
112
|
-
fields: [{ fieldRef: "accountId" }, { fieldRef: "providerId" }]
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
relations: [
|
|
116
|
-
{
|
|
117
|
-
name: "user",
|
|
118
|
-
references: [{ localRef: "userId", foreignRef: "id" }],
|
|
119
|
-
modelRef: LOCAL_AUTH_MODELS.user,
|
|
120
|
-
foreignRelationName: "accounts",
|
|
121
|
-
onDelete: "Cascade",
|
|
122
|
-
onUpdate: "Restrict"
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
name: LOCAL_AUTH_MODELS.userRole,
|
|
129
|
-
featureRef: accountsFeatureName,
|
|
130
|
-
model: {
|
|
131
|
-
fields: [
|
|
132
|
-
{
|
|
133
|
-
name: "userId",
|
|
134
|
-
type: "uuid"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
name: "role",
|
|
138
|
-
type: "string"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
name: "updatedAt",
|
|
142
|
-
type: "dateTime",
|
|
143
|
-
options: { defaultToNow: true, updatedAt: true }
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
name: "createdAt",
|
|
147
|
-
type: "dateTime",
|
|
148
|
-
options: { defaultToNow: true }
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
primaryKeyFieldRefs: ["userId", "role"],
|
|
152
|
-
relations: [
|
|
153
|
-
{
|
|
154
|
-
name: "user",
|
|
155
|
-
references: [{ localRef: "userId", foreignRef: "id" }],
|
|
156
|
-
modelRef: LOCAL_AUTH_MODELS.user,
|
|
157
|
-
foreignRelationName: "roles",
|
|
158
|
-
onDelete: "Cascade",
|
|
159
|
-
onUpdate: "Restrict"
|
|
160
|
-
}
|
|
161
|
-
]
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
name: LOCAL_AUTH_MODELS.userSession,
|
|
166
|
-
featureRef: accountsFeatureName,
|
|
167
|
-
model: {
|
|
168
|
-
fields: [
|
|
169
|
-
{
|
|
170
|
-
name: "id",
|
|
171
|
-
type: "uuid",
|
|
172
|
-
options: { defaultGeneration: "uuidv7" }
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
name: "userId",
|
|
176
|
-
type: "uuid"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
name: "token",
|
|
180
|
-
type: "string"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
name: "expiresAt",
|
|
184
|
-
type: "dateTime"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
name: "renewedAt",
|
|
188
|
-
type: "dateTime",
|
|
189
|
-
options: { defaultToNow: true }
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
name: "createdAt",
|
|
193
|
-
type: "dateTime",
|
|
194
|
-
options: { defaultToNow: true }
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
name: "updatedAt",
|
|
198
|
-
type: "dateTime",
|
|
199
|
-
options: { defaultToNow: true, updatedAt: true }
|
|
200
|
-
}
|
|
201
|
-
],
|
|
202
|
-
primaryKeyFieldRefs: ["id"],
|
|
203
|
-
uniqueConstraints: [
|
|
204
|
-
{
|
|
205
|
-
fields: [{ fieldRef: "token" }]
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
relations: [
|
|
209
|
-
{
|
|
210
|
-
name: "user",
|
|
211
|
-
references: [{ localRef: "userId", foreignRef: "id" }],
|
|
212
|
-
modelRef: LOCAL_AUTH_MODELS.user,
|
|
213
|
-
foreignRelationName: "sessions",
|
|
214
|
-
onDelete: "Cascade",
|
|
215
|
-
onUpdate: "Restrict"
|
|
216
|
-
}
|
|
217
|
-
]
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
name: LOCAL_AUTH_MODELS.authVerification,
|
|
222
|
-
featureRef: authFeatureName,
|
|
223
|
-
model: {
|
|
224
|
-
fields: [
|
|
225
|
-
{
|
|
226
|
-
name: "id",
|
|
227
|
-
type: "uuid",
|
|
228
|
-
options: { defaultGeneration: "uuidv4" }
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
name: "type",
|
|
232
|
-
type: "string"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
name: "identifier",
|
|
236
|
-
type: "string"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
name: "value",
|
|
240
|
-
type: "string"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
name: "userId",
|
|
244
|
-
type: "uuid",
|
|
245
|
-
isOptional: true
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
name: "metadata",
|
|
249
|
-
type: "json",
|
|
250
|
-
isOptional: true
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
name: "expiresAt",
|
|
254
|
-
type: "dateTime"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
name: "createdAt",
|
|
258
|
-
type: "dateTime",
|
|
259
|
-
options: { defaultToNow: true }
|
|
260
|
-
}
|
|
261
|
-
],
|
|
262
|
-
primaryKeyFieldRefs: ["id"],
|
|
263
|
-
uniqueConstraints: [
|
|
264
|
-
{
|
|
265
|
-
fields: [{ fieldRef: "type" }, { fieldRef: "identifier" }]
|
|
266
|
-
}
|
|
267
|
-
],
|
|
268
|
-
relations: [
|
|
269
|
-
{
|
|
270
|
-
name: "user",
|
|
271
|
-
references: [{ localRef: "userId", foreignRef: "id" }],
|
|
272
|
-
modelRef: LOCAL_AUTH_MODELS.user,
|
|
273
|
-
foreignRelationName: "authVerifications",
|
|
274
|
-
onDelete: "Cascade",
|
|
275
|
-
onUpdate: "Restrict"
|
|
276
|
-
}
|
|
277
|
-
]
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
]
|
|
281
|
-
};
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
const {authRoleEntityType,definitionSchema} = await importShared('@baseplate-dev/project-builder-lib');
|
|
285
|
-
|
|
286
|
-
const {z} = await importShared('zod');
|
|
287
|
-
|
|
288
|
-
const createLocalAuthPluginDefinitionSchema = definitionSchema(
|
|
289
|
-
(ctx) => z.object({
|
|
290
|
-
additionalUserAdminRoles: ctx.withDefault(
|
|
291
|
-
z.array(
|
|
292
|
-
ctx.withRef({
|
|
293
|
-
type: authRoleEntityType,
|
|
294
|
-
onDelete: "DELETE"
|
|
295
|
-
})
|
|
296
|
-
),
|
|
297
|
-
[]
|
|
298
|
-
),
|
|
299
|
-
requireNameOnRegistration: z.boolean().default(false)
|
|
300
|
-
})
|
|
301
|
-
);
|
|
302
|
-
|
|
303
|
-
export { createLocalAuthPartialDefinition as a, createLocalAuthPluginDefinitionSchema as c };
|
|
304
|
-
//# sourceMappingURL=plugin-definition-QKz1ZAYK.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-definition-QKz1ZAYK.js","sources":["../../../src/local-auth/core/schema/models.ts","../../../src/local-auth/core/schema/plugin-definition.ts"],"sourcesContent":["import type { PartialProjectDefinitionInput } from '@baseplate-dev/project-builder-lib';\n\nimport { LOCAL_AUTH_MODELS } from '#src/local-auth/constants/model-names.js';\n\nexport function createLocalAuthPartialDefinition(\n authFeatureName: string,\n accountsFeatureName: string,\n): PartialProjectDefinitionInput {\n return {\n models: [\n {\n name: LOCAL_AUTH_MODELS.user,\n featureRef: accountsFeatureName,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { defaultGeneration: 'uuidv7' },\n },\n {\n name: 'name',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'email',\n type: 'string',\n },\n {\n name: 'emailVerified',\n type: 'boolean',\n options: { default: 'false' },\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n ],\n primaryKeyFieldRefs: ['id'],\n uniqueConstraints: [\n {\n fields: [{ fieldRef: 'email' }],\n },\n ],\n },\n graphql: {\n objectType: {\n enabled: true,\n fields: [\n { ref: 'id' },\n {\n ref: 'email',\n globalRoles: ['admin'],\n instanceRoles: ['self'],\n },\n ],\n },\n },\n authorizer: {\n roles: [\n {\n name: 'self',\n expression: 'model.id === userId',\n },\n ],\n },\n },\n {\n name: LOCAL_AUTH_MODELS.userAccount,\n featureRef: accountsFeatureName,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { defaultGeneration: 'uuidv7' },\n },\n {\n name: 'userId',\n type: 'uuid',\n },\n {\n name: 'accountId',\n type: 'string',\n },\n {\n name: 'providerId',\n type: 'string',\n },\n {\n name: 'password',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n ],\n primaryKeyFieldRefs: ['id'],\n uniqueConstraints: [\n {\n fields: [{ fieldRef: 'accountId' }, { fieldRef: 'providerId' }],\n },\n ],\n relations: [\n {\n name: 'user',\n references: [{ localRef: 'userId', foreignRef: 'id' }],\n modelRef: LOCAL_AUTH_MODELS.user,\n foreignRelationName: 'accounts',\n onDelete: 'Cascade',\n onUpdate: 'Restrict',\n },\n ],\n },\n },\n {\n name: LOCAL_AUTH_MODELS.userRole,\n featureRef: accountsFeatureName,\n model: {\n fields: [\n {\n name: 'userId',\n type: 'uuid',\n },\n {\n name: 'role',\n type: 'string',\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n ],\n primaryKeyFieldRefs: ['userId', 'role'],\n relations: [\n {\n name: 'user',\n references: [{ localRef: 'userId', foreignRef: 'id' }],\n modelRef: LOCAL_AUTH_MODELS.user,\n foreignRelationName: 'roles',\n onDelete: 'Cascade',\n onUpdate: 'Restrict',\n },\n ],\n },\n },\n {\n name: LOCAL_AUTH_MODELS.userSession,\n featureRef: accountsFeatureName,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { defaultGeneration: 'uuidv7' },\n },\n {\n name: 'userId',\n type: 'uuid',\n },\n {\n name: 'token',\n type: 'string',\n },\n {\n name: 'expiresAt',\n type: 'dateTime',\n },\n {\n name: 'renewedAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n ],\n primaryKeyFieldRefs: ['id'],\n uniqueConstraints: [\n {\n fields: [{ fieldRef: 'token' }],\n },\n ],\n relations: [\n {\n name: 'user',\n references: [{ localRef: 'userId', foreignRef: 'id' }],\n modelRef: LOCAL_AUTH_MODELS.user,\n foreignRelationName: 'sessions',\n onDelete: 'Cascade',\n onUpdate: 'Restrict',\n },\n ],\n },\n },\n {\n name: LOCAL_AUTH_MODELS.authVerification,\n featureRef: authFeatureName,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { defaultGeneration: 'uuidv4' },\n },\n {\n name: 'type',\n type: 'string',\n },\n {\n name: 'identifier',\n type: 'string',\n },\n {\n name: 'value',\n type: 'string',\n },\n {\n name: 'userId',\n type: 'uuid',\n isOptional: true,\n },\n {\n name: 'metadata',\n type: 'json',\n isOptional: true,\n },\n {\n name: 'expiresAt',\n type: 'dateTime',\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n ],\n primaryKeyFieldRefs: ['id'],\n uniqueConstraints: [\n {\n fields: [{ fieldRef: 'type' }, { fieldRef: 'identifier' }],\n },\n ],\n relations: [\n {\n name: 'user',\n references: [{ localRef: 'userId', foreignRef: 'id' }],\n modelRef: LOCAL_AUTH_MODELS.user,\n foreignRelationName: 'authVerifications',\n onDelete: 'Cascade',\n onUpdate: 'Restrict',\n },\n ],\n },\n },\n ],\n };\n}\n","import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport {\n authRoleEntityType,\n definitionSchema,\n} from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nexport const createLocalAuthPluginDefinitionSchema = definitionSchema((ctx) =>\n z.object({\n additionalUserAdminRoles: ctx.withDefault(\n z.array(\n ctx.withRef({\n type: authRoleEntityType,\n onDelete: 'DELETE',\n }),\n ),\n [],\n ),\n requireNameOnRegistration: z.boolean().default(false),\n }),\n);\n\nexport type LocalAuthPluginDefinition = def.InferOutput<\n typeof createLocalAuthPluginDefinitionSchema\n>;\n\nexport type LocalAuthPluginDefinitionInput = def.InferInput<\n typeof createLocalAuthPluginDefinitionSchema\n>;\n"],"names":[],"mappings":";;;AAIO,SAAS,gCAAA,CACd,iBACA,mBAAA,EAC+B;AAC/B,EAAA,OAAO;AAAA,IACL,MAAA,EAAQ;AAAA,MACN;AAAA,QACE,MAAM,iBAAA,CAAkB,IAAA;AAAA,QACxB,UAAA,EAAY,mBAAA;AAAA,QACZ,KAAA,EAAO;AAAA,UACL,MAAA,EAAQ;AAAA,YACN;AAAA,cACE,IAAA,EAAM,IAAA;AAAA,cACN,IAAA,EAAM,MAAA;AAAA,cACN,OAAA,EAAS,EAAE,iBAAA,EAAmB,QAAA;AAAS,aACzC;AAAA,YACA;AAAA,cACE,IAAA,EAAM,MAAA;AAAA,cACN,IAAA,EAAM,QAAA;AAAA,cACN,UAAA,EAAY;AAAA,aACd;AAAA,YACA;AAAA,cACE,IAAA,EAAM,OAAA;AAAA,cACN,IAAA,EAAM;AAAA,aACR;AAAA,YACA;AAAA,cACE,IAAA,EAAM,eAAA;AAAA,cACN,IAAA,EAAM,SAAA;AAAA,cACN,OAAA,EAAS,EAA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A,UACV,IAAA,EAAM,kBAAA;AAAA,UACN,QAAA,EAAU;AAAA,SACX;AAAA,OACH;AAAA,MACA;AAAC,KACH;AAAA,IACA,yBAAA,EAA2B,CAAA,CAAE,OAAA,EAAQ,CAAE,QAAQ,KAAK;AAAA,GACrD;AACH;;;;"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-DvwH-J9J.js';
|
|
2
|
-
|
|
3
|
-
const createStoreImpl = (createState) => {
|
|
4
|
-
let state;
|
|
5
|
-
const listeners = /* @__PURE__ */ new Set();
|
|
6
|
-
const setState = (partial, replace) => {
|
|
7
|
-
const nextState = typeof partial === "function" ? partial(state) : partial;
|
|
8
|
-
if (!Object.is(nextState, state)) {
|
|
9
|
-
const previousState = state;
|
|
10
|
-
state = (replace != null ? replace : typeof nextState !== "object" || nextState === null) ? nextState : Object.assign({}, state, nextState);
|
|
11
|
-
listeners.forEach((listener) => listener(state, previousState));
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
const getState = () => state;
|
|
15
|
-
const getInitialState = () => initialState;
|
|
16
|
-
const subscribe = (listener) => {
|
|
17
|
-
listeners.add(listener);
|
|
18
|
-
return () => listeners.delete(listener);
|
|
19
|
-
};
|
|
20
|
-
const api = { setState, getState, getInitialState, subscribe };
|
|
21
|
-
const initialState = state = createState(setState, getState, api);
|
|
22
|
-
return api;
|
|
23
|
-
};
|
|
24
|
-
const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
25
|
-
|
|
26
|
-
const React = await importShared('react');
|
|
27
|
-
|
|
28
|
-
const identity = (arg) => arg;
|
|
29
|
-
function useStore(api, selector = identity) {
|
|
30
|
-
const slice = React.useSyncExternalStore(
|
|
31
|
-
api.subscribe,
|
|
32
|
-
() => selector(api.getState()),
|
|
33
|
-
() => selector(api.getInitialState())
|
|
34
|
-
);
|
|
35
|
-
React.useDebugValue(slice);
|
|
36
|
-
return slice;
|
|
37
|
-
}
|
|
38
|
-
const createImpl = (createState) => {
|
|
39
|
-
const api = createStore(createState);
|
|
40
|
-
const useBoundStore = (selector) => useStore(api, selector);
|
|
41
|
-
Object.assign(useBoundStore, api);
|
|
42
|
-
return useBoundStore;
|
|
43
|
-
};
|
|
44
|
-
const create = (createState) => createState ? createImpl(createState) : createImpl;
|
|
45
|
-
|
|
46
|
-
export { create as c };
|
|
47
|
-
//# sourceMappingURL=react-D62wAwO5.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-D62wAwO5.js","sources":["../../../../../node_modules/.pnpm/zustand@5.0.3_@types+react@19.1.3_immer@11.1.4_react@19.1.0_use-sync-external-store@1.6.0/node_modules/zustand/esm/vanilla.mjs","../../../../../node_modules/.pnpm/zustand@5.0.3_@types+react@19.1.3_immer@11.1.4_react@19.1.0_use-sync-external-store@1.6.0/node_modules/zustand/esm/react.mjs"],"sourcesContent":["const createStoreImpl = (createState) => {\n let state;\n const listeners = /* @__PURE__ */ new Set();\n const setState = (partial, replace) => {\n const nextState = typeof partial === \"function\" ? partial(state) : partial;\n if (!Object.is(nextState, state)) {\n const previousState = state;\n state = (replace != null ? replace : typeof nextState !== \"object\" || nextState === null) ? nextState : Object.assign({}, state, nextState);\n listeners.forEach((listener) => listener(state, previousState));\n }\n };\n const getState = () => state;\n const getInitialState = () => initialState;\n const subscribe = (listener) => {\n listeners.add(listener);\n return () => listeners.delete(listener);\n };\n const api = { setState, getState, getInitialState, subscribe };\n const initialState = state = createState(setState, getState, api);\n return api;\n};\nconst createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;\n\nexport { createStore };\n","import React from 'react';\nimport { createStore } from 'zustand/vanilla';\n\nconst identity = (arg) => arg;\nfunction useStore(api, selector = identity) {\n const slice = React.useSyncExternalStore(\n api.subscribe,\n () => selector(api.getState()),\n () => selector(api.getInitialState())\n );\n React.useDebugValue(slice);\n return slice;\n}\nconst createImpl = (createState) => {\n const api = createStore(createState);\n const useBoundStore = (selector) => useStore(api, selector);\n Object.assign(useBoundStore, api);\n return useBoundStore;\n};\nconst create = (createState) => createState ? createImpl(createState) : createImpl;\n\nexport { create, useStore };\n"],"names":[],"mappings":";;AAAA,MAAM,eAAe,GAAG,CAAC,WAAW,KAAK;AACzC,EAAE,IAAI,KAAK;AACX,EAAE,MAAM,SAAS,mBAAmB,IAAI,GAAG,EAAE;AAC7C,EAAE,MAAM,QAAQ,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK;AACzC,IAAI,MAAM,SAAS,GAAG,OAAO,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO;AAC9E,IAAI,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE;AACtC,MAAM,MAAM,aAAa,GAAG,KAAK;AACjC,MAAM,KAAK,GAAG,CAAC,OAAO,IAAI,IAAI,GAAG,OAAO,GAAG,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,IAAI,IAAI,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,CAAC;AACjJ,MAAM,SAAS,CAAC,OAAO,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AACrE,IAAI;AACJ,EAAE,CAAC;AACH,EAAE,MAAM,QAAQ,GAAG,MAAM,KAAK;AAC9B,EAAE,MAAM,eAAe,GAAG,MAAM,YAAY;AAC5C,EAAE,MAAM,SAAS,GAAG,CAAC,QAAQ,KAAK;AAClC,IAAI,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC;AAC3B,IAAI,OAAO,MAAM,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC;AAC3C,EAAE,CAAC;AACH,EAAE,MAAM,GAAG,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE;AAChE,EAAE,MAAM,YAAY,GAAG,KAAK,GAAG,WAAW,CAAC,Q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