@baseplate-dev/plugin-auth 2.0.1 → 2.0.2
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/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts +88 -3
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts +176 -6
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts +88 -3
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts +176 -6
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts +176 -6
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts +88 -3
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts +88 -3
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +88 -3
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/common.d.ts +4 -0
- package/dist/local-auth/admin/common.d.ts.map +1 -0
- package/dist/local-auth/admin/common.js +30 -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 +453 -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 +121 -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 +457 -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 +13 -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 +25 -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 +235 -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 +48 -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 +224 -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 +29 -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 +21 -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.gql +7 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +59 -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 +145 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +452 -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 +107 -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 +457 -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 +13 -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 +25 -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 +235 -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 +48 -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 +442 -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 +31 -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 +21 -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.gql +7 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +73 -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 +155 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +221 -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 +58 -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 +8 -0
- package/dist/local-auth/admin/node.d.ts.map +1 -0
- package/dist/local-auth/admin/node.js +60 -0
- package/dist/local-auth/admin/node.js.map +1 -0
- package/dist/local-auth/admin/schema/manage-role-action.d.ts +19 -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 +19 -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 +19 -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 +6 -0
- package/dist/local-auth/admin/web.d.ts.map +1 -0
- package/dist/local-auth/admin/web.js +43 -0
- package/dist/local-auth/admin/web.js.map +1 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +1 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.js +5 -2
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +5 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +20 -5
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +4 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +8 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +40 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +47 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +31 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +97 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +133 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +2 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +9 -3
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +26 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +2 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +52 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +28 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
- 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/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-routes/auth-routes.generator.d.ts +88 -3
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +264 -9
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +88 -3
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +352 -12
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +176 -6
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +88 -3
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +176 -6
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +88 -3
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
- package/dist/local-auth/core/node.d.ts.map +1 -1
- package/dist/local-auth/core/node.js +5 -1
- package/dist/local-auth/core/node.js.map +1 -1
- package/dist/local-auth/core/schema/plugin-definition.d.ts +3 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/local-auth/core/schema/plugin-definition.js +4 -0
- package/dist/local-auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/local-auth/plugin.json +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-lV5QSzvf.js → __federation_expose_auth0CoreCommon-Dd4OxG3J.js} +3 -3
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-lV5QSzvf.js.map → __federation_expose_auth0CoreCommon-Dd4OxG3J.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-5F0rTNis.js → __federation_expose_auth0CoreWeb-C_de43BE.js} +5 -5
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-5F0rTNis.js.map → __federation_expose_auth0CoreWeb-C_de43BE.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-C5cVmNCH.js → __federation_expose_authCoreCommon-BAF30G9e.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-C5cVmNCH.js.map → __federation_expose_authCoreCommon-BAF30G9e.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-CJxY8hZC.js → __federation_expose_authCoreWeb-B26BFarY.js} +6 -6
- package/dist/web/assets/{__federation_expose_authCoreWeb-CJxY8hZC.js.map → __federation_expose_authCoreWeb-B26BFarY.js.map} +1 -1
- package/dist/web/assets/__federation_expose_local-authAdminCommon-DLbuTALX.js +64 -0
- package/dist/web/assets/__federation_expose_local-authAdminCommon-DLbuTALX.js.map +1 -0
- package/dist/web/assets/__federation_expose_local-authAdminWeb-bT8Js4V6.js +58 -0
- package/dist/web/assets/__federation_expose_local-authAdminWeb-bT8Js4V6.js.map +1 -0
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-Dr_ngV2l.js → __federation_expose_local-authCoreCommon-D9tovFrj.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-Dr_ngV2l.js.map → __federation_expose_local-authCoreCommon-D9tovFrj.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-B5iBudnh.js → __federation_expose_local-authCoreWeb-DKVkRzEo.js} +24 -7
- package/dist/web/assets/__federation_expose_local-authCoreWeb-DKVkRzEo.js.map +1 -0
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-l8knzO7I.js → __federation_expose_placeholder-authCoreCommon-D1fszuKq.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-l8knzO7I.js.map → __federation_expose_placeholder-authCoreCommon-D1fszuKq.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-DbI_bZsk.js → __federation_expose_placeholder-authCoreWeb-tw3UiMLM.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-DbI_bZsk.js.map → __federation_expose_placeholder-authCoreWeb-tw3UiMLM.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-DReOsou_.js → __federation_fn_import-B_QMlAIe.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-DReOsou_.js.map → __federation_fn_import-B_QMlAIe.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BlPKO2K7.js → web-DdrB9jrq.js} +74 -6
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-DdrB9jrq.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-CGEZr0YI.js → project-builder-lib-BvG5Zcxb.js} +567 -184
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-BvG5Zcxb.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-RO_rk4f0.js → ui-components-CjIA8Av2.js} +873 -624
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-CjIA8Av2.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-BbU_EX7_.js → utils-LpAGNm5N.js} +2 -2
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-BbU_EX7_.js.map → utils-LpAGNm5N.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-CNTPQj7N.js → react-router-CEcQRiV1.js} +2 -2
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-CNTPQj7N.js.map → react-router-CEcQRiV1.js.map} +1 -1
- package/dist/web/assets/{get-auth-plugin-definition-CQ6mWMZk.js → get-auth-plugin-definition-BrApugiB.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-CQ6mWMZk.js.map → get-auth-plugin-definition-BrApugiB.js.map} +1 -1
- package/dist/web/assets/{index-BkOJzK_m.js → index-DAcyTb_o.js} +5 -3
- package/dist/web/assets/{index-BkOJzK_m.js.map → index-DAcyTb_o.js.map} +1 -1
- package/dist/web/assets/{index.esm-UnRzlLlr.js → index.esm-BFQQfZNu.js} +2 -2
- package/dist/web/assets/{index.esm-UnRzlLlr.js.map → index.esm-BFQQfZNu.js.map} +1 -1
- package/dist/web/assets/{model-merger-BLEOsCIp.js → model-merger-boZDknXa.js} +11 -4
- package/dist/web/assets/model-merger-boZDknXa.js.map +1 -0
- package/dist/web/assets/{plugin-definition-PCHsX2lR.js → plugin-definition-B7A-hS1o.js} +2 -2
- package/dist/web/assets/{plugin-definition-PCHsX2lR.js.map → plugin-definition-B7A-hS1o.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-ChUKIqUg.js → plugin-definition-BeK0C-OP.js} +11 -2
- package/dist/web/assets/plugin-definition-BeK0C-OP.js.map +1 -0
- package/dist/web/assets/{plugin-definition-DH4QyCfv.js → plugin-definition-CyqVivit.js} +2 -2
- package/dist/web/assets/{plugin-definition-DH4QyCfv.js.map → plugin-definition-CyqVivit.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-C935Xf1h.js → plugin-definition-DfsGhMRb.js} +2 -2
- package/dist/web/assets/{plugin-definition-C935Xf1h.js.map → plugin-definition-DfsGhMRb.js.map} +1 -1
- package/dist/web/assets/{react-ecPihYHK.js → react-CKjL52W8.js} +2 -2
- package/dist/web/assets/{react-ecPihYHK.js.map → react-CKjL52W8.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +14 -8
- package/dist/web/assets/remoteEntry.js.map +1 -1
- package/dist/web/assets/{styles-I6mpdfRm.js → styles-CyTaudys.js} +3 -3
- package/dist/web/assets/{styles-I6mpdfRm.js.map → styles-CyTaudys.js.map} +1 -1
- package/package.json +12 -12
- package/dist/web/assets/__federation_expose_local-authCoreWeb-B5iBudnh.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BlPKO2K7.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CGEZr0YI.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-RO_rk4f0.js.map +0 -1
- package/dist/web/assets/model-merger-BLEOsCIp.js.map +0 -1
- package/dist/web/assets/plugin-definition-ChUKIqUg.js.map +0 -1
|
@@ -30,6 +30,19 @@ export declare const mainGroup: {
|
|
|
30
30
|
Alert: {};
|
|
31
31
|
AlertDescription: {};
|
|
32
32
|
AlertTitle: {};
|
|
33
|
+
Badge: {};
|
|
34
|
+
badgeVariants: {};
|
|
35
|
+
BadgeWithIcon: {};
|
|
36
|
+
BadgeWithIconProps: {
|
|
37
|
+
isTypeOnly: true;
|
|
38
|
+
};
|
|
39
|
+
Breadcrumb: {};
|
|
40
|
+
BreadcrumbEllipsis: {};
|
|
41
|
+
BreadcrumbItem: {};
|
|
42
|
+
BreadcrumbLink: {};
|
|
43
|
+
BreadcrumbList: {};
|
|
44
|
+
BreadcrumbPage: {};
|
|
45
|
+
BreadcrumbSeparator: {};
|
|
33
46
|
Button: {};
|
|
34
47
|
buttonVariants: {};
|
|
35
48
|
Calendar: {};
|
|
@@ -48,6 +61,15 @@ export declare const mainGroup: {
|
|
|
48
61
|
Combobox: {};
|
|
49
62
|
ComboboxField: {};
|
|
50
63
|
ComboboxFieldController: {};
|
|
64
|
+
Command: {};
|
|
65
|
+
CommandDialog: {};
|
|
66
|
+
CommandEmpty: {};
|
|
67
|
+
CommandGroup: {};
|
|
68
|
+
CommandInput: {};
|
|
69
|
+
CommandItem: {};
|
|
70
|
+
CommandList: {};
|
|
71
|
+
CommandSeparator: {};
|
|
72
|
+
CommandShortcut: {};
|
|
51
73
|
ConfirmDialog: {};
|
|
52
74
|
DatePickerField: {};
|
|
53
75
|
DatePickerFieldController: {};
|
|
@@ -66,6 +88,21 @@ export declare const mainGroup: {
|
|
|
66
88
|
DialogWidth: {
|
|
67
89
|
isTypeOnly: true;
|
|
68
90
|
};
|
|
91
|
+
DropdownMenu: {};
|
|
92
|
+
DropdownMenuCheckboxItem: {};
|
|
93
|
+
DropdownMenuContent: {};
|
|
94
|
+
DropdownMenuGroup: {};
|
|
95
|
+
DropdownMenuItem: {};
|
|
96
|
+
DropdownMenuLabel: {};
|
|
97
|
+
DropdownMenuPortal: {};
|
|
98
|
+
DropdownMenuRadioGroup: {};
|
|
99
|
+
DropdownMenuRadioItem: {};
|
|
100
|
+
DropdownMenuSeparator: {};
|
|
101
|
+
DropdownMenuShortcut: {};
|
|
102
|
+
DropdownMenuSub: {};
|
|
103
|
+
DropdownMenuSubContent: {};
|
|
104
|
+
DropdownMenuSubTrigger: {};
|
|
105
|
+
DropdownMenuTrigger: {};
|
|
69
106
|
EmptyDisplay: {};
|
|
70
107
|
ErrorableLoader: {};
|
|
71
108
|
ErrorDisplay: {};
|
|
@@ -89,6 +126,17 @@ export declare const mainGroup: {
|
|
|
89
126
|
Loader: {};
|
|
90
127
|
mergeRefs: {};
|
|
91
128
|
Modal: {};
|
|
129
|
+
MultiCombobox: {};
|
|
130
|
+
MultiComboboxContent: {};
|
|
131
|
+
MultiComboboxEmpty: {};
|
|
132
|
+
MultiComboboxField: {};
|
|
133
|
+
MultiComboboxFieldController: {};
|
|
134
|
+
MultiComboboxFieldProps: {
|
|
135
|
+
isTypeOnly: true;
|
|
136
|
+
};
|
|
137
|
+
MultiComboboxGroup: {};
|
|
138
|
+
MultiComboboxInput: {};
|
|
139
|
+
MultiComboboxItem: {};
|
|
92
140
|
MultiSelectOptionProps: {
|
|
93
141
|
isTypeOnly: true;
|
|
94
142
|
};
|
|
@@ -121,9 +169,39 @@ export declare const mainGroup: {
|
|
|
121
169
|
isTypeOnly: true;
|
|
122
170
|
};
|
|
123
171
|
selectTriggerVariants: {};
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
172
|
+
Separator: {};
|
|
173
|
+
Sheet: {};
|
|
174
|
+
SheetClose: {};
|
|
175
|
+
SheetContent: {};
|
|
176
|
+
SheetDescription: {};
|
|
177
|
+
SheetFooter: {};
|
|
178
|
+
SheetHeader: {};
|
|
179
|
+
SheetTitle: {};
|
|
180
|
+
SheetTrigger: {};
|
|
181
|
+
Sidebar: {};
|
|
182
|
+
SidebarContent: {};
|
|
183
|
+
SidebarFooter: {};
|
|
184
|
+
SidebarGroup: {};
|
|
185
|
+
SidebarGroupAction: {};
|
|
186
|
+
SidebarGroupContent: {};
|
|
187
|
+
SidebarGroupLabel: {};
|
|
188
|
+
SidebarHeader: {};
|
|
189
|
+
SidebarInput: {};
|
|
190
|
+
SidebarInset: {};
|
|
191
|
+
SidebarMenu: {};
|
|
192
|
+
SidebarMenuAction: {};
|
|
193
|
+
SidebarMenuBadge: {};
|
|
194
|
+
SidebarMenuButton: {};
|
|
195
|
+
SidebarMenuItem: {};
|
|
196
|
+
SidebarMenuSkeleton: {};
|
|
197
|
+
SidebarMenuSub: {};
|
|
198
|
+
SidebarMenuSubButton: {};
|
|
199
|
+
SidebarMenuSubItem: {};
|
|
200
|
+
SidebarProvider: {};
|
|
201
|
+
SidebarRail: {};
|
|
202
|
+
SidebarSeparator: {};
|
|
203
|
+
SidebarTrigger: {};
|
|
204
|
+
Skeleton: {};
|
|
127
205
|
Switch: {};
|
|
128
206
|
SwitchField: {};
|
|
129
207
|
SwitchFieldController: {};
|
|
@@ -141,6 +219,10 @@ export declare const mainGroup: {
|
|
|
141
219
|
TextAreaInput: {};
|
|
142
220
|
TextInput: {};
|
|
143
221
|
Toaster: {};
|
|
222
|
+
Tooltip: {};
|
|
223
|
+
TooltipContent: {};
|
|
224
|
+
TooltipProvider: {};
|
|
225
|
+
TooltipTrigger: {};
|
|
144
226
|
useConfirmDialog: {};
|
|
145
227
|
UseConfirmDialogRequestOptions: {
|
|
146
228
|
isTypeOnly: true;
|
|
@@ -148,6 +230,9 @@ export declare const mainGroup: {
|
|
|
148
230
|
useConfirmDialogState: {};
|
|
149
231
|
useControlledState: {};
|
|
150
232
|
useControllerMerged: {};
|
|
233
|
+
useIsMobile: {};
|
|
234
|
+
useMultiComboboxContext: {};
|
|
235
|
+
useSidebar: {};
|
|
151
236
|
}>>;
|
|
152
237
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
153
238
|
formatError: {};
|
|
@@ -191,6 +276,19 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
191
276
|
Alert: {};
|
|
192
277
|
AlertDescription: {};
|
|
193
278
|
AlertTitle: {};
|
|
279
|
+
Badge: {};
|
|
280
|
+
badgeVariants: {};
|
|
281
|
+
BadgeWithIcon: {};
|
|
282
|
+
BadgeWithIconProps: {
|
|
283
|
+
isTypeOnly: true;
|
|
284
|
+
};
|
|
285
|
+
Breadcrumb: {};
|
|
286
|
+
BreadcrumbEllipsis: {};
|
|
287
|
+
BreadcrumbItem: {};
|
|
288
|
+
BreadcrumbLink: {};
|
|
289
|
+
BreadcrumbList: {};
|
|
290
|
+
BreadcrumbPage: {};
|
|
291
|
+
BreadcrumbSeparator: {};
|
|
194
292
|
Button: {};
|
|
195
293
|
buttonVariants: {};
|
|
196
294
|
Calendar: {};
|
|
@@ -209,6 +307,15 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
209
307
|
Combobox: {};
|
|
210
308
|
ComboboxField: {};
|
|
211
309
|
ComboboxFieldController: {};
|
|
310
|
+
Command: {};
|
|
311
|
+
CommandDialog: {};
|
|
312
|
+
CommandEmpty: {};
|
|
313
|
+
CommandGroup: {};
|
|
314
|
+
CommandInput: {};
|
|
315
|
+
CommandItem: {};
|
|
316
|
+
CommandList: {};
|
|
317
|
+
CommandSeparator: {};
|
|
318
|
+
CommandShortcut: {};
|
|
212
319
|
ConfirmDialog: {};
|
|
213
320
|
DatePickerField: {};
|
|
214
321
|
DatePickerFieldController: {};
|
|
@@ -227,6 +334,21 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
227
334
|
DialogWidth: {
|
|
228
335
|
isTypeOnly: true;
|
|
229
336
|
};
|
|
337
|
+
DropdownMenu: {};
|
|
338
|
+
DropdownMenuCheckboxItem: {};
|
|
339
|
+
DropdownMenuContent: {};
|
|
340
|
+
DropdownMenuGroup: {};
|
|
341
|
+
DropdownMenuItem: {};
|
|
342
|
+
DropdownMenuLabel: {};
|
|
343
|
+
DropdownMenuPortal: {};
|
|
344
|
+
DropdownMenuRadioGroup: {};
|
|
345
|
+
DropdownMenuRadioItem: {};
|
|
346
|
+
DropdownMenuSeparator: {};
|
|
347
|
+
DropdownMenuShortcut: {};
|
|
348
|
+
DropdownMenuSub: {};
|
|
349
|
+
DropdownMenuSubContent: {};
|
|
350
|
+
DropdownMenuSubTrigger: {};
|
|
351
|
+
DropdownMenuTrigger: {};
|
|
230
352
|
EmptyDisplay: {};
|
|
231
353
|
ErrorableLoader: {};
|
|
232
354
|
ErrorDisplay: {};
|
|
@@ -250,6 +372,17 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
250
372
|
Loader: {};
|
|
251
373
|
mergeRefs: {};
|
|
252
374
|
Modal: {};
|
|
375
|
+
MultiCombobox: {};
|
|
376
|
+
MultiComboboxContent: {};
|
|
377
|
+
MultiComboboxEmpty: {};
|
|
378
|
+
MultiComboboxField: {};
|
|
379
|
+
MultiComboboxFieldController: {};
|
|
380
|
+
MultiComboboxFieldProps: {
|
|
381
|
+
isTypeOnly: true;
|
|
382
|
+
};
|
|
383
|
+
MultiComboboxGroup: {};
|
|
384
|
+
MultiComboboxInput: {};
|
|
385
|
+
MultiComboboxItem: {};
|
|
253
386
|
MultiSelectOptionProps: {
|
|
254
387
|
isTypeOnly: true;
|
|
255
388
|
};
|
|
@@ -282,9 +415,39 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
282
415
|
isTypeOnly: true;
|
|
283
416
|
};
|
|
284
417
|
selectTriggerVariants: {};
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
418
|
+
Separator: {};
|
|
419
|
+
Sheet: {};
|
|
420
|
+
SheetClose: {};
|
|
421
|
+
SheetContent: {};
|
|
422
|
+
SheetDescription: {};
|
|
423
|
+
SheetFooter: {};
|
|
424
|
+
SheetHeader: {};
|
|
425
|
+
SheetTitle: {};
|
|
426
|
+
SheetTrigger: {};
|
|
427
|
+
Sidebar: {};
|
|
428
|
+
SidebarContent: {};
|
|
429
|
+
SidebarFooter: {};
|
|
430
|
+
SidebarGroup: {};
|
|
431
|
+
SidebarGroupAction: {};
|
|
432
|
+
SidebarGroupContent: {};
|
|
433
|
+
SidebarGroupLabel: {};
|
|
434
|
+
SidebarHeader: {};
|
|
435
|
+
SidebarInput: {};
|
|
436
|
+
SidebarInset: {};
|
|
437
|
+
SidebarMenu: {};
|
|
438
|
+
SidebarMenuAction: {};
|
|
439
|
+
SidebarMenuBadge: {};
|
|
440
|
+
SidebarMenuButton: {};
|
|
441
|
+
SidebarMenuItem: {};
|
|
442
|
+
SidebarMenuSkeleton: {};
|
|
443
|
+
SidebarMenuSub: {};
|
|
444
|
+
SidebarMenuSubButton: {};
|
|
445
|
+
SidebarMenuSubItem: {};
|
|
446
|
+
SidebarProvider: {};
|
|
447
|
+
SidebarRail: {};
|
|
448
|
+
SidebarSeparator: {};
|
|
449
|
+
SidebarTrigger: {};
|
|
450
|
+
Skeleton: {};
|
|
288
451
|
Switch: {};
|
|
289
452
|
SwitchField: {};
|
|
290
453
|
SwitchFieldController: {};
|
|
@@ -302,6 +465,10 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
302
465
|
TextAreaInput: {};
|
|
303
466
|
TextInput: {};
|
|
304
467
|
Toaster: {};
|
|
468
|
+
Tooltip: {};
|
|
469
|
+
TooltipContent: {};
|
|
470
|
+
TooltipProvider: {};
|
|
471
|
+
TooltipTrigger: {};
|
|
305
472
|
useConfirmDialog: {};
|
|
306
473
|
UseConfirmDialogRequestOptions: {
|
|
307
474
|
isTypeOnly: true;
|
|
@@ -309,6 +476,9 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
309
476
|
useConfirmDialogState: {};
|
|
310
477
|
useControlledState: {};
|
|
311
478
|
useControllerMerged: {};
|
|
479
|
+
useIsMobile: {};
|
|
480
|
+
useMultiComboboxContext: {};
|
|
481
|
+
useSidebar: {};
|
|
312
482
|
}>>;
|
|
313
483
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
314
484
|
formatError: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAmDA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAmDA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6C,CAAC;AAcpE,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnD,CAAC"}
|
|
@@ -44,6 +44,19 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
44
44
|
Alert: {};
|
|
45
45
|
AlertDescription: {};
|
|
46
46
|
AlertTitle: {};
|
|
47
|
+
Badge: {};
|
|
48
|
+
badgeVariants: {};
|
|
49
|
+
BadgeWithIcon: {};
|
|
50
|
+
BadgeWithIconProps: {
|
|
51
|
+
isTypeOnly: true;
|
|
52
|
+
};
|
|
53
|
+
Breadcrumb: {};
|
|
54
|
+
BreadcrumbEllipsis: {};
|
|
55
|
+
BreadcrumbItem: {};
|
|
56
|
+
BreadcrumbLink: {};
|
|
57
|
+
BreadcrumbList: {};
|
|
58
|
+
BreadcrumbPage: {};
|
|
59
|
+
BreadcrumbSeparator: {};
|
|
47
60
|
Button: {};
|
|
48
61
|
buttonVariants: {};
|
|
49
62
|
Calendar: {};
|
|
@@ -62,6 +75,15 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
62
75
|
Combobox: {};
|
|
63
76
|
ComboboxField: {};
|
|
64
77
|
ComboboxFieldController: {};
|
|
78
|
+
Command: {};
|
|
79
|
+
CommandDialog: {};
|
|
80
|
+
CommandEmpty: {};
|
|
81
|
+
CommandGroup: {};
|
|
82
|
+
CommandInput: {};
|
|
83
|
+
CommandItem: {};
|
|
84
|
+
CommandList: {};
|
|
85
|
+
CommandSeparator: {};
|
|
86
|
+
CommandShortcut: {};
|
|
65
87
|
ConfirmDialog: {};
|
|
66
88
|
DatePickerField: {};
|
|
67
89
|
DatePickerFieldController: {};
|
|
@@ -80,6 +102,21 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
80
102
|
DialogWidth: {
|
|
81
103
|
isTypeOnly: true;
|
|
82
104
|
};
|
|
105
|
+
DropdownMenu: {};
|
|
106
|
+
DropdownMenuCheckboxItem: {};
|
|
107
|
+
DropdownMenuContent: {};
|
|
108
|
+
DropdownMenuGroup: {};
|
|
109
|
+
DropdownMenuItem: {};
|
|
110
|
+
DropdownMenuLabel: {};
|
|
111
|
+
DropdownMenuPortal: {};
|
|
112
|
+
DropdownMenuRadioGroup: {};
|
|
113
|
+
DropdownMenuRadioItem: {};
|
|
114
|
+
DropdownMenuSeparator: {};
|
|
115
|
+
DropdownMenuShortcut: {};
|
|
116
|
+
DropdownMenuSub: {};
|
|
117
|
+
DropdownMenuSubContent: {};
|
|
118
|
+
DropdownMenuSubTrigger: {};
|
|
119
|
+
DropdownMenuTrigger: {};
|
|
83
120
|
EmptyDisplay: {};
|
|
84
121
|
ErrorableLoader: {};
|
|
85
122
|
ErrorDisplay: {};
|
|
@@ -103,6 +140,17 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
103
140
|
Loader: {};
|
|
104
141
|
mergeRefs: {};
|
|
105
142
|
Modal: {};
|
|
143
|
+
MultiCombobox: {};
|
|
144
|
+
MultiComboboxContent: {};
|
|
145
|
+
MultiComboboxEmpty: {};
|
|
146
|
+
MultiComboboxField: {};
|
|
147
|
+
MultiComboboxFieldController: {};
|
|
148
|
+
MultiComboboxFieldProps: {
|
|
149
|
+
isTypeOnly: true;
|
|
150
|
+
};
|
|
151
|
+
MultiComboboxGroup: {};
|
|
152
|
+
MultiComboboxInput: {};
|
|
153
|
+
MultiComboboxItem: {};
|
|
106
154
|
MultiSelectOptionProps: {
|
|
107
155
|
isTypeOnly: true;
|
|
108
156
|
};
|
|
@@ -135,9 +183,39 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
135
183
|
isTypeOnly: true;
|
|
136
184
|
};
|
|
137
185
|
selectTriggerVariants: {};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
186
|
+
Separator: {};
|
|
187
|
+
Sheet: {};
|
|
188
|
+
SheetClose: {};
|
|
189
|
+
SheetContent: {};
|
|
190
|
+
SheetDescription: {};
|
|
191
|
+
SheetFooter: {};
|
|
192
|
+
SheetHeader: {};
|
|
193
|
+
SheetTitle: {};
|
|
194
|
+
SheetTrigger: {};
|
|
195
|
+
Sidebar: {};
|
|
196
|
+
SidebarContent: {};
|
|
197
|
+
SidebarFooter: {};
|
|
198
|
+
SidebarGroup: {};
|
|
199
|
+
SidebarGroupAction: {};
|
|
200
|
+
SidebarGroupContent: {};
|
|
201
|
+
SidebarGroupLabel: {};
|
|
202
|
+
SidebarHeader: {};
|
|
203
|
+
SidebarInput: {};
|
|
204
|
+
SidebarInset: {};
|
|
205
|
+
SidebarMenu: {};
|
|
206
|
+
SidebarMenuAction: {};
|
|
207
|
+
SidebarMenuBadge: {};
|
|
208
|
+
SidebarMenuButton: {};
|
|
209
|
+
SidebarMenuItem: {};
|
|
210
|
+
SidebarMenuSkeleton: {};
|
|
211
|
+
SidebarMenuSub: {};
|
|
212
|
+
SidebarMenuSubButton: {};
|
|
213
|
+
SidebarMenuSubItem: {};
|
|
214
|
+
SidebarProvider: {};
|
|
215
|
+
SidebarRail: {};
|
|
216
|
+
SidebarSeparator: {};
|
|
217
|
+
SidebarTrigger: {};
|
|
218
|
+
Skeleton: {};
|
|
141
219
|
Switch: {};
|
|
142
220
|
SwitchField: {};
|
|
143
221
|
SwitchFieldController: {};
|
|
@@ -155,6 +233,10 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
155
233
|
TextAreaInput: {};
|
|
156
234
|
TextInput: {};
|
|
157
235
|
Toaster: {};
|
|
236
|
+
Tooltip: {};
|
|
237
|
+
TooltipContent: {};
|
|
238
|
+
TooltipProvider: {};
|
|
239
|
+
TooltipTrigger: {};
|
|
158
240
|
useConfirmDialog: {};
|
|
159
241
|
UseConfirmDialogRequestOptions: {
|
|
160
242
|
isTypeOnly: true;
|
|
@@ -162,6 +244,9 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
162
244
|
useConfirmDialogState: {};
|
|
163
245
|
useControlledState: {};
|
|
164
246
|
useControllerMerged: {};
|
|
247
|
+
useIsMobile: {};
|
|
248
|
+
useMultiComboboxContext: {};
|
|
249
|
+
useSidebar: {};
|
|
165
250
|
}>>;
|
|
166
251
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
167
252
|
formatError: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-session.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/react-session/react-session.generator.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"react-session.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/react-session/react-session.generator.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAKlB,sBAAsB;mCAEX,sBAAsB;mCAGzC,sBAAc;+BACe,sBAC7B;;;;;;;EA+BN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/local-auth/core/node.ts"],"names":[],"mappings":";;;AA2BA,
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/local-auth/core/node.ts"],"names":[],"mappings":";;;AA2BA,wBA0EG"}
|
|
@@ -27,12 +27,16 @@ export default createPlatformPluginExport({
|
|
|
27
27
|
authModule: authModuleGenerator({
|
|
28
28
|
userSessionModelName: definitionContainer.nameFromId(localAuthDefinition.modelRefs.userSession),
|
|
29
29
|
userModelName: definitionContainer.nameFromId(localAuthDefinition.modelRefs.user),
|
|
30
|
+
userAdminRoles: localAuthDefinition.userAdminRoles?.map((role) => definitionContainer.nameFromId(role)) ?? [],
|
|
30
31
|
}),
|
|
31
32
|
emailPassword: appModuleGenerator({
|
|
32
33
|
id: 'email-password',
|
|
33
34
|
name: 'password',
|
|
34
35
|
children: {
|
|
35
|
-
module: authEmailPasswordGenerator({
|
|
36
|
+
module: authEmailPasswordGenerator({
|
|
37
|
+
userModelName: definitionContainer.nameFromId(localAuthDefinition.modelRefs.user),
|
|
38
|
+
adminRoles: localAuthDefinition.userAdminRoles?.map((role) => definitionContainer.nameFromId(role)) ?? [],
|
|
39
|
+
}),
|
|
36
40
|
hasher: passwordHasherServiceGenerator({}),
|
|
37
41
|
},
|
|
38
42
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../../src/local-auth/core/node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,0BAA0B,EAC1B,WAAW,EACX,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAI7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,mEAAmE,CAAC;AAC/G,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAE9F,eAAe,0BAA0B,CAAC;IACxC,YAAY,EAAE;QACZ,WAAW,EAAE,eAAe;KAC7B;IACD,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;QAC7C,4BAA4B;QAC5B,WAAW,CAAC,mBAAmB,CAAC;YAC9B,SAAS;YACT,OAAO,EAAE,mBAAmB;YAC5B,OAAO,EAAE,CAAC,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,WAAW,EAAE,EAAE,EAAE;gBACnE,MAAM,mB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ACR,MAAM,EAAE,0BAA0B,CAAC;gCACjC,aAAa,EAAE,mBAAmB,CAAC,UAAU,CAC3C,mBAAmB,CAAC,SAAS,CAAC,IAAI,CACnC;gCACD,UAAU,EACR,mBAAmB,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAC/C,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CACrC,IAAI,EAAE;6BACV,CAAC;4BACF,MAAM,EAAE,8BAA8B,CAAC,EAAE,CAAC;yBAC3C;qBACF,CAAC;iBACH,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;QAEH,wBAAwB;QACxB,WAAW,CAAC,mBAAmB,CAAC;YAC9B,SAAS;YACT,OAAO,EAAE,eAAe;YACxB,OAAO,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE;gBAC3B,WAAW,CAAC,eAAe,CAAC;oBAC1B,UAAU,EAAE,mBAAmB,CAAC,EAAE,CAAC;oBACnC,SAAS,EAAE,kBAAkB,CAAC,EAAE,CAAC;oBACjC,SAAS,EAAE,kBAAkB,CAAC,EAAE,CAAC;oBACjC,YAAY,EAAE,qBAAqB,CAAC,EAAE,CAAC;oBACvC,UAAU,EAAE,mBAAmB,CAAC,EAAE,CAAC;iBACpC,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;QAEH,OAAO,EAAE,CAAC;IACZ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -18,6 +18,7 @@ export declare const createLocalAuthPluginDefinitionSchema: (context: import("@b
|
|
|
18
18
|
userSession: string;
|
|
19
19
|
}>;
|
|
20
20
|
initialUserRoles: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>, string[] | undefined, string[] | undefined>;
|
|
21
|
+
userAdminRoles: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>, string[] | undefined, string[] | undefined>;
|
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
|
22
23
|
modelRefs: {
|
|
23
24
|
user: string;
|
|
@@ -25,6 +26,7 @@ export declare const createLocalAuthPluginDefinitionSchema: (context: import("@b
|
|
|
25
26
|
userRole: string;
|
|
26
27
|
userSession: string;
|
|
27
28
|
};
|
|
29
|
+
userAdminRoles?: string[] | undefined;
|
|
28
30
|
initialUserRoles?: string[] | undefined;
|
|
29
31
|
}, {
|
|
30
32
|
modelRefs: {
|
|
@@ -33,6 +35,7 @@ export declare const createLocalAuthPluginDefinitionSchema: (context: import("@b
|
|
|
33
35
|
userRole: string;
|
|
34
36
|
userSession: string;
|
|
35
37
|
};
|
|
38
|
+
userAdminRoles?: string[] | undefined;
|
|
36
39
|
initialUserRoles?: string[] | undefined;
|
|
37
40
|
}>;
|
|
38
41
|
export type LocalAuthPluginDefinition = def.InferOutput<typeof createLocalAuthPluginDefinitionSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-definition.d.ts","sourceRoot":"","sources":["../../../../src/local-auth/core/schema/plugin-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AAO9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"plugin-definition.d.ts","sourceRoot":"","sources":["../../../../src/local-auth/core/schema/plugin-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AAO9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCjD,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,GAAG,CAAC,WAAW,CACrD,OAAO,qCAAqC,CAC7C,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAC,UAAU,CACzD,OAAO,qCAAqC,CAC7C,CAAC"}
|
|
@@ -23,5 +23,9 @@ export const createLocalAuthPluginDefinitionSchema = definitionSchema((ctx) => z
|
|
|
23
23
|
type: authRoleEntityType,
|
|
24
24
|
onDelete: 'DELETE',
|
|
25
25
|
})), []),
|
|
26
|
+
userAdminRoles: ctx.withDefault(z.array(ctx.withRef({
|
|
27
|
+
type: authRoleEntityType,
|
|
28
|
+
onDelete: 'DELETE',
|
|
29
|
+
})), []),
|
|
26
30
|
}));
|
|
27
31
|
//# sourceMappingURL=plugin-definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-definition.js","sourceRoot":"","sources":["../../../../src/local-auth/core/schema/plugin-definition.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,qCAAqC,GAAG,gBAAgB,CAAC,CAAC,GAAG,EAAE,EAAE,CAC5E,CAAC,CAAC,MAAM,CAAC;IACP,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC;YAChB,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,UAAU;SACrB,CAAC;QACF,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC;YACvB,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,UAAU;SACrB,CAAC;QACF,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;YACpB,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,UAAU;SACrB,CAAC;QACF,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC;YACvB,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,UAAU;SACrB,CAAC;KACH,CAAC;IACF,gBAAgB,EAAE,GAAG,CAAC,WAAW,CAC/B,CAAC,CAAC,KAAK,CACL,GAAG,CAAC,OAAO,CAAC;QACV,IAAI,EAAE,kBAAkB;QACxB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CACH,EACD,EAAE,CACH;CACF,CAAC,CACH,CAAC"}
|
|
1
|
+
{"version":3,"file":"plugin-definition.js","sourceRoot":"","sources":["../../../../src/local-auth/core/schema/plugin-definition.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,qCAAqC,GAAG,gBAAgB,CAAC,CAAC,GAAG,EAAE,EAAE,CAC5E,CAAC,CAAC,MAAM,CAAC;IACP,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC;YAChB,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,UAAU;SACrB,CAAC;QACF,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC;YACvB,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,UAAU;SACrB,CAAC;QACF,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;YACpB,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,UAAU;SACrB,CAAC;QACF,WAAW,EAAE,GAAG,CAAC,OAAO,CAAC;YACvB,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,UAAU;SACrB,CAAC;KACH,CAAC;IACF,gBAAgB,EAAE,GAAG,CAAC,WAAW,CAC/B,CAAC,CAAC,KAAK,CACL,GAAG,CAAC,OAAO,CAAC;QACV,IAAI,EAAE,kBAAkB;QACxB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CACH,EACD,EAAE,CACH;IACD,cAAc,EAAE,GAAG,CAAC,WAAW,CAC7B,CAAC,CAAC,KAAK,CACL,GAAG,CAAC,OAAO,CAAC;QACV,IAAI,EAAE,kBAAkB;QACxB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CACH,EACD,EAAE,CACH;CACF,CAAC,CACH,CAAC"}
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
"icon": "icon.svg",
|
|
5
5
|
"description": "This plugin sets up a self-hosted auth service using email/password authentication.",
|
|
6
6
|
"version": "0.1.0",
|
|
7
|
-
"moduleDirectories": ["core"],
|
|
7
|
+
"moduleDirectories": ["core", "admin"],
|
|
8
8
|
"managedBy": "@baseplate-dev/plugin-auth:auth"
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
2
|
-
import { c as createAuth0PluginDefinitionSchema } from './plugin-definition-
|
|
1
|
+
import { importShared } from './__federation_fn_import-B_QMlAIe.js';
|
|
2
|
+
import { c as createAuth0PluginDefinitionSchema } from './plugin-definition-DfsGhMRb.js';
|
|
3
3
|
|
|
4
4
|
const AUTH0_PLUGIN_CONFIG_MIGRATIONS = [
|
|
5
5
|
{
|
|
@@ -46,4 +46,4 @@ const common = createPlatformPluginExport({
|
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
export { common as default };
|
|
49
|
-
//# sourceMappingURL=__federation_expose_auth0CoreCommon-
|
|
49
|
+
//# sourceMappingURL=__federation_expose_auth0CoreCommon-Dd4OxG3J.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__federation_expose_auth0CoreCommon-
|
|
1
|
+
{"version":3,"file":"__federation_expose_auth0CoreCommon-Dd4OxG3J.js","sources":["../../../src/auth0/core/schema/migrations.ts","../../../src/auth0/core/common.ts"],"sourcesContent":["import type { PluginConfigMigration } from '@baseplate-dev/project-builder-lib';\n\nexport const AUTH0_PLUGIN_CONFIG_MIGRATIONS: PluginConfigMigration[] = [\n {\n name: 'move-models',\n version: 1,\n migrate: (config) => {\n const typedConfig = config as { userAccountModelRef: string };\n return {\n updatedConfig: {\n ...typedConfig,\n userAccountModelRef: undefined,\n modelRefs: {\n user: typedConfig.userAccountModelRef,\n },\n },\n };\n },\n },\n];\n","import {\n authModelConfigSpec,\n createPlatformPluginExport,\n pluginConfigSpec,\n PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\n\nimport type { Auth0PluginDefinition } from './schema/plugin-definition.js';\n\nimport { AUTH0_PLUGIN_CONFIG_MIGRATIONS } from './schema/migrations.js';\nimport { createAuth0PluginDefinitionSchema } from './schema/plugin-definition.js';\n\n// necessary for Typescript to infer the return type of the initialize function\nexport type { PluginPlatformModule } from '@baseplate-dev/project-builder-lib';\n\nexport default createPlatformPluginExport({\n dependencies: {\n config: pluginConfigSpec,\n },\n exports: {\n authModelConfig: authModelConfigSpec,\n },\n initialize: ({ config }, { pluginKey }) => {\n config.registerSchemaCreator(pluginKey, createAuth0PluginDefinitionSchema);\n config.registerMigrations(pluginKey, AUTH0_PLUGIN_CONFIG_MIGRATIONS);\n return {\n authModelConfig: {\n getUserModel: (definition) => {\n const pluginConfig = PluginUtils.configByKeyOrThrow(\n definition,\n pluginKey,\n ) as Auth0PluginDefinition;\n return pluginConfig.modelRefs.user;\n },\n },\n };\n },\n});\n"],"names":[],"mappings":";;;AAEO,MAAM,8BAA0D,GAAA;AAAA,EACrE;AAAA,IACE,IAAM,EAAA,aAAA;AAAA,IACN,OAAS,EAAA,CAAA;AAAA,IACT,OAAA,EAAS,CAAC,MAAW,KAAA;AACnB,MAAA,MAAM,WAAc,GAAA,MAAA;AACpB,MAAO,OAAA;AAAA,QACL,aAAe,EAAA;AAAA,UACb,GAAG,WAAA;AAAA,UACH,mBAAqB,EAAA,MAAA;AAAA,UACrB,SAAW,EAAA;AAAA,YACT,MAAM,WAAY,CAAA;AAAA;AACpB;AACF,OACF;AAAA;AACF;AAEJ,CAAA;;ACnBA,MAAA,CAAA,mBAAA,CAAA,0BAAA,CAAA,gBAAA,CAAA,WAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AAeA,eAAe,0BAA2B,CAAA;AAAA,EACxC,YAAc,EAAA;AAAA,IACZ,MAAQ,EAAA;AAAA,GACV;AAAA,EACA,OAAS,EAAA;AAAA,IACP,eAAiB,EAAA;AAAA,GACnB;AAAA,EACA,YAAY,CAAC,EAAE,QAAU,EAAA,EAAE,WAAgB,KAAA;AACzC,IAAO,MAAA,CAAA,qBAAA,CAAsB,WAAW,iCAAiC,CAAA;AACzE,IAAO,MAAA,CAAA,kBAAA,CAAmB,WAAW,8BAA8B,CAAA;AACnE,IAAO,OAAA;AAAA,MACL,eAAiB,EAAA;AAAA,QACf,YAAA,EAAc,CAAC,UAAe,KAAA;AAC5B,UAAA,MAAM,eAAe,WAAY,CAAA,kBAAA;AAAA,YAC/B,UAAA;AAAA,YACA;AAAA,WACF;AACA,UAAA,OAAO,aAAa,SAAU,CAAA,IAAA;AAAA;AAChC;AACF,KACF;AAAA;AAEJ,CAAC,CAAA;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
1
|
+
import { importShared } from './__federation_fn_import-B_QMlAIe.js';
|
|
2
2
|
import { j as jsxRuntimeExports } from './jsx-runtime-XI9uIe3W.js';
|
|
3
|
-
import { s, A as AuthConfigTabs } from './styles-
|
|
4
|
-
import { g as getAuthPluginDefinition } from './get-auth-plugin-definition-
|
|
5
|
-
import { c as createAuth0PluginDefinitionSchema } from './plugin-definition-
|
|
3
|
+
import { s, A as AuthConfigTabs } from './styles-CyTaudys.js';
|
|
4
|
+
import { g as getAuthPluginDefinition } from './get-auth-plugin-definition-BrApugiB.js';
|
|
5
|
+
import { c as createAuth0PluginDefinitionSchema } from './plugin-definition-DfsGhMRb.js';
|
|
6
6
|
|
|
7
7
|
function createAuth0Models({ modelRefs }, { authFeatureRef }) {
|
|
8
8
|
return {
|
|
@@ -171,4 +171,4 @@ const web = createPlatformPluginExport({
|
|
|
171
171
|
});
|
|
172
172
|
|
|
173
173
|
export { web as default };
|
|
174
|
-
//# sourceMappingURL=__federation_expose_auth0CoreWeb-
|
|
174
|
+
//# sourceMappingURL=__federation_expose_auth0CoreWeb-C_de43BE.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__federation_expose_auth0CoreWeb-5F0rTNis.js","sources":["../../../src/auth0/core/schema/models.ts","../../../src/auth0/core/components/auth0-definition-editor.tsx","../../../src/auth0/core/web.ts"],"sourcesContent":["import type { ModelMergerModelInput } from '@baseplate-dev/project-builder-lib';\n\nimport type { AuthPluginDefinition } from '#src/auth/core/schema/plugin-definition.js';\n\nimport type { Auth0PluginDefinition } from './plugin-definition.js';\n\nexport function createAuth0Models(\n { modelRefs }: Pick<Auth0PluginDefinition, 'modelRefs'>,\n { authFeatureRef }: AuthPluginDefinition,\n): {\n user: ModelMergerModelInput;\n} {\n return {\n user: {\n name: modelRefs.user,\n featureRef: authFeatureRef,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { genUuid: true },\n },\n {\n name: 'email',\n type: 'string',\n },\n {\n name: 'auth0Id',\n type: 'string',\n isOptional: true,\n },\n ],\n primaryKeyFieldRefs: ['id'],\n uniqueConstraints: [\n {\n fields: [{ fieldRef: 'auth0Id' }],\n },\n ],\n },\n graphql: {\n objectType: {\n enabled: true,\n fields: ['id', 'email'],\n },\n },\n },\n };\n}\n","import type { WebConfigProps } from '@baseplate-dev/project-builder-lib';\nimport type React from 'react';\n\nimport {\n createAndApplyModelMergerResults,\n createModelMergerResults,\n doesModelMergerResultsHaveChanges,\n ModelUtils,\n PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\nimport {\n ModelComboboxFieldController,\n ModelMergerResultAlert,\n useBlockUnsavedChangesNavigate,\n useDefinitionSchema,\n useProjectDefinition,\n useResettableForm,\n} from '@baseplate-dev/project-builder-lib/web';\nimport {\n FormActionBar,\n SectionList,\n SectionListSection,\n SectionListSectionContent,\n SectionListSectionDescription,\n SectionListSectionHeader,\n SectionListSectionTitle,\n} from '@baseplate-dev/ui-components';\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { useMemo } from 'react';\n\nimport { getAuthPluginDefinition } from '#src/auth/utils/get-auth-plugin-definition.js';\nimport { AuthConfigTabs } from '#src/common/components/auth-config-tabs.js';\n\nimport type { Auth0PluginDefinitionInput } from '../schema/plugin-definition.js';\n\nimport { createAuth0Models } from '../schema/models.js';\nimport { createAuth0PluginDefinitionSchema } from '../schema/plugin-definition.js';\n\nimport '#src/styles.css';\n\nexport function Auth0DefinitionEditor({\n definition: pluginMetadata,\n metadata,\n onSave,\n}: WebConfigProps): React.JSX.Element {\n const { definition, definitionContainer, saveDefinitionWithFeedback } =\n useProjectDefinition();\n\n const auth0PluginDefinitionSchema = useDefinitionSchema(\n createAuth0PluginDefinitionSchema,\n );\n\n const defaultValues = useMemo(() => {\n if (pluginMetadata?.config) {\n return pluginMetadata.config as Auth0PluginDefinitionInput;\n }\n\n return {\n modelRefs: {\n user: ModelUtils.getModelIdByNameOrDefault(definition, 'User'),\n },\n } satisfies Auth0PluginDefinitionInput;\n }, [definition, pluginMetadata?.config]);\n\n const form = useResettableForm({\n resolver: zodResolver(auth0PluginDefinitionSchema),\n defaultValues,\n });\n const { control, reset, handleSubmit, watch } = form;\n\n const modelRefs = watch('modelRefs');\n const authDefinition = getAuthPluginDefinition(definition);\n\n const pendingModelChanges = useMemo(() => {\n const desiredModels = createAuth0Models({ modelRefs }, authDefinition);\n\n return createModelMergerResults(\n modelRefs,\n desiredModels,\n definitionContainer,\n );\n }, [definitionContainer, authDefinition, modelRefs]);\n\n const onSubmit = handleSubmit((data) =>\n saveDefinitionWithFeedback(\n (draftConfig) => {\n const updatedData = {\n ...data,\n };\n createAndApplyModelMergerResults(\n draftConfig,\n updatedData.modelRefs,\n createAuth0Models(data, authDefinition),\n definitionContainer,\n );\n PluginUtils.setPluginConfig(\n draftConfig,\n metadata,\n updatedData,\n definitionContainer.pluginStore,\n );\n },\n {\n successMessage: 'Successfully saved Auth0 plugin!',\n onSuccess: () => {\n onSave();\n },\n },\n ),\n );\n\n useBlockUnsavedChangesNavigate({ control, reset, onSubmit });\n\n return (\n <div className=\"auth:relative auth:flex auth:h-full auth:flex-1 auth:flex-col auth:gap-4 auth:overflow-hidden\">\n <AuthConfigTabs />\n <div\n className=\"auth:mb-[--action-bar-height] auth:flex auth:flex-1 auth:overflow-y-auto\"\n style={\n {\n '--action-bar-height': '52px',\n } as React.CSSProperties\n }\n >\n <form onSubmit={onSubmit} className=\"auth:max-w-6xl auth:flex-1\">\n <div className=\"auth:pb-16\">\n <SectionList>\n <SectionListSection>\n <SectionListSectionHeader>\n <SectionListSectionTitle>\n Auth0 Configuration\n </SectionListSectionTitle>\n <SectionListSectionDescription>\n Configure your Auth0 authentication settings, user model,\n and role definitions.\n </SectionListSectionDescription>\n </SectionListSectionHeader>\n <SectionListSectionContent className=\"auth:space-y-6\">\n <ModelMergerResultAlert\n pendingModelChanges={pendingModelChanges}\n />\n\n <div className=\"auth:grid auth:grid-cols-1 auth:gap-6 auth:md:grid-cols-2\">\n <ModelComboboxFieldController\n label=\"User Model\"\n name=\"modelRefs.user\"\n control={control}\n canCreate\n description=\"Select or create the model that will store user authentication data\"\n />\n </div>\n </SectionListSectionContent>\n </SectionListSection>\n </SectionList>\n </div>\n\n <FormActionBar\n form={form}\n allowSaveWithoutDirty={\n !pluginMetadata ||\n doesModelMergerResultsHaveChanges(pendingModelChanges)\n }\n />\n </form>\n </div>\n </div>\n );\n}\n","import {\n createPlatformPluginExport,\n webConfigSpec,\n} from '@baseplate-dev/project-builder-lib';\n\nimport { Auth0DefinitionEditor } from './components/auth0-definition-editor.js';\n\nimport '../../styles.css';\n\nexport default createPlatformPluginExport({\n dependencies: {\n webConfig: webConfigSpec,\n },\n exports: {},\n initialize: ({ webConfig }, { pluginKey }) => {\n webConfig.registerWebConfigComponent(pluginKey, Auth0DefinitionEditor);\n return {};\n },\n});\n"],"names":["zodResolver","jsxs","jsx"],"mappings":";;;;;;AAMO,SAAS,kBACd,EAAE,SAAA,EACF,EAAA,EAAE,gBAGF,EAAA;AACA,EAAO,OA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,aACF,EAAA,CAAA;AAAA,4BACAD,sBAAA,CAAC,yBAA0B,EAAA,EAAA,SAAA,EAAU,gBACnC,EAAA,QAAA,EAAA;AAAA,8BAAAC,qBAAA;AAAA,gBAAC,sBAAA;AAAA,gBAAA;AAAA,kBACC;AAAA;AAAA,eACF;AAAA,8BAEAA,qBAAA,CAAC,KAAI,EAAA,EAAA,SAAA,EAAU,2DACb,EAAA,QAAA,kBAAAA,qBAAA;AAAA,gBAAC,4BAAA;AAAA,gBAAA;AAAA,kBACC,KAAM,EAAA,YAAA;AAAA,kBACN,IAAK,EAAA,gBAAA;AAAA,kBACL,OAAA;AAAA,kBACA,SAAS,EAAA,IAAA;AAAA,kBACT,WAAY,EAAA;AAAA;AAAA,eAEhB,EAAA;AAAA,aACF,EAAA;AAAA,WAAA,EACF,GACF,CACF,EAAA,CAAA;AAAA,0BAEAA,qBAAA;AAAA,YAAC,aAAA;AAAA,YAAA;AAAA,cACC,IAAA;AAAA,cACA,qBACE,EAAA,CAAC,cACD,IAAA,iCAAA,CAAkC,mBAAmB;AAAA;AAAA;AAEzD,SACF,EAAA;AAAA;AAAA;AACF,GACF,EAAA,CAAA;AAEJ;;ACvKA,MAAA,CAAA,0BAAA,CAAA,aAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AASA,YAAe,0BAA2B,CAAA;AAAA,EACxC,YAAc,EAAA;AAAA,IACZ,SAAW,EAAA;AAAA,GACb;AAAA,EACA,SAAS,EAAC;AAAA,EACV,YAAY,CAAC,EAAE,WAAa,EAAA,EAAE,WAAgB,KAAA;AAC5C,IAAU,SAAA,CAAA,0BAAA,CAA2B,WAAW,qBAAqB,CAAA;AACrE,IAAA,OAAO,EAAC;AAAA;AAEZ,CAAC,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"__federation_expose_auth0CoreWeb-C_de43BE.js","sources":["../../../src/auth0/core/schema/models.ts","../../../src/auth0/core/components/auth0-definition-editor.tsx","../../../src/auth0/core/web.ts"],"sourcesContent":["import type { ModelMergerModelInput } from '@baseplate-dev/project-builder-lib';\n\nimport type { AuthPluginDefinition } from '#src/auth/core/schema/plugin-definition.js';\n\nimport type { Auth0PluginDefinition } from './plugin-definition.js';\n\nexport function createAuth0Models(\n { modelRefs }: Pick<Auth0PluginDefinition, 'modelRefs'>,\n { authFeatureRef }: AuthPluginDefinition,\n): {\n user: ModelMergerModelInput;\n} {\n return {\n user: {\n name: modelRefs.user,\n featureRef: authFeatureRef,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { genUuid: true },\n },\n {\n name: 'email',\n type: 'string',\n },\n {\n name: 'auth0Id',\n type: 'string',\n isOptional: true,\n },\n ],\n primaryKeyFieldRefs: ['id'],\n uniqueConstraints: [\n {\n fields: [{ fieldRef: 'auth0Id' }],\n },\n ],\n },\n graphql: {\n objectType: {\n enabled: true,\n fields: ['id', 'email'],\n },\n },\n },\n };\n}\n","import type { WebConfigProps } from '@baseplate-dev/project-builder-lib';\nimport type React from 'react';\n\nimport {\n createAndApplyModelMergerResults,\n createModelMergerResults,\n doesModelMergerResultsHaveChanges,\n ModelUtils,\n PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\nimport {\n ModelComboboxFieldController,\n ModelMergerResultAlert,\n useBlockUnsavedChangesNavigate,\n useDefinitionSchema,\n useProjectDefinition,\n useResettableForm,\n} from '@baseplate-dev/project-builder-lib/web';\nimport {\n FormActionBar,\n SectionList,\n SectionListSection,\n SectionListSectionContent,\n SectionListSectionDescription,\n SectionListSectionHeader,\n SectionListSectionTitle,\n} from '@baseplate-dev/ui-components';\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { useMemo } from 'react';\n\nimport { getAuthPluginDefinition } from '#src/auth/utils/get-auth-plugin-definition.js';\nimport { AuthConfigTabs } from '#src/common/components/auth-config-tabs.js';\n\nimport type { Auth0PluginDefinitionInput } from '../schema/plugin-definition.js';\n\nimport { createAuth0Models } from '../schema/models.js';\nimport { createAuth0PluginDefinitionSchema } from '../schema/plugin-definition.js';\n\nimport '#src/styles.css';\n\nexport function Auth0DefinitionEditor({\n definition: pluginMetadata,\n metadata,\n onSave,\n}: WebConfigProps): React.JSX.Element {\n const { definition, definitionContainer, saveDefinitionWithFeedback } =\n useProjectDefinition();\n\n const auth0PluginDefinitionSchema = useDefinitionSchema(\n createAuth0PluginDefinitionSchema,\n );\n\n const defaultValues = useMemo(() => {\n if (pluginMetadata?.config) {\n return pluginMetadata.config as Auth0PluginDefinitionInput;\n }\n\n return {\n modelRefs: {\n user: ModelUtils.getModelIdByNameOrDefault(definition, 'User'),\n },\n } satisfies Auth0PluginDefinitionInput;\n }, [definition, pluginMetadata?.config]);\n\n const form = useResettableForm({\n resolver: zodResolver(auth0PluginDefinitionSchema),\n defaultValues,\n });\n const { control, reset, handleSubmit, watch } = form;\n\n const modelRefs = watch('modelRefs');\n const authDefinition = getAuthPluginDefinition(definition);\n\n const pendingModelChanges = useMemo(() => {\n const desiredModels = createAuth0Models({ modelRefs }, authDefinition);\n\n return createModelMergerResults(\n modelRefs,\n desiredModels,\n definitionContainer,\n );\n }, [definitionContainer, authDefinition, modelRefs]);\n\n const onSubmit = handleSubmit((data) =>\n saveDefinitionWithFeedback(\n (draftConfig) => {\n const updatedData = {\n ...data,\n };\n createAndApplyModelMergerResults(\n draftConfig,\n updatedData.modelRefs,\n createAuth0Models(data, authDefinition),\n definitionContainer,\n );\n PluginUtils.setPluginConfig(\n draftConfig,\n metadata,\n updatedData,\n definitionContainer.pluginStore,\n );\n },\n {\n successMessage: 'Successfully saved Auth0 plugin!',\n onSuccess: () => {\n onSave();\n },\n },\n ),\n );\n\n useBlockUnsavedChangesNavigate({ control, reset, onSubmit });\n\n return (\n <div className=\"auth:relative auth:flex auth:h-full auth:flex-1 auth:flex-col auth:gap-4 auth:overflow-hidden\">\n <AuthConfigTabs />\n <div\n className=\"auth:mb-[--action-bar-height] auth:flex auth:flex-1 auth:overflow-y-auto\"\n style={\n {\n '--action-bar-height': '52px',\n } as React.CSSProperties\n }\n >\n <form onSubmit={onSubmit} className=\"auth:max-w-6xl auth:flex-1\">\n <div className=\"auth:pb-16\">\n <SectionList>\n <SectionListSection>\n <SectionListSectionHeader>\n <SectionListSectionTitle>\n Auth0 Configuration\n </SectionListSectionTitle>\n <SectionListSectionDescription>\n Configure your Auth0 authentication settings, user model,\n and role definitions.\n </SectionListSectionDescription>\n </SectionListSectionHeader>\n <SectionListSectionContent className=\"auth:space-y-6\">\n <ModelMergerResultAlert\n pendingModelChanges={pendingModelChanges}\n />\n\n <div className=\"auth:grid auth:grid-cols-1 auth:gap-6 auth:md:grid-cols-2\">\n <ModelComboboxFieldController\n label=\"User Model\"\n name=\"modelRefs.user\"\n control={control}\n canCreate\n description=\"Select or create the model that will store user authentication data\"\n />\n </div>\n </SectionListSectionContent>\n </SectionListSection>\n </SectionList>\n </div>\n\n <FormActionBar\n form={form}\n allowSaveWithoutDirty={\n !pluginMetadata ||\n doesModelMergerResultsHaveChanges(pendingModelChanges)\n }\n />\n </form>\n </div>\n </div>\n );\n}\n","import {\n createPlatformPluginExport,\n webConfigSpec,\n} from '@baseplate-dev/project-builder-lib';\n\nimport { Auth0DefinitionEditor } from './components/auth0-definition-editor.js';\n\nimport '../../styles.css';\n\nexport default createPlatformPluginExport({\n dependencies: {\n webConfig: webConfigSpec,\n },\n exports: {},\n initialize: ({ webConfig }, { pluginKey }) => {\n webConfig.registerWebConfigComponent(pluginKey, Auth0DefinitionEditor);\n return {};\n },\n});\n"],"names":["zodResolver","jsxs","jsx"],"mappings":";;;;;;AAMO,SAAS,kBACd,EAAE,SAAA,EACF,EAAA,EAAE,gBAGF,EAAA;AACA,EAAO,OAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,MAAM,SAAU,CAAA,IAAA;AAAA,MAChB,UAAY,EAAA,cAAA;AAAA,MACZ,KAAO,EAAA;AAAA,QACL,MAAQ,EAAA;AAAA,UACN;AAAA,YACE,IAAM,EAAA,IAAA;AAAA,YACN,IAAM,E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A,qBAAA,CAAC,KAAI,EAAA,EAAA,SAAA,EAAU,2DACb,EAAA,QAAA,kBAAAA,qBAAA;AAAA,gBAAC,4BAAA;AAAA,gBAAA;AAAA,kBACC,KAAM,EAAA,YAAA;AAAA,kBACN,IAAK,EAAA,gBAAA;AAAA,kBACL,OAAA;AAAA,kBACA,SAAS,EAAA,IAAA;AAAA,kBACT,WAAY,EAAA;AAAA;AAAA,eAEhB,EAAA;AAAA,aACF,EAAA;AAAA,WAAA,EACF,GACF,CACF,EAAA,CAAA;AAAA,0BAEAA,qBAAA;AAAA,YAAC,aAAA;AAAA,YAAA;AAAA,cACC,IAAA;AAAA,cACA,qBACE,EAAA,CAAC,cACD,IAAA,iCAAA,CAAkC,mBAAmB;AAAA;AAAA;AAEzD,SACF,EAAA;AAAA;AAAA;AACF,GACF,EAAA,CAAA;AAEJ;;ACvKA,MAAA,CAAA,0BAAA,CAAA,aAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AASA,YAAe,0BAA2B,CAAA;AAAA,EACxC,YAAc,EAAA;AAAA,IACZ,SAAW,EAAA;AAAA,GACb;AAAA,EACA,SAAS,EAAC;AAAA,EACV,YAAY,CAAC,EAAE,WAAa,EAAA,EAAE,WAAgB,KAAA;AAC5C,IAAU,SAAA,CAAA,0BAAA,CAA2B,WAAW,qBAAqB,CAAA;AACrE,IAAA,OAAO,EAAC;AAAA;AAEZ,CAAC,CAAA;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
2
|
-
import { a as createAuthPluginDefinitionSchema } from './plugin-definition-
|
|
1
|
+
import { importShared } from './__federation_fn_import-B_QMlAIe.js';
|
|
2
|
+
import { a as createAuthPluginDefinitionSchema } from './plugin-definition-CyqVivit.js';
|
|
3
3
|
|
|
4
4
|
const {authConfigSpec,createPlatformPluginExport,pluginConfigSpec,PluginUtils} = await importShared('@baseplate-dev/project-builder-lib');
|
|
5
5
|
const common = createPlatformPluginExport({
|
|
@@ -26,4 +26,4 @@ const common = createPlatformPluginExport({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
export { common as default };
|
|
29
|
-
//# sourceMappingURL=__federation_expose_authCoreCommon-
|
|
29
|
+
//# sourceMappingURL=__federation_expose_authCoreCommon-BAF30G9e.js.map
|