@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
|
@@ -16442,7 +16442,7 @@ var THEME_COLORS = {
|
|
|
16442
16442
|
name: "Card Background",
|
|
16443
16443
|
description: "Background color for <Card />",
|
|
16444
16444
|
lightDefault: { color: "white" },
|
|
16445
|
-
darkDefault: { baseShade: "
|
|
16445
|
+
darkDefault: { baseShade: "900" },
|
|
16446
16446
|
groupKey: "card",
|
|
16447
16447
|
category: "surface"
|
|
16448
16448
|
},
|
|
@@ -16458,7 +16458,7 @@ var THEME_COLORS = {
|
|
|
16458
16458
|
name: "Popover Background",
|
|
16459
16459
|
description: "Background color for popovers such as <DropdownMenu />, <HoverCard />, <Popover />",
|
|
16460
16460
|
lightDefault: { color: "white" },
|
|
16461
|
-
darkDefault: { baseShade: "
|
|
16461
|
+
darkDefault: { baseShade: "900" },
|
|
16462
16462
|
groupKey: "popover",
|
|
16463
16463
|
category: "surface"
|
|
16464
16464
|
},
|
|
@@ -16600,7 +16600,7 @@ var THEME_COLORS = {
|
|
|
16600
16600
|
},
|
|
16601
16601
|
input: {
|
|
16602
16602
|
name: "Input Border",
|
|
16603
|
-
description: "Border color for inputs such as <Input />, <Select />, <Textarea
|
|
16603
|
+
description: "Border color for inputs such as <Input />, <Select />, <Textarea />. This is the border only — the input fill is derived separately (see --control-background)",
|
|
16604
16604
|
lightDefault: { baseShade: "200" },
|
|
16605
16605
|
darkDefault: { baseShade: "800" },
|
|
16606
16606
|
groupKey: "border",
|
|
@@ -16667,6 +16667,60 @@ var AppUtils = {
|
|
|
16667
16667
|
getAppDirectory
|
|
16668
16668
|
};
|
|
16669
16669
|
//#endregion
|
|
16670
|
+
//#region ../../packages/project-builder-lib/dist/definition/apps/app-url-utils.js
|
|
16671
|
+
/** Conventional name of the admin console, which is never the default client. */
|
|
16672
|
+
var ADMIN_APP_NAME = "admin";
|
|
16673
|
+
/**
|
|
16674
|
+
* An app's origin, falling back to its dev server when none is configured.
|
|
16675
|
+
*
|
|
16676
|
+
* @param app - The app to resolve
|
|
16677
|
+
* @returns The configured URL, or `http://localhost:{devPort}`
|
|
16678
|
+
*/
|
|
16679
|
+
function resolveAppUrl(app) {
|
|
16680
|
+
if (app.url !== "") return app.url.replace(/\/+$/, "");
|
|
16681
|
+
return `http://localhost:${String(app.devPort)}`;
|
|
16682
|
+
}
|
|
16683
|
+
/**
|
|
16684
|
+
* Picks the web app the backend links to when no client is in scope.
|
|
16685
|
+
*
|
|
16686
|
+
* @param webApps - The project's web apps
|
|
16687
|
+
* @param defaultWebAppId - The explicitly configured default, if any
|
|
16688
|
+
* @returns The default web app, or undefined if the project has no web apps
|
|
16689
|
+
*/
|
|
16690
|
+
function pickDefaultWebApp(webApps, defaultWebAppId) {
|
|
16691
|
+
const configured = webApps.find((app) => app.id === defaultWebAppId);
|
|
16692
|
+
if (configured) return configured;
|
|
16693
|
+
return webApps.find((app) => app.name !== ADMIN_APP_NAME) ?? webApps[0];
|
|
16694
|
+
}
|
|
16695
|
+
/**
|
|
16696
|
+
* Resolves the public origins of a project's apps.
|
|
16697
|
+
*
|
|
16698
|
+
* @param projectDefinition - The project definition to read apps and settings from
|
|
16699
|
+
* @returns The backend origin and every web app origin
|
|
16700
|
+
*/
|
|
16701
|
+
function getAppUrls(projectDefinition) {
|
|
16702
|
+
const backendApp = AppUtils.getBackendApp(projectDefinition);
|
|
16703
|
+
const apiUrl = resolveAppUrl(backendApp);
|
|
16704
|
+
const webApps = projectDefinition.apps.filter((app) => app.type === "web");
|
|
16705
|
+
if (webApps.length === 0) return {
|
|
16706
|
+
apiUrl,
|
|
16707
|
+
webApps: [{
|
|
16708
|
+
name: backendApp.name,
|
|
16709
|
+
url: apiUrl,
|
|
16710
|
+
isDefault: true
|
|
16711
|
+
}]
|
|
16712
|
+
};
|
|
16713
|
+
const defaultWebApp = pickDefaultWebApp(webApps, projectDefinition.settings.urls?.defaultWebAppRef);
|
|
16714
|
+
return {
|
|
16715
|
+
apiUrl,
|
|
16716
|
+
webApps: webApps.map((app) => ({
|
|
16717
|
+
name: app.name,
|
|
16718
|
+
url: resolveAppUrl(app),
|
|
16719
|
+
isDefault: app.id === defaultWebApp?.id
|
|
16720
|
+
}))
|
|
16721
|
+
};
|
|
16722
|
+
}
|
|
16723
|
+
//#endregion
|
|
16670
16724
|
//#region ../../packages/project-builder-lib/dist/references/definition-ref-registry.js
|
|
16671
16725
|
/**
|
|
16672
16726
|
* Global registry that stores Baseplate metadata on Zod schema instances.
|
|
@@ -17147,11 +17201,25 @@ function createAppEntryType(name) {
|
|
|
17147
17201
|
}
|
|
17148
17202
|
//#endregion
|
|
17149
17203
|
//#region ../../packages/project-builder-lib/dist/schema/apps/base.js
|
|
17204
|
+
/** Whether a string is a bare http(s) origin, with no path, query or hash. */
|
|
17205
|
+
function isOrigin(url) {
|
|
17206
|
+
if (!__mf_0$1.url({ protocol: /^https?$/ }).safeParse(url).success) return false;
|
|
17207
|
+
const parsed = new URL(url);
|
|
17208
|
+
return parsed.pathname === "/" && !parsed.search && !parsed.hash;
|
|
17209
|
+
}
|
|
17210
|
+
/**
|
|
17211
|
+
* The public origin an app is served from, e.g. "https://app.example.com".
|
|
17212
|
+
*
|
|
17213
|
+
* Blank means "derive it from `devPort`". Read it through `getAppUrls`, which
|
|
17214
|
+
* resolves that fallback and strips any trailing slash.
|
|
17215
|
+
*/
|
|
17216
|
+
var appUrlValidator = __mf_0$1.string().default("").refine((url) => url === "" || isOrigin(url), "Must be an origin without a path, e.g. https://app.example.com");
|
|
17150
17217
|
var baseAppValidators = {
|
|
17151
17218
|
id: __mf_0$1.string().default(appEntityType.generateNewId()),
|
|
17152
17219
|
name: CASE_VALIDATORS.KEBAB_CASE,
|
|
17153
17220
|
type: __mf_0$1.string(),
|
|
17154
|
-
devPort: __mf_0$1.number().int().positive().max(65535).optional()
|
|
17221
|
+
devPort: __mf_0$1.number().int().positive().max(65535).optional(),
|
|
17222
|
+
url: appUrlValidator
|
|
17155
17223
|
};
|
|
17156
17224
|
var baseAppSchema = __mf_0$1.object(baseAppValidators);
|
|
17157
17225
|
//#endregion
|
|
@@ -19739,6 +19807,7 @@ var createAuthorizerRoleSchema = definitionSchemaWithSlots({ modelSlot: modelEnt
|
|
|
19739
19807
|
* - `exists()` / `all()` — quantify over a has-many relation
|
|
19740
19808
|
*
|
|
19741
19809
|
* @example 'model.userId === userId'
|
|
19810
|
+
* @example 'model.deletedAt === null'
|
|
19742
19811
|
* @example "hasRole('admin')"
|
|
19743
19812
|
* @example "hasRole(model.blog, 'owner')"
|
|
19744
19813
|
* @example 'exists(model.members, { userId: userId })'
|
|
@@ -25047,7 +25116,7 @@ function convertBinaryExpression(node) {
|
|
|
25047
25116
|
}
|
|
25048
25117
|
/**
|
|
25049
25118
|
* Convert an expression node to either a FieldRefNode or a LiteralValueNode.
|
|
25050
|
-
* Supports string, number, and
|
|
25119
|
+
* Supports string, number, boolean, and null literals.
|
|
25051
25120
|
*/
|
|
25052
25121
|
function convertFieldRefOrLiteral(node) {
|
|
25053
25122
|
if (node.type === "UnaryExpression" && (node.operator === "-" || node.operator === "+") && node.argument.type === "Literal" && typeof node.argument.value === "number") return {
|
|
@@ -25058,14 +25127,15 @@ function convertFieldRefOrLiteral(node) {
|
|
|
25058
25127
|
};
|
|
25059
25128
|
if (node.type === "Literal") {
|
|
25060
25129
|
const { value } = node;
|
|
25061
|
-
if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") return {
|
|
25130
|
+
if (value === null || typeof value === "string" || typeof value === "number" || typeof value === "boolean") return {
|
|
25062
25131
|
type: "literalValue",
|
|
25063
25132
|
value,
|
|
25064
25133
|
start: node.start,
|
|
25065
25134
|
end: node.end
|
|
25066
25135
|
};
|
|
25067
|
-
throw new AuthorizerExpressionParseError("Unsupported literal type. Only string, number, and
|
|
25136
|
+
throw new AuthorizerExpressionParseError("Unsupported literal type. Only string, number, boolean, and null literals are supported.", node);
|
|
25068
25137
|
}
|
|
25138
|
+
if (node.type === "Identifier" && node.name === "undefined") throw new AuthorizerExpressionParseError("Unsupported literal `undefined`. Use `null` instead.", node);
|
|
25069
25139
|
return convertFieldRef(node);
|
|
25070
25140
|
}
|
|
25071
25141
|
/**
|
|
@@ -25359,6 +25429,15 @@ function getAuthRoleInfo(pluginStore, definition) {
|
|
|
25359
25429
|
};
|
|
25360
25430
|
}
|
|
25361
25431
|
/**
|
|
25432
|
+
* Resolve whether a field is nullable, returning `undefined` when it cannot be
|
|
25433
|
+
* determined — either the model carries no nullability info, or the field does
|
|
25434
|
+
* not exist (which is warned about separately).
|
|
25435
|
+
*/
|
|
25436
|
+
function resolveFieldNullability(fieldName, scalarFieldNames, nullableFieldNames) {
|
|
25437
|
+
if (!nullableFieldNames || !scalarFieldNames?.has(fieldName)) return;
|
|
25438
|
+
return nullableFieldNames.has(fieldName);
|
|
25439
|
+
}
|
|
25440
|
+
/**
|
|
25362
25441
|
* Validate an authorizer expression AST against model and project context.
|
|
25363
25442
|
*
|
|
25364
25443
|
* @param ast - The parsed expression AST
|
|
@@ -25397,10 +25476,7 @@ function validateAuthorizerExpression(ast, modelContext, pluginStore, definition
|
|
|
25397
25476
|
if (node.right.type === "fieldRef") validateFieldRef(node.right);
|
|
25398
25477
|
const fieldRef = node.left.type === "fieldRef" ? node.left : node.right;
|
|
25399
25478
|
const literalNode = node.left.type === "literalValue" ? node.left : node.right.type === "literalValue" ? node.right : null;
|
|
25400
|
-
if (fieldRef.type === "fieldRef" && fieldRef.source === "model" && literalNode !== null)
|
|
25401
|
-
const fieldType = modelContext.fieldTypes.get(fieldRef.field);
|
|
25402
|
-
if (fieldType) validateLiteralTypeCompatibility(fieldRef.field, fieldType, modelContext.modelName, literalNode);
|
|
25403
|
-
}
|
|
25479
|
+
if (fieldRef.type === "fieldRef" && fieldRef.source === "model" && literalNode !== null) validateLiteralCompatibility(fieldRef.field, modelContext.modelName, modelContext.fieldTypes.get(fieldRef.field), resolveFieldNullability(fieldRef.field, modelContext.scalarFieldNames, modelContext.nullableFieldNames), literalNode);
|
|
25404
25480
|
},
|
|
25405
25481
|
hasRole(node) {
|
|
25406
25482
|
if (allRoleNames.has(node.role)) warnIfAutoAssignedRole(node.role, node.roleStart, node.roleEnd);
|
|
@@ -25491,13 +25567,31 @@ function validateAuthorizerExpression(ast, modelContext, pluginStore, definition
|
|
|
25491
25567
|
});
|
|
25492
25568
|
}
|
|
25493
25569
|
if (condition.value.type === "fieldRef") validateFieldRef(condition.value);
|
|
25494
|
-
if (condition.value.type === "literalValue"
|
|
25495
|
-
const foreignFieldType = relation.foreignFieldTypes.get(condition.field);
|
|
25496
|
-
if (foreignFieldType) validateLiteralTypeCompatibility(condition.field, foreignFieldType, relation.foreignModelName, condition.value);
|
|
25497
|
-
}
|
|
25570
|
+
if (condition.value.type === "literalValue") validateLiteralCompatibility(condition.field, relation.foreignModelName, relation.foreignFieldTypes?.get(condition.field), resolveFieldNullability(condition.field, relation.foreignScalarFieldNames, relation.foreignNullableFieldNames), condition.value);
|
|
25498
25571
|
}
|
|
25499
25572
|
}
|
|
25500
|
-
|
|
25573
|
+
/**
|
|
25574
|
+
* Warn if a literal cannot match a field: an incompatible type, or `null`
|
|
25575
|
+
* against a required or json field.
|
|
25576
|
+
*
|
|
25577
|
+
* `fieldType` and `isNullable` are `undefined` when unknown, in which case the
|
|
25578
|
+
* corresponding check is skipped.
|
|
25579
|
+
*/
|
|
25580
|
+
function validateLiteralCompatibility(fieldName, modelName, fieldType, isNullable, literalNode) {
|
|
25581
|
+
if (literalNode.value === null) {
|
|
25582
|
+
if (fieldType === "json") warnings.push({
|
|
25583
|
+
message: `Field '${fieldName}' on model '${modelName}' is a json field, which cannot be compared to null.`,
|
|
25584
|
+
start: literalNode.start,
|
|
25585
|
+
end: literalNode.end
|
|
25586
|
+
});
|
|
25587
|
+
else if (isNullable === false) warnings.push({
|
|
25588
|
+
message: `Field '${fieldName}' on model '${modelName}' is required and can never be null.`,
|
|
25589
|
+
start: literalNode.start,
|
|
25590
|
+
end: literalNode.end
|
|
25591
|
+
});
|
|
25592
|
+
return;
|
|
25593
|
+
}
|
|
25594
|
+
if (!fieldType) return;
|
|
25501
25595
|
const literalJsType = typeof literalNode.value;
|
|
25502
25596
|
if (!(() => {
|
|
25503
25597
|
switch (fieldType) {
|
|
@@ -25549,13 +25643,17 @@ function getModelFields(model) {
|
|
|
25549
25643
|
function buildFieldInfo(model) {
|
|
25550
25644
|
const fieldNames = /* @__PURE__ */ new Set();
|
|
25551
25645
|
const fieldTypes = /* @__PURE__ */ new Map();
|
|
25646
|
+
const nullableFieldNames = /* @__PURE__ */ new Set();
|
|
25552
25647
|
for (const field of getModelFields(model)) {
|
|
25553
25648
|
fieldNames.add(field.name);
|
|
25554
25649
|
if (field.type) fieldTypes.set(field.name, field.type);
|
|
25650
|
+
if (field.isOptional) nullableFieldNames.add(field.name);
|
|
25555
25651
|
}
|
|
25652
|
+
const hasFields = fieldNames.size > 0;
|
|
25556
25653
|
return {
|
|
25557
|
-
foreignScalarFieldNames:
|
|
25558
|
-
foreignFieldTypes: fieldTypes.size > 0 ? fieldTypes : void 0
|
|
25654
|
+
foreignScalarFieldNames: hasFields ? fieldNames : void 0,
|
|
25655
|
+
foreignFieldTypes: fieldTypes.size > 0 ? fieldTypes : void 0,
|
|
25656
|
+
foreignNullableFieldNames: hasFields ? nullableFieldNames : void 0
|
|
25559
25657
|
};
|
|
25560
25658
|
}
|
|
25561
25659
|
/**
|
|
@@ -25572,9 +25670,11 @@ function buildFieldInfo(model) {
|
|
|
25572
25670
|
function buildModelExpressionContext(model, allModels) {
|
|
25573
25671
|
const scalarFieldNames = /* @__PURE__ */ new Set();
|
|
25574
25672
|
const fieldTypes = /* @__PURE__ */ new Map();
|
|
25673
|
+
const nullableFieldNames = /* @__PURE__ */ new Set();
|
|
25575
25674
|
for (const field of getModelFields(model)) {
|
|
25576
25675
|
scalarFieldNames.add(field.name);
|
|
25577
25676
|
if (field.type) fieldTypes.set(field.name, field.type);
|
|
25677
|
+
if (field.isOptional) nullableFieldNames.add(field.name);
|
|
25578
25678
|
}
|
|
25579
25679
|
const modelsById = new Map(allModels.filter((m) => m.id != null).map((m) => [m.id, m]));
|
|
25580
25680
|
const modelsByName = new Map(allModels.map((m) => [m.name, m]));
|
|
@@ -25606,6 +25706,7 @@ function buildModelExpressionContext(model, allModels) {
|
|
|
25606
25706
|
modelName: model.name,
|
|
25607
25707
|
scalarFieldNames,
|
|
25608
25708
|
fieldTypes,
|
|
25709
|
+
nullableFieldNames,
|
|
25609
25710
|
relationInfo
|
|
25610
25711
|
};
|
|
25611
25712
|
}
|
|
@@ -27707,6 +27808,25 @@ var createThemeSchema = definitionSchema(() => __mf_0$1.object({
|
|
|
27707
27808
|
})
|
|
27708
27809
|
}));
|
|
27709
27810
|
//#endregion
|
|
27811
|
+
//#region ../../packages/project-builder-lib/dist/schema/settings/urls.js
|
|
27812
|
+
/**
|
|
27813
|
+
* URL settings schema
|
|
27814
|
+
*
|
|
27815
|
+
* The origins themselves live on the apps that serve them (`app.url`). This
|
|
27816
|
+
* section only records which web app is the primary client, which generators
|
|
27817
|
+
* read at compile time when they must pick one.
|
|
27818
|
+
*/
|
|
27819
|
+
var createUrlsSettingsSchema = definitionSchema((ctx) => __mf_0$1.object({
|
|
27820
|
+
/**
|
|
27821
|
+
* The project's primary web app.
|
|
27822
|
+
*
|
|
27823
|
+
* When unset, the first web app not named "admin" is used.
|
|
27824
|
+
*/
|
|
27825
|
+
defaultWebAppRef: __mf_0$1.optional(ctx.withRef({
|
|
27826
|
+
type: appEntityType,
|
|
27827
|
+
onDelete: "SET_UNDEFINED"
|
|
27828
|
+
})) }));
|
|
27829
|
+
//#endregion
|
|
27710
27830
|
//#region ../../packages/project-builder-lib/dist/schema/settings/settings.js
|
|
27711
27831
|
/**
|
|
27712
27832
|
* Complete project settings schema
|
|
@@ -27717,6 +27837,7 @@ var createThemeSchema = definitionSchema(() => __mf_0$1.object({
|
|
|
27717
27837
|
* - monorepo: Monorepo folder configuration (optional)
|
|
27718
27838
|
* - templateExtractor: Template extraction configuration (optional)
|
|
27719
27839
|
* - theme: UI theme and color palette configuration (optional)
|
|
27840
|
+
* - urls: Which web app is the project's primary client (optional)
|
|
27720
27841
|
*/
|
|
27721
27842
|
var createSettingsSchema = definitionSchema((ctx) => __mf_0$1.object({
|
|
27722
27843
|
/**
|
|
@@ -27750,7 +27871,14 @@ var createSettingsSchema = definitionSchema((ctx) => __mf_0$1.object({
|
|
|
27750
27871
|
* Defines color palettes and semantic color mappings for the UI.
|
|
27751
27872
|
* When omitted, uses default theme configuration.
|
|
27752
27873
|
*/
|
|
27753
|
-
theme: createThemeSchema(ctx).optional()
|
|
27874
|
+
theme: createThemeSchema(ctx).optional(),
|
|
27875
|
+
/**
|
|
27876
|
+
* URL configuration (optional)
|
|
27877
|
+
*
|
|
27878
|
+
* Records the project's primary web app. When omitted, the first web app
|
|
27879
|
+
* not named "admin" is used.
|
|
27880
|
+
*/
|
|
27881
|
+
urls: createUrlsSettingsSchema(ctx).optional()
|
|
27754
27882
|
}));
|
|
27755
27883
|
//#endregion
|
|
27756
27884
|
//#region ../../packages/project-builder-lib/dist/schema/project-definition.js
|
|
@@ -34753,6 +34881,7 @@ var dist_exports = /* @__PURE__ */ __exportAll({
|
|
|
34753
34881
|
createTemplateExtractorSchema: () => createTemplateExtractorSchema,
|
|
34754
34882
|
createThemeSchema: () => createThemeSchema,
|
|
34755
34883
|
createTransformerSchema: () => createTransformerSchema,
|
|
34884
|
+
createUrlsSettingsSchema: () => createUrlsSettingsSchema,
|
|
34756
34885
|
createWebAdminSectionSchema: () => createWebAdminSectionSchema,
|
|
34757
34886
|
createWebAppSchema: () => createWebAppSchema,
|
|
34758
34887
|
definitionFieldIssueRegistry: () => definitionFieldIssueRegistry,
|
|
@@ -34780,6 +34909,7 @@ var dist_exports = /* @__PURE__ */ __exportAll({
|
|
|
34780
34909
|
generateCssFromThemeConfig: () => generateCssFromThemeConfig,
|
|
34781
34910
|
generateDefaultTheme: () => generateDefaultTheme,
|
|
34782
34911
|
generateThemeColorsFromShade: () => generateThemeColorsFromShade,
|
|
34912
|
+
getAppUrls: () => getAppUrls,
|
|
34783
34913
|
getBackendRelativePath: () => getBackendRelativePath,
|
|
34784
34914
|
getDefaultThemeColorFromShade: () => getDefaultThemeColorFromShade,
|
|
34785
34915
|
getEntity: () => getEntity,
|
|
@@ -34978,31 +35108,31 @@ if (exportModule === void 0) {
|
|
|
34978
35108
|
});
|
|
34979
35109
|
exportModule = dist_exports;
|
|
34980
35110
|
}
|
|
34981
|
-
var
|
|
34982
|
-
var
|
|
34983
|
-
var
|
|
34984
|
-
var
|
|
34985
|
-
var
|
|
34986
|
-
var
|
|
34987
|
-
var __mf_68;
|
|
35111
|
+
var __mf_18;
|
|
35112
|
+
var __mf_22;
|
|
35113
|
+
var __mf_24;
|
|
35114
|
+
var __mf_40;
|
|
35115
|
+
var __mf_56;
|
|
35116
|
+
var __mf_59;
|
|
34988
35117
|
var __mf_69;
|
|
34989
35118
|
var __mf_70;
|
|
34990
35119
|
var __mf_71;
|
|
34991
|
-
var
|
|
34992
|
-
var
|
|
34993
|
-
var
|
|
35120
|
+
var __mf_72;
|
|
35121
|
+
var __mf_74;
|
|
35122
|
+
var __mf_107;
|
|
34994
35123
|
var __mf_112;
|
|
34995
|
-
var
|
|
34996
|
-
var
|
|
35124
|
+
var __mf_113;
|
|
35125
|
+
var __mf_115;
|
|
34997
35126
|
var __mf_120;
|
|
34998
|
-
var
|
|
34999
|
-
var
|
|
35000
|
-
var
|
|
35001
|
-
var
|
|
35002
|
-
var
|
|
35003
|
-
var
|
|
35004
|
-
var
|
|
35005
|
-
var
|
|
35127
|
+
var __mf_121;
|
|
35128
|
+
var __mf_142;
|
|
35129
|
+
var __mf_146;
|
|
35130
|
+
var __mf_150;
|
|
35131
|
+
var __mf_156;
|
|
35132
|
+
var __mf_159;
|
|
35133
|
+
var __mf_195;
|
|
35134
|
+
var __mf_240;
|
|
35135
|
+
var __mf_244;
|
|
35006
35136
|
var __mfApplyEagerShareExports = (mod) => {
|
|
35007
35137
|
mod["expressionParserCoreModule"];
|
|
35008
35138
|
mod["adminCrudActionCompilerSpec"];
|
|
@@ -35019,15 +35149,16 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35019
35149
|
mod["COLOR_PALETTES"];
|
|
35020
35150
|
mod["THEME_COLORS"];
|
|
35021
35151
|
mod["THEME_COLOR_KEYS"];
|
|
35152
|
+
mod["getAppUrls"];
|
|
35022
35153
|
mod["getBackendRelativePath"];
|
|
35023
35154
|
mod["AppUtils"];
|
|
35024
|
-
|
|
35155
|
+
__mf_18 = mod["FeatureUtils"];
|
|
35025
35156
|
mod["EnumUtils"];
|
|
35026
35157
|
mod["ModelFieldUtils"];
|
|
35027
35158
|
mod["ModelTransformerUtils"];
|
|
35028
|
-
|
|
35159
|
+
__mf_22 = mod["ModelUtils"];
|
|
35029
35160
|
mod["LibraryUtils"];
|
|
35030
|
-
|
|
35161
|
+
__mf_24 = mod["PluginUtils"];
|
|
35031
35162
|
mod["ProjectDefinitionContainer"];
|
|
35032
35163
|
mod["AVAILABLE_FLAGS"];
|
|
35033
35164
|
mod["SCHEMA_MIGRATIONS"];
|
|
@@ -35043,7 +35174,7 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35043
35174
|
mod["collectExpressionIssues"];
|
|
35044
35175
|
mod["createEntityIssue"];
|
|
35045
35176
|
mod["createIssueFixSetter"];
|
|
35046
|
-
|
|
35177
|
+
__mf_40 = mod["createPluginModelSyncChecker"];
|
|
35047
35178
|
mod["previewIssueFix"];
|
|
35048
35179
|
mod["resolveIssuePath"];
|
|
35049
35180
|
mod["findOrphanedUnionItems"];
|
|
@@ -35059,10 +35190,10 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35059
35190
|
mod["runInPluginContext"];
|
|
35060
35191
|
mod["getPluginContext"];
|
|
35061
35192
|
mod["initializePlugins"];
|
|
35062
|
-
|
|
35193
|
+
__mf_56 = mod["createPluginModule"];
|
|
35063
35194
|
mod["getPluginMetadataByKey"];
|
|
35064
35195
|
mod["getPluginMetadataByKeyOrThrow"];
|
|
35065
|
-
|
|
35196
|
+
__mf_59 = mod["getManagedPluginsForPlugin"];
|
|
35066
35197
|
mod["buildEnabledPluginFqnSet"];
|
|
35067
35198
|
mod["validatePluginDependencyGraph"];
|
|
35068
35199
|
mod["getPluginDependencies"];
|
|
@@ -35072,12 +35203,12 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35072
35203
|
mod["pluginDependencySchema"];
|
|
35073
35204
|
mod["pluginMetadataSchema"];
|
|
35074
35205
|
mod["runPluginMigrations"];
|
|
35075
|
-
|
|
35076
|
-
|
|
35077
|
-
|
|
35078
|
-
|
|
35206
|
+
__mf_69 = mod["authConfigSpec"];
|
|
35207
|
+
__mf_70 = mod["authModelsSpec"];
|
|
35208
|
+
__mf_71 = mod["pluginConfigSpec"];
|
|
35209
|
+
__mf_72 = mod["pluginDefaultsSpec"];
|
|
35079
35210
|
mod["createPluginSpec"];
|
|
35080
|
-
|
|
35211
|
+
__mf_74 = mod["webConfigSpec"];
|
|
35081
35212
|
mod["PluginSpecStore"];
|
|
35082
35213
|
mod["createFieldMapSpec"];
|
|
35083
35214
|
mod["createPluginFieldMap"];
|
|
@@ -35110,21 +35241,21 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35110
35241
|
mod["createWebAdminSectionSchema"];
|
|
35111
35242
|
mod["createAdminAppSchema"];
|
|
35112
35243
|
mod["createBaseAdminSectionValidators"];
|
|
35113
|
-
|
|
35244
|
+
__mf_107 = mod["adminCrudActionSpec"];
|
|
35114
35245
|
mod["createAdminCrudActionSchema"];
|
|
35115
35246
|
mod["createAdminCrudEditActionSchema"];
|
|
35116
35247
|
mod["createAdminCrudDeleteActionSchema"];
|
|
35117
35248
|
mod["BUILT_IN_ADMIN_CRUD_ACTIONS"];
|
|
35118
|
-
|
|
35119
|
-
|
|
35249
|
+
__mf_112 = mod["baseAdminCrudActionSchema"];
|
|
35250
|
+
__mf_113 = mod["createAdminCrudActionType"];
|
|
35120
35251
|
mod["adminCrudActionEntityType"];
|
|
35121
|
-
|
|
35252
|
+
__mf_115 = mod["adminCrudColumnSpec"];
|
|
35122
35253
|
mod["createAdminCrudColumnSchema"];
|
|
35123
35254
|
mod["createAdminCrudTextColumnSchema"];
|
|
35124
35255
|
mod["createAdminCrudForeignColumnSchema"];
|
|
35125
35256
|
mod["BUILT_IN_ADMIN_CRUD_COLUMNS"];
|
|
35126
|
-
|
|
35127
|
-
|
|
35257
|
+
__mf_120 = mod["baseAdminCrudColumnSchema"];
|
|
35258
|
+
__mf_121 = mod["createAdminCrudColumnType"];
|
|
35128
35259
|
mod["adminCrudColumnEntityType"];
|
|
35129
35260
|
mod["createAdminCrudInputSchema"];
|
|
35130
35261
|
mod["adminCrudInputSpec"];
|
|
@@ -35145,24 +35276,24 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35145
35276
|
mod["createAdminCrudSectionSchema"];
|
|
35146
35277
|
mod["adminSectionEntityType"];
|
|
35147
35278
|
mod["adminCrudSectionColumnEntityType"];
|
|
35148
|
-
|
|
35279
|
+
__mf_142 = mod["webAppSchemaExtensionSpec"];
|
|
35149
35280
|
mod["getWebAppPluginData"];
|
|
35150
35281
|
mod["createWebAppSchema"];
|
|
35151
35282
|
mod["webAppEntryType"];
|
|
35152
|
-
|
|
35283
|
+
__mf_146 = mod["authRoleEntityType"];
|
|
35153
35284
|
mod["withDefault"];
|
|
35154
35285
|
mod["definitionFixRegistry"];
|
|
35155
35286
|
mod["withFix"];
|
|
35156
|
-
|
|
35287
|
+
__mf_150 = mod["definitionIssueCheckerSpec"];
|
|
35157
35288
|
mod["checkUniqueFieldValue"];
|
|
35158
35289
|
mod["checkUniqueField"];
|
|
35159
35290
|
mod["definitionFieldIssueRegistry"];
|
|
35160
35291
|
mod["withIssueChecker"];
|
|
35161
35292
|
mod["createDefinitionSchemaParserContext"];
|
|
35162
|
-
|
|
35293
|
+
__mf_156 = mod["definitionSchema"];
|
|
35163
35294
|
mod["definitionSchemaWithSlots"];
|
|
35164
35295
|
mod["withPlaceholderSlots"];
|
|
35165
|
-
|
|
35296
|
+
__mf_159 = mod["featureEntityType"];
|
|
35166
35297
|
mod["featureNameSchema"];
|
|
35167
35298
|
mod["createFeatureSchema"];
|
|
35168
35299
|
mod["createFeaturesSchema"];
|
|
@@ -35198,7 +35329,7 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35198
35329
|
mod["baseTransformerSchema"];
|
|
35199
35330
|
mod["createModelTransformerType"];
|
|
35200
35331
|
mod["modelEntityType"];
|
|
35201
|
-
|
|
35332
|
+
__mf_195 = mod["modelScalarFieldEntityType"];
|
|
35202
35333
|
mod["modelLocalRelationEntityType"];
|
|
35203
35334
|
mod["modelForeignRelationEntityType"];
|
|
35204
35335
|
mod["modelUniqueConstraintEntityType"];
|
|
@@ -35222,6 +35353,7 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35222
35353
|
mod["paletteSchema"];
|
|
35223
35354
|
mod["palettesSchema"];
|
|
35224
35355
|
mod["createThemeSchema"];
|
|
35356
|
+
mod["createUrlsSettingsSchema"];
|
|
35225
35357
|
mod["VALIDATORS"];
|
|
35226
35358
|
mod["nodeLibraryDefinitionSchemaEntry"];
|
|
35227
35359
|
mod["reactLibraryDefinitionSchemaEntry"];
|
|
@@ -35242,11 +35374,11 @@ var __mfApplyEagerShareExports = (mod) => {
|
|
|
35242
35374
|
mod["deleteEntity"];
|
|
35243
35375
|
mod["patchEntity"];
|
|
35244
35376
|
mod["updateEntity"];
|
|
35245
|
-
|
|
35377
|
+
__mf_240 = mod["diffDefinition"];
|
|
35246
35378
|
mod["diffSerializedDefinitions"];
|
|
35247
35379
|
mod["getEntityName"];
|
|
35248
35380
|
mod["mergeDataWithSchema"];
|
|
35249
|
-
|
|
35381
|
+
__mf_244 = mod["applyMergedDefinition"];
|
|
35250
35382
|
mod["mergeDefinition"];
|
|
35251
35383
|
mod["mergeDefinitionContainer"];
|
|
35252
35384
|
mod["getMergeRule"];
|
|
@@ -35284,6 +35416,6 @@ __mfSubscribeSharedCache(__mfModuleCache.share, {
|
|
|
35284
35416
|
}, __mfApplyEagerShareExports);
|
|
35285
35417
|
__mfApplyEagerShareExports(exportModule);
|
|
35286
35418
|
//#endregion
|
|
35287
|
-
export { createFieldMapSpec as A,
|
|
35419
|
+
export { createFieldMapSpec as A, __mf_71 as C, ModelUtils as D, dist_exports as E, createPluginSpec as F, _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__prebuild__zod__prebuild___exports as I, parse$3 as L, __mf_0$1 as M, stringifyPrettyStable as N, FeatureUtils as O, isEqual as P, parseAsync$1 as R, __mf_70 as S, __mf_74 as T, __mf_244 as _, __mf_120 as a, __mf_59 as b, __mf_146 as c, __mf_159 as d, __mf_18 as f, __mf_240 as g, __mf_24 as h, __mf_115 as i, __mfDefaultExport as j, withPlaceholderSlots as k, __mf_150 as l, __mf_22 as m, __mf_112 as n, __mf_121 as o, __mf_195 as p, __mf_113 as r, __mf_142 as s, __mf_107 as t, __mf_156 as u, __mf_40 as v, __mf_72 as w, __mf_69 as x, __mf_56 as y, $ZodError as z };
|
|
35288
35420
|
|
|
35289
|
-
//# sourceMappingURL=_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-
|
|
35421
|
+
//# sourceMappingURL=_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.map
|
|
@@ -164,7 +164,7 @@ if (exportModule === void 0) (__mfModuleCache.pendingShareLoads ||= []).push(ini
|
|
|
164
164
|
__mfApplyLazyShareExports(exportModule);
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
|
-
return __vitePreload(() => import("./web-
|
|
167
|
+
return __vitePreload(() => import("./web-BGixH_gT.js").then((mod) => {
|
|
168
168
|
exportModule = __mfNormalizeShareModule(mod);
|
|
169
169
|
__mfWriteSharedCache(__mfModuleCache.share, {
|
|
170
170
|
"canonical": "default:@baseplate-dev/project-builder-lib/web",
|