@baseplate-dev/plugin-auth 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +621 -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 +49 -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 +17 -6
- 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 +209 -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 +5 -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 +5 -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 +48 -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 +253 -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 +102 -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/auth-verification.service.d.ts +40 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.js +106 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.ts +146 -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 +88 -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 +141 -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 +157 -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 +233 -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 +1 -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 +1 -1
- 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 +2 -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-renderers.d.ts +1 -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/typed-templates.d.ts +1 -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/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-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-DKJVe6Rd.js} +3 -3
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-DLSGXjCI.js.map → __federation_expose_auth0CoreCommon-DKJVe6Rd.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-C7FfhlmF.js → __federation_expose_auth0CoreWeb-CfhSWZsK.js} +5 -5
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-C7FfhlmF.js.map → __federation_expose_auth0CoreWeb-CfhSWZsK.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-BF58isGa.js → __federation_expose_authCoreCommon-D3-Gk9mI.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-BF58isGa.js.map → __federation_expose_authCoreCommon-D3-Gk9mI.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-DMq9M88g.js → __federation_expose_authCoreWeb-DZoAij9e.js} +6 -6
- package/dist/web/assets/{__federation_expose_authCoreWeb-DMq9M88g.js.map → __federation_expose_authCoreWeb-DZoAij9e.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-sQw4q5YX.js → __federation_expose_local-authAdminCommon-BRHnF0Hn.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-sQw4q5YX.js.map → __federation_expose_local-authAdminCommon-BRHnF0Hn.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-9FbO89NR.js → __federation_expose_local-authAdminWeb-dYAIxuqC.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-9FbO89NR.js.map → __federation_expose_local-authAdminWeb-dYAIxuqC.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-CpUK09_4.js → __federation_expose_local-authCoreCommon-CIwvOx0d.js} +4 -4
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-CpUK09_4.js.map → __federation_expose_local-authCoreCommon-CIwvOx0d.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-Czp0GaY1.js → __federation_expose_local-authCoreWeb-Bwooi2qZ.js} +66 -6
- package/dist/web/assets/__federation_expose_local-authCoreWeb-Bwooi2qZ.js.map +1 -0
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CFDDdOMo.js → __federation_expose_placeholder-authCoreCommon-gFDSzGjB.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CFDDdOMo.js.map → __federation_expose_placeholder-authCoreCommon-gFDSzGjB.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-Bcn1_oDP.js → __federation_expose_placeholder-authCoreWeb-BZLwIkLk.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-Bcn1_oDP.js.map → __federation_expose_placeholder-authCoreWeb-BZLwIkLk.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-DsXcpNlB.js → __federation_fn_import-pxYUpmb_.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-DsXcpNlB.js.map → __federation_fn_import-pxYUpmb_.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-zqe3PPcn.js → web-BXi2UCP-.js} +7 -7
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BXi2UCP-.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-CmgMfkI5.js → project-builder-lib-O0clDXMb.js} +7137 -136
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-O0clDXMb.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BpuFQk6s.js +52536 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BpuFQk6s.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-BO5VHrCf.js → utils-UiZ-8JBg.js} +5 -6
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-UiZ-8JBg.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-CNzDweD5.js → react-router-BPEAtEJI.js} +1069 -746
- package/dist/web/assets/__federation_shared_@tanstack/react-router-BPEAtEJI.js.map +1 -0
- package/dist/web/assets/{get-auth-plugin-definition-BV2O8wTa.js → get-auth-plugin-definition-DPsrvQbo.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-BV2O8wTa.js.map → get-auth-plugin-definition-DPsrvQbo.js.map} +1 -1
- package/dist/web/assets/{index-BL7fotl7.js → index-CSfs0UAV.js} +2 -2
- package/dist/web/assets/{index-BL7fotl7.js.map → index-CSfs0UAV.js.map} +1 -1
- package/dist/web/assets/{index.esm-B4RpOlq_.js → index.esm-BoRQu8mM.js} +2 -2
- package/dist/web/assets/{index.esm-B4RpOlq_.js.map → index.esm-BoRQu8mM.js.map} +1 -1
- package/dist/web/assets/{model-merger-BwRNqcBu.js → model-merger-CdjliK9v.js} +80 -23
- package/dist/web/assets/model-merger-CdjliK9v.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-CHD5r-h7.js → plugin-definition-BG6tu7Hh.js} +3 -3
- package/dist/web/assets/plugin-definition-BG6tu7Hh.js.map +1 -0
- package/dist/web/assets/{plugin-definition-DA9rJBcS.js → plugin-definition-BMYDEj3f.js} +3 -3
- package/dist/web/assets/plugin-definition-BMYDEj3f.js.map +1 -0
- package/dist/web/assets/{plugin-definition-B9d2CoQL.js → plugin-definition-DRhTuQas.js} +2 -2
- package/dist/web/assets/{plugin-definition-B9d2CoQL.js.map → plugin-definition-DRhTuQas.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-BMTsmwyH.js → plugin-definition-j1nJ0FFI.js} +2 -2
- package/dist/web/assets/{plugin-definition-BMTsmwyH.js.map → plugin-definition-j1nJ0FFI.js.map} +1 -1
- package/dist/web/assets/{react-B9vhIZMy.js → react-CBhSWxr_.js} +2 -2
- package/dist/web/assets/{react-B9vhIZMy.js.map → react-CBhSWxr_.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-BbHyE-2h.js} +3 -3
- package/dist/web/assets/{styles-CEm5K1iU.js.map → styles-BbHyE-2h.js.map} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +21 -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
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_GENERATED: {
|
|
2
|
+
paths: {
|
|
3
|
+
provider: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthAuthEmailTemplatesPaths>;
|
|
4
|
+
task: import("@baseplate-dev/sync").GeneratorTask<{
|
|
5
|
+
localAuthAuthEmailTemplatesPaths: import("@baseplate-dev/sync").ProviderExport<import("./template-paths.js").LocalAuthAuthEmailTemplatesPaths>;
|
|
6
|
+
}, {
|
|
7
|
+
packageInfo: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").PackageInfoProvider>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
};
|
|
10
|
+
renderers: {
|
|
11
|
+
provider: import("@baseplate-dev/sync").ProviderType<import("./template-renderers.js").LocalAuthAuthEmailTemplatesRenderers>;
|
|
12
|
+
task: import("@baseplate-dev/sync").GeneratorTask<{
|
|
13
|
+
localAuthAuthEmailTemplatesRenderers: import("@baseplate-dev/sync").ProviderExport<import("./template-renderers.js").LocalAuthAuthEmailTemplatesRenderers>;
|
|
14
|
+
}, {
|
|
15
|
+
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthAuthEmailTemplatesPaths>;
|
|
16
|
+
transactionalLibImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
17
|
+
Button: {};
|
|
18
|
+
defineEmail: {};
|
|
19
|
+
DefineEmailOptions: {
|
|
20
|
+
isTypeOnly: true;
|
|
21
|
+
};
|
|
22
|
+
Divider: {};
|
|
23
|
+
EmailComponent: {
|
|
24
|
+
isTypeOnly: true;
|
|
25
|
+
};
|
|
26
|
+
EmailLayout: {};
|
|
27
|
+
Heading: {};
|
|
28
|
+
renderEmail: {};
|
|
29
|
+
Section: {};
|
|
30
|
+
Text: {};
|
|
31
|
+
theme: {};
|
|
32
|
+
}>>;
|
|
33
|
+
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
34
|
+
}, undefined>;
|
|
35
|
+
};
|
|
36
|
+
templates: {
|
|
37
|
+
accountVerificationEmail: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
38
|
+
transactionalLibImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
39
|
+
Button: {};
|
|
40
|
+
defineEmail: {};
|
|
41
|
+
DefineEmailOptions: {
|
|
42
|
+
isTypeOnly: true;
|
|
43
|
+
};
|
|
44
|
+
Divider: {};
|
|
45
|
+
EmailComponent: {
|
|
46
|
+
isTypeOnly: true;
|
|
47
|
+
};
|
|
48
|
+
EmailLayout: {};
|
|
49
|
+
Heading: {};
|
|
50
|
+
renderEmail: {};
|
|
51
|
+
Section: {};
|
|
52
|
+
Text: {};
|
|
53
|
+
theme: {};
|
|
54
|
+
}>>;
|
|
55
|
+
}, Record<never, Record<never, never>>>;
|
|
56
|
+
passwordChangedEmail: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
57
|
+
transactionalLibImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
58
|
+
Button: {};
|
|
59
|
+
defineEmail: {};
|
|
60
|
+
DefineEmailOptions: {
|
|
61
|
+
isTypeOnly: true;
|
|
62
|
+
};
|
|
63
|
+
Divider: {};
|
|
64
|
+
EmailComponent: {
|
|
65
|
+
isTypeOnly: true;
|
|
66
|
+
};
|
|
67
|
+
EmailLayout: {};
|
|
68
|
+
Heading: {};
|
|
69
|
+
renderEmail: {};
|
|
70
|
+
Section: {};
|
|
71
|
+
Text: {};
|
|
72
|
+
theme: {};
|
|
73
|
+
}>>;
|
|
74
|
+
}, Record<never, Record<never, never>>>;
|
|
75
|
+
passwordResetEmail: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
76
|
+
transactionalLibImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
77
|
+
Button: {};
|
|
78
|
+
defineEmail: {};
|
|
79
|
+
DefineEmailOptions: {
|
|
80
|
+
isTypeOnly: true;
|
|
81
|
+
};
|
|
82
|
+
Divider: {};
|
|
83
|
+
EmailComponent: {
|
|
84
|
+
isTypeOnly: true;
|
|
85
|
+
};
|
|
86
|
+
EmailLayout: {};
|
|
87
|
+
Heading: {};
|
|
88
|
+
renderEmail: {};
|
|
89
|
+
Section: {};
|
|
90
|
+
Text: {};
|
|
91
|
+
theme: {};
|
|
92
|
+
}>>;
|
|
93
|
+
}, Record<never, Record<never, never>>>;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-templates/generated/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_PATHS } from './template-paths.js';
|
|
2
|
+
import { LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_RENDERERS } from './template-renderers.js';
|
|
3
|
+
import { LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES } from './typed-templates.js';
|
|
4
|
+
// This file is auto-generated by `pnpm generate:templates`
|
|
5
|
+
// Do not edit manually - run the command after adding templates
|
|
6
|
+
export const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_GENERATED = {
|
|
7
|
+
paths: LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_PATHS,
|
|
8
|
+
renderers: LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_RENDERERS,
|
|
9
|
+
templates: LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES,
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-templates/generated/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,yCAAyC,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,yCAAyC,EAAE,MAAM,sBAAsB,CAAC;AAEjF,2DAA2D;AAC3D,gEAAgE;AAChE,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,KAAK,EAAE,qCAAqC;IAC5C,SAAS,EAAE,yCAAyC;IACpD,SAAS,EAAE,yCAAyC;CACrD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface LocalAuthAuthEmailTemplatesPaths {
|
|
2
|
+
accountVerificationEmail: string;
|
|
3
|
+
passwordChangedEmail: string;
|
|
4
|
+
passwordResetEmail: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_PATHS: {
|
|
7
|
+
provider: import("@baseplate-dev/sync").ProviderType<LocalAuthAuthEmailTemplatesPaths>;
|
|
8
|
+
task: import("@baseplate-dev/sync").GeneratorTask<{
|
|
9
|
+
localAuthAuthEmailTemplatesPaths: import("@baseplate-dev/sync").ProviderExport<LocalAuthAuthEmailTemplatesPaths>;
|
|
10
|
+
}, {
|
|
11
|
+
packageInfo: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").PackageInfoProvider>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=template-paths.d.ts.map
|
package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-templates/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gCAAgC;IAC/C,wBAAwB,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AA2BD,eAAO,MAAM,qCAAqC;;;;;;;CAGjD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { packageInfoProvider } from '@baseplate-dev/core-generators';
|
|
2
|
+
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
|
|
3
|
+
const localAuthAuthEmailTemplatesPaths = createProviderType('local-auth-auth-email-templates-paths');
|
|
4
|
+
const localAuthAuthEmailTemplatesPathsTask = createGeneratorTask({
|
|
5
|
+
dependencies: { packageInfo: packageInfoProvider },
|
|
6
|
+
exports: {
|
|
7
|
+
localAuthAuthEmailTemplatesPaths: localAuthAuthEmailTemplatesPaths.export(),
|
|
8
|
+
},
|
|
9
|
+
run({ packageInfo }) {
|
|
10
|
+
const srcRoot = packageInfo.getPackageSrcPath();
|
|
11
|
+
return {
|
|
12
|
+
providers: {
|
|
13
|
+
localAuthAuthEmailTemplatesPaths: {
|
|
14
|
+
accountVerificationEmail: `${srcRoot}/emails/auth/account-verification.email.tsx`,
|
|
15
|
+
passwordChangedEmail: `${srcRoot}/emails/auth/password-changed.email.tsx`,
|
|
16
|
+
passwordResetEmail: `${srcRoot}/emails/auth/password-reset.email.tsx`,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
export const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_PATHS = {
|
|
23
|
+
provider: localAuthAuthEmailTemplatesPaths,
|
|
24
|
+
task: localAuthAuthEmailTemplatesPathsTask,
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=template-paths.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-templates/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,gCAAgC,GACpC,kBAAkB,CAChB,uCAAuC,CACxC,CAAC;AAEJ,MAAM,oCAAoC,GAAG,mBAAmB,CAAC;IAC/D,YAAY,EAAE,EAAE,WAAW,EAAE,mBAAmB,EAAE;IAClD,OAAO,EAAE;QACP,gCAAgC,EAAE,gCAAgC,CAAC,MAAM,EAAE;KAC5E;IACD,GAAG,CAAC,EAAE,WAAW,EAAE;QACjB,MAAM,OAAO,GAAG,WAAW,CAAC,iBAAiB,EAAE,CAAC;QAEhD,OAAO;YACL,SAAS,EAAE;gBACT,gCAAgC,EAAE;oBAChC,wBAAwB,EAAE,GAAG,OAAO,6CAA6C;oBACjF,oBAAoB,EAAE,GAAG,OAAO,yCAAyC;oBACzE,kBAAkB,EAAE,GAAG,OAAO,uCAAuC;iBACtE;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,QAAQ,EAAE,gCAAgC;IAC1C,IAAI,EAAE,oCAAoC;CAC3C,CAAC"}
|
package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { RenderTsTemplateFileActionInput } from '@baseplate-dev/core-generators';
|
|
2
|
+
import type { BuilderAction } from '@baseplate-dev/sync';
|
|
3
|
+
import { LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES } from './typed-templates.js';
|
|
4
|
+
export interface LocalAuthAuthEmailTemplatesRenderers {
|
|
5
|
+
accountVerificationEmail: {
|
|
6
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES.accountVerificationEmail>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
7
|
+
};
|
|
8
|
+
passwordChangedEmail: {
|
|
9
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES.passwordChangedEmail>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
10
|
+
};
|
|
11
|
+
passwordResetEmail: {
|
|
12
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES.passwordResetEmail>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_RENDERERS: {
|
|
16
|
+
provider: import("@baseplate-dev/sync").ProviderType<LocalAuthAuthEmailTemplatesRenderers>;
|
|
17
|
+
task: import("@baseplate-dev/sync").GeneratorTask<{
|
|
18
|
+
localAuthAuthEmailTemplatesRenderers: import("@baseplate-dev/sync").ProviderExport<LocalAuthAuthEmailTemplatesRenderers>;
|
|
19
|
+
}, {
|
|
20
|
+
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthAuthEmailTemplatesPaths>;
|
|
21
|
+
transactionalLibImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
22
|
+
Button: {};
|
|
23
|
+
defineEmail: {};
|
|
24
|
+
DefineEmailOptions: {
|
|
25
|
+
isTypeOnly: true;
|
|
26
|
+
};
|
|
27
|
+
Divider: {};
|
|
28
|
+
EmailComponent: {
|
|
29
|
+
isTypeOnly: true;
|
|
30
|
+
};
|
|
31
|
+
EmailLayout: {};
|
|
32
|
+
Heading: {};
|
|
33
|
+
renderEmail: {};
|
|
34
|
+
Section: {};
|
|
35
|
+
Text: {};
|
|
36
|
+
theme: {};
|
|
37
|
+
}>>;
|
|
38
|
+
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
39
|
+
}, undefined>;
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=template-renderers.d.ts.map
|
package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-templates/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;AAOzD,OAAO,EAAE,yCAAyC,EAAE,MAAM,sBAAsB,CAAC;AAEjF,MAAM,WAAW,oCAAoC;IACnD,wBAAwB,EAAE;QACxB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,yCAAyC,CAAC,wBAAwB,CAC1E,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;IACF,oBAAoB,EAAE;QACpB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,yCAAyC,CAAC,oBAAoB,CACtE,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,yCAAyC,CAAC,kBAAkB,CACpE,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AA+DD,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;CAGrD,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { typescriptFileProvider } from '@baseplate-dev/core-generators';
|
|
2
|
+
import { transactionalLibImportsProvider } from '@baseplate-dev/plugin-email';
|
|
3
|
+
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
|
|
4
|
+
import { LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_PATHS } from './template-paths.js';
|
|
5
|
+
import { LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES } from './typed-templates.js';
|
|
6
|
+
const localAuthAuthEmailTemplatesRenderers = createProviderType('local-auth-auth-email-templates-renderers');
|
|
7
|
+
const localAuthAuthEmailTemplatesRenderersTask = createGeneratorTask({
|
|
8
|
+
dependencies: {
|
|
9
|
+
paths: LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_PATHS.provider,
|
|
10
|
+
transactionalLibImports: transactionalLibImportsProvider,
|
|
11
|
+
typescriptFile: typescriptFileProvider,
|
|
12
|
+
},
|
|
13
|
+
exports: {
|
|
14
|
+
localAuthAuthEmailTemplatesRenderers: localAuthAuthEmailTemplatesRenderers.export(),
|
|
15
|
+
},
|
|
16
|
+
run({ paths, transactionalLibImports, typescriptFile }) {
|
|
17
|
+
return {
|
|
18
|
+
providers: {
|
|
19
|
+
localAuthAuthEmailTemplatesRenderers: {
|
|
20
|
+
accountVerificationEmail: {
|
|
21
|
+
render: (options) => typescriptFile.renderTemplateFile({
|
|
22
|
+
template: LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES.accountVerificationEmail,
|
|
23
|
+
destination: paths.accountVerificationEmail,
|
|
24
|
+
importMapProviders: {
|
|
25
|
+
transactionalLibImports,
|
|
26
|
+
},
|
|
27
|
+
...options,
|
|
28
|
+
}),
|
|
29
|
+
},
|
|
30
|
+
passwordChangedEmail: {
|
|
31
|
+
render: (options) => typescriptFile.renderTemplateFile({
|
|
32
|
+
template: LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES.passwordChangedEmail,
|
|
33
|
+
destination: paths.passwordChangedEmail,
|
|
34
|
+
importMapProviders: {
|
|
35
|
+
transactionalLibImports,
|
|
36
|
+
},
|
|
37
|
+
...options,
|
|
38
|
+
}),
|
|
39
|
+
},
|
|
40
|
+
passwordResetEmail: {
|
|
41
|
+
render: (options) => typescriptFile.renderTemplateFile({
|
|
42
|
+
template: LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES.passwordResetEmail,
|
|
43
|
+
destination: paths.passwordResetEmail,
|
|
44
|
+
importMapProviders: {
|
|
45
|
+
transactionalLibImports,
|
|
46
|
+
},
|
|
47
|
+
...options,
|
|
48
|
+
}),
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
export const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_RENDERERS = {
|
|
56
|
+
provider: localAuthAuthEmailTemplatesRenderers,
|
|
57
|
+
task: localAuthAuthEmailTemplatesRenderersTask,
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=template-renderers.js.map
|
package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-templates/generated/template-renderers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,qCAAqC,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,yCAAyC,EAAE,MAAM,sBAAsB,CAAC;AAmCjF,MAAM,oCAAoC,GACxC,kBAAkB,CAChB,2CAA2C,CAC5C,CAAC;AAEJ,MAAM,wCAAwC,GAAG,mBAAmB,CAAC;IACnE,YAAY,EAAE;QACZ,KAAK,EAAE,qCAAqC,CAAC,QAAQ;QACrD,uBAAuB,EAAE,+BAA+B;QACxD,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE;QACP,oCAAoC,EAClC,oCAAoC,CAAC,MAAM,EAAE;KAChD;IACD,GAAG,CAAC,EAAE,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE;QACpD,OAAO;YACL,SAAS,EAAE;gBACT,oCAAoC,EAAE;oBACpC,wBAAwB,EAAE;wBACxB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EACN,yCAAyC,CAAC,wBAAwB;4BACpE,WAAW,EAAE,KAAK,CAAC,wBAAwB;4BAC3C,kBAAkB,EAAE;gCAClB,uBAAuB;6BACxB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,oBAAoB,EAAE;wBACpB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EACN,yCAAyC,CAAC,oBAAoB;4BAChE,WAAW,EAAE,KAAK,CAAC,oBAAoB;4BACvC,kBAAkB,EAAE;gCAClB,uBAAuB;6BACxB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,kBAAkB,EAAE;wBAClB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EACN,yCAAyC,CAAC,kBAAkB;4BAC9D,WAAW,EAAE,KAAK,CAAC,kBAAkB;4BACrC,kBAAkB,EAAE;gCAClB,uBAAuB;6BACxB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,QAAQ,EAAE,oCAAoC;IAC9C,IAAI,EAAE,wCAAwC;CAC/C,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES: {
|
|
2
|
+
accountVerificationEmail: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
3
|
+
transactionalLibImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
4
|
+
Button: {};
|
|
5
|
+
defineEmail: {};
|
|
6
|
+
DefineEmailOptions: {
|
|
7
|
+
isTypeOnly: true;
|
|
8
|
+
};
|
|
9
|
+
Divider: {};
|
|
10
|
+
EmailComponent: {
|
|
11
|
+
isTypeOnly: true;
|
|
12
|
+
};
|
|
13
|
+
EmailLayout: {};
|
|
14
|
+
Heading: {};
|
|
15
|
+
renderEmail: {};
|
|
16
|
+
Section: {};
|
|
17
|
+
Text: {};
|
|
18
|
+
theme: {};
|
|
19
|
+
}>>;
|
|
20
|
+
}, Record<never, Record<never, never>>>;
|
|
21
|
+
passwordChangedEmail: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
22
|
+
transactionalLibImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
23
|
+
Button: {};
|
|
24
|
+
defineEmail: {};
|
|
25
|
+
DefineEmailOptions: {
|
|
26
|
+
isTypeOnly: true;
|
|
27
|
+
};
|
|
28
|
+
Divider: {};
|
|
29
|
+
EmailComponent: {
|
|
30
|
+
isTypeOnly: true;
|
|
31
|
+
};
|
|
32
|
+
EmailLayout: {};
|
|
33
|
+
Heading: {};
|
|
34
|
+
renderEmail: {};
|
|
35
|
+
Section: {};
|
|
36
|
+
Text: {};
|
|
37
|
+
theme: {};
|
|
38
|
+
}>>;
|
|
39
|
+
}, Record<never, Record<never, never>>>;
|
|
40
|
+
passwordResetEmail: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
41
|
+
transactionalLibImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
42
|
+
Button: {};
|
|
43
|
+
defineEmail: {};
|
|
44
|
+
DefineEmailOptions: {
|
|
45
|
+
isTypeOnly: true;
|
|
46
|
+
};
|
|
47
|
+
Divider: {};
|
|
48
|
+
EmailComponent: {
|
|
49
|
+
isTypeOnly: true;
|
|
50
|
+
};
|
|
51
|
+
EmailLayout: {};
|
|
52
|
+
Heading: {};
|
|
53
|
+
renderEmail: {};
|
|
54
|
+
Section: {};
|
|
55
|
+
Text: {};
|
|
56
|
+
theme: {};
|
|
57
|
+
}>>;
|
|
58
|
+
}, Record<never, Record<never, never>>>;
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=typed-templates.d.ts.map
|
package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-templates/generated/typed-templates.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrD,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createTsTemplateFile } from '@baseplate-dev/core-generators';
|
|
2
|
+
import { transactionalLibImportsProvider } from '@baseplate-dev/plugin-email';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
const accountVerificationEmail = createTsTemplateFile({
|
|
5
|
+
fileOptions: { kind: 'singleton' },
|
|
6
|
+
importMapProviders: {
|
|
7
|
+
transactionalLibImports: transactionalLibImportsProvider,
|
|
8
|
+
},
|
|
9
|
+
name: 'account-verification-email',
|
|
10
|
+
source: {
|
|
11
|
+
path: path.join(import.meta.dirname, '../templates/src/emails/auth/account-verification.email.tsx'),
|
|
12
|
+
},
|
|
13
|
+
variables: {},
|
|
14
|
+
});
|
|
15
|
+
const passwordChangedEmail = createTsTemplateFile({
|
|
16
|
+
fileOptions: { kind: 'singleton' },
|
|
17
|
+
importMapProviders: {
|
|
18
|
+
transactionalLibImports: transactionalLibImportsProvider,
|
|
19
|
+
},
|
|
20
|
+
name: 'password-changed-email',
|
|
21
|
+
source: {
|
|
22
|
+
path: path.join(import.meta.dirname, '../templates/src/emails/auth/password-changed.email.tsx'),
|
|
23
|
+
},
|
|
24
|
+
variables: {},
|
|
25
|
+
});
|
|
26
|
+
const passwordResetEmail = createTsTemplateFile({
|
|
27
|
+
fileOptions: { kind: 'singleton' },
|
|
28
|
+
importMapProviders: {
|
|
29
|
+
transactionalLibImports: transactionalLibImportsProvider,
|
|
30
|
+
},
|
|
31
|
+
name: 'password-reset-email',
|
|
32
|
+
source: {
|
|
33
|
+
path: path.join(import.meta.dirname, '../templates/src/emails/auth/password-reset.email.tsx'),
|
|
34
|
+
},
|
|
35
|
+
variables: {},
|
|
36
|
+
});
|
|
37
|
+
export const LOCAL_AUTH_AUTH_EMAIL_TEMPLATES_TEMPLATES = {
|
|
38
|
+
accountVerificationEmail,
|
|
39
|
+
passwordChangedEmail,
|
|
40
|
+
passwordResetEmail,
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=typed-templates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-templates/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;IACpD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE;QAClB,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,4BAA4B;IAClC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,6DAA6D,CAC9D;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE;QAClB,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,yDAAyD,CAC1D;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,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uDAAuD,CACxD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACvD,wBAAwB;IACxB,oBAAoB;IACpB,kBAAkB;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/auth-email-templates/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/auth-email-templates/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-verification.email.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.tsx"],"names":[],"mappings":";AAkBA,wBAKG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { Button, defineEmail, Divider, EmailLayout, Heading, Section, Text, theme, } from '%transactionalLibImports';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export default defineEmail(AccountVerificationEmail, {
|
|
6
|
+
subject: `Verify your ${theme.branding.name} email address`,
|
|
7
|
+
previewProps: {
|
|
8
|
+
verifyLink: 'https://example.com',
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
function AccountVerificationEmail({ verifyLink, }) {
|
|
12
|
+
return (_jsxs(EmailLayout, { previewText: `Verify your ${theme.branding.name} email address`, children: [_jsx(Heading, { as: "h2", children: "Verify your email" }), _jsxs(Text, { children: ["Thanks for signing up for ", theme.branding.name, "! Please verify your email address to get started."] }), _jsxs(_Fragment, { children: [_jsx(Text, { children: "Click the button below to confirm your email. This link will expire in 24 hours." }), _jsx(Section, { align: "center", children: _jsx(Button, { href: verifyLink, children: "Verify Email" }) })] }), _jsx(Divider, { spacing: "lg" }), _jsxs(Text, { variant: "muted", children: ["If you didn't create an account with ", theme.branding.name, ", you can safely ignore this email."] })] }));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=account-verification.email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-verification.email.js","sourceRoot":"","sources":["../../../../../../../../../src/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.tsx"],"names":[],"mappings":";AAAA,cAAc;AAEd,OAAO,EACL,MAAM,EACN,WAAW,EACX,OAAO,EACP,WAAW,EACX,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,GACN,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAe,WAAW,CAAC,wBAAwB,EAAE;IACnD,OAAO,EAAE,eAAe,KAAK,CAAC,QAAQ,CAAC,IAAI,gBAAgB;IAC3D,YAAY,EAAE;QACZ,UAAU,EAAE,qBAAqB;KAClC;CACF,CAAC,CAAC;AAEH,SAAS,wBAAwB,CAAC,EAChC,UAAU,GACe;IACzB,OAAO,CACL,MAAC,WAAW,IACV,WAAW,EAAE,eAAe,KAAK,CAAC,QAAQ,CAAC,IAAI,gBAAgB,aAE/D,KAAC,OAAO,IAAC,EAAE,EAAC,IAAI,kCAA4B,EAC5C,MAAC,IAAI,6CACwB,KAAK,CAAC,QAAQ,CAAC,IAAI,0DAEzC,EACP,8BACE,KAAC,IAAI,mGAGE,EAEP,KAAC,OAAO,IAAC,KAAK,EAAC,QAAQ,YACrB,KAAC,MAAM,IAAC,IAAI,EAAE,UAAU,6BAAuB,GACvC,IACT,EACH,KAAC,OAAO,IAAC,OAAO,EAAC,IAAI,GAAG,EACxB,MAAC,IAAI,IAAC,OAAO,EAAC,OAAO,sDACmB,KAAK,CAAC,QAAQ,CAAC,IAAI,2CAEpD,IACK,CACf,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
Button,
|
|
5
|
+
defineEmail,
|
|
6
|
+
Divider,
|
|
7
|
+
EmailLayout,
|
|
8
|
+
Heading,
|
|
9
|
+
Section,
|
|
10
|
+
Text,
|
|
11
|
+
theme,
|
|
12
|
+
} from '%transactionalLibImports';
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
|
|
15
|
+
interface AccountVerificationProps {
|
|
16
|
+
verifyLink: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default defineEmail(AccountVerificationEmail, {
|
|
20
|
+
subject: `Verify your ${theme.branding.name} email address`,
|
|
21
|
+
previewProps: {
|
|
22
|
+
verifyLink: 'https://example.com',
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
function AccountVerificationEmail({
|
|
27
|
+
verifyLink,
|
|
28
|
+
}: AccountVerificationProps): React.ReactElement {
|
|
29
|
+
return (
|
|
30
|
+
<EmailLayout
|
|
31
|
+
previewText={`Verify your ${theme.branding.name} email address`}
|
|
32
|
+
>
|
|
33
|
+
<Heading as="h2">Verify your email</Heading>
|
|
34
|
+
<Text>
|
|
35
|
+
Thanks for signing up for {theme.branding.name}! Please verify your
|
|
36
|
+
email address to get started.
|
|
37
|
+
</Text>
|
|
38
|
+
<>
|
|
39
|
+
<Text>
|
|
40
|
+
Click the button below to confirm your email. This link will expire in
|
|
41
|
+
24 hours.
|
|
42
|
+
</Text>
|
|
43
|
+
|
|
44
|
+
<Section align="center">
|
|
45
|
+
<Button href={verifyLink}>Verify Email</Button>
|
|
46
|
+
</Section>
|
|
47
|
+
</>
|
|
48
|
+
<Divider spacing="lg" />
|
|
49
|
+
<Text variant="muted">
|
|
50
|
+
If you didn't create an account with {theme.branding.name}, you can
|
|
51
|
+
safely ignore this email.
|
|
52
|
+
</Text>
|
|
53
|
+
</EmailLayout>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-changed.email.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.tsx"],"names":[],"mappings":";AAYA,wBAGG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { defineEmail, Divider, EmailLayout, Heading, Text, theme, } from '%transactionalLibImports';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export default defineEmail(PasswordChangedEmail, {
|
|
6
|
+
subject: `Your ${theme.branding.name} password has been changed`,
|
|
7
|
+
previewProps: {},
|
|
8
|
+
});
|
|
9
|
+
function PasswordChangedEmail() {
|
|
10
|
+
return (_jsxs(EmailLayout, { previewText: `Your ${theme.branding.name} password has been changed`, children: [_jsx(Heading, { as: "h2", children: "Password changed" }), _jsxs(Text, { children: ["Your ", theme.branding.name, " account password has been successfully changed."] }), _jsx(Text, { children: "If you made this change, no further action is needed. If you did not change your password, please contact support immediately and secure your account." }), _jsx(Divider, { spacing: "lg" }), _jsx(Text, { variant: "muted", children: "This is an automated security notification. You received this email because a password change was made on your account." })] }));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=password-changed.email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-changed.email.js","sourceRoot":"","sources":["../../../../../../../../../src/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.tsx"],"names":[],"mappings":";AAAA,cAAc;AAEd,OAAO,EACL,WAAW,EACX,OAAO,EACP,WAAW,EACX,OAAO,EACP,IAAI,EACJ,KAAK,GACN,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAe,WAAW,CAAC,oBAAoB,EAAE;IAC/C,OAAO,EAAE,QAAQ,KAAK,CAAC,QAAQ,CAAC,IAAI,4BAA4B;IAChE,YAAY,EAAE,EAAE;CACjB,CAAC,CAAC;AAEH,SAAS,oBAAoB;IAC3B,OAAO,CACL,MAAC,WAAW,IACV,WAAW,EAAE,QAAQ,KAAK,CAAC,QAAQ,CAAC,IAAI,4BAA4B,aAEpE,KAAC,OAAO,IAAC,EAAE,EAAC,IAAI,iCAA2B,EAE3C,MAAC,IAAI,wBACG,KAAK,CAAC,QAAQ,CAAC,IAAI,wDAEpB,EAEP,KAAC,IAAI,yKAIE,EAEP,KAAC,OAAO,IAAC,OAAO,EAAC,IAAI,GAAG,EAExB,KAAC,IAAI,IAAC,OAAO,EAAC,OAAO,wIAGd,IACK,CACf,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
defineEmail,
|
|
5
|
+
Divider,
|
|
6
|
+
EmailLayout,
|
|
7
|
+
Heading,
|
|
8
|
+
Text,
|
|
9
|
+
theme,
|
|
10
|
+
} from '%transactionalLibImports';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
|
|
13
|
+
export default defineEmail(PasswordChangedEmail, {
|
|
14
|
+
subject: `Your ${theme.branding.name} password has been changed`,
|
|
15
|
+
previewProps: {},
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
function PasswordChangedEmail(): React.ReactElement {
|
|
19
|
+
return (
|
|
20
|
+
<EmailLayout
|
|
21
|
+
previewText={`Your ${theme.branding.name} password has been changed`}
|
|
22
|
+
>
|
|
23
|
+
<Heading as="h2">Password changed</Heading>
|
|
24
|
+
|
|
25
|
+
<Text>
|
|
26
|
+
Your {theme.branding.name} account password has been successfully
|
|
27
|
+
changed.
|
|
28
|
+
</Text>
|
|
29
|
+
|
|
30
|
+
<Text>
|
|
31
|
+
If you made this change, no further action is needed. If you did not
|
|
32
|
+
change your password, please contact support immediately and secure your
|
|
33
|
+
account.
|
|
34
|
+
</Text>
|
|
35
|
+
|
|
36
|
+
<Divider spacing="lg" />
|
|
37
|
+
|
|
38
|
+
<Text variant="muted">
|
|
39
|
+
This is an automated security notification. You received this email
|
|
40
|
+
because a password change was made on your account.
|
|
41
|
+
</Text>
|
|
42
|
+
</EmailLayout>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-reset.email.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.tsx"],"names":[],"mappings":";AAkBA,wBAKG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import { Button, defineEmail, Divider, EmailLayout, Heading, Section, Text, theme, } from '%transactionalLibImports';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export default defineEmail(PasswordResetEmail, {
|
|
6
|
+
subject: `Reset your ${theme.branding.name} password`,
|
|
7
|
+
previewProps: {
|
|
8
|
+
resetLink: 'https://example.com',
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
function PasswordResetEmail({ resetLink, }) {
|
|
12
|
+
return (_jsxs(EmailLayout, { previewText: `Reset your ${theme.branding.name} password`, children: [_jsx(Heading, { as: "h2", children: "Reset your password" }), _jsxs(Text, { children: ["We received a request to reset the password for your", ' ', theme.branding.name, " account."] }), _jsx(Text, { children: "To choose a new password, click the button below. This link will expire in 1 hour for your security." }), _jsx(Section, { align: "center", children: _jsx(Button, { href: resetLink, children: "Reset Password" }) }), _jsx(Divider, { spacing: "lg" }), _jsx(Text, { variant: "muted", children: "If you didn't request this email, you can safely ignore it. Your account will remain secure." })] }));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=password-reset.email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-reset.email.js","sourceRoot":"","sources":["../../../../../../../../../src/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.tsx"],"names":[],"mappings":";AAAA,cAAc;AAEd,OAAO,EACL,MAAM,EACN,WAAW,EACX,OAAO,EACP,WAAW,EACX,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,GACN,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,eAAe,WAAW,CAAC,kBAAkB,EAAE;IAC7C,OAAO,EAAE,cAAc,KAAK,CAAC,QAAQ,CAAC,IAAI,WAAW;IACrD,YAAY,EAAE;QACZ,SAAS,EAAE,qBAAqB;KACjC;CACF,CAAC,CAAC;AAEH,SAAS,kBAAkB,CAAC,EAC1B,SAAS,GACU;IACnB,OAAO,CACL,MAAC,WAAW,IAAC,WAAW,EAAE,cAAc,KAAK,CAAC,QAAQ,CAAC,IAAI,WAAW,aACpE,KAAC,OAAO,IAAC,EAAE,EAAC,IAAI,oCAA8B,EAE9C,MAAC,IAAI,uEACkD,GAAG,EACvD,KAAK,CAAC,QAAQ,CAAC,IAAI,iBACf,EAEP,KAAC,IAAI,uHAGE,EAEP,KAAC,OAAO,IAAC,KAAK,EAAC,QAAQ,YACrB,KAAC,MAAM,IAAC,IAAI,EAAE,SAAS,+BAAyB,GACxC,EAEV,KAAC,OAAO,IAAC,OAAO,EAAC,IAAI,GAAG,EAExB,KAAC,IAAI,IAAC,OAAO,EAAC,OAAO,6GAGd,IACK,CACf,CAAC;AACJ,CAAC"}
|