@baseplate-dev/plugin-auth 4.0.1 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +645 -0
- package/dist/auth0/core/schema/plugin-definition.js +1 -1
- package/dist/auth0/core/schema/plugin-definition.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/templates/module/schema/user-session.queries.ts +1 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +1 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
- package/dist/local-auth/constants/model-names.d.ts +4 -0
- package/dist/local-auth/constants/model-names.d.ts.map +1 -1
- package/dist/local-auth/constants/model-names.js +4 -0
- package/dist/local-auth/constants/model-names.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +53 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +28 -7
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +219 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +4 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +47 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +38 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +18 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js +12 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +271 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +85 -4
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +15 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +15 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +18 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js +24 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.ts +35 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js +38 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.ts +54 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts +24 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +87 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +140 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts +35 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +156 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +229 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +48 -14
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +79 -15
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +43 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +48 -0
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +96 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.js +11 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +26 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +41 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +59 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +60 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +42 -0
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.js +2 -0
- package/dist/local-auth/core/generators/auth-email-templates/index.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.tsx +55 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js +12 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.tsx +44 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts +3 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js +14 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.tsx +55 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +11 -0
- 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 +12 -2
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +26 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +2 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +10 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +25 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +9 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +6 -0
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +19 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +30 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js +17 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.ts +21 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +2 -2
- 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 +2 -2
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +40 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +106 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +146 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +1 -0
- 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 +722 -4
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.js +2 -0
- package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +4 -0
- 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 +4 -0
- 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 +4 -1
- 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 +14 -0
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts +21 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js +30 -0
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +1216 -34
- 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 +70 -2
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/index.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/index.js +1 -0
- package/dist/local-auth/core/generators/auth-routes/index.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts +10 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js +11 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.ts +12 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js +60 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.tsx +127 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +6 -11
- 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 +20 -19
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +2 -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 +2 -3
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +131 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +240 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +106 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js.map +1 -0
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx +206 -0
- package/dist/local-auth/core/generators/index.d.ts +1 -0
- package/dist/local-auth/core/generators/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/index.js +1 -0
- package/dist/local-auth/core/generators/index.js.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +12 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +6 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +6 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +1 -1
- package/dist/local-auth/core/node.d.ts.map +1 -1
- package/dist/local-auth/core/node.js +11 -1
- package/dist/local-auth/core/node.js.map +1 -1
- package/dist/local-auth/core/schema/models.d.ts.map +1 -1
- package/dist/local-auth/core/schema/models.js +60 -0
- package/dist/local-auth/core/schema/models.js.map +1 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.js +1 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-DLSGXjCI.js → __federation_expose_auth0CoreCommon-e_GtBIIm.js} +3 -3
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-DLSGXjCI.js.map → __federation_expose_auth0CoreCommon-e_GtBIIm.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-C7FfhlmF.js → __federation_expose_auth0CoreWeb-CTfPylMw.js} +5 -5
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-C7FfhlmF.js.map → __federation_expose_auth0CoreWeb-CTfPylMw.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-BF58isGa.js → __federation_expose_authCoreCommon-Bg2mzE9K.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-BF58isGa.js.map → __federation_expose_authCoreCommon-Bg2mzE9K.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-DMq9M88g.js → __federation_expose_authCoreWeb-DrOVHmj4.js} +6 -6
- package/dist/web/assets/{__federation_expose_authCoreWeb-DMq9M88g.js.map → __federation_expose_authCoreWeb-DrOVHmj4.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-sQw4q5YX.js → __federation_expose_local-authAdminCommon-Bzb0P17-.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-sQw4q5YX.js.map → __federation_expose_local-authAdminCommon-Bzb0P17-.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-9FbO89NR.js → __federation_expose_local-authAdminWeb-D_LWcl7j.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-9FbO89NR.js.map → __federation_expose_local-authAdminWeb-D_LWcl7j.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-CpUK09_4.js → __federation_expose_local-authCoreCommon-D6OG-Rz6.js} +4 -4
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-CpUK09_4.js.map → __federation_expose_local-authCoreCommon-D6OG-Rz6.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-Czp0GaY1.js → __federation_expose_local-authCoreWeb-CaR8fx1f.js} +66 -6
- package/dist/web/assets/__federation_expose_local-authCoreWeb-CaR8fx1f.js.map +1 -0
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CFDDdOMo.js → __federation_expose_placeholder-authCoreCommon-D7b3GEPP.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CFDDdOMo.js.map → __federation_expose_placeholder-authCoreCommon-D7b3GEPP.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-Bcn1_oDP.js → __federation_expose_placeholder-authCoreWeb-VZzvid5j.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-Bcn1_oDP.js.map → __federation_expose_placeholder-authCoreWeb-VZzvid5j.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-DsXcpNlB.js → __federation_fn_import-DfNliZHH.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-DsXcpNlB.js.map → __federation_fn_import-DfNliZHH.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-zqe3PPcn.js → web-BqJ1vSYx.js} +8 -8
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BqJ1vSYx.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-CmgMfkI5.js → project-builder-lib-qf98MMJC.js} +7137 -136
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-qf98MMJC.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DFkMnXmX.js +52536 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DFkMnXmX.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-BO5VHrCf.js → utils-CApJheqk.js} +5 -6
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-CApJheqk.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-CNzDweD5.js → react-router-YQslfDyE.js} +1069 -746
- package/dist/web/assets/__federation_shared_@tanstack/react-router-YQslfDyE.js.map +1 -0
- package/dist/web/assets/{get-auth-plugin-definition-BV2O8wTa.js → get-auth-plugin-definition-CVuj_mvy.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-BV2O8wTa.js.map → get-auth-plugin-definition-CVuj_mvy.js.map} +1 -1
- package/dist/web/assets/{index-BL7fotl7.js → index-B00D4irM.js} +2 -2
- package/dist/web/assets/{index-BL7fotl7.js.map → index-B00D4irM.js.map} +1 -1
- package/dist/web/assets/{index.esm-B4RpOlq_.js → index.esm-1qBxxnfu.js} +2 -2
- package/dist/web/assets/{index.esm-B4RpOlq_.js.map → index.esm-1qBxxnfu.js.map} +1 -1
- package/dist/web/assets/{model-merger-BwRNqcBu.js → model-merger-59HLmy_J.js} +80 -23
- package/dist/web/assets/model-merger-59HLmy_J.js.map +1 -0
- package/dist/web/assets/{model-names-CEoSIalq.js → model-names-DrcaRxt1.js} +6 -2
- package/dist/web/assets/{model-names-CEoSIalq.js.map → model-names-DrcaRxt1.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-BMTsmwyH.js → plugin-definition-BKCeZ0Ni.js} +2 -2
- package/dist/web/assets/{plugin-definition-BMTsmwyH.js.map → plugin-definition-BKCeZ0Ni.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-DA9rJBcS.js → plugin-definition-B_hlyPlm.js} +3 -3
- package/dist/web/assets/plugin-definition-B_hlyPlm.js.map +1 -0
- package/dist/web/assets/{plugin-definition-CHD5r-h7.js → plugin-definition-Bkx-a_wA.js} +3 -3
- package/dist/web/assets/plugin-definition-Bkx-a_wA.js.map +1 -0
- package/dist/web/assets/{plugin-definition-B9d2CoQL.js → plugin-definition-CcdhC0td.js} +2 -2
- package/dist/web/assets/{plugin-definition-B9d2CoQL.js.map → plugin-definition-CcdhC0td.js.map} +1 -1
- package/dist/web/assets/{react-B9vhIZMy.js → react-Df9ccuow.js} +2 -2
- package/dist/web/assets/{react-B9vhIZMy.js.map → react-Df9ccuow.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +20 -20
- package/dist/web/assets/{style-DZ-aOCkd.css → style-DiK_rD1L.css} +1 -1
- package/dist/web/assets/{styles-CEm5K1iU.js → styles-CbPVroCT.js} +3 -3
- package/dist/web/assets/{styles-CEm5K1iU.js.map → styles-CbPVroCT.js.map} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +22 -19
- package/dist/web/assets/__federation_expose_local-authCoreWeb-Czp0GaY1.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-zqe3PPcn.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CmgMfkI5.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-D1Dayhn9.js +0 -24082
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-D1Dayhn9.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-BO5VHrCf.js.map +0 -1
- package/dist/web/assets/__federation_shared_@tanstack/react-router-CNzDweD5.js.map +0 -1
- package/dist/web/assets/model-merger-BwRNqcBu.js.map +0 -1
- package/dist/web/assets/plugin-definition-CHD5r-h7.js.map +0 -1
- package/dist/web/assets/plugin-definition-DA9rJBcS.js.map +0 -1
package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import type { RenderTsTemplateGroupActionInput } from '@baseplate-dev/core-generators';
|
|
1
|
+
import type { RenderTsTemplateFileActionInput, RenderTsTemplateGroupActionInput } from '@baseplate-dev/core-generators';
|
|
2
2
|
import type { BuilderAction } from '@baseplate-dev/sync';
|
|
3
3
|
import { LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface LocalAuthCoreAuthEmailPasswordRenderers {
|
|
5
5
|
moduleGroup: {
|
|
6
6
|
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES.moduleGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
|
+
schemaEmailVerificationMutations: {
|
|
9
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES.schemaEmailVerificationMutations>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
10
|
+
};
|
|
11
|
+
servicesEmailVerification: {
|
|
12
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES.servicesEmailVerification>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
13
|
+
};
|
|
8
14
|
}
|
|
9
15
|
export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_RENDERERS: {
|
|
10
16
|
provider: import("@baseplate-dev/sync").ProviderType<LocalAuthCoreAuthEmailPasswordRenderers>;
|
|
@@ -12,7 +18,33 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_RENDERERS: {
|
|
|
12
18
|
localAuthCoreAuthEmailPasswordRenderers: import("@baseplate-dev/sync").ProviderExport<LocalAuthCoreAuthEmailPasswordRenderers>;
|
|
13
19
|
}, {
|
|
14
20
|
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
21
|
+
cleanupExpiredAuthVerifications: {};
|
|
22
|
+
createAuthVerification: {};
|
|
15
23
|
userSessionPayload: {};
|
|
24
|
+
validateAuthVerification: {};
|
|
25
|
+
}>>;
|
|
26
|
+
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
27
|
+
config: {};
|
|
28
|
+
}>>;
|
|
29
|
+
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
30
|
+
EmailAdapter: {
|
|
31
|
+
isTypeOnly: true;
|
|
32
|
+
};
|
|
33
|
+
EmailAttachment: {
|
|
34
|
+
isTypeOnly: true;
|
|
35
|
+
};
|
|
36
|
+
EmailRawOptions: {
|
|
37
|
+
isTypeOnly: true;
|
|
38
|
+
};
|
|
39
|
+
EmailSendOptions: {
|
|
40
|
+
isTypeOnly: true;
|
|
41
|
+
};
|
|
42
|
+
sendEmail: {};
|
|
43
|
+
sendEmailQueue: {};
|
|
44
|
+
sendRawEmail: {};
|
|
45
|
+
TransformedEmailMessage: {
|
|
46
|
+
isTypeOnly: true;
|
|
47
|
+
};
|
|
16
48
|
}>>;
|
|
17
49
|
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
18
50
|
BadRequestError: {};
|
|
@@ -22,6 +54,7 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_RENDERERS: {
|
|
|
22
54
|
InternalServerError: {};
|
|
23
55
|
logError: {};
|
|
24
56
|
NotFoundError: {};
|
|
57
|
+
TooManyRequestsError: {};
|
|
25
58
|
UnauthorizedError: {};
|
|
26
59
|
}>>;
|
|
27
60
|
passwordHasherServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -41,6 +74,19 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_RENDERERS: {
|
|
|
41
74
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
42
75
|
prisma: {};
|
|
43
76
|
}>>;
|
|
77
|
+
rateLimitImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
78
|
+
createRateLimiter: {};
|
|
79
|
+
memoizeRateLimiter: {};
|
|
80
|
+
RateLimiter: {
|
|
81
|
+
isTypeOnly: true;
|
|
82
|
+
};
|
|
83
|
+
RateLimiterConfig: {
|
|
84
|
+
isTypeOnly: true;
|
|
85
|
+
};
|
|
86
|
+
RateLimitResult: {
|
|
87
|
+
isTypeOnly: true;
|
|
88
|
+
};
|
|
89
|
+
}>>;
|
|
44
90
|
requestServiceContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
45
91
|
createContextFromRequest: {};
|
|
46
92
|
RequestServiceContext: {
|
package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAqBzD,OAAO,EAAE,6CAA6C,EAAE,MAAM,sBAAsB,CAAC;AAErF,MAAM,WAAW,uCAAuC;IACtD,WAAW,EAAE;QACX,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,6CAA6C,CAAC,WAAW,CACjE,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;IACF,gCAAgC,EAAE;QAChC,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,6CAA6C,CAAC,gCAAgC,CACtF,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;IACF,yBAAyB,EAAE;QACzB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,6CAA6C,CAAC,yBAAyB,CAC/E,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AA6GD,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGzD,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { typescriptFileProvider } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { errorHandlerServiceImportsProvider, passwordHasherServiceImportsProvider, pothosImportsProvider, prismaGeneratedImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
2
|
+
import { configServiceImportsProvider, errorHandlerServiceImportsProvider, passwordHasherServiceImportsProvider, pothosImportsProvider, prismaGeneratedImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
|
+
import { emailModuleImportsProvider } from '@baseplate-dev/plugin-email';
|
|
4
|
+
import { rateLimitImportsProvider } from '@baseplate-dev/plugin-rate-limit';
|
|
3
5
|
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
|
|
4
6
|
import { authModuleImportsProvider } from '#src/local-auth/core/generators/auth-module/generated/ts-import-providers.js';
|
|
5
7
|
import { LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_PATHS } from './template-paths.js';
|
|
@@ -8,12 +10,15 @@ const localAuthCoreAuthEmailPasswordRenderers = createProviderType('local-auth-c
|
|
|
8
10
|
const localAuthCoreAuthEmailPasswordRenderersTask = createGeneratorTask({
|
|
9
11
|
dependencies: {
|
|
10
12
|
authModuleImports: authModuleImportsProvider,
|
|
13
|
+
configServiceImports: configServiceImportsProvider,
|
|
14
|
+
emailModuleImports: emailModuleImportsProvider,
|
|
11
15
|
errorHandlerServiceImports: errorHandlerServiceImportsProvider,
|
|
12
16
|
passwordHasherServiceImports: passwordHasherServiceImportsProvider,
|
|
13
17
|
paths: LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_PATHS.provider,
|
|
14
18
|
pothosImports: pothosImportsProvider,
|
|
15
19
|
prismaGeneratedImports: prismaGeneratedImportsProvider,
|
|
16
20
|
prismaImports: prismaImportsProvider,
|
|
21
|
+
rateLimitImports: rateLimitImportsProvider,
|
|
17
22
|
requestServiceContextImports: requestServiceContextImportsProvider,
|
|
18
23
|
typescriptFile: typescriptFileProvider,
|
|
19
24
|
userSessionServiceImports: userSessionServiceImportsProvider,
|
|
@@ -22,7 +27,7 @@ const localAuthCoreAuthEmailPasswordRenderersTask = createGeneratorTask({
|
|
|
22
27
|
exports: {
|
|
23
28
|
localAuthCoreAuthEmailPasswordRenderers: localAuthCoreAuthEmailPasswordRenderers.export(),
|
|
24
29
|
},
|
|
25
|
-
run({ authModuleImports, errorHandlerServiceImports, passwordHasherServiceImports, paths, pothosImports, prismaGeneratedImports, prismaImports, requestServiceContextImports, typescriptFile, userSessionServiceImports, userSessionTypesImports, }) {
|
|
30
|
+
run({ authModuleImports, configServiceImports, emailModuleImports, errorHandlerServiceImports, passwordHasherServiceImports, paths, pothosImports, prismaGeneratedImports, prismaImports, rateLimitImports, requestServiceContextImports, typescriptFile, userSessionServiceImports, userSessionTypesImports, }) {
|
|
26
31
|
return {
|
|
27
32
|
providers: {
|
|
28
33
|
localAuthCoreAuthEmailPasswordRenderers: {
|
|
@@ -32,11 +37,14 @@ const localAuthCoreAuthEmailPasswordRenderersTask = createGeneratorTask({
|
|
|
32
37
|
paths,
|
|
33
38
|
importMapProviders: {
|
|
34
39
|
authModuleImports,
|
|
40
|
+
configServiceImports,
|
|
41
|
+
emailModuleImports,
|
|
35
42
|
errorHandlerServiceImports,
|
|
36
43
|
passwordHasherServiceImports,
|
|
37
44
|
pothosImports,
|
|
38
45
|
prismaGeneratedImports,
|
|
39
46
|
prismaImports,
|
|
47
|
+
rateLimitImports,
|
|
40
48
|
requestServiceContextImports,
|
|
41
49
|
userSessionServiceImports,
|
|
42
50
|
userSessionTypesImports,
|
|
@@ -45,6 +53,34 @@ const localAuthCoreAuthEmailPasswordRenderersTask = createGeneratorTask({
|
|
|
45
53
|
...options,
|
|
46
54
|
}),
|
|
47
55
|
},
|
|
56
|
+
schemaEmailVerificationMutations: {
|
|
57
|
+
render: (options) => typescriptFile.renderTemplateFile({
|
|
58
|
+
template: LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES.schemaEmailVerificationMutations,
|
|
59
|
+
destination: paths.schemaEmailVerificationMutations,
|
|
60
|
+
importMapProviders: {
|
|
61
|
+
pothosImports,
|
|
62
|
+
},
|
|
63
|
+
generatorPaths: paths,
|
|
64
|
+
...options,
|
|
65
|
+
}),
|
|
66
|
+
},
|
|
67
|
+
servicesEmailVerification: {
|
|
68
|
+
render: (options) => typescriptFile.renderTemplateFile({
|
|
69
|
+
template: LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES.servicesEmailVerification,
|
|
70
|
+
destination: paths.servicesEmailVerification,
|
|
71
|
+
importMapProviders: {
|
|
72
|
+
authModuleImports,
|
|
73
|
+
configServiceImports,
|
|
74
|
+
emailModuleImports,
|
|
75
|
+
errorHandlerServiceImports,
|
|
76
|
+
prismaImports,
|
|
77
|
+
rateLimitImports,
|
|
78
|
+
requestServiceContextImports,
|
|
79
|
+
},
|
|
80
|
+
generatorPaths: paths,
|
|
81
|
+
...options,
|
|
82
|
+
}),
|
|
83
|
+
},
|
|
48
84
|
},
|
|
49
85
|
},
|
|
50
86
|
};
|
package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/template-renderers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,kCAAkC,EAClC,oCAAoC,EACpC,qBAAqB,EACrB,8BAA8B,EAC9B,qBAAqB,EACrB,oCAAoC,EACpC,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,8EAA8E,CAAC;AAEzH,OAAO,EAAE,yCAAyC,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,6CAA6C,EAAE,MAAM,sBAAsB,CAAC;AAmCrF,MAAM,uCAAuC,GAC3C,kBAAkB,CAChB,+CAA+C,CAChD,CAAC;AAEJ,MAAM,2CAA2C,GAAG,mBAAmB,CAAC;IACtE,YAAY,EAAE;QACZ,iBAAiB,EAAE,yBAAyB;QAC5C,oBAAoB,EAAE,4BAA4B;QAClD,kBAAkB,EAAE,0BAA0B;QAC9C,0BAA0B,EAAE,kCAAkC;QAC9D,4BAA4B,EAAE,oCAAoC;QAClE,KAAK,EAAE,yCAAyC,CAAC,QAAQ;QACzD,aAAa,EAAE,qBAAqB;QACpC,sBAAsB,EAAE,8BAA8B;QACtD,aAAa,EAAE,qBAAqB;QACpC,gBAAgB,EAAE,wBAAwB;QAC1C,4BAA4B,EAAE,oCAAoC;QAClE,cAAc,EAAE,sBAAsB;QACtC,yBAAyB,EAAE,iCAAiC;QAC5D,uBAAuB,EAAE,+BAA+B;KACzD;IACD,OAAO,EAAE;QACP,uCAAuC,EACrC,uCAAuC,CAAC,MAAM,EAAE;KACnD;IACD,GAAG,CAAC,EACF,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,0BAA0B,EAC1B,4BAA4B,EAC5B,KAAK,EACL,aAAa,EACb,sBAAsB,EACtB,aAAa,EACb,gBAAgB,EAChB,4BAA4B,EAC5B,cAAc,EACd,yBAAyB,EACzB,uBAAuB,GACxB;QACC,OAAO;YACL,SAAS,EAAE;gBACT,uCAAuC,EAAE;oBACvC,WAAW,EAAE;wBACX,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EACH,6CAA6C,CAAC,WAAW;4BAC3D,KAAK;4BACL,kBAAkB,EAAE;gCAClB,iBAAiB;gCACjB,oBAAoB;gCACpB,kBAAkB;gCAClB,0BAA0B;gCAC1B,4BAA4B;gCAC5B,aAAa;gCACb,sBAAsB;gCACtB,aAAa;gCACb,gBAAgB;gCAChB,4BAA4B;gCAC5B,yBAAyB;gCACzB,uBAAuB;6BACxB;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,gCAAgC,EAAE;wBAChC,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EACN,6CAA6C,CAAC,gCAAgC;4BAChF,WAAW,EAAE,KAAK,CAAC,gCAAgC;4BACnD,kBAAkB,EAAE;gCAClB,aAAa;6BACd;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,yBAAyB,EAAE;wBACzB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EACN,6CAA6C,CAAC,yBAAyB;4BACzE,WAAW,EAAE,KAAK,CAAC,yBAAyB;4BAC5C,kBAAkB,EAAE;gCAClB,iBAAiB;gCACjB,oBAAoB;gCACpB,kBAAkB;gCAClB,0BAA0B;gCAC1B,aAAa;gCACb,gBAAgB;gCAChB,4BAA4B;6BAC7B;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,6CAA6C,GAAG;IAC3D,QAAQ,EAAE,uCAAuC;IACjD,IAAI,EAAE,2CAA2C;CAClD,CAAC"}
|
package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts
CHANGED
|
@@ -1,24 +1,42 @@
|
|
|
1
1
|
import type { TsImportMapProviderFromSchema } from '@baseplate-dev/core-generators';
|
|
2
2
|
export declare const authEmailPasswordImportsSchema: {
|
|
3
3
|
authenticateUserWithEmailAndPassword: {};
|
|
4
|
+
cleanupExpiredPasswordResetTokens: {};
|
|
5
|
+
completePasswordReset: {};
|
|
4
6
|
createUserWithEmailAndPassword: {};
|
|
7
|
+
PASSWORD_MAX_LENGTH: {};
|
|
5
8
|
PASSWORD_MIN_LENGTH: {};
|
|
9
|
+
PASSWORD_RESET_TOKEN_EXPIRY_SEC: {};
|
|
6
10
|
registerUserWithEmailAndPassword: {};
|
|
11
|
+
requestPasswordReset: {};
|
|
12
|
+
validatePasswordResetToken: {};
|
|
7
13
|
};
|
|
8
14
|
export type AuthEmailPasswordImportsProvider = TsImportMapProviderFromSchema<typeof authEmailPasswordImportsSchema>;
|
|
9
15
|
export declare const authEmailPasswordImportsProvider: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
10
16
|
authenticateUserWithEmailAndPassword: {};
|
|
17
|
+
cleanupExpiredPasswordResetTokens: {};
|
|
18
|
+
completePasswordReset: {};
|
|
11
19
|
createUserWithEmailAndPassword: {};
|
|
20
|
+
PASSWORD_MAX_LENGTH: {};
|
|
12
21
|
PASSWORD_MIN_LENGTH: {};
|
|
22
|
+
PASSWORD_RESET_TOKEN_EXPIRY_SEC: {};
|
|
13
23
|
registerUserWithEmailAndPassword: {};
|
|
24
|
+
requestPasswordReset: {};
|
|
25
|
+
validatePasswordResetToken: {};
|
|
14
26
|
}>>;
|
|
15
27
|
export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_IMPORTS: {
|
|
16
28
|
task: import("@baseplate-dev/sync").GeneratorTask<{
|
|
17
29
|
authEmailPasswordImports: import("@baseplate-dev/sync").ProviderExport<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
18
30
|
authenticateUserWithEmailAndPassword: {};
|
|
31
|
+
cleanupExpiredPasswordResetTokens: {};
|
|
32
|
+
completePasswordReset: {};
|
|
19
33
|
createUserWithEmailAndPassword: {};
|
|
34
|
+
PASSWORD_MAX_LENGTH: {};
|
|
20
35
|
PASSWORD_MIN_LENGTH: {};
|
|
36
|
+
PASSWORD_RESET_TOKEN_EXPIRY_SEC: {};
|
|
21
37
|
registerUserWithEmailAndPassword: {};
|
|
38
|
+
requestPasswordReset: {};
|
|
39
|
+
validatePasswordResetToken: {};
|
|
22
40
|
}>>;
|
|
23
41
|
}, {
|
|
24
42
|
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthCoreAuthEmailPasswordPaths>;
|
package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAcpF,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAcpF,eAAO,MAAM,8BAA8B;;;;;;;;;;;CAWzC,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,6BAA6B,CAC1E,OAAO,8BAA8B,CACtC,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;GAG1C,CAAC;AAiCJ,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;CAEvD,CAAC"}
|
package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js
CHANGED
|
@@ -3,9 +3,15 @@ import { createGeneratorTask, createReadOnlyProviderType, } from '@baseplate-dev
|
|
|
3
3
|
import { LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_PATHS } from './template-paths.js';
|
|
4
4
|
export const authEmailPasswordImportsSchema = createTsImportMapSchema({
|
|
5
5
|
authenticateUserWithEmailAndPassword: {},
|
|
6
|
+
cleanupExpiredPasswordResetTokens: {},
|
|
7
|
+
completePasswordReset: {},
|
|
6
8
|
createUserWithEmailAndPassword: {},
|
|
9
|
+
PASSWORD_MAX_LENGTH: {},
|
|
7
10
|
PASSWORD_MIN_LENGTH: {},
|
|
11
|
+
PASSWORD_RESET_TOKEN_EXPIRY_SEC: {},
|
|
8
12
|
registerUserWithEmailAndPassword: {},
|
|
13
|
+
requestPasswordReset: {},
|
|
14
|
+
validatePasswordResetToken: {},
|
|
9
15
|
});
|
|
10
16
|
export const authEmailPasswordImportsProvider = createReadOnlyProviderType('auth-email-password-imports');
|
|
11
17
|
const localAuthCoreAuthEmailPasswordImportsTask = createGeneratorTask({
|
|
@@ -20,9 +26,15 @@ const localAuthCoreAuthEmailPasswordImportsTask = createGeneratorTask({
|
|
|
20
26
|
providers: {
|
|
21
27
|
authEmailPasswordImports: createTsImportMap(authEmailPasswordImportsSchema, {
|
|
22
28
|
authenticateUserWithEmailAndPassword: paths.servicesUserPassword,
|
|
29
|
+
cleanupExpiredPasswordResetTokens: paths.servicesPasswordReset,
|
|
30
|
+
completePasswordReset: paths.servicesPasswordReset,
|
|
23
31
|
createUserWithEmailAndPassword: paths.servicesUserPassword,
|
|
32
|
+
PASSWORD_MAX_LENGTH: paths.constantsPassword,
|
|
24
33
|
PASSWORD_MIN_LENGTH: paths.constantsPassword,
|
|
34
|
+
PASSWORD_RESET_TOKEN_EXPIRY_SEC: paths.constantsPassword,
|
|
25
35
|
registerUserWithEmailAndPassword: paths.servicesUserPassword,
|
|
36
|
+
requestPasswordReset: paths.servicesPasswordReset,
|
|
37
|
+
validatePasswordResetToken: paths.servicesPasswordReset,
|
|
26
38
|
}),
|
|
27
39
|
},
|
|
28
40
|
};
|
package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,yCAAyC,EAAE,MAAM,qBAAqB,CAAC;AAEhF,MAAM,CAAC,MAAM,8BAA8B,GAAG,uBAAuB,CAAC;IACpE,oCAAoC,EAAE,EAAE;IACxC,8BAA8B,EAAE,EAAE;IAClC,mBAAmB,EAAE,EAAE;IACvB,gCAAgC,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,yCAAyC,EAAE,MAAM,qBAAqB,CAAC;AAEhF,MAAM,CAAC,MAAM,8BAA8B,GAAG,uBAAuB,CAAC;IACpE,oCAAoC,EAAE,EAAE;IACxC,iCAAiC,EAAE,EAAE;IACrC,qBAAqB,EAAE,EAAE;IACzB,8BAA8B,EAAE,EAAE;IAClC,mBAAmB,EAAE,EAAE;IACvB,mBAAmB,EAAE,EAAE;IACvB,+BAA+B,EAAE,EAAE;IACnC,gCAAgC,EAAE,EAAE;IACpC,oBAAoB,EAAE,EAAE;IACxB,0BAA0B,EAAE,EAAE;CAC/B,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,gCAAgC,GAC3C,0BAA0B,CACxB,6BAA6B,CAC9B,CAAC;AAEJ,MAAM,yCAAyC,GAAG,mBAAmB,CAAC;IACpE,YAAY,EAAE;QACZ,KAAK,EAAE,yCAAyC,CAAC,QAAQ;KAC1D;IACD,OAAO,EAAE;QACP,wBAAwB,EACtB,gCAAgC,CAAC,MAAM,CAAC,YAAY,CAAC;KACxD;IACD,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,wBAAwB,EAAE,iBAAiB,CACzC,8BAA8B,EAC9B;oBACE,oCAAoC,EAAE,KAAK,CAAC,oBAAoB;oBAChE,iCAAiC,EAAE,KAAK,CAAC,qBAAqB;oBAC9D,qBAAqB,EAAE,KAAK,CAAC,qBAAqB;oBAClD,8BAA8B,EAAE,KAAK,CAAC,oBAAoB;oBAC1D,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;oBAC5C,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;oBAC5C,+BAA+B,EAAE,KAAK,CAAC,iBAAiB;oBACxD,gCAAgC,EAAE,KAAK,CAAC,oBAAoB;oBAC5D,oBAAoB,EAAE,KAAK,CAAC,qBAAqB;oBACjD,0BAA0B,EAAE,KAAK,CAAC,qBAAqB;iBACxD,CACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2CAA2C,GAAG;IACzD,IAAI,EAAE,yCAAyC;CAChD,CAAC"}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
export declare const moduleGroup: {
|
|
2
2
|
constantsPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
3
|
+
schemaPasswordResetMutations: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
4
|
+
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
5
|
+
builder: {};
|
|
6
|
+
}>>;
|
|
7
|
+
}, {
|
|
8
|
+
servicesPasswordReset: {};
|
|
9
|
+
}>;
|
|
3
10
|
schemaUserPasswordMutations: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
4
11
|
TPL_ADMIN_ROLES: {};
|
|
5
12
|
TPL_USER_OBJECT_TYPE: {};
|
|
6
13
|
}, {
|
|
7
14
|
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
15
|
+
cleanupExpiredAuthVerifications: {};
|
|
16
|
+
createAuthVerification: {};
|
|
8
17
|
userSessionPayload: {};
|
|
18
|
+
validateAuthVerification: {};
|
|
9
19
|
}>>;
|
|
10
20
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
11
21
|
builder: {};
|
|
@@ -13,6 +23,79 @@ export declare const moduleGroup: {
|
|
|
13
23
|
}, {
|
|
14
24
|
servicesUserPassword: {};
|
|
15
25
|
}>;
|
|
26
|
+
servicesPasswordReset: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
27
|
+
TPL_PASSWORD_CHANGED_EMAIL: {};
|
|
28
|
+
TPL_PASSWORD_RESET_EMAIL: {};
|
|
29
|
+
}, {
|
|
30
|
+
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
31
|
+
cleanupExpiredAuthVerifications: {};
|
|
32
|
+
createAuthVerification: {};
|
|
33
|
+
userSessionPayload: {};
|
|
34
|
+
validateAuthVerification: {};
|
|
35
|
+
}>>;
|
|
36
|
+
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
37
|
+
config: {};
|
|
38
|
+
}>>;
|
|
39
|
+
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
40
|
+
EmailAdapter: {
|
|
41
|
+
isTypeOnly: true;
|
|
42
|
+
};
|
|
43
|
+
EmailAttachment: {
|
|
44
|
+
isTypeOnly: true;
|
|
45
|
+
};
|
|
46
|
+
EmailRawOptions: {
|
|
47
|
+
isTypeOnly: true;
|
|
48
|
+
};
|
|
49
|
+
EmailSendOptions: {
|
|
50
|
+
isTypeOnly: true;
|
|
51
|
+
};
|
|
52
|
+
sendEmail: {};
|
|
53
|
+
sendEmailQueue: {};
|
|
54
|
+
sendRawEmail: {};
|
|
55
|
+
TransformedEmailMessage: {
|
|
56
|
+
isTypeOnly: true;
|
|
57
|
+
};
|
|
58
|
+
}>>;
|
|
59
|
+
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
60
|
+
BadRequestError: {};
|
|
61
|
+
ForbiddenError: {};
|
|
62
|
+
handleZodRequestValidationError: {};
|
|
63
|
+
HttpError: {};
|
|
64
|
+
InternalServerError: {};
|
|
65
|
+
logError: {};
|
|
66
|
+
NotFoundError: {};
|
|
67
|
+
TooManyRequestsError: {};
|
|
68
|
+
UnauthorizedError: {};
|
|
69
|
+
}>>;
|
|
70
|
+
passwordHasherServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
71
|
+
createPasswordHash: {};
|
|
72
|
+
verifyPasswordHash: {};
|
|
73
|
+
}>>;
|
|
74
|
+
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
75
|
+
prisma: {};
|
|
76
|
+
}>>;
|
|
77
|
+
rateLimitImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
78
|
+
createRateLimiter: {};
|
|
79
|
+
memoizeRateLimiter: {};
|
|
80
|
+
RateLimiter: {
|
|
81
|
+
isTypeOnly: true;
|
|
82
|
+
};
|
|
83
|
+
RateLimiterConfig: {
|
|
84
|
+
isTypeOnly: true;
|
|
85
|
+
};
|
|
86
|
+
RateLimitResult: {
|
|
87
|
+
isTypeOnly: true;
|
|
88
|
+
};
|
|
89
|
+
}>>;
|
|
90
|
+
requestServiceContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
91
|
+
createContextFromRequest: {};
|
|
92
|
+
RequestServiceContext: {
|
|
93
|
+
isTypeOnly: true;
|
|
94
|
+
};
|
|
95
|
+
}>>;
|
|
96
|
+
}, {
|
|
97
|
+
constantsPassword: {};
|
|
98
|
+
}>;
|
|
16
99
|
servicesUserPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
17
100
|
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
18
101
|
BadRequestError: {};
|
|
@@ -22,6 +105,7 @@ export declare const moduleGroup: {
|
|
|
22
105
|
InternalServerError: {};
|
|
23
106
|
logError: {};
|
|
24
107
|
NotFoundError: {};
|
|
108
|
+
TooManyRequestsError: {};
|
|
25
109
|
UnauthorizedError: {};
|
|
26
110
|
}>>;
|
|
27
111
|
passwordHasherServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -37,6 +121,19 @@ export declare const moduleGroup: {
|
|
|
37
121
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
38
122
|
prisma: {};
|
|
39
123
|
}>>;
|
|
124
|
+
rateLimitImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
125
|
+
createRateLimiter: {};
|
|
126
|
+
memoizeRateLimiter: {};
|
|
127
|
+
RateLimiter: {
|
|
128
|
+
isTypeOnly: true;
|
|
129
|
+
};
|
|
130
|
+
RateLimiterConfig: {
|
|
131
|
+
isTypeOnly: true;
|
|
132
|
+
};
|
|
133
|
+
RateLimitResult: {
|
|
134
|
+
isTypeOnly: true;
|
|
135
|
+
};
|
|
136
|
+
}>>;
|
|
40
137
|
requestServiceContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
41
138
|
createContextFromRequest: {};
|
|
42
139
|
RequestServiceContext: {
|
|
@@ -56,17 +153,28 @@ export declare const moduleGroup: {
|
|
|
56
153
|
}>>;
|
|
57
154
|
}, {
|
|
58
155
|
constantsPassword: {};
|
|
156
|
+
servicesEmailVerification: {};
|
|
59
157
|
}>;
|
|
60
158
|
};
|
|
61
159
|
export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
62
160
|
moduleGroup: {
|
|
63
161
|
constantsPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
162
|
+
schemaPasswordResetMutations: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
163
|
+
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
164
|
+
builder: {};
|
|
165
|
+
}>>;
|
|
166
|
+
}, {
|
|
167
|
+
servicesPasswordReset: {};
|
|
168
|
+
}>;
|
|
64
169
|
schemaUserPasswordMutations: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
65
170
|
TPL_ADMIN_ROLES: {};
|
|
66
171
|
TPL_USER_OBJECT_TYPE: {};
|
|
67
172
|
}, {
|
|
68
173
|
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
174
|
+
cleanupExpiredAuthVerifications: {};
|
|
175
|
+
createAuthVerification: {};
|
|
69
176
|
userSessionPayload: {};
|
|
177
|
+
validateAuthVerification: {};
|
|
70
178
|
}>>;
|
|
71
179
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
72
180
|
builder: {};
|
|
@@ -74,6 +182,79 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
|
74
182
|
}, {
|
|
75
183
|
servicesUserPassword: {};
|
|
76
184
|
}>;
|
|
185
|
+
servicesPasswordReset: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
186
|
+
TPL_PASSWORD_CHANGED_EMAIL: {};
|
|
187
|
+
TPL_PASSWORD_RESET_EMAIL: {};
|
|
188
|
+
}, {
|
|
189
|
+
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
190
|
+
cleanupExpiredAuthVerifications: {};
|
|
191
|
+
createAuthVerification: {};
|
|
192
|
+
userSessionPayload: {};
|
|
193
|
+
validateAuthVerification: {};
|
|
194
|
+
}>>;
|
|
195
|
+
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
196
|
+
config: {};
|
|
197
|
+
}>>;
|
|
198
|
+
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
199
|
+
EmailAdapter: {
|
|
200
|
+
isTypeOnly: true;
|
|
201
|
+
};
|
|
202
|
+
EmailAttachment: {
|
|
203
|
+
isTypeOnly: true;
|
|
204
|
+
};
|
|
205
|
+
EmailRawOptions: {
|
|
206
|
+
isTypeOnly: true;
|
|
207
|
+
};
|
|
208
|
+
EmailSendOptions: {
|
|
209
|
+
isTypeOnly: true;
|
|
210
|
+
};
|
|
211
|
+
sendEmail: {};
|
|
212
|
+
sendEmailQueue: {};
|
|
213
|
+
sendRawEmail: {};
|
|
214
|
+
TransformedEmailMessage: {
|
|
215
|
+
isTypeOnly: true;
|
|
216
|
+
};
|
|
217
|
+
}>>;
|
|
218
|
+
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
219
|
+
BadRequestError: {};
|
|
220
|
+
ForbiddenError: {};
|
|
221
|
+
handleZodRequestValidationError: {};
|
|
222
|
+
HttpError: {};
|
|
223
|
+
InternalServerError: {};
|
|
224
|
+
logError: {};
|
|
225
|
+
NotFoundError: {};
|
|
226
|
+
TooManyRequestsError: {};
|
|
227
|
+
UnauthorizedError: {};
|
|
228
|
+
}>>;
|
|
229
|
+
passwordHasherServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
230
|
+
createPasswordHash: {};
|
|
231
|
+
verifyPasswordHash: {};
|
|
232
|
+
}>>;
|
|
233
|
+
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
234
|
+
prisma: {};
|
|
235
|
+
}>>;
|
|
236
|
+
rateLimitImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
237
|
+
createRateLimiter: {};
|
|
238
|
+
memoizeRateLimiter: {};
|
|
239
|
+
RateLimiter: {
|
|
240
|
+
isTypeOnly: true;
|
|
241
|
+
};
|
|
242
|
+
RateLimiterConfig: {
|
|
243
|
+
isTypeOnly: true;
|
|
244
|
+
};
|
|
245
|
+
RateLimitResult: {
|
|
246
|
+
isTypeOnly: true;
|
|
247
|
+
};
|
|
248
|
+
}>>;
|
|
249
|
+
requestServiceContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
250
|
+
createContextFromRequest: {};
|
|
251
|
+
RequestServiceContext: {
|
|
252
|
+
isTypeOnly: true;
|
|
253
|
+
};
|
|
254
|
+
}>>;
|
|
255
|
+
}, {
|
|
256
|
+
constantsPassword: {};
|
|
257
|
+
}>;
|
|
77
258
|
servicesUserPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
78
259
|
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
79
260
|
BadRequestError: {};
|
|
@@ -83,6 +264,7 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
|
83
264
|
InternalServerError: {};
|
|
84
265
|
logError: {};
|
|
85
266
|
NotFoundError: {};
|
|
267
|
+
TooManyRequestsError: {};
|
|
86
268
|
UnauthorizedError: {};
|
|
87
269
|
}>>;
|
|
88
270
|
passwordHasherServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -98,6 +280,19 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
|
98
280
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
99
281
|
prisma: {};
|
|
100
282
|
}>>;
|
|
283
|
+
rateLimitImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
284
|
+
createRateLimiter: {};
|
|
285
|
+
memoizeRateLimiter: {};
|
|
286
|
+
RateLimiter: {
|
|
287
|
+
isTypeOnly: true;
|
|
288
|
+
};
|
|
289
|
+
RateLimiterConfig: {
|
|
290
|
+
isTypeOnly: true;
|
|
291
|
+
};
|
|
292
|
+
RateLimitResult: {
|
|
293
|
+
isTypeOnly: true;
|
|
294
|
+
};
|
|
295
|
+
}>>;
|
|
101
296
|
requestServiceContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
102
297
|
createContextFromRequest: {};
|
|
103
298
|
RequestServiceContext: {
|
|
@@ -117,7 +312,83 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
|
117
312
|
}>>;
|
|
118
313
|
}, {
|
|
119
314
|
constantsPassword: {};
|
|
315
|
+
servicesEmailVerification: {};
|
|
120
316
|
}>;
|
|
121
317
|
};
|
|
318
|
+
schemaEmailVerificationMutations: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
319
|
+
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
320
|
+
builder: {};
|
|
321
|
+
}>>;
|
|
322
|
+
}, {
|
|
323
|
+
servicesEmailVerification: {};
|
|
324
|
+
}>;
|
|
325
|
+
servicesEmailVerification: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
326
|
+
TPL_ACCOUNT_VERIFICATION_EMAIL: {};
|
|
327
|
+
}, {
|
|
328
|
+
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
329
|
+
cleanupExpiredAuthVerifications: {};
|
|
330
|
+
createAuthVerification: {};
|
|
331
|
+
userSessionPayload: {};
|
|
332
|
+
validateAuthVerification: {};
|
|
333
|
+
}>>;
|
|
334
|
+
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
335
|
+
config: {};
|
|
336
|
+
}>>;
|
|
337
|
+
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
338
|
+
EmailAdapter: {
|
|
339
|
+
isTypeOnly: true;
|
|
340
|
+
};
|
|
341
|
+
EmailAttachment: {
|
|
342
|
+
isTypeOnly: true;
|
|
343
|
+
};
|
|
344
|
+
EmailRawOptions: {
|
|
345
|
+
isTypeOnly: true;
|
|
346
|
+
};
|
|
347
|
+
EmailSendOptions: {
|
|
348
|
+
isTypeOnly: true;
|
|
349
|
+
};
|
|
350
|
+
sendEmail: {};
|
|
351
|
+
sendEmailQueue: {};
|
|
352
|
+
sendRawEmail: {};
|
|
353
|
+
TransformedEmailMessage: {
|
|
354
|
+
isTypeOnly: true;
|
|
355
|
+
};
|
|
356
|
+
}>>;
|
|
357
|
+
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
358
|
+
BadRequestError: {};
|
|
359
|
+
ForbiddenError: {};
|
|
360
|
+
handleZodRequestValidationError: {};
|
|
361
|
+
HttpError: {};
|
|
362
|
+
InternalServerError: {};
|
|
363
|
+
logError: {};
|
|
364
|
+
NotFoundError: {};
|
|
365
|
+
TooManyRequestsError: {};
|
|
366
|
+
UnauthorizedError: {};
|
|
367
|
+
}>>;
|
|
368
|
+
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
369
|
+
prisma: {};
|
|
370
|
+
}>>;
|
|
371
|
+
rateLimitImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
372
|
+
createRateLimiter: {};
|
|
373
|
+
memoizeRateLimiter: {};
|
|
374
|
+
RateLimiter: {
|
|
375
|
+
isTypeOnly: true;
|
|
376
|
+
};
|
|
377
|
+
RateLimiterConfig: {
|
|
378
|
+
isTypeOnly: true;
|
|
379
|
+
};
|
|
380
|
+
RateLimitResult: {
|
|
381
|
+
isTypeOnly: true;
|
|
382
|
+
};
|
|
383
|
+
}>>;
|
|
384
|
+
requestServiceContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
385
|
+
createContextFromRequest: {};
|
|
386
|
+
RequestServiceContext: {
|
|
387
|
+
isTypeOnly: true;
|
|
388
|
+
};
|
|
389
|
+
}>>;
|
|
390
|
+
}, {
|
|
391
|
+
constantsPassword: {};
|
|
392
|
+
}>;
|
|
122
393
|
};
|
|
123
394
|
//# sourceMappingURL=typed-templates.d.ts.map
|
package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/typed-templates.ts"],"names":[],"mappings":"AAoIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvB,CAAC;AAsCF,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIzD,CAAC"}
|