@baseplate-dev/plugin-auth 4.0.0 → 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.
Files changed (339) hide show
  1. package/CHANGELOG.md +621 -0
  2. package/dist/auth/core/common.d.ts +2 -5
  3. package/dist/auth/core/common.d.ts.map +1 -1
  4. package/dist/auth/core/common.js +14 -14
  5. package/dist/auth/core/common.js.map +1 -1
  6. package/dist/auth/core/node.d.ts +3 -3
  7. package/dist/auth/core/node.d.ts.map +1 -1
  8. package/dist/auth/core/node.js +5 -8
  9. package/dist/auth/core/node.js.map +1 -1
  10. package/dist/auth/core/web.d.ts +3 -3
  11. package/dist/auth/core/web.d.ts.map +1 -1
  12. package/dist/auth/core/web.js +4 -5
  13. package/dist/auth/core/web.js.map +1 -1
  14. package/dist/auth0/core/common.d.ts +3 -5
  15. package/dist/auth0/core/common.d.ts.map +1 -1
  16. package/dist/auth0/core/common.js +11 -14
  17. package/dist/auth0/core/common.js.map +1 -1
  18. package/dist/auth0/core/node.d.ts +3 -3
  19. package/dist/auth0/core/node.d.ts.map +1 -1
  20. package/dist/auth0/core/node.js +5 -8
  21. package/dist/auth0/core/node.js.map +1 -1
  22. package/dist/auth0/core/schema/plugin-definition.js +1 -1
  23. package/dist/auth0/core/schema/plugin-definition.js.map +1 -1
  24. package/dist/auth0/core/web.d.ts +3 -3
  25. package/dist/auth0/core/web.d.ts.map +1 -1
  26. package/dist/auth0/core/web.js +4 -5
  27. package/dist/auth0/core/web.js.map +1 -1
  28. package/dist/auth0/generators/fastify/auth0-module/templates/module/schema/user-session.queries.ts +1 -1
  29. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +1 -1
  30. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
  31. package/dist/local-auth/admin/common.d.ts +3 -2
  32. package/dist/local-auth/admin/common.d.ts.map +1 -1
  33. package/dist/local-auth/admin/common.js +6 -7
  34. package/dist/local-auth/admin/common.js.map +1 -1
  35. package/dist/local-auth/admin/node.d.ts +3 -6
  36. package/dist/local-auth/admin/node.d.ts.map +1 -1
  37. package/dist/local-auth/admin/node.js +13 -12
  38. package/dist/local-auth/admin/node.js.map +1 -1
  39. package/dist/local-auth/admin/web.d.ts +3 -4
  40. package/dist/local-auth/admin/web.d.ts.map +1 -1
  41. package/dist/local-auth/admin/web.js +22 -21
  42. package/dist/local-auth/admin/web.js.map +1 -1
  43. package/dist/local-auth/constants/model-names.d.ts +4 -0
  44. package/dist/local-auth/constants/model-names.d.ts.map +1 -1
  45. package/dist/local-auth/constants/model-names.js +4 -0
  46. package/dist/local-auth/constants/model-names.js.map +1 -1
  47. package/dist/local-auth/core/common.d.ts +3 -5
  48. package/dist/local-auth/core/common.d.ts.map +1 -1
  49. package/dist/local-auth/core/common.js +10 -13
  50. package/dist/local-auth/core/common.js.map +1 -1
  51. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +49 -0
  52. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -1
  53. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +17 -6
  54. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -1
  55. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +209 -0
  56. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
  57. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +5 -0
  58. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +1 -1
  59. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +5 -0
  60. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +1 -1
  61. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +47 -1
  62. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -1
  63. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +48 -2
  64. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -1
  65. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +18 -0
  66. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +1 -1
  67. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js +12 -0
  68. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +1 -1
  69. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +253 -0
  70. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
  71. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +102 -4
  72. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -1
  73. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +15 -0
  74. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +1 -1
  75. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +15 -0
  76. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +1 -1
  77. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +18 -0
  78. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts +2 -0
  79. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts.map +1 -0
  80. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js +24 -0
  81. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js.map +1 -0
  82. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.ts +35 -0
  83. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts +2 -0
  84. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts.map +1 -0
  85. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js +38 -0
  86. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js.map +1 -0
  87. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.ts +54 -0
  88. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.d.ts +40 -0
  89. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.d.ts.map +1 -0
  90. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.js +106 -0
  91. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.js.map +1 -0
  92. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/auth-verification.service.ts +146 -0
  93. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts +24 -0
  94. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts.map +1 -0
  95. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +88 -0
  96. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js.map +1 -0
  97. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +141 -0
  98. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts +35 -0
  99. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts.map +1 -0
  100. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +157 -0
  101. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js.map +1 -0
  102. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +233 -0
  103. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
  104. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +48 -14
  105. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -1
  106. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +79 -15
  107. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +43 -0
  108. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts.map +1 -0
  109. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +48 -0
  110. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js.map +1 -0
  111. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +96 -0
  112. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts.map +1 -0
  113. package/dist/local-auth/core/generators/auth-email-templates/generated/index.js +11 -0
  114. package/dist/local-auth/core/generators/auth-email-templates/generated/index.js.map +1 -0
  115. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +14 -0
  116. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map +1 -0
  117. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +26 -0
  118. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js.map +1 -0
  119. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +41 -0
  120. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map +1 -0
  121. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +59 -0
  122. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map +1 -0
  123. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +60 -0
  124. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map +1 -0
  125. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +42 -0
  126. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js.map +1 -0
  127. package/dist/local-auth/core/generators/auth-email-templates/index.d.ts +2 -0
  128. package/dist/local-auth/core/generators/auth-email-templates/index.d.ts.map +1 -0
  129. package/dist/local-auth/core/generators/auth-email-templates/index.js +2 -0
  130. package/dist/local-auth/core/generators/auth-email-templates/index.js.map +1 -0
  131. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts +3 -0
  132. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts.map +1 -0
  133. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js +14 -0
  134. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js.map +1 -0
  135. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.tsx +55 -0
  136. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts +3 -0
  137. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts.map +1 -0
  138. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js +12 -0
  139. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js.map +1 -0
  140. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.tsx +44 -0
  141. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts +3 -0
  142. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts.map +1 -0
  143. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js +14 -0
  144. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js.map +1 -0
  145. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.tsx +55 -0
  146. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +1 -0
  147. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
  148. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +1 -1
  149. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
  150. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +2 -0
  151. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
  152. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +1 -0
  153. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -1
  154. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +1 -0
  155. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
  156. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +1 -1
  157. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +1 -1
  158. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +1 -1
  159. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +2 -2
  160. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -1
  161. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +2 -2
  162. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
  163. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +1 -0
  164. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -1
  165. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +722 -4
  166. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
  167. package/dist/local-auth/core/generators/auth-routes/generated/index.js +2 -0
  168. package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +1 -1
  169. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +4 -0
  170. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -1
  171. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +4 -0
  172. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -1
  173. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +4 -1
  174. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
  175. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +14 -0
  176. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -1
  177. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts +21 -0
  178. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts.map +1 -0
  179. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js +30 -0
  180. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js.map +1 -0
  181. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +1216 -34
  182. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
  183. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +70 -2
  184. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
  185. package/dist/local-auth/core/generators/auth-routes/index.d.ts +2 -0
  186. package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +1 -1
  187. package/dist/local-auth/core/generators/auth-routes/index.js +1 -0
  188. package/dist/local-auth/core/generators/auth-routes/index.js.map +1 -1
  189. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts +10 -0
  190. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts.map +1 -0
  191. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js +11 -0
  192. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js.map +1 -0
  193. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.ts +12 -0
  194. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts +2 -0
  195. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts.map +1 -0
  196. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js +60 -0
  197. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js.map +1 -0
  198. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.tsx +127 -0
  199. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +1 -1
  200. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +1 -1
  201. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +6 -11
  202. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -1
  203. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +20 -19
  204. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +1 -1
  205. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +1 -1
  206. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +2 -2
  207. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -1
  208. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +2 -3
  209. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts +7 -0
  210. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts.map +1 -0
  211. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +131 -0
  212. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js.map +1 -0
  213. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +240 -0
  214. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts +7 -0
  215. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts.map +1 -0
  216. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +106 -0
  217. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js.map +1 -0
  218. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx +206 -0
  219. package/dist/local-auth/core/generators/index.d.ts +1 -0
  220. package/dist/local-auth/core/generators/index.d.ts.map +1 -1
  221. package/dist/local-auth/core/generators/index.js +1 -0
  222. package/dist/local-auth/core/generators/index.js.map +1 -1
  223. package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +12 -0
  224. package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +1 -1
  225. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +6 -0
  226. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +1 -1
  227. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +6 -0
  228. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +1 -1
  229. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +6 -0
  230. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +1 -1
  231. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +1 -1
  232. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +1 -1
  233. package/dist/local-auth/core/node.d.ts +3 -3
  234. package/dist/local-auth/core/node.d.ts.map +1 -1
  235. package/dist/local-auth/core/node.js +16 -9
  236. package/dist/local-auth/core/node.js.map +1 -1
  237. package/dist/local-auth/core/schema/models.d.ts.map +1 -1
  238. package/dist/local-auth/core/schema/models.js +60 -0
  239. package/dist/local-auth/core/schema/models.js.map +1 -1
  240. package/dist/local-auth/core/web.d.ts +3 -3
  241. package/dist/local-auth/core/web.d.ts.map +1 -1
  242. package/dist/local-auth/core/web.js +4 -5
  243. package/dist/local-auth/core/web.js.map +1 -1
  244. package/dist/placeholder-auth/core/common.d.ts +2 -5
  245. package/dist/placeholder-auth/core/common.d.ts.map +1 -1
  246. package/dist/placeholder-auth/core/common.js +10 -13
  247. package/dist/placeholder-auth/core/common.js.map +1 -1
  248. package/dist/placeholder-auth/core/node.d.ts +3 -3
  249. package/dist/placeholder-auth/core/node.d.ts.map +1 -1
  250. package/dist/placeholder-auth/core/node.js +5 -8
  251. package/dist/placeholder-auth/core/node.js.map +1 -1
  252. package/dist/placeholder-auth/core/schema/plugin-definition.js +1 -1
  253. package/dist/placeholder-auth/core/schema/plugin-definition.js.map +1 -1
  254. package/dist/placeholder-auth/core/web.d.ts +3 -3
  255. package/dist/placeholder-auth/core/web.d.ts.map +1 -1
  256. package/dist/placeholder-auth/core/web.js +4 -5
  257. package/dist/placeholder-auth/core/web.js.map +1 -1
  258. package/dist/web/assets/__federation_expose_auth0CoreCommon-DKJVe6Rd.js +40 -0
  259. package/dist/web/assets/__federation_expose_auth0CoreCommon-DKJVe6Rd.js.map +1 -0
  260. package/dist/web/assets/{__federation_expose_auth0CoreWeb-CZueDXPK.js → __federation_expose_auth0CoreWeb-CfhSWZsK.js} +9 -10
  261. package/dist/web/assets/{__federation_expose_auth0CoreWeb-CZueDXPK.js.map → __federation_expose_auth0CoreWeb-CfhSWZsK.js.map} +1 -1
  262. package/dist/web/assets/__federation_expose_authCoreCommon-D3-Gk9mI.js +29 -0
  263. package/dist/web/assets/__federation_expose_authCoreCommon-D3-Gk9mI.js.map +1 -0
  264. package/dist/web/assets/{__federation_expose_authCoreWeb-C8rgnA2v.js → __federation_expose_authCoreWeb-DZoAij9e.js} +10 -11
  265. package/dist/web/assets/{__federation_expose_authCoreWeb-C8rgnA2v.js.map → __federation_expose_authCoreWeb-DZoAij9e.js.map} +1 -1
  266. package/dist/web/assets/{__federation_expose_local-authAdminCommon-C75-DAzO.js → __federation_expose_local-authAdminCommon-BRHnF0Hn.js} +8 -9
  267. package/dist/web/assets/__federation_expose_local-authAdminCommon-BRHnF0Hn.js.map +1 -0
  268. package/dist/web/assets/__federation_expose_local-authAdminWeb-dYAIxuqC.js +41 -0
  269. package/dist/web/assets/__federation_expose_local-authAdminWeb-dYAIxuqC.js.map +1 -0
  270. package/dist/web/assets/__federation_expose_local-authCoreCommon-CIwvOx0d.js +21 -0
  271. package/dist/web/assets/__federation_expose_local-authCoreCommon-CIwvOx0d.js.map +1 -0
  272. package/dist/web/assets/{__federation_expose_local-authCoreWeb-ChyvdsRq.js → __federation_expose_local-authCoreWeb-Bwooi2qZ.js} +70 -11
  273. package/dist/web/assets/__federation_expose_local-authCoreWeb-Bwooi2qZ.js.map +1 -0
  274. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-gFDSzGjB.js +23 -0
  275. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-gFDSzGjB.js.map +1 -0
  276. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-CT8JKYLB.js → __federation_expose_placeholder-authCoreWeb-BZLwIkLk.js} +9 -13
  277. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-CT8JKYLB.js.map → __federation_expose_placeholder-authCoreWeb-BZLwIkLk.js.map} +1 -1
  278. package/dist/web/assets/{__federation_fn_import-C_QCk5FX.js → __federation_fn_import-pxYUpmb_.js} +2 -2
  279. package/dist/web/assets/{__federation_fn_import-C_QCk5FX.js.map → __federation_fn_import-pxYUpmb_.js.map} +1 -1
  280. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-DtztAtUw.js → web-BXi2UCP-.js} +39 -120
  281. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BXi2UCP-.js.map +1 -0
  282. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-O0clDXMb.js +17445 -0
  283. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-O0clDXMb.js.map +1 -0
  284. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BpuFQk6s.js +52536 -0
  285. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BpuFQk6s.js.map +1 -0
  286. package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-Bxy-1ETU.js → utils-UiZ-8JBg.js} +30 -10
  287. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-UiZ-8JBg.js.map +1 -0
  288. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DooFj-IS.js → react-router-BPEAtEJI.js} +1069 -746
  289. package/dist/web/assets/__federation_shared_@tanstack/react-router-BPEAtEJI.js.map +1 -0
  290. package/dist/web/assets/{get-auth-plugin-definition-D2XMaoy7.js → get-auth-plugin-definition-DPsrvQbo.js} +2 -2
  291. package/dist/web/assets/{get-auth-plugin-definition-D2XMaoy7.js.map → get-auth-plugin-definition-DPsrvQbo.js.map} +1 -1
  292. package/dist/web/assets/{index-DwJT6_Wn.js → index-CSfs0UAV.js} +2 -2
  293. package/dist/web/assets/{index-DwJT6_Wn.js.map → index-CSfs0UAV.js.map} +1 -1
  294. package/dist/web/assets/{index.esm-ChwWPPiL.js → index.esm-BoRQu8mM.js} +2 -2
  295. package/dist/web/assets/{index.esm-ChwWPPiL.js.map → index.esm-BoRQu8mM.js.map} +1 -1
  296. package/dist/web/assets/{isEqual-DAXqKRba.js → isEqual-BQtm2LNT.js} +5 -5
  297. package/dist/web/assets/{isEqual-DAXqKRba.js.map → isEqual-BQtm2LNT.js.map} +1 -1
  298. package/dist/web/assets/{model-merger-gGkFnyaY.js → model-merger-CdjliK9v.js} +266 -101
  299. package/dist/web/assets/model-merger-CdjliK9v.js.map +1 -0
  300. package/dist/web/assets/{model-names-CEoSIalq.js → model-names-DrcaRxt1.js} +6 -2
  301. package/dist/web/assets/{model-names-CEoSIalq.js.map → model-names-DrcaRxt1.js.map} +1 -1
  302. package/dist/web/assets/{plugin-definition-rpMj4pr8.js → plugin-definition-BG6tu7Hh.js} +3 -3
  303. package/dist/web/assets/plugin-definition-BG6tu7Hh.js.map +1 -0
  304. package/dist/web/assets/{plugin-definition-QRBMcFiG.js → plugin-definition-BMYDEj3f.js} +3 -3
  305. package/dist/web/assets/plugin-definition-BMYDEj3f.js.map +1 -0
  306. package/dist/web/assets/{plugin-definition-hAzbWO7b.js → plugin-definition-DRhTuQas.js} +2 -2
  307. package/dist/web/assets/{plugin-definition-hAzbWO7b.js.map → plugin-definition-DRhTuQas.js.map} +1 -1
  308. package/dist/web/assets/{plugin-definition-_slrOM0G.js → plugin-definition-j1nJ0FFI.js} +2 -2
  309. package/dist/web/assets/{plugin-definition-_slrOM0G.js.map → plugin-definition-j1nJ0FFI.js.map} +1 -1
  310. package/dist/web/assets/{react-DbX1FP85.js → react-CBhSWxr_.js} +2 -2
  311. package/dist/web/assets/{react-DbX1FP85.js.map → react-CBhSWxr_.js.map} +1 -1
  312. package/dist/web/assets/remoteEntry.js +20 -20
  313. package/dist/web/assets/{style-DZ-aOCkd.css → style-DiK_rD1L.css} +1 -1
  314. package/dist/web/assets/{styles-DqLt1Blm.js → styles-BbHyE-2h.js} +3 -3
  315. package/dist/web/assets/{styles-DqLt1Blm.js.map → styles-BbHyE-2h.js.map} +1 -1
  316. package/dist/web/index.html +1 -1
  317. package/package.json +23 -20
  318. package/dist/web/assets/__federation_expose_auth0CoreCommon-Ga9LD3d6.js +0 -43
  319. package/dist/web/assets/__federation_expose_auth0CoreCommon-Ga9LD3d6.js.map +0 -1
  320. package/dist/web/assets/__federation_expose_authCoreCommon-BrTLsuJC.js +0 -29
  321. package/dist/web/assets/__federation_expose_authCoreCommon-BrTLsuJC.js.map +0 -1
  322. package/dist/web/assets/__federation_expose_local-authAdminCommon-C75-DAzO.js.map +0 -1
  323. package/dist/web/assets/__federation_expose_local-authAdminWeb-D2xGvwyL.js +0 -40
  324. package/dist/web/assets/__federation_expose_local-authAdminWeb-D2xGvwyL.js.map +0 -1
  325. package/dist/web/assets/__federation_expose_local-authCoreCommon-BFUbyPYg.js +0 -27
  326. package/dist/web/assets/__federation_expose_local-authCoreCommon-BFUbyPYg.js.map +0 -1
  327. package/dist/web/assets/__federation_expose_local-authCoreWeb-ChyvdsRq.js.map +0 -1
  328. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-DrFV9FSW.js +0 -26
  329. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-DrFV9FSW.js.map +0 -1
  330. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-DtztAtUw.js.map +0 -1
  331. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CcNtL_U6.js +0 -10507
  332. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CcNtL_U6.js.map +0 -1
  333. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DA_4I2Vy.js +0 -24082
  334. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DA_4I2Vy.js.map +0 -1
  335. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-Bxy-1ETU.js.map +0 -1
  336. package/dist/web/assets/__federation_shared_@tanstack/react-router-DooFj-IS.js.map +0 -1
  337. package/dist/web/assets/model-merger-gGkFnyaY.js.map +0 -1
  338. package/dist/web/assets/plugin-definition-QRBMcFiG.js.map +0 -1
  339. package/dist/web/assets/plugin-definition-rpMj4pr8.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
@@ -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"}
@@ -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
@@ -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
@@ -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
@@ -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,2 @@
1
+ export * from './auth-email-templates.generator.js';
2
+ //# 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/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './auth-email-templates.generator.js';
2
+ //# sourceMappingURL=index.js.map
@@ -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,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=account-verification.email.d.ts.map
@@ -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,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=password-changed.email.d.ts.map
@@ -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,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=password-reset.email.d.ts.map
@@ -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"}