@baseplate-dev/plugin-auth 3.0.4 → 4.0.0
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/fastify/auth0-module/auth0-module.generator.d.ts +39 -25
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +18 -24
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +16 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +9 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js +15 -2
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +10 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js +18 -2
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/templates/module/schema/user-session.queries.ts +22 -0
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +0 -5
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +1 -10
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +0 -18
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +0 -2
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +0 -2
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +1 -7
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +3 -12
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +0 -23
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +4 -33
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +25 -4
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +16 -13
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +24 -7
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +13 -6
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +5 -12
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +12 -5
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +3 -12
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +3 -2
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +26 -7
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +34 -12
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +25 -4
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +35 -25
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +24 -7
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +13 -6
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +5 -12
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +24 -7
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +3 -12
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +3 -2
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +22 -6
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +30 -11
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +7 -11
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +1 -1
- package/dist/local-auth/admin/node.d.ts.map +1 -1
- package/dist/local-auth/admin/node.js +2 -6
- package/dist/local-auth/admin/node.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +12 -3
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js +0 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +36 -18
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +0 -3
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +0 -3
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +13 -6
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +5 -12
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +48 -30
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +6 -49
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +9 -2
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +10 -2
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +2 -2
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +2 -2
- 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 +3 -0
- 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 +6 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +12 -2
- 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 +5 -2
- 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-session.queries.js +16 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +19 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +12 -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/auth-routes.generator.js +1 -8
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +36 -7
- 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-paths.d.ts +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +13 -6
- 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/template-renderers.js +5 -12
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +48 -9
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +5 -13
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +11 -2
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +12 -2
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +11 -2
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +12 -2
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +24 -7
- 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-paths.d.ts +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +13 -7
- 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/template-renderers.js +5 -12
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +24 -7
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +4 -15
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +12 -3
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.js +0 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +10 -2
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +11 -2
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +0 -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 +0 -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 +0 -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 +2 -31
- 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 +0 -5
- 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/web/assets/{__federation_expose_auth0CoreCommon-DxPG_Wc0.js → __federation_expose_auth0CoreCommon-Ga9LD3d6.js} +3 -3
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-DxPG_Wc0.js.map → __federation_expose_auth0CoreCommon-Ga9LD3d6.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js → __federation_expose_auth0CoreWeb-CZueDXPK.js} +5 -5
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js.map → __federation_expose_auth0CoreWeb-CZueDXPK.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-Cxa_7fkO.js → __federation_expose_authCoreCommon-BrTLsuJC.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-Cxa_7fkO.js.map → __federation_expose_authCoreCommon-BrTLsuJC.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js → __federation_expose_authCoreWeb-C8rgnA2v.js} +6 -6
- package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js.map → __federation_expose_authCoreWeb-C8rgnA2v.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-C0_ovnDb.js → __federation_expose_local-authAdminCommon-C75-DAzO.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-C0_ovnDb.js.map → __federation_expose_local-authAdminCommon-C75-DAzO.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-GqHU6av7.js → __federation_expose_local-authAdminWeb-D2xGvwyL.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-GqHU6av7.js.map → __federation_expose_local-authAdminWeb-D2xGvwyL.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-PHXPCKoj.js → __federation_expose_local-authCoreCommon-BFUbyPYg.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-PHXPCKoj.js.map → __federation_expose_local-authCoreCommon-BFUbyPYg.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js → __federation_expose_local-authCoreWeb-ChyvdsRq.js} +5 -5
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js.map → __federation_expose_local-authCoreWeb-ChyvdsRq.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js → __federation_expose_placeholder-authCoreCommon-DrFV9FSW.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js.map → __federation_expose_placeholder-authCoreCommon-DrFV9FSW.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js → __federation_expose_placeholder-authCoreWeb-CT8JKYLB.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js.map → __federation_expose_placeholder-authCoreWeb-CT8JKYLB.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js → __federation_fn_import-C_QCk5FX.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js.map → __federation_fn_import-C_QCk5FX.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BTmJxb08.js → web-DtztAtUw.js} +5 -5
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BTmJxb08.js.map → web-DtztAtUw.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-FK4Jv94w.js → project-builder-lib-CcNtL_U6.js} +293 -216
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CcNtL_U6.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js → ui-components-DA_4I2Vy.js} +5 -5
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js.map → ui-components-DA_4I2Vy.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-CAgM5SRt.js → utils-Bxy-1ETU.js} +34 -3
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-Bxy-1ETU.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js → react-router-DooFj-IS.js} +2 -2
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js.map → react-router-DooFj-IS.js.map} +1 -1
- package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js → get-auth-plugin-definition-D2XMaoy7.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js.map → get-auth-plugin-definition-D2XMaoy7.js.map} +1 -1
- package/dist/web/assets/{index-Dccn3WBN.js → index-DwJT6_Wn.js} +2 -2
- package/dist/web/assets/{index-Dccn3WBN.js.map → index-DwJT6_Wn.js.map} +1 -1
- package/dist/web/assets/{index.esm-DeCjXqFv.js → index.esm-ChwWPPiL.js} +2 -2
- package/dist/web/assets/{index.esm-DeCjXqFv.js.map → index.esm-ChwWPPiL.js.map} +1 -1
- package/dist/web/assets/{model-merger-kOQ_dmiE.js → model-merger-gGkFnyaY.js} +7 -2
- package/dist/web/assets/model-merger-gGkFnyaY.js.map +1 -0
- package/dist/web/assets/{plugin-definition-qkkt1X28.js → plugin-definition-QRBMcFiG.js} +2 -2
- package/dist/web/assets/{plugin-definition-qkkt1X28.js.map → plugin-definition-QRBMcFiG.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-CxKhFkmJ.js → plugin-definition-_slrOM0G.js} +2 -2
- package/dist/web/assets/{plugin-definition-CxKhFkmJ.js.map → plugin-definition-_slrOM0G.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-JFxKP18O.js → plugin-definition-hAzbWO7b.js} +2 -2
- package/dist/web/assets/{plugin-definition-JFxKP18O.js.map → plugin-definition-hAzbWO7b.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-DKygiFuR.js → plugin-definition-rpMj4pr8.js} +2 -2
- package/dist/web/assets/{plugin-definition-DKygiFuR.js.map → plugin-definition-rpMj4pr8.js.map} +1 -1
- package/dist/web/assets/{react-DA5A88WZ.js → react-DbX1FP85.js} +2 -2
- package/dist/web/assets/{react-DA5A88WZ.js.map → react-DbX1FP85.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +10 -10
- package/dist/web/assets/{styles-CfTjrsB-.js → styles-DqLt1Blm.js} +3 -3
- package/dist/web/assets/{styles-CfTjrsB-.js.map → styles-DqLt1Blm.js.map} +1 -1
- package/package.json +12 -12
- 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 -30
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.gql +0 -7
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.gql +0 -7
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -18
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +0 -22
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +0 -39
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +0 -5
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/queries.gql +0 -17
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.gql +0 -7
- 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 -35
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-FK4Jv94w.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-CAgM5SRt.js.map +0 -1
- package/dist/web/assets/model-merger-kOQ_dmiE.js.map +0 -1
package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { generatedGraphqlImportsProvider } from '@baseplate-dev/react-generators';
|
|
1
|
+
import { typescriptFileProvider } from '@baseplate-dev/core-generators';
|
|
3
2
|
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
|
|
4
3
|
import { PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_PATHS } from './template-paths.js';
|
|
5
4
|
import { PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES } from './typed-templates.js';
|
|
6
5
|
const placeholderAuthCorePlaceholderAuthHooksRenderers = createProviderType('placeholder-auth-core-placeholder-auth-hooks-renderers');
|
|
7
6
|
const placeholderAuthCorePlaceholderAuthHooksRenderersTask = createGeneratorTask({
|
|
8
7
|
dependencies: {
|
|
9
|
-
generatedGraphqlImports: generatedGraphqlImportsProvider,
|
|
10
8
|
paths: PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_PATHS.provider,
|
|
11
9
|
typescriptFile: typescriptFileProvider,
|
|
12
10
|
},
|
|
13
11
|
exports: {
|
|
14
12
|
placeholderAuthCorePlaceholderAuthHooksRenderers: placeholderAuthCorePlaceholderAuthHooksRenderers.export(),
|
|
15
13
|
},
|
|
16
|
-
run({
|
|
14
|
+
run({ paths, typescriptFile }) {
|
|
17
15
|
return {
|
|
18
16
|
providers: {
|
|
19
17
|
placeholderAuthCorePlaceholderAuthHooksRenderers: {
|
|
@@ -21,20 +19,10 @@ const placeholderAuthCorePlaceholderAuthHooksRenderersTask = createGeneratorTask
|
|
|
21
19
|
render: (options) => typescriptFile.renderTemplateGroup({
|
|
22
20
|
group: PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES.hooksGroup,
|
|
23
21
|
paths,
|
|
24
|
-
importMapProviders: {
|
|
25
|
-
generatedGraphqlImports,
|
|
26
|
-
},
|
|
27
22
|
generatorPaths: paths,
|
|
28
23
|
...options,
|
|
29
24
|
}),
|
|
30
25
|
},
|
|
31
|
-
useCurrentUserGql: {
|
|
32
|
-
render: (options) => renderTextTemplateFileAction({
|
|
33
|
-
template: PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES.useCurrentUserGql,
|
|
34
|
-
destination: paths.useCurrentUserGql,
|
|
35
|
-
...options,
|
|
36
|
-
}),
|
|
37
|
-
},
|
|
38
26
|
},
|
|
39
27
|
},
|
|
40
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,kDAAkD,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAE,sDAAsD,EAAE,MAAM,sBAAsB,CAAC;AAe9F,MAAM,gDAAgD,GACpD,kBAAkB,CAChB,wDAAwD,CACzD,CAAC;AAEJ,MAAM,oDAAoD,GACxD,mBAAmB,CAAC;IAClB,YAAY,EAAE;QACZ,KAAK,EAAE,kDAAkD,CAAC,QAAQ;QAClE,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE;QACP,gDAAgD,EAC9C,gDAAgD,CAAC,MAAM,EAAE;KAC5D;IACD,GAAG,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE;QAC3B,OAAO;YACL,SAAS,EAAE;gBACT,gDAAgD,EAAE;oBAChD,UAAU,EAAE;wBACV,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EACH,sDAAsD,CAAC,UAAU;4BACnE,KAAK;4BACL,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,sDAAsD,GAAG;IACpE,QAAQ,EAAE,gDAAgD;IAC1D,IAAI,EAAE,oDAAoD;CAC3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,oDAAoD;;;;;;;;;;;;;;;;CAEhE,CAAC"}
|
|
@@ -13,7 +13,6 @@ const placeholderAuthCorePlaceholderAuthHooksImportsTask = createGeneratorTask({
|
|
|
13
13
|
authHooksImports: createTsImportMap(authHooksImportsSchema, {
|
|
14
14
|
AuthRole: paths.useSession,
|
|
15
15
|
SessionData: paths.useSession,
|
|
16
|
-
useCurrentUser: paths.useCurrentUser,
|
|
17
16
|
useLogOut: paths.useLogOut,
|
|
18
17
|
useRequiredUserId: paths.useRequiredUserId,
|
|
19
18
|
useSession: paths.useSession,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAE,kDAAkD,EAAE,MAAM,qBAAqB,CAAC;AAEzF,MAAM,kDAAkD,GAAG,mBAAmB,CAAC;IAC7E,YAAY,EAAE;QACZ,KAAK,EAAE,kDAAkD,CAAC,QAAQ;KACnE;IACD,OAAO,EAAE,EAAE,gBAAgB,EAAE,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE;IAC5E,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,gBAAgB,EAAE,iBAAiB,CAAC,sBAAsB,EAAE;oBAC1D,QAAQ,EAAE,KAAK,CAAC,UAAU;oBAC1B,WAAW,EAAE,KAAK,CAAC,UAAU;oBAC7B,
|
|
1
|
+
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAE,kDAAkD,EAAE,MAAM,qBAAqB,CAAC;AAEzF,MAAM,kDAAkD,GAAG,mBAAmB,CAAC;IAC7E,YAAY,EAAE;QACZ,KAAK,EAAE,kDAAkD,CAAC,QAAQ;KACnE;IACD,OAAO,EAAE,EAAE,gBAAgB,EAAE,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE;IAC5E,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,gBAAgB,EAAE,iBAAiB,CAAC,sBAAsB,EAAE;oBAC1D,QAAQ,EAAE,KAAK,CAAC,UAAU;oBAC1B,WAAW,EAAE,KAAK,CAAC,UAAU;oBAC7B,SAAS,EAAE,KAAK,CAAC,SAAS;oBAC1B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;oBAC1C,UAAU,EAAE,KAAK,CAAC,UAAU;iBAC7B,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oDAAoD,GAAG;IAClE,IAAI,EAAE,kDAAkD;CACzD,CAAC"}
|
package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
export declare const hooksGroup: {
|
|
2
|
-
useCurrentUser: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
3
|
-
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
4
|
-
'*': {};
|
|
5
|
-
}>>;
|
|
6
|
-
}, {
|
|
7
|
-
useSession: {};
|
|
8
|
-
}>;
|
|
9
2
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
10
3
|
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
11
4
|
useSession: {};
|
|
@@ -14,19 +7,11 @@ export declare const hooksGroup: {
|
|
|
14
7
|
};
|
|
15
8
|
export declare const PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES: {
|
|
16
9
|
hooksGroup: {
|
|
17
|
-
useCurrentUser: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
18
|
-
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
19
|
-
'*': {};
|
|
20
|
-
}>>;
|
|
21
|
-
}, {
|
|
22
|
-
useSession: {};
|
|
23
|
-
}>;
|
|
24
10
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
25
11
|
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
26
12
|
useSession: {};
|
|
27
13
|
}>;
|
|
28
14
|
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
29
15
|
};
|
|
30
|
-
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
31
16
|
};
|
|
32
17
|
//# sourceMappingURL=typed-templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,UAAU;;;;;;CAA+C,CAAC;AAEvE,eAAO,MAAM,sDAAsD;;;;;;;;CAElE,CAAC"}
|
package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { generatedGraphqlImportsProvider } from '@baseplate-dev/react-generators';
|
|
1
|
+
import { createTsTemplateFile } from '@baseplate-dev/core-generators';
|
|
3
2
|
import path from 'node:path';
|
|
4
|
-
const useCurrentUser = createTsTemplateFile({
|
|
5
|
-
fileOptions: { kind: 'singleton' },
|
|
6
|
-
group: 'hooks',
|
|
7
|
-
importMapProviders: {
|
|
8
|
-
generatedGraphqlImports: generatedGraphqlImportsProvider,
|
|
9
|
-
},
|
|
10
|
-
name: 'use-current-user',
|
|
11
|
-
projectExports: { useCurrentUser: {} },
|
|
12
|
-
referencedGeneratorTemplates: { useSession: {} },
|
|
13
|
-
source: {
|
|
14
|
-
path: path.join(import.meta.dirname, '../templates/src/hooks/use-current-user.ts'),
|
|
15
|
-
},
|
|
16
|
-
variables: {},
|
|
17
|
-
});
|
|
18
3
|
const useLogOut = createTsTemplateFile({
|
|
19
4
|
fileOptions: { kind: 'singleton' },
|
|
20
5
|
group: 'hooks',
|
|
@@ -53,22 +38,8 @@ const useSession = createTsTemplateFile({
|
|
|
53
38
|
},
|
|
54
39
|
variables: {},
|
|
55
40
|
});
|
|
56
|
-
export const hooksGroup = {
|
|
57
|
-
useCurrentUser,
|
|
58
|
-
useLogOut,
|
|
59
|
-
useRequiredUserId,
|
|
60
|
-
useSession,
|
|
61
|
-
};
|
|
62
|
-
const useCurrentUserGql = createTextTemplateFile({
|
|
63
|
-
fileOptions: { kind: 'singleton' },
|
|
64
|
-
name: 'use-current-user-gql',
|
|
65
|
-
source: {
|
|
66
|
-
path: path.join(import.meta.dirname, '../templates/src/hooks/use-current-user.gql'),
|
|
67
|
-
},
|
|
68
|
-
variables: {},
|
|
69
|
-
});
|
|
41
|
+
export const hooksGroup = { useLogOut, useRequiredUserId, useSession };
|
|
70
42
|
export const PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES = {
|
|
71
43
|
hooksGroup,
|
|
72
|
-
useCurrentUserGql,
|
|
73
44
|
};
|
|
74
45
|
//# sourceMappingURL=typed-templates.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,SAAS,GAAG,oBAAoB,CAAC;IACrC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACjC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,sBAAsB;IAC5B,cAAc,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE;IACzC,4BAA4B,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;IAChD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,gDAAgD,CACjD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,oBAAoB,CAAC;IACtC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE;QACd,WAAW,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;QACjC,UAAU,EAAE,EAAE;QACd,QAAQ,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;KAC/B;IACD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAEvE,MAAM,CAAC,MAAM,sDAAsD,GAAG;IACpE,UAAU;CACX,CAAC"}
|
|
@@ -14,7 +14,6 @@ export declare const placeholderAuthHooksGenerator: import("@baseplate-dev/sync"
|
|
|
14
14
|
SessionData: {
|
|
15
15
|
isTypeOnly: true;
|
|
16
16
|
};
|
|
17
|
-
useCurrentUser: {};
|
|
18
17
|
useLogOut: {};
|
|
19
18
|
useRequiredUserId: {};
|
|
20
19
|
useSession: {};
|
|
@@ -28,14 +27,10 @@ export declare const placeholderAuthHooksGenerator: import("@baseplate-dev/sync"
|
|
|
28
27
|
renderers: import("@baseplate-dev/sync").GeneratorTask<{
|
|
29
28
|
placeholderAuthCorePlaceholderAuthHooksRenderers: import("@baseplate-dev/sync").ProviderExport<import("./generated/template-renderers.js").PlaceholderAuthCorePlaceholderAuthHooksRenderers>;
|
|
30
29
|
}, {
|
|
31
|
-
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
32
|
-
'*': {};
|
|
33
|
-
}>>;
|
|
34
30
|
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").PlaceholderAuthCorePlaceholderAuthHooksPaths>;
|
|
35
31
|
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
36
32
|
}, undefined>;
|
|
37
33
|
main: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
38
|
-
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").PlaceholderAuthCorePlaceholderAuthHooksPaths>;
|
|
39
34
|
renderers: import("@baseplate-dev/sync").ProviderType<import("./generated/template-renderers.js").PlaceholderAuthCorePlaceholderAuthHooksRenderers>;
|
|
40
35
|
}, any>;
|
|
41
36
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder-auth-hooks.generator.d.ts","sourceRoot":"","sources":["../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"placeholder-auth-hooks.generator.d.ts","sourceRoot":"","sources":["../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.ts"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBxC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { renderTextTemplateFileAction } from '@baseplate-dev/core-generators';
|
|
2
1
|
import { createGenerator, createGeneratorTask } from '@baseplate-dev/sync';
|
|
3
2
|
import { z } from 'zod';
|
|
4
3
|
import { PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_GENERATED as GENERATED_TEMPLATES } from './generated/index.js';
|
|
@@ -18,17 +17,12 @@ export const placeholderAuthHooksGenerator = createGenerator({
|
|
|
18
17
|
renderers: GENERATED_TEMPLATES.renderers.task,
|
|
19
18
|
main: createGeneratorTask({
|
|
20
19
|
dependencies: {
|
|
21
|
-
paths: GENERATED_TEMPLATES.paths.provider,
|
|
22
20
|
renderers: GENERATED_TEMPLATES.renderers.provider,
|
|
23
21
|
},
|
|
24
|
-
run({
|
|
22
|
+
run({ renderers }) {
|
|
25
23
|
return {
|
|
26
24
|
build: async (builder) => {
|
|
27
25
|
await builder.apply(renderers.hooksGroup.render({}));
|
|
28
|
-
await builder.apply(renderTextTemplateFileAction({
|
|
29
|
-
template: GENERATED_TEMPLATES.templates.useCurrentUserGql,
|
|
30
|
-
destination: paths.useCurrentUserGql,
|
|
31
|
-
}));
|
|
32
26
|
},
|
|
33
27
|
};
|
|
34
28
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder-auth-hooks.generator.js","sourceRoot":"","sources":["../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"placeholder-auth-hooks.generator.js","sourceRoot":"","sources":["../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sDAAsD,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAErH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEtC;;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,eAAe,CAAC;IAC3D,IAAI,EAAE,8CAA8C;IACpD,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACjC,gBAAgB;IAChB,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC;QACjB,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,IAAI;QACrC,OAAO,EAAE,mBAAmB,CAAC,OAAO,CAAC,IAAI;QACzC,SAAS,EAAE,mBAAmB,CAAC,SAAS,CAAC,IAAI;QAC7C,IAAI,EAAE,mBAAmB,CAAC;YACxB,YAAY,EAAE;gBACZ,SAAS,EAAE,mBAAmB,CAAC,SAAS,CAAC,QAAQ;aAClD;YACD,GAAG,CAAC,EAAE,SAAS,EAAE;gBACf,OAAO;oBACL,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;wBACvB,MAAM,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;oBACvD,CAAC;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
2
|
-
import { c as createAuth0PluginDefinitionSchema, A as AUTH0_MODELS } from './plugin-definition-
|
|
1
|
+
import { importShared } from './__federation_fn_import-C_QCk5FX.js';
|
|
2
|
+
import { c as createAuth0PluginDefinitionSchema, A as AUTH0_MODELS } from './plugin-definition-rpMj4pr8.js';
|
|
3
3
|
|
|
4
4
|
const AUTH0_PLUGIN_CONFIG_MIGRATIONS = [
|
|
5
5
|
{
|
|
@@ -40,4 +40,4 @@ const common = createPlatformPluginExport({
|
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
export { common as default };
|
|
43
|
-
//# sourceMappingURL=__federation_expose_auth0CoreCommon-
|
|
43
|
+
//# sourceMappingURL=__federation_expose_auth0CoreCommon-Ga9LD3d6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__federation_expose_auth0CoreCommon-
|
|
1
|
+
{"version":3,"file":"__federation_expose_auth0CoreCommon-Ga9LD3d6.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 ModelUtils,\n pluginConfigSpec,\n} from '@baseplate-dev/project-builder-lib';\n\nimport { AUTH0_MODELS } from '../constants/model-names.js';\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 ModelUtils.byNameOrThrow(definition, AUTH0_MODELS.user),\n },\n };\n },\n});\n"],"names":[],"mappings":";;;AAEO,MAAM,8BAAA,GAA0D;AAAA,EACrE;AAAA,IACE,IAAA,EAAM,aAAA;AAAA,IACN,OAAA,EAAS,CAAA;AAAA,IACT,OAAA,EAAS,CAAC,MAAA,KAAW;AACnB,MAAA,MAAM,WAAA,GAAc,MAAA;AACpB,MAAA,OAAO;AAAA,QACL,aAAA,EAAe;AAAA,UACb,GAAG,WAAA;AAAA,UACH,mBAAA,EAAqB,MAAA;AAAA,UACrB,SAAA,EAAW;AAAA,YACT,MAAM,WAAA,CAAY;AAAA;AACpB;AACF,OACF;AAAA,IACF;AAAA;AAEJ,CAAA;;ACnBA,MAAA,CAAA,mBAAA,CAAA,0BAAA,CAAA,UAAA,CAAA,gBAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AAcA,eAAe,0BAAA,CAA2B;AAAA,EACxC,YAAA,EAAc;AAAA,IACZ,MAAA,EAAQ;AAAA,GACV;AAAA,EACA,OAAA,EAAS;AAAA,IACP,eAAA,EAAiB;AAAA,GACnB;AAAA,EACA,YAAY,CAAC,EAAE,QAAO,EAAG,EAAE,WAAU,KAAM;AACzC,IAAA,MAAA,CAAO,qBAAA,CAAsB,WAAW,iCAAiC,CAAA;AACzE,IAAA,MAAA,CAAO,kBAAA,CAAmB,WAAW,8BAA8B,CAAA;AACnE,IAAA,OAAO;AAAA,MACL,eAAA,EAAiB;AAAA,QACf,cAAc,CAAC,UAAA,KACb,WAAW,aAAA,CAAc,UAAA,EAAY,aAAa,IAAI;AAAA;AAC1D,KACF;AAAA,EACF;AACF,CAAC,CAAA;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
1
|
+
import { importShared } from './__federation_fn_import-C_QCk5FX.js';
|
|
2
2
|
import { j as jsxRuntimeExports } from './jsx-runtime-XI9uIe3W.js';
|
|
3
|
-
import { a, A as AuthConfigTabs } from './styles-
|
|
4
|
-
import { g as getAuthPluginDefinition } from './get-auth-plugin-definition-
|
|
5
|
-
import { A as AUTH0_MODELS, c as createAuth0PluginDefinitionSchema } from './plugin-definition-
|
|
3
|
+
import { a, A as AuthConfigTabs } from './styles-DqLt1Blm.js';
|
|
4
|
+
import { g as getAuthPluginDefinition } from './get-auth-plugin-definition-D2XMaoy7.js';
|
|
5
|
+
import { A as AUTH0_MODELS, c as createAuth0PluginDefinitionSchema } from './plugin-definition-rpMj4pr8.js';
|
|
6
6
|
|
|
7
7
|
function createAuth0Models({
|
|
8
8
|
authFeatureRef
|
|
@@ -156,4 +156,4 @@ const web = createPlatformPluginExport({
|
|
|
156
156
|
});
|
|
157
157
|
|
|
158
158
|
export { web as default };
|
|
159
|
-
//# sourceMappingURL=__federation_expose_auth0CoreWeb-
|
|
159
|
+
//# sourceMappingURL=__federation_expose_auth0CoreWeb-CZueDXPK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__federation_expose_auth0CoreWeb-B9jV1EyN.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 { AUTH0_MODELS } from '#src/auth0/constants/model-names.js';\n\nexport function createAuth0Models({\n authFeatureRef,\n}: AuthPluginDefinition): Record<\n keyof typeof AUTH0_MODELS,\n ModelMergerModelInput\n> {\n return {\n user: {\n name: AUTH0_MODELS.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 PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\nimport {\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 { AUTH0_MODELS } from '#src/auth0/constants/model-names.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 {} satisfies Auth0PluginDefinitionInput;\n }, [pluginMetadata?.config]);\n\n const form = useResettableForm({\n resolver: zodResolver(auth0PluginDefinitionSchema),\n defaultValues,\n });\n const { control, reset, handleSubmit } = form;\n\n const authDefinition = getAuthPluginDefinition(definition);\n\n const pendingModelChanges = useMemo(() => {\n const desiredModels = createAuth0Models(authDefinition);\n\n return createModelMergerResults(\n AUTH0_MODELS,\n desiredModels,\n definitionContainer,\n );\n }, [definitionContainer, authDefinition]);\n\n const onSubmit = handleSubmit((data) =>\n saveDefinitionWithFeedback(\n (draftConfig) => {\n const updatedData = {\n ...data,\n };\n createAndApplyModelMergerResults(\n draftConfig,\n AUTH0_MODELS,\n createAuth0Models(authDefinition),\n definitionContainer,\n );\n PluginUtils.setPluginConfig(\n draftConfig,\n metadata,\n updatedData,\n definitionContainer,\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 The plugin will automatically configure the models it needs.\n </SectionListSectionDescription>\n </SectionListSectionHeader>\n <SectionListSectionContent className=\"auth:space-y-6\">\n <ModelMergerResultAlert\n pendingModelChanges={pendingModelChanges}\n />\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,iBAAA,CAAkB;AAAA,EAChC;AACF,CAAA,EAGE;AACA,EAAA,OAAO;AAAA,IACL,IAAA,EAAM;AAAA,MACJ,MAAM,YAAA,CAAa,IAAA;AAAA,MACnB,UAAA,EAAY,cAAA;AAAA,MACZ,KAAA,EAAO;AAAA,QACL,MAAA,EAAQ;AAAA,UACN;AAAA,YACE,IAAA,EAAM,IAAA;AAAA,YACN,IAAA,EAAM,MAAA;AAAA,YACN,OAAA,EAAS,EAAE,OAAA,EAAS,IAAA;AAAK,WAC3B;AAAA,UACA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2B;AAAA,EACxC,YAAA,EAAc;AAAA,IACZ,SAAA,EAAW;AAAA,GACb;AAAA,EACA,SAAS,EAAC;AAAA,EACV,YAAY,CAAC,EAAE,WAAU,EAAG,EAAE,WAAU,KAAM;AAC5C,IAAA,SAAA,CAAU,0BAAA,CAA2B,WAAW,qBAAqB,CAAA;AACrE,IAAA,OAAO,EAAC;AAAA,EACV;AACF,CAAC,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"__federation_expose_auth0CoreWeb-CZueDXPK.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 { AUTH0_MODELS } from '#src/auth0/constants/model-names.js';\n\nexport function createAuth0Models({\n authFeatureRef,\n}: AuthPluginDefinition): Record<\n keyof typeof AUTH0_MODELS,\n ModelMergerModelInput\n> {\n return {\n user: {\n name: AUTH0_MODELS.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 PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\nimport {\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 { AUTH0_MODELS } from '#src/auth0/constants/model-names.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 {} satisfies Auth0PluginDefinitionInput;\n }, [pluginMetadata?.config]);\n\n const form = useResettableForm({\n resolver: zodResolver(auth0PluginDefinitionSchema),\n defaultValues,\n });\n const { control, reset, handleSubmit } = form;\n\n const authDefinition = getAuthPluginDefinition(definition);\n\n const pendingModelChanges = useMemo(() => {\n const desiredModels = createAuth0Models(authDefinition);\n\n return createModelMergerResults(\n AUTH0_MODELS,\n desiredModels,\n definitionContainer,\n );\n }, [definitionContainer, authDefinition]);\n\n const onSubmit = handleSubmit((data) =>\n saveDefinitionWithFeedback(\n (draftConfig) => {\n const updatedData = {\n ...data,\n };\n createAndApplyModelMergerResults(\n draftConfig,\n AUTH0_MODELS,\n createAuth0Models(authDefinition),\n definitionContainer,\n );\n PluginUtils.setPluginConfig(\n draftConfig,\n metadata,\n updatedData,\n definitionContainer,\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 The plugin will automatically configure the models it needs.\n </SectionListSectionDescription>\n </SectionListSectionHeader>\n <SectionListSectionContent className=\"auth:space-y-6\">\n <ModelMergerResultAlert\n pendingModelChanges={pendingModelChanges}\n />\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,iBAAA,CAAkB;AAAA,EAChC;AACF,CAAA,EAGE;AACA,EAAA,OAAO;AAAA,IACL,IAAA,EAAM;AAAA,MACJ,MAAM,YAAA,CAAa,IAAA;AAAA,MACnB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A,IACD,iCAAA,CAAkC,mBAAmB;AAAA;AAAA;AAEzD,SAAA,EACF;AAAA;AAAA;AACF,GAAA,EACF,CAAA;AAEJ;;ACtJA,MAAA,CAAA,0BAAA,CAAA,aAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AASA,YAAe,0BAAA,CAA2B;AAAA,EACxC,YAAA,EAAc;AAAA,IACZ,SAAA,EAAW;AAAA,GACb;AAAA,EACA,SAAS,EAAC;AAAA,EACV,YAAY,CAAC,EAAE,WAAU,EAAG,EAAE,WAAU,KAAM;AAC5C,IAAA,SAAA,CAAU,0BAAA,CAA2B,WAAW,qBAAqB,CAAA;AACrE,IAAA,OAAO,EAAC;AAAA,EACV;AACF,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-C_QCk5FX.js';
|
|
2
|
+
import { a as createAuthPluginDefinitionSchema } from './plugin-definition-_slrOM0G.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-BrTLsuJC.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__federation_expose_authCoreCommon-
|
|
1
|
+
{"version":3,"file":"__federation_expose_authCoreCommon-BrTLsuJC.js","sources":["../../../src/auth/core/common.ts"],"sourcesContent":["import {\n authConfigSpec,\n createPlatformPluginExport,\n pluginConfigSpec,\n PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\n\nimport type { AuthPluginDefinition } from './schema/plugin-definition.js';\n\nimport { createAuthPluginDefinitionSchema } 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 authConfig: authConfigSpec,\n },\n initialize: ({ config }, { pluginKey }) => {\n config.registerSchemaCreator(pluginKey, createAuthPluginDefinitionSchema);\n return {\n authConfig: {\n getAuthRoles: (definition) => {\n const pluginConfig = PluginUtils.configByKeyOrThrow(\n definition,\n pluginKey,\n ) as AuthPluginDefinition;\n return pluginConfig.roles;\n },\n },\n };\n },\n});\n"],"names":[],"mappings":";;;AAAA,MAAA,CAAA,cAAA,CAAA,0BAAA,CAAA,gBAAA,CAAA,WAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AAcA,eAAe,0BAAA,CAA2B;AAAA,EACxC,YAAA,EAAc;AAAA,IACZ,MAAA,EAAQ;AAAA,GACV;AAAA,EACA,OAAA,EAAS;AAAA,IACP,UAAA,EAAY;AAAA,GACd;AAAA,EACA,YAAY,CAAC,EAAE,QAAO,EAAG,EAAE,WAAU,KAAM;AACzC,IAAA,MAAA,CAAO,qBAAA,CAAsB,WAAW,gCAAgC,CAAA;AACxE,IAAA,OAAO;AAAA,MACL,UAAA,EAAY;AAAA,QACV,YAAA,EAAc,CAAC,UAAA,KAAe;AAC5B,UAAA,MAAM,eAAe,WAAA,CAAY,kBAAA;AAAA,YAC/B,UAAA;AAAA,YACA;AAAA,WACF;AACA,UAAA,OAAO,YAAA,CAAa,KAAA;AAAA,QACtB;AAAA;AACF,KACF;AAAA,EACF;AACF,CAAC,CAAA;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
1
|
+
import { importShared } from './__federation_fn_import-C_QCk5FX.js';
|
|
2
2
|
import { j as jsxRuntimeExports } from './jsx-runtime-XI9uIe3W.js';
|
|
3
|
-
import { a, A as AuthConfigTabs } from './styles-
|
|
4
|
-
import { c as createAuthRoleSchema, a as createAuthPluginDefinitionSchema, b as createDefaultAuthRoles } from './plugin-definition-
|
|
5
|
-
import { c as useFieldArray$1, a as useForm, d as useWatch } from './index.esm-
|
|
6
|
-
import { o as MdEdit, p as MdDeleteOutline, q as MdAdd } from './index-
|
|
3
|
+
import { a, A as AuthConfigTabs } from './styles-DqLt1Blm.js';
|
|
4
|
+
import { c as createAuthRoleSchema, a as createAuthPluginDefinitionSchema, b as createDefaultAuthRoles } from './plugin-definition-_slrOM0G.js';
|
|
5
|
+
import { c as useFieldArray$1, a as useForm, d as useWatch } from './index.esm-ChwWPPiL.js';
|
|
6
|
+
import { o as MdEdit, p as MdDeleteOutline, q as MdAdd } from './index-DwJT6_Wn.js';
|
|
7
7
|
|
|
8
8
|
// src/rhf/useFieldArray.ts
|
|
9
9
|
const {useMemo: useMemo$1} = await importShared('react');
|
|
@@ -436,4 +436,4 @@ const web = createPlatformPluginExport({
|
|
|
436
436
|
});
|
|
437
437
|
|
|
438
438
|
export { web as default };
|
|
439
|
-
//# sourceMappingURL=__federation_expose_authCoreWeb-
|
|
439
|
+
//# sourceMappingURL=__federation_expose_authCoreWeb-C8rgnA2v.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__federation_expose_authCoreWeb-CTQI1rXb.js","sources":["../../../../../node_modules/.pnpm/@hookform+lenses@0.8.1_react-hook-form@7.60.0_react@19.1.0__react@19.1.0/node_modules/@hookform/lenses/dist/rhf/index.js","../../../src/auth/core/components/role-editor-form/role-dialog.tsx","../../../src/auth/core/components/role-editor-form/role-editor-form.tsx","../../../src/auth/core/components/auth-definition-editor.tsx","../../../src/auth/core/web.ts"],"sourcesContent":["// src/rhf/useFieldArray.ts\nimport { useMemo } from \"react\";\nimport {\n useFieldArray as useFieldArrayOriginal\n} from \"react-hook-form\";\nfunction useFieldArray(props) {\n const original = useFieldArrayOriginal(props);\n const newFields = useMemo(() => {\n if (!props.getTransformer) {\n return original.fields;\n }\n return original.fields.map(props.getTransformer);\n }, [original.fields, props.getTransformer]);\n return {\n fields: newFields,\n move: original.move,\n remove: original.remove,\n swap: original.swap,\n prepend: (value, options) => {\n if (!props.setTransformer) {\n return original.prepend(value, options);\n }\n const newValue = Array.isArray(value) ? value.map(props.setTransformer) : props.setTransformer(value);\n original.prepend(newValue, options);\n },\n append: (value, options) => {\n if (!props.setTransformer) {\n return original.append(value, options);\n }\n const newValue = Array.isArray(value) ? value.map(props.setTransformer) : props.setTransformer(value);\n original.append(newValue, options);\n },\n insert: (index, value, options) => {\n if (!props.setTransformer) {\n return original.insert(index, value, options);\n }\n const newValue = Array.isArray(value) ? value.map(props.setTransformer) : props.setTransformer(value);\n original.insert(index, newValue, options);\n },\n update: (index, value) => {\n if (!props.setTransformer) {\n return original.update(index, value);\n }\n const newValue = props.setTransformer(value);\n original.update(index, newValue);\n },\n replace: (value) => {\n if (!props.setTransformer) {\n return original.replace(value);\n }\n const newValue = props.setTransformer(value);\n original.replace(newValue);\n }\n };\n}\nexport {\n useFieldArray\n};\n//# sourceMappingURL=index.js.map","import type React from 'react';\n\nimport { useDefinitionSchema } from '@baseplate-dev/project-builder-lib/web';\nimport {\n Button,\n Dialog,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n InputFieldController,\n} from '@baseplate-dev/ui-components';\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { useId } from 'react';\nimport { useForm } from 'react-hook-form';\n\nimport type { AuthRoleInput } from '../../schema/roles/schema.js';\n\nimport { createAuthRoleSchema } from '../../schema/roles/schema.js';\n\ninterface RoleDialogProps {\n open?: boolean;\n onOpenChange?: (open: boolean) => void;\n role?: AuthRoleInput;\n isNew?: boolean;\n onSave: (role: AuthRoleInput) => void;\n asChild?: boolean;\n children?: React.ReactNode;\n}\n\nexport function RoleDialog({\n open,\n onOpenChange,\n role,\n isNew = false,\n onSave,\n asChild,\n children,\n}: RoleDialogProps): React.JSX.Element {\n const authRoleSchema = useDefinitionSchema(createAuthRoleSchema);\n const form = useForm({\n resolver: zodResolver(authRoleSchema),\n values: role,\n });\n\n const { control, handleSubmit } = form;\n\n const onSubmit = handleSubmit((data) => {\n onSave(data);\n onOpenChange?.(false);\n });\n\n const formId = useId();\n\n return (\n <Dialog open={open} onOpenChange={onOpenChange}>\n <DialogTrigger asChild={asChild}>{children}</DialogTrigger>\n <DialogContent>\n <form\n id={formId}\n onSubmit={(e) => {\n e.stopPropagation();\n return onSubmit(e);\n }}\n >\n <DialogHeader>\n <DialogTitle>{isNew ? 'Add Role' : 'Edit Role'}</DialogTitle>\n <DialogDescription>\n {isNew\n ? 'Enter the details for the new role.'\n : 'Update the role details below.'}\n </DialogDescription>\n </DialogHeader>\n <div className=\"auth:space-y-4 auth:py-4\">\n <InputFieldController\n label=\"Role Name\"\n name=\"name\"\n control={control}\n placeholder=\"Enter role name\"\n />\n <InputFieldController\n label=\"Description\"\n name=\"comment\"\n control={control}\n placeholder=\"Describe this role's purpose\"\n />\n </div>\n <DialogFooter>\n <Button\n type=\"button\"\n variant=\"outline\"\n onClick={() => {\n onOpenChange?.(false);\n }}\n >\n Cancel\n </Button>\n <Button form={formId} type=\"submit\">\n {isNew ? 'Add' : 'Update'} Role\n </Button>\n </DialogFooter>\n </form>\n </DialogContent>\n </Dialog>\n );\n}\n","import type React from 'react';\nimport type { Control } from 'react-hook-form';\n\nimport { authRoleEntityType } from '@baseplate-dev/project-builder-lib';\nimport {\n Badge,\n Button,\n RecordView,\n RecordViewActions,\n RecordViewItem,\n RecordViewItemList,\n SectionListSection,\n SectionListSectionContent,\n SectionListSectionDescription,\n SectionListSectionHeader,\n SectionListSectionTitle,\n useConfirmDialog,\n} from '@baseplate-dev/ui-components';\nimport { useFieldArray } from '@hookform/lenses/rhf';\nimport { useState } from 'react';\nimport { useWatch } from 'react-hook-form';\nimport { MdAdd, MdDeleteOutline, MdEdit } from 'react-icons/md';\n\nimport type { AuthPluginDefinitionInput } from '../../schema/plugin-definition.js';\nimport type { AuthRoleInput } from '../../schema/roles/schema.js';\n\nimport { RoleDialog } from './role-dialog.js';\n\ninterface Props {\n className?: string;\n control: Control<AuthPluginDefinitionInput>;\n}\n\nexport function RoleEditorForm({\n className,\n control,\n}: Props): React.JSX.Element {\n const { requestConfirm } = useConfirmDialog();\n const { append, update, remove } = useFieldArray({\n control,\n name: 'roles',\n });\n const [roleToEdit, setRoleToEdit] = useState<AuthRoleInput | undefined>();\n const [isEditing, setIsEditing] = useState(false);\n\n const roles = useWatch({ control, name: 'roles' });\n\n function handleSaveRole(newRole: AuthRoleInput): void {\n const existingIndex = roles.findIndex((role) => role.id === newRole.id);\n if (existingIndex === -1) {\n append(newRole);\n } else {\n update(existingIndex, newRole);\n }\n }\n\n function handleDeleteRole(roleIdx: number): void {\n const role = roles[roleIdx];\n requestConfirm({\n title: 'Delete Role',\n content: `Are you sure you want to delete the role \"${role.name}\"?`,\n onConfirm: () => {\n remove(roleIdx);\n },\n });\n }\n\n return (\n <SectionListSection className={className}>\n <SectionListSectionHeader>\n <SectionListSectionTitle>User Roles</SectionListSectionTitle>\n <SectionListSectionDescription>\n Define roles for your application. Default roles are protected and\n cannot be removed.\n </SectionListSectionDescription>\n </SectionListSectionHeader>\n <SectionListSectionContent className=\"auth:space-y-4\">\n {roles.map((role, roleIdx) => (\n <RecordView key={role.id}>\n <RecordViewItemList>\n <RecordViewItem title=\"Name\">\n <div className=\"auth:flex auth:items-center auth:gap-2\">\n <span>{role.name}</span>\n </div>\n </RecordViewItem>\n <RecordViewItem title=\"Description\">\n {role.comment.trim() || (\n <span className=\"auth:text-muted-foreground\">\n No description\n </span>\n )}\n </RecordViewItem>\n </RecordViewItemList>\n <RecordViewActions>\n {role.builtIn && <Badge variant=\"secondary\">Default Role</Badge>}\n {!role.builtIn && (\n <>\n <Button\n variant=\"ghost\"\n size=\"icon\"\n title=\"Edit\"\n aria-label=\"Edit role\"\n onClick={() => {\n setRoleToEdit(role);\n setIsEditing(true);\n }}\n >\n <MdEdit />\n </Button>\n <Button\n variant=\"ghostDestructive\"\n size=\"icon\"\n title=\"Delete\"\n aria-label=\"Delete role\"\n onClick={() => {\n handleDeleteRole(roleIdx);\n }}\n >\n <MdDeleteOutline />\n </Button>\n </>\n )}\n </RecordViewActions>\n </RecordView>\n ))}\n <RoleDialog\n open={isEditing}\n onOpenChange={setIsEditing}\n role={roleToEdit}\n isNew={roleToEdit ? !roles.some((r) => r.id === roleToEdit.id) : true}\n onSave={handleSaveRole}\n />\n <Button\n variant=\"secondary\"\n size=\"sm\"\n onClick={() => {\n setRoleToEdit({\n id: authRoleEntityType.generateNewId(),\n name: '',\n comment: '',\n builtIn: false,\n });\n setIsEditing(true);\n }}\n >\n <MdAdd />\n Add Role\n </Button>\n </SectionListSectionContent>\n </SectionListSection>\n );\n}\n","import type { WebConfigProps } from '@baseplate-dev/project-builder-lib';\nimport type React from 'react';\n\nimport {\n FeatureUtils,\n getManagedPluginsForPlugin,\n PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\nimport {\n FeatureComboboxFieldController,\n useBlockUnsavedChangesNavigate,\n useDefinitionSchema,\n useProjectDefinition,\n useResettableForm,\n} from '@baseplate-dev/project-builder-lib/web';\nimport {\n Alert,\n AlertDescription,\n AlertTitle,\n FormActionBar,\n SectionList,\n SectionListSection,\n SectionListSectionContent,\n SectionListSectionDescription,\n SectionListSectionHeader,\n SectionListSectionTitle,\n SelectFieldController,\n} from '@baseplate-dev/ui-components';\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { Link, useNavigate } from '@tanstack/react-router';\nimport { useMemo } from 'react';\n\nimport { AuthConfigTabs } from '#src/common/components/auth-config-tabs.js';\n\nimport type { AuthPluginDefinitionInput } from '../schema/plugin-definition.js';\n\nimport { createAuthPluginDefinitionSchema } from '../schema/plugin-definition.js';\nimport { createDefaultAuthRoles } from '../schema/roles/constants.js';\nimport { RoleEditorForm } from './role-editor-form/role-editor-form.js';\n\nimport '#src/styles.css';\n\nexport function AuthDefinitionEditor({\n definition: pluginMetadata,\n metadata,\n onSave,\n}: WebConfigProps): React.JSX.Element {\n const {\n definition,\n definitionContainer,\n schemaParserContext,\n saveDefinitionWithFeedback,\n } = useProjectDefinition();\n\n const authPluginDefinitionSchema = useDefinitionSchema(\n createAuthPluginDefinitionSchema,\n );\n\n const availableImplementations = getManagedPluginsForPlugin(\n schemaParserContext.pluginStore,\n metadata.key,\n );\n // Use local auth by default\n const defaultImplementation =\n availableImplementations.find(\n (i) => i.fullyQualifiedName === '@baseplate-dev/plugin-auth:local-auth',\n ) ?? availableImplementations[0];\n\n const defaultValues = useMemo(() => {\n if (pluginMetadata?.config) {\n return pluginMetadata.config as AuthPluginDefinitionInput;\n }\n\n const defaultAuthFeatureRef = FeatureUtils.getFeatureIdByNameOrDefault(\n definition,\n 'auth',\n );\n\n return {\n implementationPluginKey: defaultImplementation.key,\n authFeatureRef: defaultAuthFeatureRef,\n roles: createDefaultAuthRoles(),\n } satisfies AuthPluginDefinitionInput;\n }, [definition, pluginMetadata?.config, defaultImplementation]);\n\n const form = useResettableForm({\n resolver: zodResolver(authPluginDefinitionSchema),\n defaultValues,\n });\n const { control, reset, handleSubmit, watch } = form;\n\n const implementationPluginKey = watch('implementationPluginKey');\n const selectedPlugin =\n implementationPluginKey &&\n availableImplementations.find((i) => i.key === implementationPluginKey);\n const isSelectedImplementationActive = !!PluginUtils.byKey(\n definitionContainer.definition,\n implementationPluginKey,\n );\n const hasSelectedImplementationChanged =\n implementationPluginKey !==\n (pluginMetadata?.config as AuthPluginDefinitionInput | undefined)\n ?.implementationPluginKey;\n\n const selectedImplementationUrl = selectedPlugin\n ? `/plugins/edit/${selectedPlugin.key}`\n : undefined;\n const navigate = useNavigate();\n\n const onSubmit = handleSubmit((data) =>\n saveDefinitionWithFeedback(\n (draftConfig) => {\n const featureRef = FeatureUtils.ensureFeatureByNameRecursively(\n draftConfig,\n data.authFeatureRef,\n );\n PluginUtils.setPluginConfig(\n draftConfig,\n metadata,\n {\n ...data,\n authFeatureRef: featureRef,\n },\n definitionContainer,\n );\n\n // Make sure we disable other plugins that are not the selected implementation\n const otherPlugins = availableImplementations.filter(\n (i) => i.key !== implementationPluginKey,\n );\n for (const plugin of otherPlugins) {\n PluginUtils.disablePlugin(\n draftConfig,\n plugin.key,\n definitionContainer.parserContext,\n );\n }\n },\n {\n successMessage: `Successfully saved auth plugin! ${selectedImplementationUrl && !isSelectedImplementationActive ? `Please configure the provider plugin before syncing.` : ''}`,\n onSuccess: () => {\n onSave();\n\n if (selectedImplementationUrl && !isSelectedImplementationActive) {\n setTimeout(() => {\n navigate({ to: selectedImplementationUrl });\n }, 100);\n }\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 {!isSelectedImplementationActive &&\n selectedPlugin &&\n !hasSelectedImplementationChanged && (\n <Alert variant=\"warning\">\n <AlertTitle>Implementation Provider Not Active</AlertTitle>\n <AlertDescription>\n <p>\n The selected implementation provider is not active. Please\n make sure{' '}\n <Link\n to={selectedImplementationUrl}\n className=\"auth:inline-block auth:font-medium\"\n >\n configure the provider\n </Link>{' '}\n before syncing.\n </p>\n </AlertDescription>\n </Alert>\n )}\n <SectionList>\n <SectionListSection>\n <SectionListSectionHeader>\n <SectionListSectionTitle>\n General Settings\n </SectionListSectionTitle>\n <SectionListSectionDescription>\n Configure the general settings for the auth plugin.\n </SectionListSectionDescription>\n </SectionListSectionHeader>\n <SectionListSectionContent className=\"auth:space-y-6\">\n <FeatureComboboxFieldController\n label=\"Auth Feature Path\"\n name=\"authFeatureRef\"\n control={control}\n canCreate\n description=\"Specify the feature path where auth functionality will be generated\"\n />\n <SelectFieldController\n label=\"Authentication Provider\"\n name=\"implementationPluginKey\"\n control={control}\n options={availableImplementations}\n renderItemLabel={(item) => (\n <div className=\"auth:flex auth:flex-col auth:gap-2\">\n <div className=\"auth:text-sm auth:font-medium\">\n {item.displayName}\n </div>\n <div className=\"auth:text-sm auth:text-muted-foreground\">\n {item.description}\n </div>\n </div>\n )}\n getOptionLabel={(item) => item.displayName}\n getOptionValue={(item) => item.key}\n description=\"The authentication provider to use for your project\"\n />\n </SectionListSectionContent>\n </SectionListSection>\n\n <RoleEditorForm control={control} />\n </SectionList>\n </div>\n\n <FormActionBar form={form} allowSaveWithoutDirty={!pluginMetadata} />\n </form>\n </div>\n </div>\n );\n}\n","import {\n createPlatformPluginExport,\n webConfigSpec,\n} from '@baseplate-dev/project-builder-lib';\n\nimport { AuthDefinitionEditor } from './components/auth-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, AuthDefinitionEditor);\n return {};\n },\n});\n"],"names":["useMemo","useFieldArrayOriginal","useDefinitionSchema","Button","zodResolver","jsxs","jsx","SectionListSection","SectionListSectionContent","SectionListSectionDescription","SectionListSectionHeader","SectionListSectionTitle","Fragment"],"mappings":";;;;;;;AAAA;AACA,MAAA,UAAAA,SAAA,CAAA,GAAA,MAAA,YAAA,CAAA,OAAA,CAAA;AAIA,SAAS,aAAa,CAAC,KAAK,EAAE;AAC9B,EAAE,MAAM,QAAQ,GAAGC,eAAqB,CAAC,KAAK,CAAC;AAC/C,EAAE,MAAM,SAAS,GAAGD,SAAO,CAAC,MAAM;AAClC,IAAI,IAAI,CAAC,KAAK,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AA;AAAA,sBAC/B,WAAA,EAAY;AAAA;AAAA;AACd,iBAAA,EACF;AAAA,eAAA,EACF,CAAA;AAAA,8BAEAA,qBAAA,CAAC,kBAAe,OAAA,EAAkB;AAAA,aAAA,EACpC;AAAA,WAAA,EACF,CAAA;AAAA,0BAEAA,qBAAA,CAAC,aAAA,EAAA,EAAc,IAAA,EAAY,qBAAA,EAAuB,CAAC,cAAA,EAAgB;AAAA,SAAA,EACrE;AAAA;AAAA;AACF,GAAA,EACF,CAAA;AAEJ;;AC7OA,MAAA,CAAA,0BAAA,CAAA,aAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AASA,YAAe,0BAAA,CAA2B;AAAA,EACxC,YAAA,EAAc;AAAA,IACZ,SAAA,EAAW;AAAA,GACb;AAAA,EACA,SAAS,EAAC;AAAA,EACV,YAAY,CAAC,EAAE,WAAU,EAAG,EAAE,WAAU,KAAM;AAC5C,IAAA,SAAA,CAAU,0BAAA,CAA2B,WAAW,oBAAoB,CAAA;AACpE,IAAA,OAAO,EAAC;AAAA,EACV;AACF,CAAC,CAAA;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"__federation_expose_authCoreWeb-C8rgnA2v.js","sources":["../../../../../node_modules/.pnpm/@hookform+lenses@0.8.1_react-hook-form@7.60.0_react@19.1.0__react@19.1.0/node_modules/@hookform/lenses/dist/rhf/index.js","../../../src/auth/core/components/role-editor-form/role-dialog.tsx","../../../src/auth/core/components/role-editor-form/role-editor-form.tsx","../../../src/auth/core/components/auth-definition-editor.tsx","../../../src/auth/core/web.ts"],"sourcesContent":["// src/rhf/useFieldArray.ts\nimport { useMemo } from \"react\";\nimport {\n useFieldArray as useFieldArrayOriginal\n} from \"react-hook-form\";\nfunction useFieldArray(props) {\n const original = useFieldArrayOriginal(props);\n const newFields = useMemo(() => {\n if (!props.getTransformer) {\n return original.fields;\n }\n return original.fields.map(props.getTransformer);\n }, [original.fields, props.getTransformer]);\n return {\n fields: newFields,\n move: original.move,\n remove: original.remove,\n swap: original.swap,\n prepend: (value, options) => {\n if (!props.setTransformer) {\n return original.prepend(value, options);\n }\n const newValue = Array.isArray(value) ? value.map(props.setTransformer) : props.setTransformer(value);\n original.prepend(newValue, options);\n },\n append: (value, options) => {\n if (!props.setTransformer) {\n return original.append(value, options);\n }\n const newValue = Array.isArray(value) ? value.map(props.setTransformer) : props.setTransformer(value);\n original.append(newValue, options);\n },\n insert: (index, value, options) => {\n if (!props.setTransformer) {\n return original.insert(index, value, options);\n }\n const newValue = Array.isArray(value) ? value.map(props.setTransformer) : props.setTransformer(value);\n original.insert(index, newValue, options);\n },\n update: (index, value) => {\n if (!props.setTransformer) {\n return original.update(index, value);\n }\n const newValue = props.setTransformer(value);\n original.update(index, newValue);\n },\n replace: (value) => {\n if (!props.setTransformer) {\n return original.replace(value);\n }\n const newValue = props.setTransformer(value);\n original.replace(newValue);\n }\n };\n}\nexport {\n useFieldArray\n};\n//# sourceMappingURL=index.js.map","import type React from 'react';\n\nimport { useDefinitionSchema } from '@baseplate-dev/project-builder-lib/web';\nimport {\n Button,\n Dialog,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n InputFieldController,\n} from '@baseplate-dev/ui-components';\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { useId } from 'react';\nimport { useForm } from 'react-hook-form';\n\nimport type { AuthRoleInput } from '../../schema/roles/schema.js';\n\nimport { createAuthRoleSchema } from '../../schema/roles/schema.js';\n\ninterface RoleDialogProps {\n open?: boolean;\n onOpenChange?: (open: boolean) => void;\n role?: AuthRoleInput;\n isNew?: boolean;\n onSave: (role: AuthRoleInput) => void;\n asChild?: boolean;\n children?: React.ReactNode;\n}\n\nexport function RoleDialog({\n open,\n onOpenChange,\n role,\n isNew = false,\n onSave,\n asChild,\n children,\n}: RoleDialogProps): React.JSX.Element {\n const authRoleSchema = useDefinitionSchema(createAuthRoleSchema);\n const form = useForm({\n resolver: zodResolver(authRoleSchema),\n values: role,\n });\n\n const { control, handleSubmit } = form;\n\n const onSubmit = handleSubmit((data) => {\n onSave(data);\n onOpenChange?.(false);\n });\n\n const formId = useId();\n\n return (\n <Dialog open={open} onOpenChange={onOpenChange}>\n <DialogTrigger asChild={asChild}>{children}</DialogTrigger>\n <DialogContent>\n <form\n id={formId}\n onSubmit={(e) => {\n e.stopPropagation();\n return onSubmit(e);\n }}\n >\n <DialogHeader>\n <DialogTitle>{isNew ? 'Add Role' : 'Edit Role'}</DialogTitle>\n <DialogDescription>\n {isNew\n ? 'Enter the details for the new role.'\n : 'Update the role details below.'}\n </DialogDescription>\n </DialogHeader>\n <div className=\"auth:space-y-4 auth:py-4\">\n <InputFieldController\n label=\"Role Name\"\n name=\"name\"\n control={control}\n placeholder=\"Enter role name\"\n />\n <InputFieldController\n label=\"Description\"\n name=\"comment\"\n control={control}\n placeholder=\"Describe this role's purpose\"\n />\n </div>\n <DialogFooter>\n <Button\n type=\"button\"\n variant=\"outline\"\n onClick={() => {\n onOpenChange?.(false);\n }}\n >\n Cancel\n </Button>\n <Button form={formId} type=\"submit\">\n {isNew ? 'Add' : 'Update'} Role\n </Button>\n </DialogFooter>\n </form>\n </DialogContent>\n </Dialog>\n );\n}\n","import type React from 'react';\nimport type { Control } from 'react-hook-form';\n\nimport { authRoleEntityType } from '@baseplate-dev/project-builder-lib';\nimport {\n Badge,\n Button,\n RecordView,\n RecordViewActions,\n RecordViewItem,\n RecordViewItemList,\n SectionListSection,\n SectionListSectionContent,\n SectionListSectionDescription,\n SectionListSectionHeader,\n SectionListSectionTitle,\n useConfirmDialog,\n} from '@baseplate-dev/ui-components';\nimport { useFieldArray } from '@hookform/lenses/rhf';\nimport { useState } from 'react';\nimport { useWatch } from 'react-hook-form';\nimport { MdAdd, MdDeleteOutline, MdEdit } from 'react-icons/md';\n\nimport type { AuthPluginDefinitionInput } from '../../schema/plugin-definition.js';\nimport type { AuthRoleInput } from '../../schema/roles/schema.js';\n\nimport { RoleDialog } from './role-dialog.js';\n\ninterface Props {\n className?: string;\n control: Control<AuthPluginDefinitionInput>;\n}\n\nexport function RoleEditorForm({\n className,\n control,\n}: Props): React.JSX.Element {\n const { requestConfirm } = useConfirmDialog();\n const { append, update, remove } = useFieldArray({\n control,\n name: 'roles',\n });\n const [roleToEdit, setRoleToEdit] = useState<AuthRoleInput | undefined>();\n const [isEditing, setIsEditing] = useState(false);\n\n const roles = useWatch({ control, name: 'roles' });\n\n function handleSaveRole(newRole: AuthRoleInput): void {\n const existingIndex = roles.findIndex((role) => role.id === newRole.id);\n if (existingIndex === -1) {\n append(newRole);\n } else {\n update(existingIndex, newRole);\n }\n }\n\n function handleDeleteRole(roleIdx: number): void {\n const role = roles[roleIdx];\n requestConfirm({\n title: 'Delete Role',\n content: `Are you sure you want to delete the role \"${role.name}\"?`,\n onConfirm: () => {\n remove(roleIdx);\n },\n });\n }\n\n return (\n <SectionListSection className={className}>\n <SectionListSectionHeader>\n <SectionListSectionTitle>User Roles</SectionListSectionTitle>\n <SectionListSectionDescription>\n Define roles for your application. Default roles are protected and\n cannot be removed.\n </SectionListSectionDescription>\n </SectionListSectionHeader>\n <SectionListSectionContent className=\"auth:space-y-4\">\n {roles.map((role, roleIdx) => (\n <RecordView key={role.id}>\n <RecordViewItemList>\n <RecordViewItem title=\"Name\">\n <div className=\"auth:flex auth:items-center auth:gap-2\">\n <span>{role.name}</span>\n </div>\n </RecordViewItem>\n <RecordViewItem title=\"Description\">\n {role.comment.trim() || (\n <span className=\"auth:text-muted-foreground\">\n No description\n </span>\n )}\n </RecordViewItem>\n </RecordViewItemList>\n <RecordViewActions>\n {role.builtIn && <Badge variant=\"secondary\">Default Role</Badge>}\n {!role.builtIn && (\n <>\n <Button\n variant=\"ghost\"\n size=\"icon\"\n title=\"Edit\"\n aria-label=\"Edit role\"\n onClick={() => {\n setRoleToEdit(role);\n setIsEditing(true);\n }}\n >\n <MdEdit />\n </Button>\n <Button\n variant=\"ghostDestructive\"\n size=\"icon\"\n title=\"Delete\"\n aria-label=\"Delete role\"\n onClick={() => {\n handleDeleteRole(roleIdx);\n }}\n >\n <MdDeleteOutline />\n </Button>\n </>\n )}\n </RecordViewActions>\n </RecordView>\n ))}\n <RoleDialog\n open={isEditing}\n onOpenChange={setIsEditing}\n role={roleToEdit}\n isNew={roleToEdit ? !roles.some((r) => r.id === roleToEdit.id) : true}\n onSave={handleSaveRole}\n />\n <Button\n variant=\"secondary\"\n size=\"sm\"\n onClick={() => {\n setRoleToEdit({\n id: authRoleEntityType.generateNewId(),\n name: '',\n comment: '',\n builtIn: false,\n });\n setIsEditing(true);\n }}\n >\n <MdAdd />\n Add Role\n </Button>\n </SectionListSectionContent>\n </SectionListSection>\n );\n}\n","import type { WebConfigProps } from '@baseplate-dev/project-builder-lib';\nimport type React from 'react';\n\nimport {\n FeatureUtils,\n getManagedPluginsForPlugin,\n PluginUtils,\n} from '@baseplate-dev/project-builder-lib';\nimport {\n FeatureComboboxFieldController,\n useBlockUnsavedChangesNavigate,\n useDefinitionSchema,\n useProjectDefinition,\n useResettableForm,\n} from '@baseplate-dev/project-builder-lib/web';\nimport {\n Alert,\n AlertDescription,\n AlertTitle,\n FormActionBar,\n SectionList,\n SectionListSection,\n SectionListSectionContent,\n SectionListSectionDescription,\n SectionListSectionHeader,\n SectionListSectionTitle,\n SelectFieldController,\n} from '@baseplate-dev/ui-components';\nimport { zodResolver } from '@hookform/resolvers/zod';\nimport { Link, useNavigate } from '@tanstack/react-router';\nimport { useMemo } from 'react';\n\nimport { AuthConfigTabs } from '#src/common/components/auth-config-tabs.js';\n\nimport type { AuthPluginDefinitionInput } from '../schema/plugin-definition.js';\n\nimport { createAuthPluginDefinitionSchema } from '../schema/plugin-definition.js';\nimport { createDefaultAuthRoles } from '../schema/roles/constants.js';\nimport { RoleEditorForm } from './role-editor-form/role-editor-form.js';\n\nimport '#src/styles.css';\n\nexport function AuthDefinitionEditor({\n definition: pluginMetadata,\n metadata,\n onSave,\n}: WebConfigProps): React.JSX.Element {\n const {\n definition,\n definitionContainer,\n schemaParserContext,\n saveDefinitionWithFeedback,\n } = useProjectDefinition();\n\n const authPluginDefinitionSchema = useDefinitionSchema(\n createAuthPluginDefinitionSchema,\n );\n\n const availableImplementations = getManagedPluginsForPlugin(\n schemaParserContext.pluginStore,\n metadata.key,\n );\n // Use local auth by default\n const defaultImplementation =\n availableImplementations.find(\n (i) => i.fullyQualifiedName === '@baseplate-dev/plugin-auth:local-auth',\n ) ?? availableImplementations[0];\n\n const defaultValues = useMemo(() => {\n if (pluginMetadata?.config) {\n return pluginMetadata.config as AuthPluginDefinitionInput;\n }\n\n const defaultAuthFeatureRef = FeatureUtils.getFeatureIdByNameOrDefault(\n definition,\n 'auth',\n );\n\n return {\n implementationPluginKey: defaultImplementation.key,\n authFeatureRef: defaultAuthFeatureRef,\n roles: createDefaultAuthRoles(),\n } satisfies AuthPluginDefinitionInput;\n }, [definition, pluginMetadata?.config, defaultImplementation]);\n\n const form = useResettableForm({\n resolver: zodResolver(authPluginDefinitionSchema),\n defaultValues,\n });\n const { control, reset, handleSubmit, watch } = form;\n\n const implementationPluginKey = watch('implementationPluginKey');\n const selectedPlugin =\n implementationPluginKey &&\n availableImplementations.find((i) => i.key === implementationPluginKey);\n const isSelectedImplementationActive = !!PluginUtils.byKey(\n definitionContainer.definition,\n implementationPluginKey,\n );\n const hasSelectedImplementationChanged =\n implementationPluginKey !==\n (pluginMetadata?.config as AuthPluginDefinitionInput | undefined)\n ?.implementationPluginKey;\n\n const selectedImplementationUrl = selectedPlugin\n ? `/plugins/edit/${selectedPlugin.key}`\n : undefined;\n const navigate = useNavigate();\n\n const onSubmit = handleSubmit((data) =>\n saveDefinitionWithFeedback(\n (draftConfig) => {\n const featureRef = FeatureUtils.ensureFeatureByNameRecursively(\n draftConfig,\n data.authFeatureRef,\n );\n PluginUtils.setPluginConfig(\n draftConfig,\n metadata,\n {\n ...data,\n authFeatureRef: featureRef,\n },\n definitionContainer,\n );\n\n // Make sure we disable other plugins that are not the selected implementation\n const otherPlugins = availableImplementations.filter(\n (i) => i.key !== implementationPluginKey,\n );\n for (const plugin of otherPlugins) {\n PluginUtils.disablePlugin(\n draftConfig,\n plugin.key,\n definitionContainer.parserContext,\n );\n }\n },\n {\n successMessage: `Successfully saved auth plugin! ${selectedImplementationUrl && !isSelectedImplementationActive ? `Please configure the provider plugin before syncing.` : ''}`,\n onSuccess: () => {\n onSave();\n\n if (selectedImplementationUrl && !isSelectedImplementationActive) {\n setTimeout(() => {\n navigate({ to: selectedImplementationUrl });\n }, 100);\n }\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 {!isSelectedImplementationActive &&\n selectedPlugin &&\n !hasSelectedImplementationChanged && (\n <Alert variant=\"warning\">\n <AlertTitle>Implementation Provider Not Active</AlertTitle>\n <AlertDescription>\n <p>\n The selected implementation provider is not active. Please\n make sure{' '}\n <Link\n to={selectedImplementationUrl}\n className=\"auth:inline-block auth:font-medium\"\n >\n configure the provider\n </Link>{' '}\n before syncing.\n </p>\n </AlertDescription>\n </Alert>\n )}\n <SectionList>\n <SectionListSection>\n <SectionListSectionHeader>\n <SectionListSectionTitle>\n General Settings\n </SectionListSectionTitle>\n <SectionListSectionDescription>\n Configure the general settings for the auth plugin.\n </SectionListSectionDescription>\n </SectionListSectionHeader>\n <SectionListSectionContent className=\"auth:space-y-6\">\n <FeatureComboboxFieldController\n label=\"Auth Feature Path\"\n name=\"authFeatureRef\"\n control={control}\n canCreate\n description=\"Specify the feature path where auth functionality will be generated\"\n />\n <SelectFieldController\n label=\"Authentication Provider\"\n name=\"implementationPluginKey\"\n control={control}\n options={availableImplementations}\n renderItemLabel={(item) => (\n <div className=\"auth:flex auth:flex-col auth:gap-2\">\n <div className=\"auth:text-sm auth:font-medium\">\n {item.displayName}\n </div>\n <div className=\"auth:text-sm auth:text-muted-foreground\">\n {item.description}\n </div>\n </div>\n )}\n getOptionLabel={(item) => item.displayName}\n getOptionValue={(item) => item.key}\n description=\"The authentication provider to use for your project\"\n />\n </SectionListSectionContent>\n </SectionListSection>\n\n <RoleEditorForm control={control} />\n </SectionList>\n </div>\n\n <FormActionBar form={form} allowSaveWithoutDirty={!pluginMetadata} />\n </form>\n </div>\n </div>\n );\n}\n","import {\n createPlatformPluginExport,\n webConfigSpec,\n} from '@baseplate-dev/project-builder-lib';\n\nimport { AuthDefinitionEditor } from './components/auth-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, AuthDefinitionEditor);\n return {};\n },\n});\n"],"names":["useMemo","useFieldArrayOriginal","useDefinitionSchema","Button","zodResolver","jsxs","jsx","SectionListSection","SectionListSectionContent","SectionListSectionDescription","SectionListSectionHeader","SectionListSectionTitle","Fragment"],"mappings":";;;;;;;AAAA;AACA,MAAA,UAAAA,SAAA,CAAA,GAAA,MAAA,YAAA,CAAA,OAAA,CAAA;AAIA,SAAS,aAAa,CAAC,KAAK,EAAE;AAC9B,EAAE,MAAM,QAAQ,GAAGC,eAAqB,CAAC,KAAK,CAAC;AAC/C,EAAE,MAAM,SAAS,GAAGD,SAAO,CAAC,MAAM;AAClC,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE;AAC/B,MAAM,OAAO,QAAQ,CAAC,MAAM;AAC5B,IAAI;AACJ,IAAI,OAAO,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,cAA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,EACpC;AAAA,WAAA,EACF,CAAA;AAAA,0BAEAA,qBAAA,CAAC,aAAA,EAAA,EAAc,IAAA,EAAY,qBAAA,EAAuB,CAAC,cAAA,EAAgB;AAAA,SAAA,EACrE;AAAA;AAAA;AACF,GAAA,EACF,CAAA;AAEJ;;AC7OA,MAAA,CAAA,0BAAA,CAAA,aAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;AASA,YAAe,0BAAA,CAA2B;AAAA,EACxC,YAAA,EAAc;AAAA,IACZ,SAAA,EAAW;AAAA,GACb;AAAA,EACA,SAAS,EAAC;AAAA,EACV,YAAY,CAAC,EAAE,WAAU,EAAG,EAAE,WAAU,KAAM;AAC5C,IAAA,SAAA,CAAU,0BAAA,CAA2B,WAAW,oBAAoB,CAAA;AACpE,IAAA,OAAO,EAAC;AAAA,EACV;AACF,CAAC,CAAA;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { importShared } from './__federation_fn_import-
|
|
1
|
+
import { importShared } from './__federation_fn_import-C_QCk5FX.js';
|
|
2
2
|
|
|
3
3
|
const {baseAdminCrudActionSchema: baseAdminCrudActionSchema$1,definitionSchema: definitionSchema$2} = await importShared('@baseplate-dev/project-builder-lib');
|
|
4
4
|
|
|
@@ -61,4 +61,4 @@ const common = createPlatformPluginExport({
|
|
|
61
61
|
});
|
|
62
62
|
|
|
63
63
|
export { common as default };
|
|
64
|
-
//# sourceMappingURL=__federation_expose_local-authAdminCommon-
|
|
64
|
+
//# sourceMappingURL=__federation_expose_local-authAdminCommon-C75-DAzO.js.map
|