@baseplate-dev/plugin-auth 3.0.3 → 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
|
@@ -13,15 +13,24 @@ export declare const auth0ModuleGenerator: import("@baseplate-dev/sync").Generat
|
|
|
13
13
|
}, {
|
|
14
14
|
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0ModulePaths>;
|
|
15
15
|
}, undefined>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
renderers: import("@baseplate-dev/sync").GeneratorTask<{
|
|
17
|
+
auth0Auth0ModuleRenderers: import("@baseplate-dev/sync").ProviderExport<import("./generated/template-renderers.js").Auth0Auth0ModuleRenderers>;
|
|
18
|
+
}, {
|
|
19
|
+
authContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
20
|
+
AuthContext: {
|
|
21
|
+
isTypeOnly: true;
|
|
22
|
+
};
|
|
23
|
+
AuthSessionInfo: {
|
|
24
|
+
isTypeOnly: true;
|
|
25
|
+
};
|
|
26
|
+
AuthUserSessionInfo: {
|
|
27
|
+
isTypeOnly: true;
|
|
28
|
+
};
|
|
29
|
+
createAnonymousAuthContext: {};
|
|
30
|
+
createAuthContextFromSessionInfo: {};
|
|
31
|
+
createSystemAuthContext: {};
|
|
32
|
+
InvalidSessionError: {};
|
|
33
|
+
}>>;
|
|
25
34
|
authRolesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
26
35
|
AUTH_ROLE_CONFIG: {};
|
|
27
36
|
AuthRole: {
|
|
@@ -36,7 +45,14 @@ export declare const auth0ModuleGenerator: import("@baseplate-dev/sync").Generat
|
|
|
36
45
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
37
46
|
config: {};
|
|
38
47
|
}>>;
|
|
39
|
-
|
|
48
|
+
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0ModulePaths>;
|
|
49
|
+
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
50
|
+
builder: {};
|
|
51
|
+
}>>;
|
|
52
|
+
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
53
|
+
prisma: {};
|
|
54
|
+
}>>;
|
|
55
|
+
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
40
56
|
userSessionTypesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
41
57
|
UserSessionPayload: {
|
|
42
58
|
isTypeOnly: true;
|
|
@@ -45,21 +61,19 @@ export declare const auth0ModuleGenerator: import("@baseplate-dev/sync").Generat
|
|
|
45
61
|
isTypeOnly: true;
|
|
46
62
|
};
|
|
47
63
|
}>>;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
InvalidSessionError: {};
|
|
62
|
-
}>>;
|
|
64
|
+
}, undefined>;
|
|
65
|
+
nodeManagementPackage: import("@baseplate-dev/sync").AnyGeneratorTask | undefined;
|
|
66
|
+
config: import("@baseplate-dev/sync").GeneratorTask<undefined, {
|
|
67
|
+
provider: import("@baseplate-dev/sync").ProviderType<Omit<import("@baseplate-dev/utils").FieldMap<{
|
|
68
|
+
configFields: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/fastify-generators").ConfigServiceField>;
|
|
69
|
+
}>, "getValues">>;
|
|
70
|
+
}, undefined>;
|
|
71
|
+
main: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
72
|
+
prismaOutput: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/fastify-generators").PrismaOutputProvider>;
|
|
73
|
+
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0ModulePaths>;
|
|
74
|
+
renderers: import("@baseplate-dev/sync").ProviderType<import("./generated/template-renderers.js").Auth0Auth0ModuleRenderers>;
|
|
75
|
+
userObjectType: import("@baseplate-dev/sync").ProviderDependency<import("@baseplate-dev/fastify-generators").PothosTypeOutputProvider>;
|
|
76
|
+
appModule: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/fastify-generators").AppModuleProvider>;
|
|
63
77
|
}, any>;
|
|
64
78
|
nodePackages: import("@baseplate-dev/sync").AnyGeneratorTask;
|
|
65
79
|
fastifyAuth0Plugin: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth0-module.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth0-module.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0H/B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createNodePackagesTask, extractPackageVersions, tsCodeFragment, tsImportBuilder,
|
|
2
|
-
import {
|
|
1
|
+
import { createNodePackagesTask, extractPackageVersions, tsCodeFragment, tsImportBuilder, } from '@baseplate-dev/core-generators';
|
|
2
|
+
import { appModuleProvider, configServiceImportsProvider, configServiceProvider, createPothosPrismaObjectTypeOutputName, fastifyServerConfigProvider, pothosTypeOutputProvider, prismaOutputProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
3
|
import { createGenerator, createGeneratorTask, createProviderTask, } from '@baseplate-dev/sync';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { AUTH0_MODELS } from '#src/auth0/constants/model-names.js';
|
|
@@ -15,6 +15,7 @@ export const auth0ModuleGenerator = createGenerator({
|
|
|
15
15
|
buildTasks: ({ includeManagement }) => ({
|
|
16
16
|
paths: AUTH0_AUTH0_MODULE_GENERATED.paths.task,
|
|
17
17
|
imports: AUTH0_AUTH0_MODULE_GENERATED.imports.task,
|
|
18
|
+
renderers: AUTH0_AUTH0_MODULE_GENERATED.renderers.task,
|
|
18
19
|
nodeManagementPackage: includeManagement
|
|
19
20
|
? createNodePackagesTask({
|
|
20
21
|
prod: extractPackageVersions(AUTH0_PACKAGES, ['auth0']),
|
|
@@ -56,40 +57,33 @@ export const auth0ModuleGenerator = createGenerator({
|
|
|
56
57
|
}),
|
|
57
58
|
main: createGeneratorTask({
|
|
58
59
|
dependencies: {
|
|
59
|
-
typescriptFile: typescriptFileProvider,
|
|
60
|
-
paths: AUTH0_AUTH0_MODULE_GENERATED.paths.provider,
|
|
61
|
-
authRolesImports: authRolesImportsProvider,
|
|
62
|
-
configServiceImports: configServiceImportsProvider,
|
|
63
60
|
prismaOutput: prismaOutputProvider,
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
paths: AUTH0_AUTH0_MODULE_GENERATED.paths.provider,
|
|
62
|
+
renderers: AUTH0_AUTH0_MODULE_GENERATED.renderers.provider,
|
|
63
|
+
userObjectType: pothosTypeOutputProvider
|
|
64
|
+
.dependency()
|
|
65
|
+
.reference(createPothosPrismaObjectTypeOutputName(AUTH0_MODELS.user)),
|
|
66
|
+
appModule: appModuleProvider,
|
|
66
67
|
},
|
|
67
|
-
run({
|
|
68
|
+
run({ prismaOutput, renderers, userObjectType, appModule, paths }) {
|
|
68
69
|
return {
|
|
69
70
|
providers: {
|
|
70
71
|
auth0Module: {},
|
|
71
72
|
},
|
|
72
73
|
build: async (builder) => {
|
|
73
|
-
await builder.apply(
|
|
74
|
-
template: AUTH0_AUTH0_MODULE_GENERATED.templates.userSessionService,
|
|
75
|
-
destination: paths.userSessionService,
|
|
74
|
+
await builder.apply(renderers.userSessionQueries.render({
|
|
76
75
|
variables: {
|
|
77
|
-
|
|
76
|
+
TPL_USER_OBJECT_TYPE: userObjectType.getTypeReference().fragment,
|
|
78
77
|
},
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
}));
|
|
79
|
+
appModule.moduleImports.push(paths.userSessionQueries);
|
|
80
|
+
await builder.apply(renderers.userSessionService.render({
|
|
81
|
+
variables: {
|
|
82
|
+
TPL_USER_MODEL: prismaOutput.getPrismaModelFragment(AUTH0_MODELS.user),
|
|
83
83
|
},
|
|
84
84
|
}));
|
|
85
85
|
if (includeManagement) {
|
|
86
|
-
await builder.apply(
|
|
87
|
-
template: AUTH0_AUTH0_MODULE_GENERATED.templates.management,
|
|
88
|
-
destination: paths.management,
|
|
89
|
-
importMapProviders: {
|
|
90
|
-
configServiceImports,
|
|
91
|
-
},
|
|
92
|
-
}));
|
|
86
|
+
await builder.apply(renderers.management.render({}));
|
|
93
87
|
}
|
|
94
88
|
},
|
|
95
89
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth0-module.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,eAAe,
|
|
1
|
+
{"version":3,"file":"auth0-module.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"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"}
|
|
@@ -51,6 +51,12 @@ export declare const AUTH0_AUTH0_MODULE_GENERATED: {
|
|
|
51
51
|
config: {};
|
|
52
52
|
}>>;
|
|
53
53
|
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").Auth0Auth0ModulePaths>;
|
|
54
|
+
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
55
|
+
builder: {};
|
|
56
|
+
}>>;
|
|
57
|
+
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
58
|
+
prisma: {};
|
|
59
|
+
}>>;
|
|
54
60
|
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
55
61
|
userSessionTypesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
56
62
|
UserSessionPayload: {
|
|
@@ -68,6 +74,16 @@ export declare const AUTH0_AUTH0_MODULE_GENERATED: {
|
|
|
68
74
|
config: {};
|
|
69
75
|
}>>;
|
|
70
76
|
}, Record<never, Record<never, never>>>;
|
|
77
|
+
userSessionQueries: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
78
|
+
TPL_USER_OBJECT_TYPE: {};
|
|
79
|
+
}, {
|
|
80
|
+
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
81
|
+
builder: {};
|
|
82
|
+
}>>;
|
|
83
|
+
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
84
|
+
prisma: {};
|
|
85
|
+
}>>;
|
|
86
|
+
}, Record<never, Record<never, never>>>;
|
|
71
87
|
userSessionService: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
72
88
|
TPL_USER_MODEL: {};
|
|
73
89
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;
|
|
1
|
+
{"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAwBD,eAAO,MAAM,wBAAwB;;;;;;;CAGpC,CAAC"}
|
|
@@ -10,6 +10,7 @@ const auth0Auth0ModulePathsTask = createGeneratorTask({
|
|
|
10
10
|
providers: {
|
|
11
11
|
auth0Auth0ModulePaths: {
|
|
12
12
|
management: `${moduleRoot}/services/management.ts`,
|
|
13
|
+
userSessionQueries: `${moduleRoot}/schema/user-session.queries.ts`,
|
|
13
14
|
userSessionService: `${moduleRoot}/services/user-session.service.ts`,
|
|
14
15
|
},
|
|
15
16
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAQ9E,MAAM,qBAAqB,GAAG,kBAAkB,CAC9C,0BAA0B,CAC3B,CAAC;AAEF,MAAM,yBAAyB,GAAG,mBAAmB,CAAC;IACpD,YAAY,EAAE,EAAE,SAAS,EAAE,iBAAiB,EAAE;IAC9C,OAAO,EAAE,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,MAAM,EAAE,EAAE;IAClE,GAAG,CAAC,EAAE,SAAS,EAAE;QACf,MAAM,UAAU,GAAG,SAAS,CAAC,eAAe,EAAE,CAAC;QAE/C,OAAO;YACL,SAAS,EAAE;gBACT,qBAAqB,EAAE;oBACrB,UAAU,EAAE,GAAG,UAAU,yBAAyB;oBAClD,kBAAkB,EAAE,GAAG,UAAU,iCAAiC;oBAClE,kBAAkB,EAAE,GAAG,UAAU,mCAAmC;iBACrE;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,qBAAqB;IAC/B,IAAI,EAAE,yBAAyB;CAChC,CAAC"}
|
|
@@ -5,6 +5,9 @@ export interface Auth0Auth0ModuleRenderers {
|
|
|
5
5
|
management: {
|
|
6
6
|
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_AUTH0_MODULE_TEMPLATES.management>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
|
+
userSessionQueries: {
|
|
9
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_AUTH0_MODULE_TEMPLATES.userSessionQueries>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
10
|
+
};
|
|
8
11
|
userSessionService: {
|
|
9
12
|
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_AUTH0_MODULE_TEMPLATES.userSessionService>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
10
13
|
};
|
|
@@ -44,6 +47,12 @@ export declare const AUTH0_AUTH0_MODULE_RENDERERS: {
|
|
|
44
47
|
config: {};
|
|
45
48
|
}>>;
|
|
46
49
|
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").Auth0Auth0ModulePaths>;
|
|
50
|
+
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
51
|
+
builder: {};
|
|
52
|
+
}>>;
|
|
53
|
+
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
54
|
+
prisma: {};
|
|
55
|
+
}>>;
|
|
47
56
|
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
48
57
|
userSessionTypesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
49
58
|
UserSessionPayload: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAczD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,4BAA4B,CAAC,UAAU,CAC/C,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;IACF,kBAAkB,EAAE;QAClB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,4BAA4B,CAAC,kBAAkB,CACvD,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;IACF,kBAAkB,EAAE;QAClB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,4BAA4B,CAAC,kBAAkB,CACvD,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAyED,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { typescriptFileProvider } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
2
|
+
import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, pothosImportsProvider, prismaImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
3
|
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
|
|
4
4
|
import { AUTH0_AUTH0_MODULE_PATHS } from './template-paths.js';
|
|
5
5
|
import { AUTH0_AUTH0_MODULE_TEMPLATES } from './typed-templates.js';
|
|
@@ -10,11 +10,13 @@ const auth0Auth0ModuleRenderersTask = createGeneratorTask({
|
|
|
10
10
|
authRolesImports: authRolesImportsProvider,
|
|
11
11
|
configServiceImports: configServiceImportsProvider,
|
|
12
12
|
paths: AUTH0_AUTH0_MODULE_PATHS.provider,
|
|
13
|
+
pothosImports: pothosImportsProvider,
|
|
14
|
+
prismaImports: prismaImportsProvider,
|
|
13
15
|
typescriptFile: typescriptFileProvider,
|
|
14
16
|
userSessionTypesImports: userSessionTypesImportsProvider,
|
|
15
17
|
},
|
|
16
18
|
exports: { auth0Auth0ModuleRenderers: auth0Auth0ModuleRenderers.export() },
|
|
17
|
-
run({ authContextImports, authRolesImports, configServiceImports, paths, typescriptFile, userSessionTypesImports, }) {
|
|
19
|
+
run({ authContextImports, authRolesImports, configServiceImports, paths, pothosImports, prismaImports, typescriptFile, userSessionTypesImports, }) {
|
|
18
20
|
return {
|
|
19
21
|
providers: {
|
|
20
22
|
auth0Auth0ModuleRenderers: {
|
|
@@ -28,6 +30,17 @@ const auth0Auth0ModuleRenderersTask = createGeneratorTask({
|
|
|
28
30
|
...options,
|
|
29
31
|
}),
|
|
30
32
|
},
|
|
33
|
+
userSessionQueries: {
|
|
34
|
+
render: (options) => typescriptFile.renderTemplateFile({
|
|
35
|
+
template: AUTH0_AUTH0_MODULE_TEMPLATES.userSessionQueries,
|
|
36
|
+
destination: paths.userSessionQueries,
|
|
37
|
+
importMapProviders: {
|
|
38
|
+
pothosImports,
|
|
39
|
+
prismaImports,
|
|
40
|
+
},
|
|
41
|
+
...options,
|
|
42
|
+
}),
|
|
43
|
+
},
|
|
31
44
|
userSessionService: {
|
|
32
45
|
render: (options) => typescriptFile.renderTemplateFile({
|
|
33
46
|
template: AUTH0_AUTH0_MODULE_TEMPLATES.userSessionService,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-renderers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-renderers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,qBAAqB,EACrB,qBAAqB,EACrB,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAmCpE,MAAM,yBAAyB,GAAG,kBAAkB,CAClD,8BAA8B,CAC/B,CAAC;AAEF,MAAM,6BAA6B,GAAG,mBAAmB,CAAC;IACxD,YAAY,EAAE;QACZ,kBAAkB,EAAE,0BAA0B;QAC9C,gBAAgB,EAAE,wBAAwB;QAC1C,oBAAoB,EAAE,4BAA4B;QAClD,KAAK,EAAE,wBAAwB,CAAC,QAAQ;QACxC,aAAa,EAAE,qBAAqB;QACpC,aAAa,EAAE,qBAAqB;QACpC,cAAc,EAAE,sBAAsB;QACtC,uBAAuB,EAAE,+BAA+B;KACzD;IACD,OAAO,EAAE,EAAE,yBAAyB,EAAE,yBAAyB,CAAC,MAAM,EAAE,EAAE;IAC1E,GAAG,CAAC,EACF,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,EACL,aAAa,EACb,aAAa,EACb,cAAc,EACd,uBAAuB,GACxB;QACC,OAAO;YACL,SAAS,EAAE;gBACT,yBAAyB,EAAE;oBACzB,UAAU,EAAE;wBACV,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EAAE,4BAA4B,CAAC,UAAU;4BACjD,WAAW,EAAE,KAAK,CAAC,UAAU;4BAC7B,kBAAkB,EAAE;gCAClB,oBAAoB;6BACrB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,kBAAkB,EAAE;wBAClB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EAAE,4BAA4B,CAAC,kBAAkB;4BACzD,WAAW,EAAE,KAAK,CAAC,kBAAkB;4BACrC,kBAAkB,EAAE;gCAClB,aAAa;gCACb,aAAa;6BACd;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,kBAAkB,EAAE;wBAClB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EAAE,4BAA4B,CAAC,kBAAkB;4BACzD,WAAW,EAAE,KAAK,CAAC,kBAAkB;4BACrC,kBAAkB,EAAE;gCAClB,kBAAkB;gCAClB,gBAAgB;gCAChB,uBAAuB;6BACxB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,QAAQ,EAAE,yBAAyB;IACnC,IAAI,EAAE,6BAA6B;CACpC,CAAC"}
|
|
@@ -4,6 +4,16 @@ export declare const AUTH0_AUTH0_MODULE_TEMPLATES: {
|
|
|
4
4
|
config: {};
|
|
5
5
|
}>>;
|
|
6
6
|
}, Record<never, Record<never, never>>>;
|
|
7
|
+
userSessionQueries: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
8
|
+
TPL_USER_OBJECT_TYPE: {};
|
|
9
|
+
}, {
|
|
10
|
+
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
11
|
+
builder: {};
|
|
12
|
+
}>>;
|
|
13
|
+
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
14
|
+
prisma: {};
|
|
15
|
+
}>>;
|
|
16
|
+
}, Record<never, Record<never, never>>>;
|
|
7
17
|
userSessionService: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
8
18
|
TPL_USER_MODEL: {};
|
|
9
19
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/typed-templates.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createTsTemplateFile } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
2
|
+
import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, pothosImportsProvider, prismaImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
const management = createTsTemplateFile({
|
|
5
5
|
fileOptions: { kind: 'singleton' },
|
|
@@ -10,6 +10,18 @@ const management = createTsTemplateFile({
|
|
|
10
10
|
},
|
|
11
11
|
variables: {},
|
|
12
12
|
});
|
|
13
|
+
const userSessionQueries = createTsTemplateFile({
|
|
14
|
+
fileOptions: { kind: 'singleton' },
|
|
15
|
+
importMapProviders: {
|
|
16
|
+
pothosImports: pothosImportsProvider,
|
|
17
|
+
prismaImports: prismaImportsProvider,
|
|
18
|
+
},
|
|
19
|
+
name: 'user-session-queries',
|
|
20
|
+
source: {
|
|
21
|
+
path: path.join(import.meta.dirname, '../templates/module/schema/user-session.queries.ts'),
|
|
22
|
+
},
|
|
23
|
+
variables: { TPL_USER_OBJECT_TYPE: {} },
|
|
24
|
+
});
|
|
13
25
|
const userSessionService = createTsTemplateFile({
|
|
14
26
|
fileOptions: { kind: 'singleton' },
|
|
15
27
|
importMapProviders: {
|
|
@@ -24,5 +36,9 @@ const userSessionService = createTsTemplateFile({
|
|
|
24
36
|
},
|
|
25
37
|
variables: { TPL_USER_MODEL: {} },
|
|
26
38
|
});
|
|
27
|
-
export const AUTH0_AUTH0_MODULE_TEMPLATES = {
|
|
39
|
+
export const AUTH0_AUTH0_MODULE_TEMPLATES = {
|
|
40
|
+
management,
|
|
41
|
+
userSessionQueries,
|
|
42
|
+
userSessionService,
|
|
43
|
+
};
|
|
28
44
|
//# sourceMappingURL=typed-templates.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,UAAU,GAAG,oBAAoB,CAAC;IACtC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE,EAAE,oBAAoB,EAAE,4BAA4B,EAAE;IAC1E,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,4CAA4C,CAC7C;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;IAC9C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE;QAClB,kBAAkB,EAAE,0BAA0B;QAC9C,gBAAgB,EAAE,wBAAwB;QAC1C,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,sBAAsB;IAC5B,cAAc,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE;IAC1C,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,sDAAsD,CACvD;KACF;IACD,SAAS,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,qBAAqB,EACrB,qBAAqB,EACrB,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,UAAU,GAAG,oBAAoB,CAAC;IACtC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE,EAAE,oBAAoB,EAAE,4BAA4B,EAAE;IAC1E,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,4CAA4C,CAC7C;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;IAC9C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE;QAClB,aAAa,EAAE,qBAAqB;QACpC,aAAa,EAAE,qBAAqB;KACrC;IACD,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,oDAAoD,CACrD;KACF;IACD,SAAS,EAAE,EAAE,oBAAoB,EAAE,EAAE,EAAE;CACxC,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;IAC9C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE;QAClB,kBAAkB,EAAE,0BAA0B;QAC9C,gBAAgB,EAAE,wBAAwB;QAC1C,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,sBAAsB;IAC5B,cAAc,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE;IAC1C,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,sDAAsD,CACvD;KACF;IACD,SAAS,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,UAAU;IACV,kBAAkB;IAClB,kBAAkB;CACnB,CAAC"}
|
package/dist/auth0/generators/fastify/auth0-module/templates/module/schema/user-session.queries.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
import { builder } from '%pothosImports';
|
|
4
|
+
import { prisma } from '%prismaImports';
|
|
5
|
+
|
|
6
|
+
builder.queryField('viewer', (t) =>
|
|
7
|
+
t.prismaField({
|
|
8
|
+
type: TPL_USER_OBJECT_TYPE,
|
|
9
|
+
nullable: true,
|
|
10
|
+
description: 'The currently authenticated user',
|
|
11
|
+
authorize: ['public'],
|
|
12
|
+
resolve: async (query, root, args, { auth }) => {
|
|
13
|
+
if (!auth.session || auth.session.type !== 'user') {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
return prisma.user.findUnique({
|
|
17
|
+
where: { id: auth.session.userId },
|
|
18
|
+
...query,
|
|
19
|
+
});
|
|
20
|
+
},
|
|
21
|
+
}),
|
|
22
|
+
);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const auth0HooksGenerator: import("@baseplate-dev/sync").GeneratorBundleCreator<{
|
|
2
|
-
userQueryName?: string | undefined;
|
|
3
2
|
authRoles?: string[] | undefined;
|
|
4
3
|
}, {
|
|
5
4
|
paths: import("@baseplate-dev/sync").GeneratorTask<{
|
|
@@ -12,7 +11,6 @@ export declare const auth0HooksGenerator: import("@baseplate-dev/sync").Generato
|
|
|
12
11
|
SessionData: {
|
|
13
12
|
isTypeOnly: true;
|
|
14
13
|
};
|
|
15
|
-
useCurrentUser: {};
|
|
16
14
|
useLogOut: {};
|
|
17
15
|
useRequiredUserId: {};
|
|
18
16
|
useSession: {};
|
|
@@ -26,9 +24,6 @@ export declare const auth0HooksGenerator: import("@baseplate-dev/sync").Generato
|
|
|
26
24
|
renderers: import("@baseplate-dev/sync").GeneratorTask<{
|
|
27
25
|
auth0Auth0HooksRenderers: import("@baseplate-dev/sync").ProviderExport<import("./generated/template-renderers.js").Auth0Auth0HooksRenderers>;
|
|
28
26
|
}, {
|
|
29
|
-
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
30
|
-
'*': {};
|
|
31
|
-
}>>;
|
|
32
27
|
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0HooksPaths>;
|
|
33
28
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
34
29
|
formatError: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth0-hooks.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-hooks/auth0-hooks.generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth0-hooks.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-hooks/auth0-hooks.generator.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+B9B,CAAC"}
|
|
@@ -4,14 +4,13 @@ import { quot } from '@baseplate-dev/utils';
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { AUTH0_AUTH0_HOOKS_GENERATED } from './generated/index.js';
|
|
6
6
|
const descriptorSchema = z.object({
|
|
7
|
-
userQueryName: z.string().default('user'),
|
|
8
7
|
authRoles: z.array(z.string()).default([]),
|
|
9
8
|
});
|
|
10
9
|
export const auth0HooksGenerator = createGenerator({
|
|
11
10
|
name: 'auth0/auth0-hooks',
|
|
12
11
|
generatorFileUrl: import.meta.url,
|
|
13
12
|
descriptorSchema,
|
|
14
|
-
buildTasks: ({
|
|
13
|
+
buildTasks: ({ authRoles }) => ({
|
|
15
14
|
paths: AUTH0_AUTH0_HOOKS_GENERATED.paths.task,
|
|
16
15
|
imports: AUTH0_AUTH0_HOOKS_GENERATED.imports.task,
|
|
17
16
|
renderers: AUTH0_AUTH0_HOOKS_GENERATED.renderers.task,
|
|
@@ -24,19 +23,11 @@ export const auth0HooksGenerator = createGenerator({
|
|
|
24
23
|
build: async (builder) => {
|
|
25
24
|
await builder.apply(renderers.hooksGroup.render({
|
|
26
25
|
variables: {
|
|
27
|
-
useCurrentUser: {
|
|
28
|
-
TPL_USER: userQueryName,
|
|
29
|
-
},
|
|
30
26
|
useSession: {
|
|
31
27
|
TPL_AUTH_ROLES: TsCodeUtils.mergeFragmentsAsArrayPresorted([...authRoles].sort().map((role) => quot(role))),
|
|
32
28
|
},
|
|
33
29
|
},
|
|
34
30
|
}));
|
|
35
|
-
await builder.apply(renderers.useCurrentUserGql.render({
|
|
36
|
-
variables: {
|
|
37
|
-
TPL_USER_QUERY_NAME: userQueryName,
|
|
38
|
-
},
|
|
39
|
-
}));
|
|
40
31
|
},
|
|
41
32
|
};
|
|
42
33
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth0-hooks.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-hooks/auth0-hooks.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,
|
|
1
|
+
{"version":3,"file":"auth0-hooks.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-hooks/auth0-hooks.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC3C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC;IACjD,IAAI,EAAE,mBAAmB;IACzB,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACjC,gBAAgB;IAChB,UAAU,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC;QAC9B,KAAK,EAAE,2BAA2B,CAAC,KAAK,CAAC,IAAI;QAC7C,OAAO,EAAE,2BAA2B,CAAC,OAAO,CAAC,IAAI;QACjD,SAAS,EAAE,2BAA2B,CAAC,SAAS,CAAC,IAAI;QACrD,IAAI,EAAE,mBAAmB,CAAC;YACxB,YAAY,EAAE;gBACZ,SAAS,EAAE,2BAA2B,CAAC,SAAS,CAAC,QAAQ;aAC1D;YACD,GAAG,CAAC,EAAE,SAAS,EAAE;gBACf,OAAO;oBACL,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;wBACvB,MAAM,OAAO,CAAC,KAAK,CACjB,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC;4BAC1B,SAAS,EAAE;gCACT,UAAU,EAAE;oCACV,cAAc,EAAE,WAAW,CAAC,8BAA8B,CACxD,CAAC,GAAG,SAAS,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAChD;iCACF;6BACF;yBACF,CAAC,CACH,CAAC;oBACJ,CAAC;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -5,7 +5,6 @@ export declare const AUTH0_AUTH0_HOOKS_GENERATED: {
|
|
|
5
5
|
SessionData: {
|
|
6
6
|
isTypeOnly: true;
|
|
7
7
|
};
|
|
8
|
-
useCurrentUser: {};
|
|
9
8
|
useLogOut: {};
|
|
10
9
|
useRequiredUserId: {};
|
|
11
10
|
useSession: {};
|
|
@@ -30,9 +29,6 @@ export declare const AUTH0_AUTH0_HOOKS_GENERATED: {
|
|
|
30
29
|
task: import("@baseplate-dev/sync").GeneratorTask<{
|
|
31
30
|
auth0Auth0HooksRenderers: import("@baseplate-dev/sync").ProviderExport<import("./template-renderers.js").Auth0Auth0HooksRenderers>;
|
|
32
31
|
}, {
|
|
33
|
-
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
34
|
-
'*': {};
|
|
35
|
-
}>>;
|
|
36
32
|
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").Auth0Auth0HooksPaths>;
|
|
37
33
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
38
34
|
formatError: {};
|
|
@@ -44,15 +40,6 @@ export declare const AUTH0_AUTH0_HOOKS_GENERATED: {
|
|
|
44
40
|
};
|
|
45
41
|
templates: {
|
|
46
42
|
hooksGroup: {
|
|
47
|
-
useCurrentUser: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
48
|
-
TPL_USER: {};
|
|
49
|
-
}, {
|
|
50
|
-
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
51
|
-
'*': {};
|
|
52
|
-
}>>;
|
|
53
|
-
}, {
|
|
54
|
-
useSession: {};
|
|
55
|
-
}>;
|
|
56
43
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
57
44
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
58
45
|
formatError: {};
|
|
@@ -67,11 +54,6 @@ export declare const AUTH0_AUTH0_HOOKS_GENERATED: {
|
|
|
67
54
|
TPL_AUTH_ROLES: {};
|
|
68
55
|
}, {}, Record<never, Record<never, never>>>;
|
|
69
56
|
};
|
|
70
|
-
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{
|
|
71
|
-
TPL_USER_QUERY_NAME: {
|
|
72
|
-
description: string;
|
|
73
|
-
};
|
|
74
|
-
}>;
|
|
75
57
|
};
|
|
76
58
|
};
|
|
77
59
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,
|
|
1
|
+
{"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AAwBD,eAAO,MAAM,uBAAuB;;;;;;;CAGnC,CAAC"}
|
|
@@ -9,8 +9,6 @@ const auth0Auth0HooksPathsTask = createGeneratorTask({
|
|
|
9
9
|
return {
|
|
10
10
|
providers: {
|
|
11
11
|
auth0Auth0HooksPaths: {
|
|
12
|
-
useCurrentUser: `${srcRoot}/hooks/use-current-user.ts`,
|
|
13
|
-
useCurrentUserGql: `${srcRoot}/hooks/use-current-user.gql`,
|
|
14
12
|
useLogOut: `${srcRoot}/hooks/use-log-out.ts`,
|
|
15
13
|
useRequiredUserId: `${srcRoot}/hooks/use-required-user-id.ts`,
|
|
16
14
|
useSession: `${srcRoot}/hooks/use-session.ts`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAQ9E,MAAM,oBAAoB,GAAG,kBAAkB,CAC7C,yBAAyB,CAC1B,CAAC;AAEF,MAAM,wBAAwB,GAAG,mBAAmB,CAAC;IACnD,YAAY,EAAE,EAAE,WAAW,EAAE,mBAAmB,EAAE;IAClD,OAAO,EAAE,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,MAAM,EAAE,EAAE;IAChE,GAAG,CAAC,EAAE,WAAW,EAAE;QACjB,MAAM,OAAO,GAAG,WAAW,CAAC,iBAAiB,EAAE,CAAC;QAEhD,OAAO;YACL,SAAS,EAAE;gBACT,oBAAoB,EAAE;oBACpB,SAAS,EAAE,GAAG,OAAO,uBAAuB;oBAC5C,iBAAiB,EAAE,GAAG,OAAO,gCAAgC;oBAC7D,UAAU,EAAE,GAAG,OAAO,uBAAuB;iBAC9C;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,oBAAoB;IAC9B,IAAI,EAAE,wBAAwB;CAC/B,CAAC"}
|