@baseplate-dev/plugin-auth 1.0.5 → 1.0.7
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 +720 -0
- package/LICENSE +114 -123
- package/README.md +3 -3
- package/dist/auth/core/common.d.ts +2 -5
- package/dist/auth/core/common.d.ts.map +1 -1
- package/dist/auth/core/common.js +15 -18
- package/dist/auth/core/common.js.map +1 -1
- package/dist/auth/core/components/auth-definition-editor.d.ts.map +1 -1
- package/dist/auth/core/components/auth-definition-editor.js +44 -30
- package/dist/auth/core/components/auth-definition-editor.js.map +1 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts +12 -0
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +1 -0
- package/dist/auth/core/components/role-editor-form/role-dialog.js +29 -0
- package/dist/auth/core/components/role-editor-form/role-dialog.js.map +1 -0
- package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts +10 -0
- package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts.map +1 -0
- package/dist/auth/core/components/role-editor-form/role-editor-form.js +52 -0
- package/dist/auth/core/components/role-editor-form/role-editor-form.js.map +1 -0
- package/dist/auth/core/node.d.ts +3 -3
- package/dist/auth/core/node.d.ts.map +1 -1
- package/dist/auth/core/node.js +30 -50
- package/dist/auth/core/node.js.map +1 -1
- package/dist/auth/core/schema/plugin-definition.d.ts +6 -74
- package/dist/auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/auth/core/schema/plugin-definition.js +5 -20
- package/dist/auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/auth/core/schema/roles/constants.d.ts.map +1 -0
- package/dist/auth/core/schema/roles/constants.js.map +1 -0
- package/dist/auth/core/schema/roles/index.d.ts +3 -0
- package/dist/auth/core/schema/roles/index.d.ts.map +1 -0
- package/dist/auth/core/schema/roles/index.js +3 -0
- package/dist/auth/core/schema/roles/index.js.map +1 -0
- package/dist/auth/core/schema/roles/schema.d.ts +54 -0
- package/dist/auth/core/schema/roles/schema.d.ts.map +1 -0
- package/dist/auth/core/schema/roles/schema.js +37 -0
- package/dist/auth/core/schema/roles/schema.js.map +1 -0
- package/dist/auth/core/web.d.ts +3 -3
- package/dist/auth/core/web.d.ts.map +1 -1
- package/dist/auth/core/web.js +5 -6
- package/dist/auth/core/web.js.map +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/plugin.json +8 -0
- package/dist/auth/utils/get-auth-plugin-definition.d.ts +9 -0
- package/dist/auth/utils/get-auth-plugin-definition.d.ts.map +1 -0
- package/dist/auth/utils/get-auth-plugin-definition.js +10 -0
- package/dist/auth/utils/get-auth-plugin-definition.js.map +1 -0
- package/dist/auth/utils/index.d.ts +2 -0
- package/dist/auth/utils/index.d.ts.map +1 -0
- package/dist/auth/utils/index.js +2 -0
- package/dist/auth/utils/index.js.map +1 -0
- package/dist/better-auth/constants/model-names.d.ts +8 -0
- package/dist/better-auth/constants/model-names.d.ts.map +1 -0
- package/dist/better-auth/constants/model-names.js +8 -0
- package/dist/better-auth/constants/model-names.js.map +1 -0
- package/dist/better-auth/constants/packages.d.ts +4 -0
- package/dist/better-auth/constants/packages.d.ts.map +1 -0
- package/dist/better-auth/constants/packages.js +4 -0
- package/dist/better-auth/constants/packages.js.map +1 -0
- package/dist/better-auth/core/common.d.ts +6 -0
- package/dist/better-auth/core/common.d.ts.map +1 -0
- package/dist/better-auth/core/common.js +17 -0
- package/dist/better-auth/core/common.js.map +1 -0
- package/dist/better-auth/core/components/better-auth-definition-editor.d.ts +5 -0
- package/dist/better-auth/core/components/better-auth-definition-editor.d.ts.map +1 -0
- package/dist/better-auth/core/components/better-auth-definition-editor.js +50 -0
- package/dist/better-auth/core/components/better-auth-definition-editor.js.map +1 -0
- package/dist/better-auth/core/index.d.ts +2 -0
- package/dist/better-auth/core/index.d.ts.map +1 -0
- package/dist/better-auth/core/index.js +2 -0
- package/dist/better-auth/core/index.js.map +1 -0
- package/dist/better-auth/core/node.d.ts +5 -0
- package/dist/better-auth/core/node.d.ts.map +1 -0
- package/dist/better-auth/core/node.js +47 -0
- package/dist/better-auth/core/node.js.map +1 -0
- package/dist/better-auth/core/schema/models.d.ts +3 -0
- package/dist/better-auth/core/schema/models.d.ts.map +1 -0
- package/dist/better-auth/core/schema/models.js +278 -0
- package/dist/better-auth/core/schema/models.js.map +1 -0
- package/dist/better-auth/core/schema/plugin-definition.d.ts +5 -0
- package/dist/better-auth/core/schema/plugin-definition.d.ts.map +1 -0
- package/dist/better-auth/core/schema/plugin-definition.js +4 -0
- package/dist/better-auth/core/schema/plugin-definition.js.map +1 -0
- package/dist/better-auth/core/web.d.ts +6 -0
- package/dist/better-auth/core/web.d.ts.map +1 -0
- package/dist/better-auth/core/web.js +13 -0
- package/dist/better-auth/core/web.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +85 -0
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +75 -0
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +142 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js +11 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts +16 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js +28 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +73 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js +84 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts +30 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js +37 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +65 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js +72 -0
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts +4 -0
- package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/index.js +3 -0
- package/dist/better-auth/generators/fastify/better-auth-module/index.js.map +1 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/plugins/better-auth.plugin.ts +31 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/schema/user-session.queries.ts +22 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +62 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/user-session.service.ts +72 -0
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/utils/headers.utils.ts +21 -0
- package/dist/better-auth/generators/fastify/index.d.ts +2 -0
- package/dist/better-auth/generators/fastify/index.d.ts.map +1 -0
- package/dist/better-auth/generators/fastify/index.js +2 -0
- package/dist/better-auth/generators/fastify/index.js.map +1 -0
- package/dist/better-auth/generators/index.d.ts.map +1 -0
- package/dist/better-auth/generators/index.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts +43 -0
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js +37 -0
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts +72 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js +11 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts +14 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js +26 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts +27 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js +43 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts +18 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js +27 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts +51 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js +48 -0
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts +2 -0
- package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/index.js +2 -0
- package/dist/better-auth/generators/react/better-auth-hooks/index.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-log-out.ts +16 -0
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-session.ts +29 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +249 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js +26 -0
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +724 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.js +9 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts +13 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js +25 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +250 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js +44 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +943 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js +35 -0
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/index.d.ts +2 -0
- package/dist/better-auth/generators/react/better-auth-pages/index.d.ts.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/index.js +2 -0
- package/dist/better-auth/generators/react/better-auth-pages/index.js.map +1 -0
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/login.tsx +144 -0
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/register.tsx +160 -0
- package/dist/better-auth/generators/react/index.d.ts +4 -0
- package/dist/better-auth/generators/react/index.d.ts.map +1 -0
- package/dist/better-auth/generators/react/index.js +4 -0
- package/dist/better-auth/generators/react/index.js.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +515 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/index.js +11 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/index.js.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts +13 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js +25 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +260 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js +51 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts +21 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js +30 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +247 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js +33 -0
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/index.d.ts +4 -0
- package/dist/better-auth/generators/react/react-better-auth/index.d.ts.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/index.js +3 -0
- package/dist/better-auth/generators/react/react-better-auth/index.js.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +280 -0
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js +74 -0
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js.map +1 -0
- package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx +55 -0
- package/dist/better-auth/generators/react/react-better-auth/templates/src/services/auth-client.ts +13 -0
- package/dist/better-auth/index.d.ts +3 -0
- package/dist/better-auth/index.d.ts.map +1 -0
- package/dist/better-auth/index.js +2 -0
- package/dist/better-auth/index.js.map +1 -0
- package/dist/better-auth/plugin.json +9 -0
- package/dist/better-auth/static/icon.svg +10 -0
- package/dist/common/components/auth-config-tabs.d.ts +2 -0
- package/dist/common/components/auth-config-tabs.d.ts.map +1 -0
- package/dist/common/components/auth-config-tabs.js +21 -0
- package/dist/common/components/auth-config-tabs.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/local-auth/admin/common.d.ts +5 -0
- package/dist/local-auth/admin/common.d.ts.map +1 -0
- package/dist/local-auth/admin/common.js +29 -0
- package/dist/local-auth/admin/common.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +488 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +127 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +488 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js +9 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +24 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +249 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +41 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +238 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +20 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +22 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +78 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +164 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +487 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +119 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +488 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js +9 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +12 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +24 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +249 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +41 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +473 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +22 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +22 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +89 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +171 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +233 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +54 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js.map +1 -0
- package/dist/local-auth/admin/node.d.ts +5 -0
- package/dist/local-auth/admin/node.d.ts.map +1 -0
- package/dist/local-auth/admin/node.js +57 -0
- package/dist/local-auth/admin/node.js.map +1 -0
- package/dist/local-auth/admin/schema/manage-role-action.d.ts +12 -0
- package/dist/local-auth/admin/schema/manage-role-action.d.ts.map +1 -0
- package/dist/local-auth/admin/schema/manage-role-action.js +6 -0
- package/dist/local-auth/admin/schema/manage-role-action.js.map +1 -0
- package/dist/local-auth/admin/schema/reset-password-action.d.ts +12 -0
- package/dist/local-auth/admin/schema/reset-password-action.d.ts.map +1 -0
- package/dist/local-auth/admin/schema/reset-password-action.js +6 -0
- package/dist/local-auth/admin/schema/reset-password-action.js.map +1 -0
- package/dist/local-auth/admin/schema/roles-column.d.ts +9 -0
- package/dist/local-auth/admin/schema/roles-column.d.ts.map +1 -0
- package/dist/local-auth/admin/schema/roles-column.js +6 -0
- package/dist/local-auth/admin/schema/roles-column.js.map +1 -0
- package/dist/local-auth/admin/web.d.ts +5 -0
- package/dist/local-auth/admin/web.d.ts.map +1 -0
- package/dist/local-auth/admin/web.js +39 -0
- package/dist/local-auth/admin/web.js.map +1 -0
- package/dist/local-auth/constants/model-names.d.ts +23 -0
- package/dist/local-auth/constants/model-names.d.ts.map +1 -0
- package/dist/local-auth/constants/model-names.js +23 -0
- package/dist/local-auth/constants/model-names.js.map +1 -0
- package/dist/local-auth/core/common.d.ts +6 -0
- package/dist/local-auth/core/common.d.ts.map +1 -0
- package/dist/local-auth/core/common.js +17 -0
- package/dist/local-auth/core/common.js.map +1 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts +5 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +1 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.js +59 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +14 -0
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js +40 -0
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js +20 -0
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js.map +1 -0
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.ts +18 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +136 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +76 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +359 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +18 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +30 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +110 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +93 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +45 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js +46 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +394 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +141 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +17 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +18 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +21 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js +24 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.ts +35 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js +38 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.ts +54 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +72 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +91 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts +24 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +87 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +140 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts +37 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +161 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +235 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +60 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +207 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +330 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +43 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +48 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +96 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +26 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +41 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +59 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +60 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +42 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.js +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.tsx +55 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js +12 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.tsx +44 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.tsx +55 -0
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +57 -0
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js +32 -0
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +93 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +14 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +26 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +35 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +45 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +29 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +37 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +71 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +50 -0
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/index.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-hooks/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/index.js +3 -0
- package/dist/local-auth/core/generators/auth-hooks/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +30 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +33 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +15 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +16 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +32 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js +15 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +16 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +117 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +103 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +281 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +24 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +36 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +102 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +109 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +30 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +37 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +269 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +192 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js +17 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.ts +21 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts +8 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js +16 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.ts +21 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js +23 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.ts +26 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js +19 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.ts +25 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +18 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +22 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +36 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +43 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +40 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +106 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +146 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts +15 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js +35 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts +47 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +190 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +262 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +38 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +263 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +32 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +1497 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +18 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +28 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +264 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +62 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts +21 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js +30 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +2206 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +117 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/index.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/index.js +3 -0
- package/dist/local-auth/core/generators/auth-routes/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts +10 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js +11 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.ts +12 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js +60 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.tsx +127 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +85 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +168 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +82 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +153 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +150 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +283 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +106 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx +206 -0
- package/dist/local-auth/core/generators/index.d.ts +10 -0
- package/dist/local-auth/core/generators/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/index.js +10 -0
- package/dist/local-auth/core/generators/index.js.map +1 -0
- package/dist/local-auth/core/generators/react-auth/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-auth/index.js.map +1 -0
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts +9 -0
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.js +31 -0
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +546 -0
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/index.js +11 -0
- package/dist/local-auth/core/generators/react-session/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +13 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js +25 -0
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +271 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +51 -0
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts +21 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js +30 -0
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +525 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +35 -0
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/index.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +290 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.js +48 -0
- package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +72 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +99 -0
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts +58 -0
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +1 -0
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js +103 -0
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js.map +1 -0
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.ts +122 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +99 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js +11 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts +12 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js +24 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +50 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js +46 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts +18 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js +26 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +39 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js +21 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.d.ts +4 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.js +3 -0
- package/dist/local-auth/core/generators/seed-initial-user/index.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +58 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +57 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts +3 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js +32 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js.map +1 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +43 -0
- package/dist/local-auth/core/index.d.ts.map +1 -0
- package/dist/local-auth/core/index.js.map +1 -0
- package/dist/local-auth/core/node.d.ts +5 -0
- package/dist/local-auth/core/node.d.ts.map +1 -0
- package/dist/local-auth/core/node.js +69 -0
- package/dist/local-auth/core/node.js.map +1 -0
- package/dist/local-auth/core/schema/models.d.ts +3 -0
- package/dist/local-auth/core/schema/models.d.ts.map +1 -0
- package/dist/local-auth/core/schema/models.js +266 -0
- package/dist/local-auth/core/schema/models.js.map +1 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts +9 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +1 -0
- package/dist/local-auth/core/schema/plugin-definition.js +13 -0
- package/dist/local-auth/core/schema/plugin-definition.js.map +1 -0
- package/dist/local-auth/core/web.d.ts +6 -0
- package/dist/local-auth/core/web.d.ts.map +1 -0
- package/dist/local-auth/core/web.js +13 -0
- package/dist/local-auth/core/web.js.map +1 -0
- package/dist/local-auth/index.d.ts +2 -0
- package/dist/local-auth/index.d.ts.map +1 -0
- package/dist/local-auth/index.js +2 -0
- package/dist/local-auth/index.js.map +1 -0
- package/dist/local-auth/plugin.json +9 -0
- package/dist/local-auth/static/icon.svg +1 -0
- package/dist/placeholder-auth/constants/model-names.d.ts +4 -0
- package/dist/placeholder-auth/constants/model-names.d.ts.map +1 -0
- package/dist/placeholder-auth/constants/model-names.js +4 -0
- package/dist/placeholder-auth/constants/model-names.js.map +1 -0
- package/dist/placeholder-auth/core/common.d.ts +2 -5
- package/dist/placeholder-auth/core/common.d.ts.map +1 -1
- package/dist/placeholder-auth/core/common.js +11 -20
- package/dist/placeholder-auth/core/common.js.map +1 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts.map +1 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js +21 -29
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +3 -12
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +0 -2
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +0 -2
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +1 -7
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +2 -14
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +3 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +0 -15
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +7 -32
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +4 -6
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js +1 -7
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts +3 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +4 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts +2 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts +2 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts +1 -1
- package/dist/placeholder-auth/core/node.d.ts +3 -3
- package/dist/placeholder-auth/core/node.d.ts.map +1 -1
- package/dist/placeholder-auth/core/node.js +15 -29
- package/dist/placeholder-auth/core/node.js.map +1 -1
- package/dist/placeholder-auth/core/schema/models.d.ts +2 -5
- package/dist/placeholder-auth/core/schema/models.d.ts.map +1 -1
- package/dist/placeholder-auth/core/schema/models.js +31 -28
- package/dist/placeholder-auth/core/schema/models.js.map +1 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.d.ts +2 -79
- package/dist/placeholder-auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.js +2 -15
- package/dist/placeholder-auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/placeholder-auth/core/web.d.ts +3 -3
- package/dist/placeholder-auth/core/web.d.ts.map +1 -1
- package/dist/placeholder-auth/core/web.js +5 -6
- package/dist/placeholder-auth/core/web.js.map +1 -1
- package/dist/placeholder-auth/plugin.json +10 -0
- package/dist/web/assets/__federation_expose_authCoreCommon-CnNoa4tF.js +30 -0
- package/dist/web/assets/__federation_expose_authCoreCommon-CnNoa4tF.js.map +1 -0
- package/dist/web/assets/__federation_expose_authCoreWeb-BL_U7yuj.js +433 -0
- package/dist/web/assets/__federation_expose_authCoreWeb-BL_U7yuj.js.map +1 -0
- package/dist/web/assets/__federation_expose_better-authCoreCommon-D-mTcxYO.js +20 -0
- package/dist/web/assets/__federation_expose_better-authCoreCommon-D-mTcxYO.js.map +1 -0
- package/dist/web/assets/__federation_expose_better-authCoreWeb-CXHL-Ghf.js +402 -0
- package/dist/web/assets/__federation_expose_better-authCoreWeb-CXHL-Ghf.js.map +1 -0
- package/dist/web/assets/__federation_expose_local-authAdminCommon-LIsARRNU.js +63 -0
- package/dist/web/assets/__federation_expose_local-authAdminCommon-LIsARRNU.js.map +1 -0
- package/dist/web/assets/__federation_expose_local-authAdminWeb-DyYUDLm9.js +41 -0
- package/dist/web/assets/__federation_expose_local-authAdminWeb-DyYUDLm9.js.map +1 -0
- package/dist/web/assets/__federation_expose_local-authCoreCommon-p_UbExc7.js +21 -0
- package/dist/web/assets/__federation_expose_local-authCoreCommon-p_UbExc7.js.map +1 -0
- package/dist/web/assets/__federation_expose_local-authCoreWeb-8TcUJFT6.js +432 -0
- package/dist/web/assets/__federation_expose_local-authCoreWeb-8TcUJFT6.js.map +1 -0
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CtZXaDUc.js +23 -0
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CtZXaDUc.js.map +1 -0
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-CZAKokTb.js +162 -0
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-CZAKokTb.js.map +1 -0
- package/dist/web/assets/__federation_fn_import-3DENgil8.js +421 -0
- package/dist/web/assets/__federation_fn_import-3DENgil8.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B5bdbzFj.js +357 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B5bdbzFj.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DCA3vO4J.js +21478 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DCA3vO4J.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BvL7RO9S.js +73599 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BvL7RO9S.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-0-N5BG4T.js +1822 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-0-N5BG4T.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/react-router-DSniiJ6U.js +6565 -0
- package/dist/web/assets/__federation_shared_@tanstack/react-router-DSniiJ6U.js.map +1 -0
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js +8 -0
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js.map +1 -0
- package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js +251 -0
- package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js.map +1 -0
- package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js +13250 -0
- package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js.map +1 -0
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js +6 -0
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js.map +1 -0
- package/dist/web/assets/get-auth-plugin-definition-DHcbFujw.js +13 -0
- package/dist/web/assets/get-auth-plugin-definition-DHcbFujw.js.map +1 -0
- package/dist/web/assets/index-DQKNnI1w.js +103 -0
- package/dist/web/assets/index-DQKNnI1w.js.map +1 -0
- package/dist/web/assets/index-DUwCgkeV.js +570 -0
- package/dist/web/assets/index-DUwCgkeV.js.map +1 -0
- package/dist/web/assets/index.esm-Dpqxgpya.js +2676 -0
- package/dist/web/assets/index.esm-Dpqxgpya.js.map +1 -0
- package/dist/web/assets/isEqual-tnzoadW8.js +242 -0
- package/dist/web/assets/isEqual-tnzoadW8.js.map +1 -0
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js +60 -0
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js.map +1 -0
- package/dist/web/assets/mergeWith-VagwCqUi.js +76 -0
- package/dist/web/assets/mergeWith-VagwCqUi.js.map +1 -0
- package/dist/web/assets/model-names-DrcaRxt1.js +25 -0
- package/dist/web/assets/model-names-DrcaRxt1.js.map +1 -0
- package/dist/web/assets/model-utils-BFX3c3dn.js +694 -0
- package/dist/web/assets/model-utils-BFX3c3dn.js.map +1 -0
- package/dist/web/assets/plugin-definition-B86WQ7Ni.js +79 -0
- package/dist/web/assets/plugin-definition-B86WQ7Ni.js.map +1 -0
- package/dist/web/assets/plugin-definition-CEQb6mWV.js +20 -0
- package/dist/web/assets/plugin-definition-CEQb6mWV.js.map +1 -0
- package/dist/web/assets/plugin-definition-DrsKbcJc.js +31 -0
- package/dist/web/assets/plugin-definition-DrsKbcJc.js.map +1 -0
- package/dist/web/assets/plugin-definition-KEpaSB6p.js +16 -0
- package/dist/web/assets/plugin-definition-KEpaSB6p.js.map +1 -0
- package/dist/web/assets/react-hu8Hx0R4.js +47 -0
- package/dist/web/assets/react-hu8Hx0R4.js.map +1 -0
- package/dist/web/assets/registries-Tz_dluz3.js +1119 -0
- package/dist/web/assets/registries-Tz_dluz3.js.map +1 -0
- package/dist/web/assets/remoteEntry.js +26 -14
- package/dist/web/assets/remoteEntry.js.map +1 -1
- package/dist/web/assets/style-DiK_rD1L.css +120 -0
- package/dist/web/assets/styles-CpKtlIgU.js +69 -0
- package/dist/web/assets/styles-CpKtlIgU.js.map +1 -0
- package/dist/web/assets/with-selector-DTXBONcE.js +201 -0
- package/dist/web/assets/with-selector-DTXBONcE.js.map +1 -0
- package/dist/web/index.html +1 -1
- package/package.json +42 -36
- package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +0 -28
- package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.js +0 -43
- package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-apollo/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-apollo/index.js.map +0 -1
- package/dist/auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-apollo/templates/session-error-link.js +0 -15
- package/dist/auth/core/generators/auth-apollo/templates/session-error-link.js.map +0 -1
- package/dist/auth/core/generators/auth-apollo/templates/session-error-link.ts +0 -16
- package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +0 -73
- package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.js +0 -40
- package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/index.d.ts +0 -124
- package/dist/auth/core/generators/auth-email-password/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/index.js +0 -11
- package/dist/auth/core/generators/auth-email-password/generated/index.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-paths.d.ts +0 -14
- package/dist/auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-paths.js +0 -26
- package/dist/auth/core/generators/auth-email-password/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.d.ts +0 -58
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.js +0 -55
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +0 -25
- package/dist/auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/ts-import-providers.js +0 -32
- package/dist/auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.d.ts +0 -105
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.js +0 -58
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/index.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +0 -2
- package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +0 -3
- package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +0 -3
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +0 -33
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +0 -44
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +0 -21
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +0 -74
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +0 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +0 -121
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +0 -61
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.js +0 -33
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/index.d.ts +0 -127
- package/dist/auth/core/generators/auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/index.js +0 -11
- package/dist/auth/core/generators/auth-hooks/generated/index.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.d.ts +0 -17
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.js +0 -27
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.d.ts +0 -47
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.js +0 -50
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +0 -16
- package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.js +0 -27
- package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.d.ts +0 -131
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.js +0 -83
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/index.d.ts +0 -2
- package/dist/auth/core/generators/auth-hooks/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/index.js +0 -2
- package/dist/auth/core/generators/auth-hooks/index.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -18
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +0 -22
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +0 -39
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +0 -2
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +0 -5
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +0 -27
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +0 -29
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +0 -8
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +0 -12
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +0 -16
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js +0 -15
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +0 -16
- package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts +0 -94
- package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/auth-module.generator.js +0 -70
- package/dist/auth/core/generators/auth-module/auth-module.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/index.d.ts +0 -182
- package/dist/auth/core/generators/auth-module/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/index.js +0 -11
- package/dist/auth/core/generators/auth-module/generated/index.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/template-paths.d.ts +0 -19
- package/dist/auth/core/generators/auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/template-paths.js +0 -29
- package/dist/auth/core/generators/auth-module/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/template-renderers.d.ts +0 -80
- package/dist/auth/core/generators/auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/template-renderers.js +0 -79
- package/dist/auth/core/generators/auth-module/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/ts-import-providers.d.ts +0 -22
- package/dist/auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/ts-import-providers.js +0 -31
- package/dist/auth/core/generators/auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/typed-templates.d.ts +0 -134
- package/dist/auth/core/generators/auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/generated/typed-templates.js +0 -113
- package/dist/auth/core/generators/auth-module/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-module/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/index.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js +0 -17
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.ts +0 -23
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +0 -18
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +0 -22
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +0 -19
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +0 -23
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.js +0 -180
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.ts +0 -250
- package/dist/auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/session-cookie.js +0 -38
- package/dist/auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.d.ts +0 -176
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.js +0 -38
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/index.d.ts +0 -495
- package/dist/auth/core/generators/auth-routes/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/index.js +0 -9
- package/dist/auth/core/generators/auth-routes/generated/index.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/template-paths.d.ts +0 -15
- package/dist/auth/core/generators/auth-routes/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/template-paths.js +0 -25
- package/dist/auth/core/generators/auth-routes/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.d.ts +0 -176
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.js +0 -55
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.d.ts +0 -638
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.js +0 -57
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/index.d.ts +0 -2
- package/dist/auth/core/generators/auth-routes/index.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/index.js +0 -2
- package/dist/auth/core/generators/auth-routes/index.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +0 -2
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.js +0 -85
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +0 -161
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/queries.gql +0 -15
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +0 -2
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.js +0 -77
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +0 -148
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts +0 -2
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +0 -1
- package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +0 -1
- package/dist/auth/core/generators/index.d.ts +0 -8
- package/dist/auth/core/generators/index.d.ts.map +0 -1
- package/dist/auth/core/generators/index.js +0 -8
- package/dist/auth/core/generators/index.js.map +0 -1
- package/dist/auth/core/generators/react-auth/index.d.ts.map +0 -1
- package/dist/auth/core/generators/react-auth/index.js.map +0 -1
- package/dist/auth/core/generators/react-auth/react-auth.generator.d.ts +0 -9
- package/dist/auth/core/generators/react-auth/react-auth.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/react-auth/react-auth.generator.js +0 -31
- package/dist/auth/core/generators/react-auth/react-auth.generator.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/index.d.ts +0 -74
- package/dist/auth/core/generators/react-session/generated/index.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/index.js +0 -11
- package/dist/auth/core/generators/react-session/generated/index.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/template-paths.d.ts +0 -16
- package/dist/auth/core/generators/react-session/generated/template-paths.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/template-paths.js +0 -26
- package/dist/auth/core/generators/react-session/generated/template-paths.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts +0 -27
- package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/template-renderers.js +0 -49
- package/dist/auth/core/generators/react-session/generated/template-renderers.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/ts-import-providers.d.ts +0 -64
- package/dist/auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/ts-import-providers.js +0 -42
- package/dist/auth/core/generators/react-session/generated/ts-import-providers.js.map +0 -1
- package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts +0 -46
- package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/generated/typed-templates.js +0 -82
- package/dist/auth/core/generators/react-session/generated/typed-templates.js.map +0 -1
- package/dist/auth/core/generators/react-session/index.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/index.js.map +0 -1
- package/dist/auth/core/generators/react-session/react-session.generator.d.ts +0 -58
- package/dist/auth/core/generators/react-session/react-session.generator.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/react-session.generator.js +0 -54
- package/dist/auth/core/generators/react-session/react-session.generator.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts +0 -7
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.gql +0 -6
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js +0 -25
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.tsx +0 -28
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js +0 -18
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +0 -45
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts +0 -12
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js +0 -15
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts +0 -30
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.d.ts +0 -79
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.js +0 -133
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.js.map +0 -1
- package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.ts +0 -153
- package/dist/auth/core/index.d.ts.map +0 -1
- package/dist/auth/core/index.js.map +0 -1
- package/dist/auth/core/schema/models.d.ts +0 -9
- package/dist/auth/core/schema/models.d.ts.map +0 -1
- package/dist/auth/core/schema/models.js +0 -203
- package/dist/auth/core/schema/models.js.map +0 -1
- package/dist/auth/metadata.json +0 -8
- package/dist/auth0/constants/packages.d.ts +0 -6
- package/dist/auth0/constants/packages.d.ts.map +0 -1
- package/dist/auth0/constants/packages.js +0 -6
- package/dist/auth0/constants/packages.js.map +0 -1
- package/dist/auth0/core/common.d.ts +0 -7
- package/dist/auth0/core/common.d.ts.map +0 -1
- package/dist/auth0/core/common.js +0 -28
- package/dist/auth0/core/common.js.map +0 -1
- package/dist/auth0/core/components/auth-definition-editor.d.ts +0 -5
- package/dist/auth0/core/components/auth-definition-editor.d.ts.map +0 -1
- package/dist/auth0/core/components/auth-definition-editor.js +0 -61
- package/dist/auth0/core/components/auth-definition-editor.js.map +0 -1
- package/dist/auth0/core/node.d.ts +0 -5
- package/dist/auth0/core/node.d.ts.map +0 -1
- package/dist/auth0/core/node.js +0 -57
- package/dist/auth0/core/node.js.map +0 -1
- package/dist/auth0/core/schema/migrations.d.ts +0 -3
- package/dist/auth0/core/schema/migrations.d.ts.map +0 -1
- package/dist/auth0/core/schema/migrations.js +0 -19
- package/dist/auth0/core/schema/migrations.js.map +0 -1
- package/dist/auth0/core/schema/models.d.ts +0 -6
- package/dist/auth0/core/schema/models.d.ts.map +0 -1
- package/dist/auth0/core/schema/models.js +0 -39
- package/dist/auth0/core/schema/models.js.map +0 -1
- package/dist/auth0/core/schema/plugin-definition.d.ts +0 -83
- package/dist/auth0/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/auth0/core/schema/plugin-definition.js +0 -17
- package/dist/auth0/core/schema/plugin-definition.js.map +0 -1
- package/dist/auth0/core/web.d.ts +0 -6
- package/dist/auth0/core/web.d.ts.map +0 -1
- package/dist/auth0/core/web.js +0 -14
- package/dist/auth0/core/web.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +0 -75
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +0 -120
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +0 -105
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/index.js +0 -11
- package/dist/auth0/generators/fastify/auth0-module/generated/index.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +0 -13
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +0 -23
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +0 -55
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js +0 -52
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.d.ts +0 -10
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.js +0 -23
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +0 -43
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js +0 -28
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/index.d.ts +0 -2
- package/dist/auth0/generators/fastify/auth0-module/index.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/index.js +0 -2
- package/dist/auth0/generators/fastify/auth0-module/index.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/templates/module/services/management.ts +0 -22
- package/dist/auth0/generators/fastify/auth0-module/templates/module/services/user-session.service.ts +0 -101
- package/dist/auth0/generators/fastify/index.d.ts +0 -2
- package/dist/auth0/generators/fastify/index.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/index.js +0 -2
- package/dist/auth0/generators/fastify/index.js.map +0 -1
- package/dist/auth0/generators/index.d.ts.map +0 -1
- package/dist/auth0/generators/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.d.ts +0 -10
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.js +0 -41
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.js.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/index.d.ts +0 -2
- package/dist/auth0/generators/react/auth0-apollo/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/index.js +0 -2
- package/dist/auth0/generators/react/auth0-apollo/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-apollo/templates/auth-link.ts +0 -11
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +0 -40
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +0 -40
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +0 -72
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/index.js +0 -11
- package/dist/auth0/generators/react/auth0-hooks/generated/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +0 -16
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +0 -26
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +0 -29
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +0 -47
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +0 -16
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +0 -27
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +0 -52
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +0 -69
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/index.d.ts +0 -2
- package/dist/auth0/generators/react/auth0-hooks/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/index.js +0 -2
- package/dist/auth0/generators/react/auth0-hooks/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.gql +0 -10
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.ts +0 -29
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-log-out.ts +0 -14
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-session.ts +0 -23
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts +0 -143
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.js +0 -26
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts +0 -278
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/index.js +0 -9
- package/dist/auth0/generators/react/auth0-pages/generated/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-paths.d.ts +0 -12
- package/dist/auth0/generators/react/auth0-pages/generated/template-paths.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-paths.js +0 -20
- package/dist/auth0/generators/react/auth0-pages/generated/template-paths.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts +0 -144
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.js +0 -37
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts +0 -263
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.js +0 -18
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/index.d.ts +0 -2
- package/dist/auth0/generators/react/auth0-pages/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/index.js +0 -2
- package/dist/auth0/generators/react/auth0-pages/index.js.map +0 -1
- package/dist/auth0/generators/react/auth0-pages/templates/routes/login.tsx +0 -31
- package/dist/auth0/generators/react/index.d.ts +0 -5
- package/dist/auth0/generators/react/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/index.js +0 -5
- package/dist/auth0/generators/react/index.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts +0 -286
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/index.js +0 -9
- package/dist/auth0/generators/react/react-auth0/generated/index.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-paths.d.ts +0 -12
- package/dist/auth0/generators/react/react-auth0/generated/template-paths.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-paths.js +0 -22
- package/dist/auth0/generators/react/react-auth0/generated/template-paths.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts +0 -149
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.js +0 -39
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts +0 -136
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.js +0 -17
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/index.d.ts +0 -2
- package/dist/auth0/generators/react/react-auth0/index.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/index.js +0 -2
- package/dist/auth0/generators/react/react-auth0/index.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +0 -178
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +0 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.js +0 -107
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.js.map +0 -1
- package/dist/auth0/generators/react/react-auth0/templates/src/app/auth-loaded-gate.tsx +0 -78
- package/dist/auth0/metadata.json +0 -8
- package/dist/auth0/static/icon.svg +0 -7
- package/dist/common/compiler/generator-creators.d.ts +0 -18
- package/dist/common/compiler/generator-creators.d.ts.map +0 -1
- package/dist/common/compiler/generator-creators.js +0 -34
- package/dist/common/compiler/generator-creators.js.map +0 -1
- package/dist/common/compiler/index.d.ts +0 -2
- package/dist/common/compiler/index.d.ts.map +0 -1
- package/dist/common/compiler/index.js +0 -2
- package/dist/common/compiler/index.js.map +0 -1
- package/dist/common/index.d.ts +0 -3
- package/dist/common/index.d.ts.map +0 -1
- package/dist/common/index.js +0 -3
- package/dist/common/index.js.map +0 -1
- package/dist/common/roles/components/index.d.ts +0 -2
- package/dist/common/roles/components/index.d.ts.map +0 -1
- package/dist/common/roles/components/index.js +0 -2
- package/dist/common/roles/components/index.js.map +0 -1
- package/dist/common/roles/components/role-editor-form/role-dialog.d.ts +0 -14
- package/dist/common/roles/components/role-editor-form/role-dialog.d.ts.map +0 -1
- package/dist/common/roles/components/role-editor-form/role-dialog.js +0 -29
- package/dist/common/roles/components/role-editor-form/role-dialog.js.map +0 -1
- package/dist/common/roles/components/role-editor-form/role-editor-form.d.ts +0 -10
- package/dist/common/roles/components/role-editor-form/role-editor-form.d.ts.map +0 -1
- package/dist/common/roles/components/role-editor-form/role-editor-form.js +0 -49
- package/dist/common/roles/components/role-editor-form/role-editor-form.js.map +0 -1
- package/dist/common/roles/constants.d.ts.map +0 -1
- package/dist/common/roles/constants.js.map +0 -1
- package/dist/common/roles/index.d.ts +0 -4
- package/dist/common/roles/index.d.ts.map +0 -1
- package/dist/common/roles/index.js +0 -4
- package/dist/common/roles/index.js.map +0 -1
- package/dist/common/roles/schema.d.ts +0 -84
- package/dist/common/roles/schema.d.ts.map +0 -1
- package/dist/common/roles/schema.js +0 -44
- package/dist/common/roles/schema.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -14
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js +0 -23
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.ts +0 -34
- package/dist/placeholder-auth/metadata.json +0 -9
- package/dist/web/assets/__federation_expose_auth0CoreCommon-BXcKWfCq.js +0 -56
- package/dist/web/assets/__federation_expose_auth0CoreCommon-BXcKWfCq.js.map +0 -1
- package/dist/web/assets/__federation_expose_auth0CoreWeb-VnxlQY01.js +0 -201
- package/dist/web/assets/__federation_expose_auth0CoreWeb-VnxlQY01.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreCommon-LrPwgIpw.js +0 -36
- package/dist/web/assets/__federation_expose_authCoreCommon-LrPwgIpw.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-CGWfg0Fb.js +0 -401
- package/dist/web/assets/__federation_expose_authCoreWeb-CGWfg0Fb.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-DCZZPRb7.js +0 -39
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-DCZZPRb7.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-BunerD5g.js +0 -197
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-BunerD5g.js.map +0 -1
- package/dist/web/assets/__federation_fn_import-BDimcZUI.js +0 -421
- package/dist/web/assets/__federation_fn_import-BDimcZUI.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-oq9zm9eN.js +0 -341
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-oq9zm9eN.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DqkNAXn3.js +0 -10251
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DqkNAXn3.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BxXhpJ04.js +0 -23623
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BxXhpJ04.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-dom-Bwq4pLax.js +0 -250
- package/dist/web/assets/__federation_shared_react-dom-Bwq4pLax.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-uocnGSER.js +0 -7
- package/dist/web/assets/__federation_shared_react-uocnGSER.js.map +0 -1
- package/dist/web/assets/__federation_shared_zod-BK7IELHt.js +0 -4380
- package/dist/web/assets/__federation_shared_zod-BK7IELHt.js.map +0 -1
- package/dist/web/assets/index-B1hOKVPw.js +0 -574
- package/dist/web/assets/index-B1hOKVPw.js.map +0 -1
- package/dist/web/assets/index-D4PxvJ0z.js +0 -101
- package/dist/web/assets/index-D4PxvJ0z.js.map +0 -1
- package/dist/web/assets/index.esm-qm5h2Bmg.js +0 -2627
- package/dist/web/assets/index.esm-qm5h2Bmg.js.map +0 -1
- package/dist/web/assets/model-merger-CA2yaVFd.js +0 -1684
- package/dist/web/assets/model-merger-CA2yaVFd.js.map +0 -1
- package/dist/web/assets/plugin-definition-BEHZirWF.js +0 -24
- package/dist/web/assets/plugin-definition-BEHZirWF.js.map +0 -1
- package/dist/web/assets/plugin-definition-CoiivnNt.js +0 -36
- package/dist/web/assets/plugin-definition-CoiivnNt.js.map +0 -1
- package/dist/web/assets/plugin-definition-X0d5-H4U.js +0 -24
- package/dist/web/assets/plugin-definition-X0d5-H4U.js.map +0 -1
- package/dist/web/assets/react-BLL9qrdY.js +0 -47
- package/dist/web/assets/react-BLL9qrdY.js.map +0 -1
- package/dist/web/assets/role-editor-form-lOkPZX7S.js +0 -319
- package/dist/web/assets/role-editor-form-lOkPZX7S.js.map +0 -1
- package/dist/web/assets/style-ZUYizAnf.css +0 -93
- package/dist/web/assets/styles-B6SRrcui.js +0 -201
- package/dist/web/assets/styles-B6SRrcui.js.map +0 -1
- package/dist/web-export.js.map +0 -1
- package/manifest.json +0 -4
- /package/dist/{common → auth/core/schema}/roles/constants.d.ts +0 -0
- /package/dist/{common → auth/core/schema}/roles/constants.js +0 -0
- /package/dist/{auth0 → better-auth}/generators/index.d.ts +0 -0
- /package/dist/{auth0 → better-auth}/generators/index.js +0 -0
- /package/dist/{auth0/generators/react/auth0-hooks → better-auth/generators/react/better-auth-hooks}/templates/src/hooks/use-required-user-id.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-apollo/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-apollo/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-apollo/templates/session-error-link.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/services/user-session.service.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/session-cookie.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/session-cookie.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/route.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/route.tsx +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-auth/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-auth/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-session/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-session/index.js +0 -0
- /package/dist/{auth → local-auth}/core/generators/react-session/templates/src/app/user-session-provider.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/index.d.ts +0 -0
- /package/dist/{auth → local-auth}/core/index.js +0 -0
|
@@ -1,1684 +0,0 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-BDimcZUI.js';
|
|
2
|
-
|
|
3
|
-
function createInitializedPluginSpec(spec, implementation) {
|
|
4
|
-
return { spec, implementation };
|
|
5
|
-
}
|
|
6
|
-
function createPluginSpec(name, options) {
|
|
7
|
-
const { platforms, defaultInitializer } = options ?? {};
|
|
8
|
-
return {
|
|
9
|
-
type: 'plugin-spec',
|
|
10
|
-
name,
|
|
11
|
-
platforms: platforms && (Array.isArray(platforms) ? platforms : [platforms]),
|
|
12
|
-
isOptional: false,
|
|
13
|
-
optional() {
|
|
14
|
-
return { ...this, isOptional: true };
|
|
15
|
-
},
|
|
16
|
-
defaultInitializer,
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function noop() { }
|
|
21
|
-
|
|
22
|
-
function isPrimitive(value) {
|
|
23
|
-
return value == null || (typeof value !== 'object' && typeof value !== 'function');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function isTypedArray(x) {
|
|
27
|
-
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
function getSymbols(object) {
|
|
31
|
-
return Object.getOwnPropertySymbols(object).filter(symbol => Object.prototype.propertyIsEnumerable.call(object, symbol));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = new Map(), cloneValue = undefined) {
|
|
35
|
-
const cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
|
|
36
|
-
if (cloned != null) {
|
|
37
|
-
return cloned;
|
|
38
|
-
}
|
|
39
|
-
if (isPrimitive(valueToClone)) {
|
|
40
|
-
return valueToClone;
|
|
41
|
-
}
|
|
42
|
-
if (stack.has(valueToClone)) {
|
|
43
|
-
return stack.get(valueToClone);
|
|
44
|
-
}
|
|
45
|
-
if (Array.isArray(valueToClone)) {
|
|
46
|
-
const result = new Array(valueToClone.length);
|
|
47
|
-
stack.set(valueToClone, result);
|
|
48
|
-
for (let i = 0; i < valueToClone.length; i++) {
|
|
49
|
-
result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
50
|
-
}
|
|
51
|
-
if (Object.hasOwn(valueToClone, 'index')) {
|
|
52
|
-
result.index = valueToClone.index;
|
|
53
|
-
}
|
|
54
|
-
if (Object.hasOwn(valueToClone, 'input')) {
|
|
55
|
-
result.input = valueToClone.input;
|
|
56
|
-
}
|
|
57
|
-
return result;
|
|
58
|
-
}
|
|
59
|
-
if (valueToClone instanceof Date) {
|
|
60
|
-
return new Date(valueToClone.getTime());
|
|
61
|
-
}
|
|
62
|
-
if (valueToClone instanceof RegExp) {
|
|
63
|
-
const result = new RegExp(valueToClone.source, valueToClone.flags);
|
|
64
|
-
result.lastIndex = valueToClone.lastIndex;
|
|
65
|
-
return result;
|
|
66
|
-
}
|
|
67
|
-
if (valueToClone instanceof Map) {
|
|
68
|
-
const result = new Map();
|
|
69
|
-
stack.set(valueToClone, result);
|
|
70
|
-
for (const [key, value] of valueToClone) {
|
|
71
|
-
result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
|
|
72
|
-
}
|
|
73
|
-
return result;
|
|
74
|
-
}
|
|
75
|
-
if (valueToClone instanceof Set) {
|
|
76
|
-
const result = new Set();
|
|
77
|
-
stack.set(valueToClone, result);
|
|
78
|
-
for (const value of valueToClone) {
|
|
79
|
-
result.add(cloneDeepWithImpl(value, undefined, objectToClone, stack, cloneValue));
|
|
80
|
-
}
|
|
81
|
-
return result;
|
|
82
|
-
}
|
|
83
|
-
if (typeof Buffer !== 'undefined' && Buffer.isBuffer(valueToClone)) {
|
|
84
|
-
return valueToClone.subarray();
|
|
85
|
-
}
|
|
86
|
-
if (isTypedArray(valueToClone)) {
|
|
87
|
-
const result = new (Object.getPrototypeOf(valueToClone).constructor)(valueToClone.length);
|
|
88
|
-
stack.set(valueToClone, result);
|
|
89
|
-
for (let i = 0; i < valueToClone.length; i++) {
|
|
90
|
-
result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
91
|
-
}
|
|
92
|
-
return result;
|
|
93
|
-
}
|
|
94
|
-
if (valueToClone instanceof ArrayBuffer ||
|
|
95
|
-
(typeof SharedArrayBuffer !== 'undefined' && valueToClone instanceof SharedArrayBuffer)) {
|
|
96
|
-
return valueToClone.slice(0);
|
|
97
|
-
}
|
|
98
|
-
if (valueToClone instanceof DataView) {
|
|
99
|
-
const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
|
|
100
|
-
stack.set(valueToClone, result);
|
|
101
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
102
|
-
return result;
|
|
103
|
-
}
|
|
104
|
-
if (typeof File !== 'undefined' && valueToClone instanceof File) {
|
|
105
|
-
const result = new File([valueToClone], valueToClone.name, {
|
|
106
|
-
type: valueToClone.type,
|
|
107
|
-
});
|
|
108
|
-
stack.set(valueToClone, result);
|
|
109
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
110
|
-
return result;
|
|
111
|
-
}
|
|
112
|
-
if (valueToClone instanceof Blob) {
|
|
113
|
-
const result = new Blob([valueToClone], { type: valueToClone.type });
|
|
114
|
-
stack.set(valueToClone, result);
|
|
115
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
116
|
-
return result;
|
|
117
|
-
}
|
|
118
|
-
if (valueToClone instanceof Error) {
|
|
119
|
-
const result = new valueToClone.constructor();
|
|
120
|
-
stack.set(valueToClone, result);
|
|
121
|
-
result.message = valueToClone.message;
|
|
122
|
-
result.name = valueToClone.name;
|
|
123
|
-
result.stack = valueToClone.stack;
|
|
124
|
-
result.cause = valueToClone.cause;
|
|
125
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
126
|
-
return result;
|
|
127
|
-
}
|
|
128
|
-
if (typeof valueToClone === 'object' && valueToClone !== null) {
|
|
129
|
-
const result = Object.create(Object.getPrototypeOf(valueToClone));
|
|
130
|
-
stack.set(valueToClone, result);
|
|
131
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
132
|
-
return result;
|
|
133
|
-
}
|
|
134
|
-
return valueToClone;
|
|
135
|
-
}
|
|
136
|
-
function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
|
|
137
|
-
const keys = [...Object.keys(source), ...getSymbols(source)];
|
|
138
|
-
for (let i = 0; i < keys.length; i++) {
|
|
139
|
-
const key = keys[i];
|
|
140
|
-
const descriptor = Object.getOwnPropertyDescriptor(target, key);
|
|
141
|
-
if (descriptor == null || descriptor.writable) {
|
|
142
|
-
target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
function cloneDeep(obj) {
|
|
148
|
-
return cloneDeepWithImpl(obj, undefined, obj, new Map(), undefined);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
function isPlainObject(value) {
|
|
152
|
-
if (!value || typeof value !== 'object') {
|
|
153
|
-
return false;
|
|
154
|
-
}
|
|
155
|
-
const proto = Object.getPrototypeOf(value);
|
|
156
|
-
const hasObjectPrototype = proto === null ||
|
|
157
|
-
proto === Object.prototype ||
|
|
158
|
-
Object.getPrototypeOf(proto) === null;
|
|
159
|
-
if (!hasObjectPrototype) {
|
|
160
|
-
return false;
|
|
161
|
-
}
|
|
162
|
-
return Object.prototype.toString.call(value) === '[object Object]';
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
function mapValues(object, getNewValue) {
|
|
166
|
-
const result = {};
|
|
167
|
-
const keys = Object.keys(object);
|
|
168
|
-
for (let i = 0; i < keys.length; i++) {
|
|
169
|
-
const key = keys[i];
|
|
170
|
-
const value = object[key];
|
|
171
|
-
result[key] = getNewValue(value, key, object);
|
|
172
|
-
}
|
|
173
|
-
return result;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
function merge(target, source) {
|
|
177
|
-
const sourceKeys = Object.keys(source);
|
|
178
|
-
for (let i = 0; i < sourceKeys.length; i++) {
|
|
179
|
-
const key = sourceKeys[i];
|
|
180
|
-
const sourceValue = source[key];
|
|
181
|
-
const targetValue = target[key];
|
|
182
|
-
if (Array.isArray(sourceValue)) {
|
|
183
|
-
if (Array.isArray(targetValue)) {
|
|
184
|
-
target[key] = merge(targetValue, sourceValue);
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
target[key] = merge([], sourceValue);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
else if (isPlainObject(sourceValue)) {
|
|
191
|
-
if (isPlainObject(targetValue)) {
|
|
192
|
-
target[key] = merge(targetValue, sourceValue);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
target[key] = merge({}, sourceValue);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
else if (targetValue === undefined || sourceValue !== undefined) {
|
|
199
|
-
target[key] = sourceValue;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
return target;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
function omit(obj, keys) {
|
|
206
|
-
const result = { ...obj };
|
|
207
|
-
for (let i = 0; i < keys.length; i++) {
|
|
208
|
-
const key = keys[i];
|
|
209
|
-
delete result[key];
|
|
210
|
-
}
|
|
211
|
-
return result;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
function toMerged(target, source) {
|
|
215
|
-
return merge(cloneDeep(target), source);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
function getTag(value) {
|
|
219
|
-
if (value == null) {
|
|
220
|
-
return value === undefined ? '[object Undefined]' : '[object Null]';
|
|
221
|
-
}
|
|
222
|
-
return Object.prototype.toString.call(value);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
const regexpTag = '[object RegExp]';
|
|
226
|
-
const stringTag = '[object String]';
|
|
227
|
-
const numberTag = '[object Number]';
|
|
228
|
-
const booleanTag = '[object Boolean]';
|
|
229
|
-
const argumentsTag = '[object Arguments]';
|
|
230
|
-
const symbolTag = '[object Symbol]';
|
|
231
|
-
const dateTag = '[object Date]';
|
|
232
|
-
const mapTag = '[object Map]';
|
|
233
|
-
const setTag = '[object Set]';
|
|
234
|
-
const arrayTag = '[object Array]';
|
|
235
|
-
const functionTag = '[object Function]';
|
|
236
|
-
const arrayBufferTag = '[object ArrayBuffer]';
|
|
237
|
-
const objectTag = '[object Object]';
|
|
238
|
-
const errorTag = '[object Error]';
|
|
239
|
-
const dataViewTag = '[object DataView]';
|
|
240
|
-
const uint8ArrayTag = '[object Uint8Array]';
|
|
241
|
-
const uint8ClampedArrayTag = '[object Uint8ClampedArray]';
|
|
242
|
-
const uint16ArrayTag = '[object Uint16Array]';
|
|
243
|
-
const uint32ArrayTag = '[object Uint32Array]';
|
|
244
|
-
const bigUint64ArrayTag = '[object BigUint64Array]';
|
|
245
|
-
const int8ArrayTag = '[object Int8Array]';
|
|
246
|
-
const int16ArrayTag = '[object Int16Array]';
|
|
247
|
-
const int32ArrayTag = '[object Int32Array]';
|
|
248
|
-
const bigInt64ArrayTag = '[object BigInt64Array]';
|
|
249
|
-
const float32ArrayTag = '[object Float32Array]';
|
|
250
|
-
const float64ArrayTag = '[object Float64Array]';
|
|
251
|
-
|
|
252
|
-
function eq(value, other) {
|
|
253
|
-
return value === other || (Number.isNaN(value) && Number.isNaN(other));
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
function isEqualWith(a, b, areValuesEqual) {
|
|
257
|
-
return isEqualWithImpl(a, b, undefined, undefined, undefined, undefined, areValuesEqual);
|
|
258
|
-
}
|
|
259
|
-
function isEqualWithImpl(a, b, property, aParent, bParent, stack, areValuesEqual) {
|
|
260
|
-
const result = areValuesEqual(a, b, property, aParent, bParent, stack);
|
|
261
|
-
if (result !== undefined) {
|
|
262
|
-
return result;
|
|
263
|
-
}
|
|
264
|
-
if (typeof a === typeof b) {
|
|
265
|
-
switch (typeof a) {
|
|
266
|
-
case 'bigint':
|
|
267
|
-
case 'string':
|
|
268
|
-
case 'boolean':
|
|
269
|
-
case 'symbol':
|
|
270
|
-
case 'undefined': {
|
|
271
|
-
return a === b;
|
|
272
|
-
}
|
|
273
|
-
case 'number': {
|
|
274
|
-
return a === b || Object.is(a, b);
|
|
275
|
-
}
|
|
276
|
-
case 'function': {
|
|
277
|
-
return a === b;
|
|
278
|
-
}
|
|
279
|
-
case 'object': {
|
|
280
|
-
return areObjectsEqual(a, b, stack, areValuesEqual);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
return areObjectsEqual(a, b, stack, areValuesEqual);
|
|
285
|
-
}
|
|
286
|
-
function areObjectsEqual(a, b, stack, areValuesEqual) {
|
|
287
|
-
if (Object.is(a, b)) {
|
|
288
|
-
return true;
|
|
289
|
-
}
|
|
290
|
-
let aTag = getTag(a);
|
|
291
|
-
let bTag = getTag(b);
|
|
292
|
-
if (aTag === argumentsTag) {
|
|
293
|
-
aTag = objectTag;
|
|
294
|
-
}
|
|
295
|
-
if (bTag === argumentsTag) {
|
|
296
|
-
bTag = objectTag;
|
|
297
|
-
}
|
|
298
|
-
if (aTag !== bTag) {
|
|
299
|
-
return false;
|
|
300
|
-
}
|
|
301
|
-
switch (aTag) {
|
|
302
|
-
case stringTag:
|
|
303
|
-
return a.toString() === b.toString();
|
|
304
|
-
case numberTag: {
|
|
305
|
-
const x = a.valueOf();
|
|
306
|
-
const y = b.valueOf();
|
|
307
|
-
return eq(x, y);
|
|
308
|
-
}
|
|
309
|
-
case booleanTag:
|
|
310
|
-
case dateTag:
|
|
311
|
-
case symbolTag:
|
|
312
|
-
return Object.is(a.valueOf(), b.valueOf());
|
|
313
|
-
case regexpTag: {
|
|
314
|
-
return a.source === b.source && a.flags === b.flags;
|
|
315
|
-
}
|
|
316
|
-
case functionTag: {
|
|
317
|
-
return a === b;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
stack = stack ?? new Map();
|
|
321
|
-
const aStack = stack.get(a);
|
|
322
|
-
const bStack = stack.get(b);
|
|
323
|
-
if (aStack != null && bStack != null) {
|
|
324
|
-
return aStack === b;
|
|
325
|
-
}
|
|
326
|
-
stack.set(a, b);
|
|
327
|
-
stack.set(b, a);
|
|
328
|
-
try {
|
|
329
|
-
switch (aTag) {
|
|
330
|
-
case mapTag: {
|
|
331
|
-
if (a.size !== b.size) {
|
|
332
|
-
return false;
|
|
333
|
-
}
|
|
334
|
-
for (const [key, value] of a.entries()) {
|
|
335
|
-
if (!b.has(key) || !isEqualWithImpl(value, b.get(key), key, a, b, stack, areValuesEqual)) {
|
|
336
|
-
return false;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
return true;
|
|
340
|
-
}
|
|
341
|
-
case setTag: {
|
|
342
|
-
if (a.size !== b.size) {
|
|
343
|
-
return false;
|
|
344
|
-
}
|
|
345
|
-
const aValues = Array.from(a.values());
|
|
346
|
-
const bValues = Array.from(b.values());
|
|
347
|
-
for (let i = 0; i < aValues.length; i++) {
|
|
348
|
-
const aValue = aValues[i];
|
|
349
|
-
const index = bValues.findIndex(bValue => {
|
|
350
|
-
return isEqualWithImpl(aValue, bValue, undefined, a, b, stack, areValuesEqual);
|
|
351
|
-
});
|
|
352
|
-
if (index === -1) {
|
|
353
|
-
return false;
|
|
354
|
-
}
|
|
355
|
-
bValues.splice(index, 1);
|
|
356
|
-
}
|
|
357
|
-
return true;
|
|
358
|
-
}
|
|
359
|
-
case arrayTag:
|
|
360
|
-
case uint8ArrayTag:
|
|
361
|
-
case uint8ClampedArrayTag:
|
|
362
|
-
case uint16ArrayTag:
|
|
363
|
-
case uint32ArrayTag:
|
|
364
|
-
case bigUint64ArrayTag:
|
|
365
|
-
case int8ArrayTag:
|
|
366
|
-
case int16ArrayTag:
|
|
367
|
-
case int32ArrayTag:
|
|
368
|
-
case bigInt64ArrayTag:
|
|
369
|
-
case float32ArrayTag:
|
|
370
|
-
case float64ArrayTag: {
|
|
371
|
-
if (typeof Buffer !== 'undefined' && Buffer.isBuffer(a) !== Buffer.isBuffer(b)) {
|
|
372
|
-
return false;
|
|
373
|
-
}
|
|
374
|
-
if (a.length !== b.length) {
|
|
375
|
-
return false;
|
|
376
|
-
}
|
|
377
|
-
for (let i = 0; i < a.length; i++) {
|
|
378
|
-
if (!isEqualWithImpl(a[i], b[i], i, a, b, stack, areValuesEqual)) {
|
|
379
|
-
return false;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
return true;
|
|
383
|
-
}
|
|
384
|
-
case arrayBufferTag: {
|
|
385
|
-
if (a.byteLength !== b.byteLength) {
|
|
386
|
-
return false;
|
|
387
|
-
}
|
|
388
|
-
return areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);
|
|
389
|
-
}
|
|
390
|
-
case dataViewTag: {
|
|
391
|
-
if (a.byteLength !== b.byteLength || a.byteOffset !== b.byteOffset) {
|
|
392
|
-
return false;
|
|
393
|
-
}
|
|
394
|
-
return areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);
|
|
395
|
-
}
|
|
396
|
-
case errorTag: {
|
|
397
|
-
return a.name === b.name && a.message === b.message;
|
|
398
|
-
}
|
|
399
|
-
case objectTag: {
|
|
400
|
-
const areEqualInstances = areObjectsEqual(a.constructor, b.constructor, stack, areValuesEqual) ||
|
|
401
|
-
(isPlainObject(a) && isPlainObject(b));
|
|
402
|
-
if (!areEqualInstances) {
|
|
403
|
-
return false;
|
|
404
|
-
}
|
|
405
|
-
const aKeys = [...Object.keys(a), ...getSymbols(a)];
|
|
406
|
-
const bKeys = [...Object.keys(b), ...getSymbols(b)];
|
|
407
|
-
if (aKeys.length !== bKeys.length) {
|
|
408
|
-
return false;
|
|
409
|
-
}
|
|
410
|
-
for (let i = 0; i < aKeys.length; i++) {
|
|
411
|
-
const propKey = aKeys[i];
|
|
412
|
-
const aProp = a[propKey];
|
|
413
|
-
if (!Object.hasOwn(b, propKey)) {
|
|
414
|
-
return false;
|
|
415
|
-
}
|
|
416
|
-
const bProp = b[propKey];
|
|
417
|
-
if (!isEqualWithImpl(aProp, bProp, propKey, a, b, stack, areValuesEqual)) {
|
|
418
|
-
return false;
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
return true;
|
|
422
|
-
}
|
|
423
|
-
default: {
|
|
424
|
-
return false;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
finally {
|
|
429
|
-
stack.delete(a);
|
|
430
|
-
stack.delete(b);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
function isEqual(a, b) {
|
|
435
|
-
return isEqualWith(a, b, noop);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
let random = bytes => crypto.getRandomValues(new Uint8Array(bytes));
|
|
439
|
-
let customRandom = (alphabet, defaultSize, getRandom) => {
|
|
440
|
-
let mask = (2 << Math.log2(alphabet.length - 1)) - 1;
|
|
441
|
-
let step = -~((1.6 * mask * defaultSize) / alphabet.length);
|
|
442
|
-
return (size = defaultSize) => {
|
|
443
|
-
let id = '';
|
|
444
|
-
while (true) {
|
|
445
|
-
let bytes = getRandom(step);
|
|
446
|
-
let j = step | 0;
|
|
447
|
-
while (j--) {
|
|
448
|
-
id += alphabet[bytes[j] & mask] || '';
|
|
449
|
-
if (id.length >= size) return id
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
};
|
|
454
|
-
let customAlphabet = (alphabet, size = 21) =>
|
|
455
|
-
customRandom(alphabet, size | 0, random);
|
|
456
|
-
|
|
457
|
-
const NUMBERS = '0123456789';
|
|
458
|
-
const LOWERCASE = 'abcdefghijklmnopqrstuvwxyz';
|
|
459
|
-
const UPPERCASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
|
460
|
-
/**
|
|
461
|
-
* Use custom ID generator for characters that be easily selected
|
|
462
|
-
*/
|
|
463
|
-
const customNanoid = customAlphabet(`${NUMBERS}${LOWERCASE}${UPPERCASE}_`, 12);
|
|
464
|
-
/**
|
|
465
|
-
* Generate a random key string made up of numbers, lowercase, and uppercase letters
|
|
466
|
-
* @returns A random key string
|
|
467
|
-
*/
|
|
468
|
-
function randomKey(length = 12) {
|
|
469
|
-
return customNanoid(length);
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
const {z: z$3} = await importShared('zod');
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* Regex for validating kebab case, e.g. "my-project".
|
|
476
|
-
*/
|
|
477
|
-
const KEBAB_CASE_REGEX = /^[a-z0-9-]+$/;
|
|
478
|
-
/**
|
|
479
|
-
* Regex for validating pascal case, e.g. "MyProject".
|
|
480
|
-
*/
|
|
481
|
-
const PASCAL_CASE_REGEX = /^[A-Z][a-zA-Z0-9]*$/;
|
|
482
|
-
/**
|
|
483
|
-
* Regex for validating camel case, e.g. "myProject".
|
|
484
|
-
*/
|
|
485
|
-
const CAMEL_CASE_REGEX = /^[a-z][a-zA-Z0-9]*$/;
|
|
486
|
-
/**
|
|
487
|
-
* Regex for validating constant case, e.g. "MY_PROJECT".
|
|
488
|
-
*/
|
|
489
|
-
const CONSTANT_CASE_REGEX = /^[A-Z][A-Z0-9_]*$/;
|
|
490
|
-
const CASE_VALIDATORS = {
|
|
491
|
-
/**
|
|
492
|
-
* Zod validator for validating kebab case, e.g. "my-project".
|
|
493
|
-
*/
|
|
494
|
-
KEBAB_CASE: z$3.string().regex(KEBAB_CASE_REGEX, {
|
|
495
|
-
message: 'Must be kebab case (e.g. "my-project")',
|
|
496
|
-
}),
|
|
497
|
-
/**
|
|
498
|
-
* Zod validator for validating pascal case, e.g. "MyProject".
|
|
499
|
-
*/
|
|
500
|
-
PASCAL_CASE: z$3.string().regex(PASCAL_CASE_REGEX, {
|
|
501
|
-
message: 'Must be pascal case (e.g. "MyProject")',
|
|
502
|
-
}),
|
|
503
|
-
/**
|
|
504
|
-
* Zod validator for validating camel case, e.g. "myProject".
|
|
505
|
-
*/
|
|
506
|
-
CAMEL_CASE: z$3.string().regex(CAMEL_CASE_REGEX, {
|
|
507
|
-
message: 'Must be camel case (e.g. "myProject")',
|
|
508
|
-
}),
|
|
509
|
-
/**
|
|
510
|
-
* Zod validator for validating constant case, e.g. "MY_PROJECT".
|
|
511
|
-
*/
|
|
512
|
-
CONSTANT_CASE: z$3.string().regex(CONSTANT_CASE_REGEX, {
|
|
513
|
-
message: 'Must be constant case (e.g. "MY_PROJECT")',
|
|
514
|
-
}),
|
|
515
|
-
};
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* Definition of an entity type.
|
|
519
|
-
*/
|
|
520
|
-
class DefinitionEntityType {
|
|
521
|
-
/**
|
|
522
|
-
* Creates a new entity type.
|
|
523
|
-
*
|
|
524
|
-
* @param name - The name of the entity type.
|
|
525
|
-
* @param prefix - The prefix of the entity type to use in the ID, defaults to the name.
|
|
526
|
-
* @param parentType - The type of the parent entity if any
|
|
527
|
-
*/
|
|
528
|
-
constructor(name, prefix, parentType) {
|
|
529
|
-
Object.defineProperty(this, "name", {
|
|
530
|
-
enumerable: true,
|
|
531
|
-
configurable: true,
|
|
532
|
-
writable: true,
|
|
533
|
-
value: name
|
|
534
|
-
});
|
|
535
|
-
Object.defineProperty(this, "parentType", {
|
|
536
|
-
enumerable: true,
|
|
537
|
-
configurable: true,
|
|
538
|
-
writable: true,
|
|
539
|
-
value: parentType
|
|
540
|
-
});
|
|
541
|
-
Object.defineProperty(this, "prefix", {
|
|
542
|
-
enumerable: true,
|
|
543
|
-
configurable: true,
|
|
544
|
-
writable: true,
|
|
545
|
-
value: void 0
|
|
546
|
-
});
|
|
547
|
-
this.prefix = prefix ?? name.split('/').pop() ?? name;
|
|
548
|
-
}
|
|
549
|
-
/**
|
|
550
|
-
* Generates a new ID for the entity type.
|
|
551
|
-
*
|
|
552
|
-
* @returns The new ID.
|
|
553
|
-
*/
|
|
554
|
-
generateNewId() {
|
|
555
|
-
return `${this.prefix}:${randomKey()}`;
|
|
556
|
-
}
|
|
557
|
-
idFromKey(key) {
|
|
558
|
-
if (!key) {
|
|
559
|
-
return undefined;
|
|
560
|
-
}
|
|
561
|
-
return `${this.prefix}:${key}`;
|
|
562
|
-
}
|
|
563
|
-
keyFromId(id) {
|
|
564
|
-
return id.split(':')[1];
|
|
565
|
-
}
|
|
566
|
-
isId(id) {
|
|
567
|
-
return id.startsWith(`${this.prefix}:`);
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
function createEntityType(name, options) {
|
|
571
|
-
const { parentType, prefix } = options ?? {};
|
|
572
|
-
return new DefinitionEntityType(name, prefix, parentType);
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
class DefinitionReferenceMarker {
|
|
576
|
-
constructor(value, reference) {
|
|
577
|
-
Object.defineProperty(this, "value", {
|
|
578
|
-
enumerable: true,
|
|
579
|
-
configurable: true,
|
|
580
|
-
writable: true,
|
|
581
|
-
value: value
|
|
582
|
-
});
|
|
583
|
-
Object.defineProperty(this, "reference", {
|
|
584
|
-
enumerable: true,
|
|
585
|
-
configurable: true,
|
|
586
|
-
writable: true,
|
|
587
|
-
value: reference
|
|
588
|
-
});
|
|
589
|
-
}
|
|
590
|
-
toString() {
|
|
591
|
-
return this.value ?? '';
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
const REF_ANNOTATIONS_MARKER_SYMBOL = Symbol('refAnnotationsMarker');
|
|
595
|
-
|
|
596
|
-
const {z: z$2} = await importShared('zod');
|
|
597
|
-
function extendParserContextWithRefs({ transformReferences, }) {
|
|
598
|
-
function withRef(reference) {
|
|
599
|
-
return z$2.string().transform((value) => {
|
|
600
|
-
if (transformReferences && value) {
|
|
601
|
-
return new DefinitionReferenceMarker(value, reference);
|
|
602
|
-
}
|
|
603
|
-
return value;
|
|
604
|
-
});
|
|
605
|
-
}
|
|
606
|
-
function withEnt(schema, entity) {
|
|
607
|
-
if (!('id' in schema.shape)) {
|
|
608
|
-
throw new Error(`Entity must have an id field. Entity type: ${entity.type.name}. Schema keys: ${Object.keys(schema.shape).join(', ')}`);
|
|
609
|
-
}
|
|
610
|
-
return schema.transform((value) => {
|
|
611
|
-
// Check if the id is valid
|
|
612
|
-
if (!('id' in value) || !entity.type.isId(value.id)) {
|
|
613
|
-
throw new Error(`Invalid id for entity ${entity.type.name}. Id: ${value.id}`);
|
|
614
|
-
}
|
|
615
|
-
if (transformReferences) {
|
|
616
|
-
const existingAnnotations = REF_ANNOTATIONS_MARKER_SYMBOL in value
|
|
617
|
-
? value[REF_ANNOTATIONS_MARKER_SYMBOL]
|
|
618
|
-
: undefined;
|
|
619
|
-
return {
|
|
620
|
-
...value,
|
|
621
|
-
[REF_ANNOTATIONS_MARKER_SYMBOL]: {
|
|
622
|
-
entities: [...(existingAnnotations?.entities ?? []), entity],
|
|
623
|
-
references: existingAnnotations?.references ?? [],
|
|
624
|
-
contextPaths: existingAnnotations?.contextPaths ?? [],
|
|
625
|
-
},
|
|
626
|
-
};
|
|
627
|
-
}
|
|
628
|
-
return value;
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
function withRefBuilder(schema, builder) {
|
|
632
|
-
return schema.transform((value) => {
|
|
633
|
-
if (!value) {
|
|
634
|
-
return value;
|
|
635
|
-
}
|
|
636
|
-
if (typeof value !== 'object') {
|
|
637
|
-
throw new TypeError(`refBuilder requires an object, but got ${typeof value}`);
|
|
638
|
-
}
|
|
639
|
-
const existingAnnotations = REF_ANNOTATIONS_MARKER_SYMBOL in value
|
|
640
|
-
? value[REF_ANNOTATIONS_MARKER_SYMBOL]
|
|
641
|
-
: undefined;
|
|
642
|
-
const entities = existingAnnotations?.entities ?? [];
|
|
643
|
-
const references = existingAnnotations?.references ?? [];
|
|
644
|
-
const contextPaths = existingAnnotations?.contextPaths ?? [];
|
|
645
|
-
const refBuilder = {
|
|
646
|
-
addReference: (reference) => {
|
|
647
|
-
references.push(reference);
|
|
648
|
-
},
|
|
649
|
-
addEntity: (entity) => {
|
|
650
|
-
entities.push(entity);
|
|
651
|
-
},
|
|
652
|
-
addPathToContext: (path, type, context) => {
|
|
653
|
-
contextPaths.push({ path, type, context });
|
|
654
|
-
},
|
|
655
|
-
};
|
|
656
|
-
builder?.(refBuilder, value);
|
|
657
|
-
if (transformReferences) {
|
|
658
|
-
return {
|
|
659
|
-
...value,
|
|
660
|
-
[REF_ANNOTATIONS_MARKER_SYMBOL]: {
|
|
661
|
-
entities,
|
|
662
|
-
references,
|
|
663
|
-
contextPaths,
|
|
664
|
-
},
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
return value;
|
|
668
|
-
});
|
|
669
|
-
}
|
|
670
|
-
return {
|
|
671
|
-
withRef,
|
|
672
|
-
withEnt,
|
|
673
|
-
withRefBuilder,
|
|
674
|
-
};
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
const {z: z$1} = await importShared('zod');
|
|
678
|
-
|
|
679
|
-
function isEmpty(value) {
|
|
680
|
-
if (Array.isArray(value)) {
|
|
681
|
-
return value.length === 0;
|
|
682
|
-
}
|
|
683
|
-
if (typeof value === 'object' && value !== null) {
|
|
684
|
-
return Object.values(value).every((val) => val === undefined);
|
|
685
|
-
}
|
|
686
|
-
return value === false || value === '';
|
|
687
|
-
}
|
|
688
|
-
/**
|
|
689
|
-
* Extends the parser context with default value handling functionality.
|
|
690
|
-
*
|
|
691
|
-
* @param options - The schema creator options containing the defaultMode
|
|
692
|
-
* @returns An object containing the withDefault method
|
|
693
|
-
*/
|
|
694
|
-
function extendParserContextWithDefaults(options) {
|
|
695
|
-
const mode = options.defaultMode ?? 'populate';
|
|
696
|
-
return {
|
|
697
|
-
withDefault: function withDefault(schema, defaultValue) {
|
|
698
|
-
// Auto-add .optional() to the schema
|
|
699
|
-
const optionalSchema = schema.optional();
|
|
700
|
-
switch (mode) {
|
|
701
|
-
case 'populate': {
|
|
702
|
-
// Use preprocess to inject defaults before validation
|
|
703
|
-
return z$1.preprocess((value) => {
|
|
704
|
-
if (value === undefined) {
|
|
705
|
-
return defaultValue;
|
|
706
|
-
}
|
|
707
|
-
return value;
|
|
708
|
-
}, optionalSchema);
|
|
709
|
-
}
|
|
710
|
-
case 'strip': {
|
|
711
|
-
// Use transform to remove values matching defaults after validation
|
|
712
|
-
return optionalSchema.transform((value) => {
|
|
713
|
-
if (isEmpty(value)) {
|
|
714
|
-
return undefined;
|
|
715
|
-
}
|
|
716
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return -- it's typed to a generic
|
|
717
|
-
return value;
|
|
718
|
-
});
|
|
719
|
-
}
|
|
720
|
-
case 'preserve': {
|
|
721
|
-
// Return schema with .optional() added
|
|
722
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return -- it's typed to a generic
|
|
723
|
-
return optionalSchema.transform((x) => x);
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
};
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
function createDefinitionSchemaParserContext(options) {
|
|
731
|
-
return {
|
|
732
|
-
...options,
|
|
733
|
-
...extendParserContextWithRefs(options),
|
|
734
|
-
...extendParserContextWithDefaults(options),
|
|
735
|
-
};
|
|
736
|
-
}
|
|
737
|
-
function definitionSchema(creator) {
|
|
738
|
-
return (context) => creator(context);
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
function isDeepKey(key) {
|
|
742
|
-
switch (typeof key) {
|
|
743
|
-
case 'number':
|
|
744
|
-
case 'symbol': {
|
|
745
|
-
return false;
|
|
746
|
-
}
|
|
747
|
-
case 'string': {
|
|
748
|
-
return key.includes('.') || key.includes('[') || key.includes(']');
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
function toKey(value) {
|
|
754
|
-
if (Object.is(value, -0)) {
|
|
755
|
-
return '-0';
|
|
756
|
-
}
|
|
757
|
-
return value.toString();
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
function toPath(deepKey) {
|
|
761
|
-
const result = [];
|
|
762
|
-
const length = deepKey.length;
|
|
763
|
-
if (length === 0) {
|
|
764
|
-
return result;
|
|
765
|
-
}
|
|
766
|
-
let index = 0;
|
|
767
|
-
let key = '';
|
|
768
|
-
let quoteChar = '';
|
|
769
|
-
let bracket = false;
|
|
770
|
-
if (deepKey.charCodeAt(0) === 46) {
|
|
771
|
-
result.push('');
|
|
772
|
-
index++;
|
|
773
|
-
}
|
|
774
|
-
while (index < length) {
|
|
775
|
-
const char = deepKey[index];
|
|
776
|
-
if (quoteChar) {
|
|
777
|
-
if (char === '\\' && index + 1 < length) {
|
|
778
|
-
index++;
|
|
779
|
-
key += deepKey[index];
|
|
780
|
-
}
|
|
781
|
-
else if (char === quoteChar) {
|
|
782
|
-
quoteChar = '';
|
|
783
|
-
}
|
|
784
|
-
else {
|
|
785
|
-
key += char;
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
else if (bracket) {
|
|
789
|
-
if (char === '"' || char === "'") {
|
|
790
|
-
quoteChar = char;
|
|
791
|
-
}
|
|
792
|
-
else if (char === ']') {
|
|
793
|
-
bracket = false;
|
|
794
|
-
result.push(key);
|
|
795
|
-
key = '';
|
|
796
|
-
}
|
|
797
|
-
else {
|
|
798
|
-
key += char;
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
else {
|
|
802
|
-
if (char === '[') {
|
|
803
|
-
bracket = true;
|
|
804
|
-
if (key) {
|
|
805
|
-
result.push(key);
|
|
806
|
-
key = '';
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
else if (char === '.') {
|
|
810
|
-
if (key) {
|
|
811
|
-
result.push(key);
|
|
812
|
-
key = '';
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
else {
|
|
816
|
-
key += char;
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
index++;
|
|
820
|
-
}
|
|
821
|
-
if (key) {
|
|
822
|
-
result.push(key);
|
|
823
|
-
}
|
|
824
|
-
return result;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
function get(object, path, defaultValue) {
|
|
828
|
-
if (object == null) {
|
|
829
|
-
return defaultValue;
|
|
830
|
-
}
|
|
831
|
-
switch (typeof path) {
|
|
832
|
-
case 'string': {
|
|
833
|
-
const result = object[path];
|
|
834
|
-
if (result === undefined) {
|
|
835
|
-
if (isDeepKey(path)) {
|
|
836
|
-
return get(object, toPath(path), defaultValue);
|
|
837
|
-
}
|
|
838
|
-
else {
|
|
839
|
-
return defaultValue;
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
return result;
|
|
843
|
-
}
|
|
844
|
-
case 'number':
|
|
845
|
-
case 'symbol': {
|
|
846
|
-
if (typeof path === 'number') {
|
|
847
|
-
path = toKey(path);
|
|
848
|
-
}
|
|
849
|
-
const result = object[path];
|
|
850
|
-
if (result === undefined) {
|
|
851
|
-
return defaultValue;
|
|
852
|
-
}
|
|
853
|
-
return result;
|
|
854
|
-
}
|
|
855
|
-
default: {
|
|
856
|
-
if (Array.isArray(path)) {
|
|
857
|
-
return getWithPath(object, path, defaultValue);
|
|
858
|
-
}
|
|
859
|
-
if (Object.is(path?.valueOf(), -0)) {
|
|
860
|
-
path = '-0';
|
|
861
|
-
}
|
|
862
|
-
else {
|
|
863
|
-
path = String(path);
|
|
864
|
-
}
|
|
865
|
-
const result = object[path];
|
|
866
|
-
if (result === undefined) {
|
|
867
|
-
return defaultValue;
|
|
868
|
-
}
|
|
869
|
-
return result;
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
function getWithPath(object, path, defaultValue) {
|
|
874
|
-
if (path.length === 0) {
|
|
875
|
-
return defaultValue;
|
|
876
|
-
}
|
|
877
|
-
let current = object;
|
|
878
|
-
for (let index = 0; index < path.length; index++) {
|
|
879
|
-
if (current == null) {
|
|
880
|
-
return defaultValue;
|
|
881
|
-
}
|
|
882
|
-
current = current[path[index]];
|
|
883
|
-
}
|
|
884
|
-
if (current === undefined) {
|
|
885
|
-
return defaultValue;
|
|
886
|
-
}
|
|
887
|
-
return current;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
function isObject(value) {
|
|
891
|
-
return value !== null && (typeof value === 'object' || typeof value === 'function');
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
function isMatch(target, source) {
|
|
895
|
-
if (source === target) {
|
|
896
|
-
return true;
|
|
897
|
-
}
|
|
898
|
-
switch (typeof source) {
|
|
899
|
-
case 'object': {
|
|
900
|
-
if (source == null) {
|
|
901
|
-
return true;
|
|
902
|
-
}
|
|
903
|
-
const keys = Object.keys(source);
|
|
904
|
-
if (target == null) {
|
|
905
|
-
return keys.length === 0;
|
|
906
|
-
}
|
|
907
|
-
if (Array.isArray(source)) {
|
|
908
|
-
return isArrayMatch(target, source);
|
|
909
|
-
}
|
|
910
|
-
if (source instanceof Map) {
|
|
911
|
-
return isMapMatch(target, source);
|
|
912
|
-
}
|
|
913
|
-
if (source instanceof Set) {
|
|
914
|
-
return isSetMatch(target, source);
|
|
915
|
-
}
|
|
916
|
-
for (let i = 0; i < keys.length; i++) {
|
|
917
|
-
const key = keys[i];
|
|
918
|
-
if (!isPrimitive(target) && !(key in target)) {
|
|
919
|
-
return false;
|
|
920
|
-
}
|
|
921
|
-
if (source[key] === undefined && target[key] !== undefined) {
|
|
922
|
-
return false;
|
|
923
|
-
}
|
|
924
|
-
if (source[key] === null && target[key] !== null) {
|
|
925
|
-
return false;
|
|
926
|
-
}
|
|
927
|
-
if (!isMatch(target[key], source[key])) {
|
|
928
|
-
return false;
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
return true;
|
|
932
|
-
}
|
|
933
|
-
case 'function': {
|
|
934
|
-
if (Object.keys(source).length > 0) {
|
|
935
|
-
return isMatch(target, { ...source });
|
|
936
|
-
}
|
|
937
|
-
return false;
|
|
938
|
-
}
|
|
939
|
-
default: {
|
|
940
|
-
if (!isObject(target)) {
|
|
941
|
-
return eq(target, source);
|
|
942
|
-
}
|
|
943
|
-
return !source;
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
function isMapMatch(target, source) {
|
|
948
|
-
if (source.size === 0) {
|
|
949
|
-
return true;
|
|
950
|
-
}
|
|
951
|
-
if (!(target instanceof Map)) {
|
|
952
|
-
return false;
|
|
953
|
-
}
|
|
954
|
-
for (const [key, value] of source.entries()) {
|
|
955
|
-
if (!isMatch(target.get(key), value)) {
|
|
956
|
-
return false;
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
return true;
|
|
960
|
-
}
|
|
961
|
-
function isArrayMatch(target, source) {
|
|
962
|
-
if (source.length === 0) {
|
|
963
|
-
return true;
|
|
964
|
-
}
|
|
965
|
-
if (!Array.isArray(target)) {
|
|
966
|
-
return false;
|
|
967
|
-
}
|
|
968
|
-
const countedIndex = new Set();
|
|
969
|
-
for (let i = 0; i < source.length; i++) {
|
|
970
|
-
const sourceItem = source[i];
|
|
971
|
-
const index = target.findIndex((targetItem, index) => {
|
|
972
|
-
return isMatch(targetItem, sourceItem) && !countedIndex.has(index);
|
|
973
|
-
});
|
|
974
|
-
if (index === -1) {
|
|
975
|
-
return false;
|
|
976
|
-
}
|
|
977
|
-
countedIndex.add(index);
|
|
978
|
-
}
|
|
979
|
-
return true;
|
|
980
|
-
}
|
|
981
|
-
function isSetMatch(target, source) {
|
|
982
|
-
if (source.size === 0) {
|
|
983
|
-
return true;
|
|
984
|
-
}
|
|
985
|
-
if (!(target instanceof Set)) {
|
|
986
|
-
return false;
|
|
987
|
-
}
|
|
988
|
-
return isArrayMatch([...target], [...source]);
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
const IS_UNSIGNED_INTEGER = /^(?:0|[1-9]\d*)$/;
|
|
992
|
-
function isIndex(value, length = Number.MAX_SAFE_INTEGER) {
|
|
993
|
-
switch (typeof value) {
|
|
994
|
-
case 'number': {
|
|
995
|
-
return Number.isInteger(value) && value >= 0 && value < length;
|
|
996
|
-
}
|
|
997
|
-
case 'symbol': {
|
|
998
|
-
return false;
|
|
999
|
-
}
|
|
1000
|
-
case 'string': {
|
|
1001
|
-
return IS_UNSIGNED_INTEGER.test(value);
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
function set(obj, path, value) {
|
|
1007
|
-
const resolvedPath = Array.isArray(path) ? path : typeof path === 'string' ? toPath(path) : [path];
|
|
1008
|
-
let current = obj;
|
|
1009
|
-
for (let i = 0; i < resolvedPath.length - 1; i++) {
|
|
1010
|
-
const key = resolvedPath[i];
|
|
1011
|
-
const nextKey = resolvedPath[i + 1];
|
|
1012
|
-
if (current[key] == null) {
|
|
1013
|
-
current[key] = isIndex(nextKey) ? [] : {};
|
|
1014
|
-
}
|
|
1015
|
-
current = current[key];
|
|
1016
|
-
}
|
|
1017
|
-
const lastKey = resolvedPath[resolvedPath.length - 1];
|
|
1018
|
-
current[lastKey] = value;
|
|
1019
|
-
return obj;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
const {z} = await importShared('zod');
|
|
1023
|
-
const featureEntityType = createEntityType('feature');
|
|
1024
|
-
const featureNameSchema = CASE_VALIDATORS.KEBAB_CASE;
|
|
1025
|
-
const createFeatureSchema = definitionSchema((ctx) => ctx.withEnt(z.object({
|
|
1026
|
-
id: z.string(),
|
|
1027
|
-
name: z
|
|
1028
|
-
.string()
|
|
1029
|
-
.min(1)
|
|
1030
|
-
.refine((name) => name
|
|
1031
|
-
.split('/')
|
|
1032
|
-
.every((part) => featureNameSchema.safeParse(part).success), {
|
|
1033
|
-
message: 'Feature name must be lowercase and contain only letters, numbers, and dashes',
|
|
1034
|
-
}),
|
|
1035
|
-
parentRef: ctx
|
|
1036
|
-
.withRef({
|
|
1037
|
-
type: featureEntityType,
|
|
1038
|
-
onDelete: 'DELETE_PARENT',
|
|
1039
|
-
})
|
|
1040
|
-
.optional(),
|
|
1041
|
-
}), { type: featureEntityType }));
|
|
1042
|
-
const createFeaturesSchema = definitionSchema((ctx) => z.array(createFeatureSchema(ctx)).default([]));
|
|
1043
|
-
|
|
1044
|
-
const modelEntityType = createEntityType('model');
|
|
1045
|
-
const modelScalarFieldEntityType = createEntityType('model-scalar-field', {
|
|
1046
|
-
parentType: modelEntityType,
|
|
1047
|
-
});
|
|
1048
|
-
const modelLocalRelationEntityType = createEntityType('model-local-relation', { parentType: modelEntityType });
|
|
1049
|
-
const modelForeignRelationEntityType = createEntityType('model-foreign-relation', { parentType: modelEntityType });
|
|
1050
|
-
const modelUniqueConstraintEntityType = createEntityType('model-unique-constraint', { parentType: modelEntityType });
|
|
1051
|
-
const modelTransformerEntityType = createEntityType('model-transformer', { parentType: modelEntityType });
|
|
1052
|
-
const modelEnumEntityType = createEntityType('model-enum');
|
|
1053
|
-
const modelEnumValueEntityType = createEntityType('model-enum-value', {
|
|
1054
|
-
parentType: modelEnumEntityType,
|
|
1055
|
-
});
|
|
1056
|
-
|
|
1057
|
-
function getRootFeatures(projectDefinition) {
|
|
1058
|
-
return projectDefinition.features.filter((f) => !f.parentRef);
|
|
1059
|
-
}
|
|
1060
|
-
function getFeatureById(projectDefinition, featureId) {
|
|
1061
|
-
return projectDefinition.features.find((f) => f.id === featureId);
|
|
1062
|
-
}
|
|
1063
|
-
function getFeatureByIdOrThrow(projectDefinition, featureId) {
|
|
1064
|
-
const feature = getFeatureById(projectDefinition, featureId);
|
|
1065
|
-
if (!feature) {
|
|
1066
|
-
throw new Error(`Could not find feature with ID ${featureId}`);
|
|
1067
|
-
}
|
|
1068
|
-
return feature;
|
|
1069
|
-
}
|
|
1070
|
-
function getFeatureChildren(projectDefinition, featureId) {
|
|
1071
|
-
return projectDefinition.features.filter((f) => f.parentRef === featureId);
|
|
1072
|
-
}
|
|
1073
|
-
function getFeatureName(featureConfig) {
|
|
1074
|
-
return featureConfig.name.split('/').pop() ?? '';
|
|
1075
|
-
}
|
|
1076
|
-
function getFeatureNameById(projectDefinition, featureId) {
|
|
1077
|
-
const feature = getFeatureByIdOrThrow(projectDefinition, featureId);
|
|
1078
|
-
return getFeatureName(feature);
|
|
1079
|
-
}
|
|
1080
|
-
function getFeaturePathById(projectDefinition, featureId) {
|
|
1081
|
-
const feature = getFeatureByIdOrThrow(projectDefinition, featureId);
|
|
1082
|
-
return feature.name;
|
|
1083
|
-
}
|
|
1084
|
-
function validateFeatureName(name) {
|
|
1085
|
-
const nameParts = name.split('/');
|
|
1086
|
-
return nameParts.every((part) => featureNameSchema.safeParse(part).success);
|
|
1087
|
-
}
|
|
1088
|
-
function ensureFeatureByNameRecursively(projectDefinition, nameOrId) {
|
|
1089
|
-
if (featureEntityType.isId(nameOrId)) {
|
|
1090
|
-
return nameOrId;
|
|
1091
|
-
}
|
|
1092
|
-
const nameParts = nameOrId.split('/');
|
|
1093
|
-
let lastName = '';
|
|
1094
|
-
let parentRef = undefined;
|
|
1095
|
-
for (const part of nameParts) {
|
|
1096
|
-
const feature = projectDefinition.features.find((f) => f.name === part && f.parentRef === parentRef);
|
|
1097
|
-
const name = [lastName, part].filter(Boolean).join('/');
|
|
1098
|
-
if (feature) {
|
|
1099
|
-
parentRef = feature.id;
|
|
1100
|
-
}
|
|
1101
|
-
else {
|
|
1102
|
-
const newFeature = {
|
|
1103
|
-
id: featureEntityType.generateNewId(),
|
|
1104
|
-
name,
|
|
1105
|
-
parentRef,
|
|
1106
|
-
};
|
|
1107
|
-
projectDefinition.features.push(newFeature);
|
|
1108
|
-
parentRef = newFeature.id;
|
|
1109
|
-
}
|
|
1110
|
-
lastName = name;
|
|
1111
|
-
}
|
|
1112
|
-
if (!parentRef) {
|
|
1113
|
-
throw new Error('Failed to create feature');
|
|
1114
|
-
}
|
|
1115
|
-
return parentRef;
|
|
1116
|
-
}
|
|
1117
|
-
function getFeatureByName(projectDefinition, name) {
|
|
1118
|
-
return projectDefinition.features.find((f) => f.name === name);
|
|
1119
|
-
}
|
|
1120
|
-
function getFeatureIdByNameOrDefault(projectDefinition, name) {
|
|
1121
|
-
return getFeatureByName(projectDefinition, name)?.id ?? name;
|
|
1122
|
-
}
|
|
1123
|
-
const FeatureUtils = {
|
|
1124
|
-
getRootFeatures,
|
|
1125
|
-
getFeatureById,
|
|
1126
|
-
getFeatureByIdOrThrow,
|
|
1127
|
-
getFeatureChildren,
|
|
1128
|
-
getFeatureName,
|
|
1129
|
-
getFeatureNameById,
|
|
1130
|
-
getFeaturePathById,
|
|
1131
|
-
validateFeatureName,
|
|
1132
|
-
ensureFeatureByNameRecursively,
|
|
1133
|
-
getFeatureByName,
|
|
1134
|
-
getFeatureIdByNameOrDefault,
|
|
1135
|
-
};
|
|
1136
|
-
|
|
1137
|
-
function byId(projectDefinition, id) {
|
|
1138
|
-
return projectDefinition.models.find((m) => m.id === id);
|
|
1139
|
-
}
|
|
1140
|
-
function byIdOrThrow(projectDefinition, id) {
|
|
1141
|
-
const model = byId(projectDefinition, id);
|
|
1142
|
-
if (!model) {
|
|
1143
|
-
throw new Error(`Could not find model with ID ${id}`);
|
|
1144
|
-
}
|
|
1145
|
-
return model;
|
|
1146
|
-
}
|
|
1147
|
-
function getScalarFieldById(model, id) {
|
|
1148
|
-
const field = model.model.fields.find((f) => f.id === id);
|
|
1149
|
-
if (!field) {
|
|
1150
|
-
throw new Error(`Could not find field with ID ${id}`);
|
|
1151
|
-
}
|
|
1152
|
-
return field;
|
|
1153
|
-
}
|
|
1154
|
-
function getRelationsToModel(projectDefinition, modelId) {
|
|
1155
|
-
return projectDefinition.models.flatMap((m) => m.model.relations
|
|
1156
|
-
?.filter((r) => r.modelRef === modelId)
|
|
1157
|
-
.map((r) => ({ model: m, relation: r })) ?? []);
|
|
1158
|
-
}
|
|
1159
|
-
function getModelsForFeature(projectDefinition, featureId) {
|
|
1160
|
-
return projectDefinition.models.filter((m) => m.featureRef === featureId);
|
|
1161
|
-
}
|
|
1162
|
-
function getModelIdFields(model) {
|
|
1163
|
-
return model.model.primaryKeyFieldRefs;
|
|
1164
|
-
}
|
|
1165
|
-
function hasService(model) {
|
|
1166
|
-
return (!!model.service.create.enabled ||
|
|
1167
|
-
!!model.service.update.enabled ||
|
|
1168
|
-
!!model.service.delete.enabled ||
|
|
1169
|
-
model.service.transformers.length > 0);
|
|
1170
|
-
}
|
|
1171
|
-
function validateModelName(name) {
|
|
1172
|
-
return PASCAL_CASE_REGEX.test(name);
|
|
1173
|
-
}
|
|
1174
|
-
/**
|
|
1175
|
-
* Returns the ID of a model by name, or the name if no model is found.
|
|
1176
|
-
* @param projectDefinition - The project definition.
|
|
1177
|
-
* @param name - The name of the model.
|
|
1178
|
-
* @returns The ID of the model, or the name if no model is found.
|
|
1179
|
-
*/
|
|
1180
|
-
function getModelIdByNameOrDefault(projectDefinition, name) {
|
|
1181
|
-
return projectDefinition.models.find((m) => m.name === name)?.id ?? name;
|
|
1182
|
-
}
|
|
1183
|
-
const ModelUtils = {
|
|
1184
|
-
byId,
|
|
1185
|
-
byIdOrThrow,
|
|
1186
|
-
getScalarFieldById,
|
|
1187
|
-
getRelationsToModel,
|
|
1188
|
-
getModelsForFeature,
|
|
1189
|
-
getModelIdFields,
|
|
1190
|
-
hasService,
|
|
1191
|
-
validateModelName,
|
|
1192
|
-
getModelIdByNameOrDefault,
|
|
1193
|
-
};
|
|
1194
|
-
|
|
1195
|
-
/**
|
|
1196
|
-
* Allows diffing of arbitrary JSON objects.
|
|
1197
|
-
*/
|
|
1198
|
-
class DefinitionDiffField {
|
|
1199
|
-
constructor(
|
|
1200
|
-
/**
|
|
1201
|
-
* The name of the field to be presented to the user.
|
|
1202
|
-
*/
|
|
1203
|
-
name) {
|
|
1204
|
-
Object.defineProperty(this, "name", {
|
|
1205
|
-
enumerable: true,
|
|
1206
|
-
configurable: true,
|
|
1207
|
-
writable: true,
|
|
1208
|
-
value: name
|
|
1209
|
-
});
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
/**
|
|
1213
|
-
* A field that is an array of objects with a unique key.
|
|
1214
|
-
*/
|
|
1215
|
-
class DefinitionDiffKeyedArrayField extends DefinitionDiffField {
|
|
1216
|
-
constructor(name, getKey, options = {}) {
|
|
1217
|
-
super(name);
|
|
1218
|
-
Object.defineProperty(this, "getKey", {
|
|
1219
|
-
enumerable: true,
|
|
1220
|
-
configurable: true,
|
|
1221
|
-
writable: true,
|
|
1222
|
-
value: getKey
|
|
1223
|
-
});
|
|
1224
|
-
Object.defineProperty(this, "options", {
|
|
1225
|
-
enumerable: true,
|
|
1226
|
-
configurable: true,
|
|
1227
|
-
writable: true,
|
|
1228
|
-
value: options
|
|
1229
|
-
});
|
|
1230
|
-
this.getKey = getKey;
|
|
1231
|
-
}
|
|
1232
|
-
diff(current, desired) {
|
|
1233
|
-
const currentValue = current ?? [];
|
|
1234
|
-
const desiredValue = desired ?? [];
|
|
1235
|
-
if (!Array.isArray(currentValue) || !Array.isArray(desiredValue)) {
|
|
1236
|
-
throw new TypeError('Current and desired must be arrays');
|
|
1237
|
-
}
|
|
1238
|
-
const ops = [];
|
|
1239
|
-
const { allowRemove, ignoreFields = ['id'] } = this.options;
|
|
1240
|
-
const currentByKey = new Map(currentValue.map((item) => [this.getKey(item), item]));
|
|
1241
|
-
const desiredByKey = new Map(desiredValue.map((item) => [this.getKey(item), item]));
|
|
1242
|
-
for (const [key, desiredItem] of desiredByKey) {
|
|
1243
|
-
const currentItem = currentByKey.get(key);
|
|
1244
|
-
if (!currentItem) {
|
|
1245
|
-
ops.push({ type: 'add', key, item: desiredItem });
|
|
1246
|
-
continue;
|
|
1247
|
-
}
|
|
1248
|
-
if (!isMatch(omit(currentItem, ignoreFields), omit(desiredItem, ignoreFields))) {
|
|
1249
|
-
ops.push({ type: 'update', key, item: desiredItem });
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
if (allowRemove) {
|
|
1253
|
-
for (const [key, currentItem] of currentByKey) {
|
|
1254
|
-
if (!desiredByKey.has(key)) {
|
|
1255
|
-
ops.push({ type: 'remove', key, item: currentItem });
|
|
1256
|
-
}
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
return ops;
|
|
1260
|
-
}
|
|
1261
|
-
apply(current, diff) {
|
|
1262
|
-
const patch = diff;
|
|
1263
|
-
const currentValue = current ?? [];
|
|
1264
|
-
if (!Array.isArray(currentValue)) {
|
|
1265
|
-
throw new TypeError('Current must be array');
|
|
1266
|
-
}
|
|
1267
|
-
const items = [...currentValue];
|
|
1268
|
-
for (const { type, key, item } of patch) {
|
|
1269
|
-
const index = items.findIndex((i) => this.getKey(i) === key);
|
|
1270
|
-
switch (type) {
|
|
1271
|
-
case 'add': {
|
|
1272
|
-
items.push(item);
|
|
1273
|
-
break;
|
|
1274
|
-
}
|
|
1275
|
-
case 'update': {
|
|
1276
|
-
if (index === -1) {
|
|
1277
|
-
throw new Error(`Cannot apply patch. Item with key "${key}" not found.`);
|
|
1278
|
-
}
|
|
1279
|
-
// Preserve existing id if present.
|
|
1280
|
-
items[index] = toMerged(items[index], item);
|
|
1281
|
-
break;
|
|
1282
|
-
}
|
|
1283
|
-
case 'remove': {
|
|
1284
|
-
if (index !== -1) {
|
|
1285
|
-
items.splice(index, 1);
|
|
1286
|
-
}
|
|
1287
|
-
break;
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
return items;
|
|
1292
|
-
}
|
|
1293
|
-
getActionVerb(isNew) {
|
|
1294
|
-
return isNew ? 'created' : 'added or updated';
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
/**
|
|
1298
|
-
* A field that is a replacement for the entire object or array.
|
|
1299
|
-
*/
|
|
1300
|
-
class DefinitionDiffReplacementField extends DefinitionDiffField {
|
|
1301
|
-
diff(current, desired) {
|
|
1302
|
-
if (desired === undefined) {
|
|
1303
|
-
return [];
|
|
1304
|
-
}
|
|
1305
|
-
if (!isMatch(current, desired)) {
|
|
1306
|
-
return [{ type: 'update', key: '*', item: desired }];
|
|
1307
|
-
}
|
|
1308
|
-
return [];
|
|
1309
|
-
}
|
|
1310
|
-
apply(current, diff) {
|
|
1311
|
-
if (diff.length === 0)
|
|
1312
|
-
return current;
|
|
1313
|
-
return diff[0].item;
|
|
1314
|
-
}
|
|
1315
|
-
getActionVerb(isNew) {
|
|
1316
|
-
return isNew ? 'set' : 'replaced';
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
/**
|
|
1320
|
-
* A field that ensures an array contains certain values.
|
|
1321
|
-
* This field type only adds items, never removes them.
|
|
1322
|
-
*/
|
|
1323
|
-
class DefinitionDiffArrayIncludesField extends DefinitionDiffField {
|
|
1324
|
-
constructor(name, getKey) {
|
|
1325
|
-
super(name);
|
|
1326
|
-
Object.defineProperty(this, "getKey", {
|
|
1327
|
-
enumerable: true,
|
|
1328
|
-
configurable: true,
|
|
1329
|
-
writable: true,
|
|
1330
|
-
value: getKey
|
|
1331
|
-
});
|
|
1332
|
-
}
|
|
1333
|
-
diff(current, desired) {
|
|
1334
|
-
const currentValue = current ?? [];
|
|
1335
|
-
const desiredValue = desired ?? [];
|
|
1336
|
-
if (!Array.isArray(currentValue) || !Array.isArray(desiredValue)) {
|
|
1337
|
-
throw new TypeError('Current and desired must be arrays');
|
|
1338
|
-
}
|
|
1339
|
-
const ops = [];
|
|
1340
|
-
const currentSet = new Set(this.getKey ? currentValue.map(this.getKey) : currentValue);
|
|
1341
|
-
for (const item of desiredValue) {
|
|
1342
|
-
const key = this.getKey ? this.getKey(item) : String(item);
|
|
1343
|
-
if (!currentSet.has(key)) {
|
|
1344
|
-
ops.push({ type: 'add', key, item });
|
|
1345
|
-
}
|
|
1346
|
-
}
|
|
1347
|
-
return ops;
|
|
1348
|
-
}
|
|
1349
|
-
apply(current, diff) {
|
|
1350
|
-
const currentValue = (current ?? []);
|
|
1351
|
-
if (!Array.isArray(currentValue)) {
|
|
1352
|
-
throw new TypeError('Current must be array');
|
|
1353
|
-
}
|
|
1354
|
-
const items = [...currentValue];
|
|
1355
|
-
for (const { type, item } of diff) {
|
|
1356
|
-
if (type === 'add') {
|
|
1357
|
-
items.push(item);
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
return items;
|
|
1361
|
-
}
|
|
1362
|
-
getActionVerb(isNew) {
|
|
1363
|
-
return isNew ? 'created' : 'added';
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
function createDefinitionDiffConfig(config) {
|
|
1367
|
-
return config;
|
|
1368
|
-
}
|
|
1369
|
-
/**
|
|
1370
|
-
* Creates a diff between two objects.
|
|
1371
|
-
*/
|
|
1372
|
-
function createDefinitionDiff(current, desired, configuration) {
|
|
1373
|
-
const ops = mapValues(configuration, (field, key) => {
|
|
1374
|
-
if (!field)
|
|
1375
|
-
return [];
|
|
1376
|
-
return field.diff(get(current, key), get(desired, key));
|
|
1377
|
-
});
|
|
1378
|
-
if (Object.values(ops).every((ops) => ops.length === 0)) {
|
|
1379
|
-
return undefined;
|
|
1380
|
-
}
|
|
1381
|
-
return ops;
|
|
1382
|
-
}
|
|
1383
|
-
/**
|
|
1384
|
-
* Applies a diff to an object.
|
|
1385
|
-
*/
|
|
1386
|
-
function applyDefinitionDiff(current, diff, configuration) {
|
|
1387
|
-
const clonedCurrent = cloneDeep(current);
|
|
1388
|
-
for (const [key, ops] of Object.entries(diff)) {
|
|
1389
|
-
if (!ops)
|
|
1390
|
-
continue;
|
|
1391
|
-
const field = configuration[key];
|
|
1392
|
-
const currentValue = get(clonedCurrent, key);
|
|
1393
|
-
set(clonedCurrent, key, field.apply(currentValue, ops));
|
|
1394
|
-
}
|
|
1395
|
-
return clonedCurrent;
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* Computes a unique key for a unique constraint by sorting its field refs.
|
|
1400
|
-
*
|
|
1401
|
-
* @param constraint - Unique constraint input.
|
|
1402
|
-
* @returns A key string.
|
|
1403
|
-
*/
|
|
1404
|
-
function getUniqueConstraintKey(constraint) {
|
|
1405
|
-
const fields = constraint.fields.map((f) => f.fieldRef).sort();
|
|
1406
|
-
return fields.join('|');
|
|
1407
|
-
}
|
|
1408
|
-
const modelMergerDefinitionDiffConfig = createDefinitionDiffConfig({
|
|
1409
|
-
'model.fields': new DefinitionDiffKeyedArrayField('fields', (f) => f.name),
|
|
1410
|
-
'model.relations': new DefinitionDiffKeyedArrayField('relations', (r) => r.name),
|
|
1411
|
-
'model.uniqueConstraints': new DefinitionDiffKeyedArrayField('unique constraints', (c) => getUniqueConstraintKey(c)),
|
|
1412
|
-
'model.primaryKeyFieldRefs': new DefinitionDiffReplacementField('primary key fields'),
|
|
1413
|
-
'graphql.objectType.enabled': new DefinitionDiffReplacementField('GraphQL object type enabled'),
|
|
1414
|
-
'graphql.objectType.fields': new DefinitionDiffArrayIncludesField('GraphQL object type fields'),
|
|
1415
|
-
'graphql.objectType.localRelations': new DefinitionDiffArrayIncludesField('GraphQL object type local relations'),
|
|
1416
|
-
'graphql.objectType.foreignRelations': new DefinitionDiffArrayIncludesField('GraphQL object type foreign relations'),
|
|
1417
|
-
});
|
|
1418
|
-
/**
|
|
1419
|
-
* Serializes a model merger model input such that all IDs are replaced with
|
|
1420
|
-
* names.
|
|
1421
|
-
*
|
|
1422
|
-
* @param input - The model merger model input.
|
|
1423
|
-
* @param definitionContainer - The definition container.
|
|
1424
|
-
* @returns The serialized model merger model input.
|
|
1425
|
-
*/
|
|
1426
|
-
function serializeModelMergerModelInput(input, definitionContainer, siblingModels) {
|
|
1427
|
-
const siblingModelFieldIdMap = new Map([
|
|
1428
|
-
...input.model.fields.map((f) => [f.id, f.name]),
|
|
1429
|
-
...siblingModels.flatMap((m) => m.model.fields.map((f) => [f.id, f.name])),
|
|
1430
|
-
]);
|
|
1431
|
-
const siblingModelRelationIdMap = new Map([
|
|
1432
|
-
...(input.model.relations ?? []).map((r) => [r.id, r.name]),
|
|
1433
|
-
...siblingModels.flatMap((m) => (m.model.relations ?? []).map((r) => [r.id, r.name])),
|
|
1434
|
-
...(input.model.relations ?? []).map((r) => [r.foreignId, r.foreignRelationName]),
|
|
1435
|
-
...siblingModels.flatMap((m) => (m.model.relations ?? []).map((r) => [r.foreignId, r.foreignRelationName])),
|
|
1436
|
-
]);
|
|
1437
|
-
const fieldNameFromId = (id) => siblingModelFieldIdMap.get(id) ?? definitionContainer.nameFromId(id);
|
|
1438
|
-
const relationNameFromId = (id) => siblingModelRelationIdMap.get(id) ?? definitionContainer.nameFromId(id);
|
|
1439
|
-
return {
|
|
1440
|
-
...input,
|
|
1441
|
-
model: {
|
|
1442
|
-
...input.model,
|
|
1443
|
-
relations: input.model.relations?.map((r) => ({
|
|
1444
|
-
...r,
|
|
1445
|
-
references: r.references.map((reference) => ({
|
|
1446
|
-
...reference,
|
|
1447
|
-
localRef: fieldNameFromId(reference.localRef),
|
|
1448
|
-
foreignRef: fieldNameFromId(reference.foreignRef),
|
|
1449
|
-
})),
|
|
1450
|
-
})),
|
|
1451
|
-
uniqueConstraints: input.model.uniqueConstraints?.map((c) => ({
|
|
1452
|
-
...c,
|
|
1453
|
-
fields: c.fields.map((f) => ({
|
|
1454
|
-
...f,
|
|
1455
|
-
fieldRef: fieldNameFromId(f.fieldRef),
|
|
1456
|
-
})),
|
|
1457
|
-
})),
|
|
1458
|
-
primaryKeyFieldRefs: input.model.primaryKeyFieldRefs.map(fieldNameFromId),
|
|
1459
|
-
},
|
|
1460
|
-
graphql: {
|
|
1461
|
-
...input.graphql,
|
|
1462
|
-
objectType: {
|
|
1463
|
-
...input.graphql?.objectType,
|
|
1464
|
-
fields: input.graphql?.objectType?.fields?.map(fieldNameFromId) ?? [],
|
|
1465
|
-
localRelations: input.graphql?.objectType?.localRelations?.map(relationNameFromId) ??
|
|
1466
|
-
[],
|
|
1467
|
-
foreignRelations: input.graphql?.objectType?.foreignRelations?.map(relationNameFromId) ?? [],
|
|
1468
|
-
},
|
|
1469
|
-
},
|
|
1470
|
-
};
|
|
1471
|
-
}
|
|
1472
|
-
/**
|
|
1473
|
-
* Attaches IDs to the model merger model input.
|
|
1474
|
-
*
|
|
1475
|
-
* @param input - The model merger model input.
|
|
1476
|
-
* @returns The model merger model input with IDs attached.
|
|
1477
|
-
*/
|
|
1478
|
-
function attachIdsToModelMergerModelInput(input) {
|
|
1479
|
-
return {
|
|
1480
|
-
...input,
|
|
1481
|
-
model: {
|
|
1482
|
-
...input.model,
|
|
1483
|
-
fields: input.model.fields.map((f) => ({
|
|
1484
|
-
...f,
|
|
1485
|
-
id: f.id ?? modelScalarFieldEntityType.generateNewId(),
|
|
1486
|
-
})),
|
|
1487
|
-
relations: input.model.relations?.map((r) => ({
|
|
1488
|
-
...r,
|
|
1489
|
-
id: r.id ?? modelLocalRelationEntityType.generateNewId(),
|
|
1490
|
-
foreignId: r.foreignId ?? modelForeignRelationEntityType.generateNewId(),
|
|
1491
|
-
})),
|
|
1492
|
-
uniqueConstraints: input.model.uniqueConstraints?.map((c) => ({
|
|
1493
|
-
...c,
|
|
1494
|
-
id: c.id ?? modelUniqueConstraintEntityType.generateNewId(),
|
|
1495
|
-
})),
|
|
1496
|
-
},
|
|
1497
|
-
};
|
|
1498
|
-
}
|
|
1499
|
-
/**
|
|
1500
|
-
* Deserializes a model merger model input converting all names to IDs.
|
|
1501
|
-
*
|
|
1502
|
-
* @param input - The model merger model input.
|
|
1503
|
-
* @param resolveForeignFieldRef - A function that resolves the foreign field ref.
|
|
1504
|
-
* @returns The deserialized model merger model input.
|
|
1505
|
-
*/
|
|
1506
|
-
function deserializeModelMergerModelInput(input, resolveForeignFieldRef, resolveForeignRelationRef) {
|
|
1507
|
-
const inputWithIds = attachIdsToModelMergerModelInput(input);
|
|
1508
|
-
const resolveLocalFieldName = (name) => {
|
|
1509
|
-
const field = inputWithIds.model.fields.find((f) => f.name === name);
|
|
1510
|
-
if (!field) {
|
|
1511
|
-
throw new Error(`Field ${name} not found`);
|
|
1512
|
-
}
|
|
1513
|
-
return field.id;
|
|
1514
|
-
};
|
|
1515
|
-
const resolveLocalRelationName = (name) => {
|
|
1516
|
-
const relation = inputWithIds.model.relations?.find((r) => r.name === name);
|
|
1517
|
-
if (!relation) {
|
|
1518
|
-
throw new Error(`Relation ${name} not found`);
|
|
1519
|
-
}
|
|
1520
|
-
return relation.id;
|
|
1521
|
-
};
|
|
1522
|
-
return {
|
|
1523
|
-
...inputWithIds,
|
|
1524
|
-
model: {
|
|
1525
|
-
...inputWithIds.model,
|
|
1526
|
-
relations: inputWithIds.model.relations?.map((relation) => ({
|
|
1527
|
-
...relation,
|
|
1528
|
-
references: relation.references.map((reference) => ({
|
|
1529
|
-
...reference,
|
|
1530
|
-
localRef: resolveLocalFieldName(reference.localRef),
|
|
1531
|
-
foreignRef: resolveForeignFieldRef(relation.modelRef, reference.foreignRef),
|
|
1532
|
-
})),
|
|
1533
|
-
})),
|
|
1534
|
-
uniqueConstraints: inputWithIds.model.uniqueConstraints?.map((constraint) => ({
|
|
1535
|
-
...constraint,
|
|
1536
|
-
fields: constraint.fields.map((field) => ({
|
|
1537
|
-
...field,
|
|
1538
|
-
fieldRef: resolveLocalFieldName(field.fieldRef),
|
|
1539
|
-
})),
|
|
1540
|
-
})),
|
|
1541
|
-
primaryKeyFieldRefs: inputWithIds.model.primaryKeyFieldRefs.map((fieldRef) => resolveLocalFieldName(fieldRef)),
|
|
1542
|
-
},
|
|
1543
|
-
graphql: {
|
|
1544
|
-
...inputWithIds.graphql,
|
|
1545
|
-
objectType: {
|
|
1546
|
-
...inputWithIds.graphql?.objectType,
|
|
1547
|
-
fields: inputWithIds.graphql?.objectType?.fields?.map((fieldRef) => resolveLocalFieldName(fieldRef)) ?? [],
|
|
1548
|
-
localRelations: inputWithIds.graphql?.objectType?.localRelations?.map((relationRef) => resolveLocalRelationName(relationRef)) ?? [],
|
|
1549
|
-
foreignRelations: inputWithIds.graphql?.objectType?.foreignRelations?.map((relationRef) => resolveForeignRelationRef(relationRef)) ?? [],
|
|
1550
|
-
},
|
|
1551
|
-
},
|
|
1552
|
-
};
|
|
1553
|
-
}
|
|
1554
|
-
/**
|
|
1555
|
-
* Creates a new blank model config input from a name and feature ref.
|
|
1556
|
-
*
|
|
1557
|
-
* @param name - The name of the model.
|
|
1558
|
-
* @param featureRef - The feature ref of the model.
|
|
1559
|
-
* @returns The new model config input.
|
|
1560
|
-
*/
|
|
1561
|
-
function createNewModelConfigInput(name, featureRef) {
|
|
1562
|
-
return {
|
|
1563
|
-
id: modelEntityType.generateNewId(),
|
|
1564
|
-
name,
|
|
1565
|
-
featureRef,
|
|
1566
|
-
model: {
|
|
1567
|
-
fields: [],
|
|
1568
|
-
primaryKeyFieldRefs: [],
|
|
1569
|
-
},
|
|
1570
|
-
};
|
|
1571
|
-
}
|
|
1572
|
-
/**
|
|
1573
|
-
* Diff the model definition.
|
|
1574
|
-
*
|
|
1575
|
-
* @param current - The current model definition or a new model to be created.
|
|
1576
|
-
* @param desired - The desired model definition.
|
|
1577
|
-
* @param definitionContainer - Project definition container.
|
|
1578
|
-
* @param options - Diff options.
|
|
1579
|
-
* @returns A diff output or undefined if there are no differences.
|
|
1580
|
-
*/
|
|
1581
|
-
function createModelMergerResult(current, desired, definitionContainer, { siblingModels = [] } = {}) {
|
|
1582
|
-
const currentModel = current ?? createNewModelConfigInput(desired.name, desired.featureRef);
|
|
1583
|
-
// resolves all the names of the current model config input
|
|
1584
|
-
const resolvedCurrent = serializeModelMergerModelInput(currentModel, definitionContainer, siblingModels);
|
|
1585
|
-
const diff = createDefinitionDiff(resolvedCurrent, desired, modelMergerDefinitionDiffConfig);
|
|
1586
|
-
if (!diff) {
|
|
1587
|
-
return undefined;
|
|
1588
|
-
}
|
|
1589
|
-
return {
|
|
1590
|
-
isNewModel: !current,
|
|
1591
|
-
id: currentModel.id,
|
|
1592
|
-
name: currentModel.name,
|
|
1593
|
-
featureRef: currentModel.featureRef,
|
|
1594
|
-
changes: diff,
|
|
1595
|
-
};
|
|
1596
|
-
}
|
|
1597
|
-
function doesModelMergerResultsHaveChanges(results) {
|
|
1598
|
-
return Object.values(results).some((result) => result?.changes);
|
|
1599
|
-
}
|
|
1600
|
-
/**
|
|
1601
|
-
* Creates a model merger result for a set of models.
|
|
1602
|
-
*
|
|
1603
|
-
* @param current - A map of model IDs
|
|
1604
|
-
* @param desired - The desired model definition.
|
|
1605
|
-
* @param definitionContainer - Project definition container.
|
|
1606
|
-
* @param options - Diff options.
|
|
1607
|
-
* @returns A model merger result for a set of models.
|
|
1608
|
-
*/
|
|
1609
|
-
function createModelMergerResults(current, desired, definitionContainer, { siblingModels = [] } = {}) {
|
|
1610
|
-
return mapValues(desired, (desired, key) => createModelMergerResult(current[key] && modelEntityType.isId(current[key])
|
|
1611
|
-
? ModelUtils.byIdOrThrow(definitionContainer.definition, current[key])
|
|
1612
|
-
: undefined, desired, definitionContainer, {
|
|
1613
|
-
siblingModels,
|
|
1614
|
-
}));
|
|
1615
|
-
}
|
|
1616
|
-
function applyModelMergerDiff(model, diff, definitionContainer, siblingModels = []) {
|
|
1617
|
-
const resolvedCurrent = serializeModelMergerModelInput(model, definitionContainer, siblingModels);
|
|
1618
|
-
const patchedCurrent = applyDefinitionDiff(resolvedCurrent, diff, modelMergerDefinitionDiffConfig);
|
|
1619
|
-
return {
|
|
1620
|
-
...model,
|
|
1621
|
-
...deserializeModelMergerModelInput(patchedCurrent, (modelId, fieldName) => {
|
|
1622
|
-
const siblingModel = siblingModels.find((m) => m.id === modelId);
|
|
1623
|
-
if (siblingModel) {
|
|
1624
|
-
const field = siblingModel.model.fields.find((f) => f.name === fieldName);
|
|
1625
|
-
if (!field) {
|
|
1626
|
-
throw new Error(`Field ${fieldName} not found in sibling model ${modelId}`);
|
|
1627
|
-
}
|
|
1628
|
-
return field.id;
|
|
1629
|
-
}
|
|
1630
|
-
const model = ModelUtils.byIdOrThrow(definitionContainer.definition, modelId);
|
|
1631
|
-
const field = model.model.fields.find((f) => f.name === fieldName);
|
|
1632
|
-
if (!field) {
|
|
1633
|
-
throw new Error(`Field ${fieldName} not found in model ${model.name}`);
|
|
1634
|
-
}
|
|
1635
|
-
return field.id;
|
|
1636
|
-
}, (relationName) => {
|
|
1637
|
-
// Search sibling model first
|
|
1638
|
-
let relationId;
|
|
1639
|
-
for (const siblingModel of siblingModels) {
|
|
1640
|
-
const relation = siblingModel.model.relations?.find((r) => r.foreignRelationName === relationName);
|
|
1641
|
-
if (relation) {
|
|
1642
|
-
relationId = relation.foreignId;
|
|
1643
|
-
break;
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
if (relationId) {
|
|
1647
|
-
return relationId;
|
|
1648
|
-
}
|
|
1649
|
-
const relations = ModelUtils.getRelationsToModel(definitionContainer.definition, model.id);
|
|
1650
|
-
const relation = relations.find((r) => r.relation.foreignRelationName === relationName &&
|
|
1651
|
-
r.relation.modelRef === model.id);
|
|
1652
|
-
if (!relation) {
|
|
1653
|
-
throw new Error(`Relation ${relationName} not found in model ${model.name}`);
|
|
1654
|
-
}
|
|
1655
|
-
return relation.relation.foreignId;
|
|
1656
|
-
}),
|
|
1657
|
-
};
|
|
1658
|
-
}
|
|
1659
|
-
function applyModelMergerResultInPlace(draftConfig, result, definitionContainer, { siblingModels = [] } = {}) {
|
|
1660
|
-
const model = result.isNewModel
|
|
1661
|
-
? createNewModelConfigInput(result.name, result.featureRef)
|
|
1662
|
-
: ModelUtils.byIdOrThrow(definitionContainer.definition, result.id);
|
|
1663
|
-
const newModel = applyModelMergerDiff(model, result.changes, definitionContainer, siblingModels);
|
|
1664
|
-
if (result.isNewModel) {
|
|
1665
|
-
draftConfig.models.push(newModel);
|
|
1666
|
-
}
|
|
1667
|
-
else {
|
|
1668
|
-
const index = draftConfig.models.findIndex((m) => m.id === result.id);
|
|
1669
|
-
if (index === -1) {
|
|
1670
|
-
throw new Error(`Model ${result.id} not found`);
|
|
1671
|
-
}
|
|
1672
|
-
draftConfig.models[index] = newModel;
|
|
1673
|
-
}
|
|
1674
|
-
return newModel.id;
|
|
1675
|
-
}
|
|
1676
|
-
function createAndApplyModelMergerResults(draftConfig, current, desired, definitionContainer, { siblingModels = [] } = {}) {
|
|
1677
|
-
const results = createModelMergerResults(current, desired, definitionContainer, { siblingModels });
|
|
1678
|
-
return mapValues(results, (result, key) => result
|
|
1679
|
-
? applyModelMergerResultInPlace(draftConfig, result, definitionContainer, { siblingModels })
|
|
1680
|
-
: desired[key].name);
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
export { doesModelMergerResultsHaveChanges as A, createModelMergerResults as B, CASE_VALIDATORS as C, DefinitionReferenceMarker as D, applyModelMergerDiff as E, FeatureUtils as F, applyModelMergerResultInPlace as G, createAndApplyModelMergerResults as H, DefinitionDiffKeyedArrayField as I, DefinitionDiffReplacementField as J, DefinitionDiffArrayIncludesField as K, createDefinitionDiffConfig as L, ModelUtils as M, createDefinitionDiff as N, applyDefinitionDiff as O, REF_ANNOTATIONS_MARKER_SYMBOL as R, createEntityType as a, createDefinitionSchemaParserContext as b, createPluginSpec as c, definitionSchema as d, modelForeignRelationEntityType as e, modelLocalRelationEntityType as f, get as g, modelScalarFieldEntityType as h, isEqual as i, modelTransformerEntityType as j, modelEntityType as k, modelEnumValueEntityType as l, mapValues as m, featureEntityType as n, modelEnumEntityType as o, modelUniqueConstraintEntityType as p, createFeaturesSchema as q, omit as r, set as s, cloneDeep as t, createInitializedPluginSpec as u, DefinitionEntityType as v, featureNameSchema as w, createFeatureSchema as x, modelMergerDefinitionDiffConfig as y, createModelMergerResult as z };
|
|
1684
|
-
//# sourceMappingURL=model-merger-CA2yaVFd.js.map
|