@baseplate-dev/plugin-auth 0.1.3 → 0.6.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 (1160) hide show
  1. package/CHANGELOG.md +702 -0
  2. package/README.md +3 -3
  3. package/dist/auth/core/common.d.ts +2 -5
  4. package/dist/auth/core/common.d.ts.map +1 -1
  5. package/dist/auth/core/common.js +15 -19
  6. package/dist/auth/core/common.js.map +1 -1
  7. package/dist/auth/core/components/auth-definition-editor.d.ts.map +1 -1
  8. package/dist/auth/core/components/auth-definition-editor.js +46 -28
  9. package/dist/auth/core/components/auth-definition-editor.js.map +1 -1
  10. package/dist/auth/core/components/role-editor-form/role-dialog.d.ts +14 -0
  11. package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +1 -0
  12. package/dist/auth/core/components/role-editor-form/role-dialog.js +29 -0
  13. package/dist/auth/core/components/role-editor-form/role-dialog.js.map +1 -0
  14. package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts +10 -0
  15. package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts.map +1 -0
  16. package/dist/auth/core/components/role-editor-form/role-editor-form.js +52 -0
  17. package/dist/auth/core/components/role-editor-form/role-editor-form.js.map +1 -0
  18. package/dist/auth/core/node.d.ts +3 -3
  19. package/dist/auth/core/node.d.ts.map +1 -1
  20. package/dist/auth/core/node.js +14 -26
  21. package/dist/auth/core/node.js.map +1 -1
  22. package/dist/auth/core/schema/plugin-definition.d.ts +11 -69
  23. package/dist/auth/core/schema/plugin-definition.d.ts.map +1 -1
  24. package/dist/auth/core/schema/plugin-definition.js +9 -24
  25. package/dist/auth/core/schema/plugin-definition.js.map +1 -1
  26. package/dist/auth/core/schema/roles/constants.d.ts.map +1 -0
  27. package/dist/auth/core/schema/roles/constants.js.map +1 -0
  28. package/dist/auth/core/schema/roles/index.d.ts.map +1 -0
  29. package/dist/auth/core/schema/roles/index.js.map +1 -0
  30. package/dist/auth/core/schema/roles/schema.d.ts +54 -0
  31. package/dist/auth/core/schema/roles/schema.d.ts.map +1 -0
  32. package/dist/auth/core/schema/roles/schema.js +37 -0
  33. package/dist/auth/core/schema/roles/schema.js.map +1 -0
  34. package/dist/auth/core/web.d.ts +3 -3
  35. package/dist/auth/core/web.d.ts.map +1 -1
  36. package/dist/auth/core/web.js +5 -6
  37. package/dist/auth/core/web.js.map +1 -1
  38. package/dist/auth/index.d.ts +1 -1
  39. package/dist/auth/index.d.ts.map +1 -1
  40. package/dist/auth/index.js +1 -1
  41. package/dist/auth/index.js.map +1 -1
  42. package/dist/auth/plugin.json +8 -0
  43. package/dist/auth/utils/get-auth-plugin-definition.d.ts +9 -0
  44. package/dist/auth/utils/get-auth-plugin-definition.d.ts.map +1 -0
  45. package/dist/auth/utils/get-auth-plugin-definition.js +10 -0
  46. package/dist/auth/utils/get-auth-plugin-definition.js.map +1 -0
  47. package/dist/auth/utils/index.d.ts +2 -0
  48. package/dist/auth/utils/index.d.ts.map +1 -0
  49. package/dist/auth/utils/index.js +2 -0
  50. package/dist/auth/utils/index.js.map +1 -0
  51. package/dist/better-auth/constants/model-names.d.ts +8 -0
  52. package/dist/better-auth/constants/model-names.d.ts.map +1 -0
  53. package/dist/better-auth/constants/model-names.js +8 -0
  54. package/dist/better-auth/constants/model-names.js.map +1 -0
  55. package/dist/better-auth/constants/packages.d.ts +4 -0
  56. package/dist/better-auth/constants/packages.d.ts.map +1 -0
  57. package/dist/better-auth/constants/packages.js +4 -0
  58. package/dist/better-auth/constants/packages.js.map +1 -0
  59. package/dist/better-auth/core/common.d.ts +6 -0
  60. package/dist/better-auth/core/common.d.ts.map +1 -0
  61. package/dist/better-auth/core/common.js +17 -0
  62. package/dist/better-auth/core/common.js.map +1 -0
  63. package/dist/better-auth/core/components/better-auth-definition-editor.d.ts +5 -0
  64. package/dist/better-auth/core/components/better-auth-definition-editor.d.ts.map +1 -0
  65. package/dist/better-auth/core/components/better-auth-definition-editor.js +50 -0
  66. package/dist/better-auth/core/components/better-auth-definition-editor.js.map +1 -0
  67. package/dist/better-auth/core/index.d.ts +2 -0
  68. package/dist/better-auth/core/index.d.ts.map +1 -0
  69. package/dist/better-auth/core/index.js +2 -0
  70. package/dist/better-auth/core/index.js.map +1 -0
  71. package/dist/better-auth/core/node.d.ts +5 -0
  72. package/dist/better-auth/core/node.d.ts.map +1 -0
  73. package/dist/better-auth/core/node.js +47 -0
  74. package/dist/better-auth/core/node.js.map +1 -0
  75. package/dist/better-auth/core/schema/models.d.ts +3 -0
  76. package/dist/better-auth/core/schema/models.d.ts.map +1 -0
  77. package/dist/better-auth/core/schema/models.js +278 -0
  78. package/dist/better-auth/core/schema/models.js.map +1 -0
  79. package/dist/better-auth/core/schema/plugin-definition.d.ts +5 -0
  80. package/dist/better-auth/core/schema/plugin-definition.d.ts.map +1 -0
  81. package/dist/better-auth/core/schema/plugin-definition.js +4 -0
  82. package/dist/better-auth/core/schema/plugin-definition.js.map +1 -0
  83. package/dist/better-auth/core/web.d.ts +6 -0
  84. package/dist/better-auth/core/web.d.ts.map +1 -0
  85. package/dist/better-auth/core/web.js +13 -0
  86. package/dist/better-auth/core/web.js.map +1 -0
  87. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +85 -0
  88. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts.map +1 -0
  89. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +75 -0
  90. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js.map +1 -0
  91. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +142 -0
  92. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts.map +1 -0
  93. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js +11 -0
  94. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js.map +1 -0
  95. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts +16 -0
  96. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts.map +1 -0
  97. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js +28 -0
  98. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js.map +1 -0
  99. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +73 -0
  100. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts.map +1 -0
  101. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js +84 -0
  102. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js.map +1 -0
  103. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts +30 -0
  104. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts.map +1 -0
  105. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js +37 -0
  106. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js.map +1 -0
  107. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +65 -0
  108. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts.map +1 -0
  109. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js +72 -0
  110. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js.map +1 -0
  111. package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts +4 -0
  112. package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts.map +1 -0
  113. package/dist/better-auth/generators/fastify/better-auth-module/index.js +3 -0
  114. package/dist/better-auth/generators/fastify/better-auth-module/index.js.map +1 -0
  115. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/plugins/better-auth.plugin.ts +31 -0
  116. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/schema/user-session.queries.ts +22 -0
  117. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +62 -0
  118. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/user-session.service.ts +72 -0
  119. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/utils/headers.utils.ts +21 -0
  120. package/dist/better-auth/generators/fastify/index.d.ts +2 -0
  121. package/dist/better-auth/generators/fastify/index.d.ts.map +1 -0
  122. package/dist/better-auth/generators/fastify/index.js +2 -0
  123. package/dist/better-auth/generators/fastify/index.js.map +1 -0
  124. package/dist/better-auth/generators/index.d.ts.map +1 -0
  125. package/dist/better-auth/generators/index.js.map +1 -0
  126. package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts +43 -0
  127. package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts.map +1 -0
  128. package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js +37 -0
  129. package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js.map +1 -0
  130. package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts +72 -0
  131. package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts.map +1 -0
  132. package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js +11 -0
  133. package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js.map +1 -0
  134. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts +14 -0
  135. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts.map +1 -0
  136. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js +26 -0
  137. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js.map +1 -0
  138. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts +27 -0
  139. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts.map +1 -0
  140. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js +43 -0
  141. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js.map +1 -0
  142. package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts +18 -0
  143. package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts.map +1 -0
  144. package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js +27 -0
  145. package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js.map +1 -0
  146. package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts +51 -0
  147. package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts.map +1 -0
  148. package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js +48 -0
  149. package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js.map +1 -0
  150. package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts +2 -0
  151. package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts.map +1 -0
  152. package/dist/better-auth/generators/react/better-auth-hooks/index.js +2 -0
  153. package/dist/better-auth/generators/react/better-auth-hooks/index.js.map +1 -0
  154. package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-log-out.ts +18 -0
  155. package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-required-user-id.ts +11 -0
  156. package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-session.ts +30 -0
  157. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +237 -0
  158. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +1 -0
  159. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js +26 -0
  160. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js.map +1 -0
  161. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +688 -0
  162. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +1 -0
  163. package/dist/better-auth/generators/react/better-auth-pages/generated/index.js +9 -0
  164. package/dist/better-auth/generators/react/better-auth-pages/generated/index.js.map +1 -0
  165. package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts +13 -0
  166. package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts.map +1 -0
  167. package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js +25 -0
  168. package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js.map +1 -0
  169. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +238 -0
  170. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +1 -0
  171. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js +44 -0
  172. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js.map +1 -0
  173. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +895 -0
  174. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +1 -0
  175. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js +35 -0
  176. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +1 -0
  177. package/dist/better-auth/generators/react/better-auth-pages/index.d.ts +2 -0
  178. package/dist/better-auth/generators/react/better-auth-pages/index.d.ts.map +1 -0
  179. package/dist/better-auth/generators/react/better-auth-pages/index.js +2 -0
  180. package/dist/better-auth/generators/react/better-auth-pages/index.js.map +1 -0
  181. package/dist/better-auth/generators/react/better-auth-pages/templates/routes/auth/login.tsx +146 -0
  182. package/dist/better-auth/generators/react/better-auth-pages/templates/routes/auth/register.tsx +162 -0
  183. package/dist/better-auth/generators/react/index.d.ts +4 -0
  184. package/dist/better-auth/generators/react/index.d.ts.map +1 -0
  185. package/dist/better-auth/generators/react/index.js +4 -0
  186. package/dist/better-auth/generators/react/index.js.map +1 -0
  187. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +491 -0
  188. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +1 -0
  189. package/dist/better-auth/generators/react/react-better-auth/generated/index.js +11 -0
  190. package/dist/better-auth/generators/react/react-better-auth/generated/index.js.map +1 -0
  191. package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts +13 -0
  192. package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts.map +1 -0
  193. package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js +25 -0
  194. package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js.map +1 -0
  195. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +248 -0
  196. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +1 -0
  197. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js +51 -0
  198. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js.map +1 -0
  199. package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts +21 -0
  200. package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts.map +1 -0
  201. package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js +30 -0
  202. package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js.map +1 -0
  203. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +235 -0
  204. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +1 -0
  205. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js +33 -0
  206. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js.map +1 -0
  207. package/dist/better-auth/generators/react/react-better-auth/index.d.ts +4 -0
  208. package/dist/better-auth/generators/react/react-better-auth/index.d.ts.map +1 -0
  209. package/dist/better-auth/generators/react/react-better-auth/index.js +3 -0
  210. package/dist/better-auth/generators/react/react-better-auth/index.js.map +1 -0
  211. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +268 -0
  212. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +1 -0
  213. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js +74 -0
  214. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js.map +1 -0
  215. package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx +58 -0
  216. package/dist/better-auth/generators/react/react-better-auth/templates/src/services/auth-client.ts +15 -0
  217. package/dist/better-auth/index.d.ts +3 -0
  218. package/dist/better-auth/index.d.ts.map +1 -0
  219. package/dist/better-auth/index.js +2 -0
  220. package/dist/better-auth/index.js.map +1 -0
  221. package/dist/better-auth/plugin.json +9 -0
  222. package/dist/better-auth/static/icon.svg +10 -0
  223. package/dist/common/components/auth-config-tabs.d.ts +2 -0
  224. package/dist/common/components/auth-config-tabs.d.ts.map +1 -0
  225. package/dist/common/components/auth-config-tabs.js +21 -0
  226. package/dist/common/components/auth-config-tabs.js.map +1 -0
  227. package/dist/index.d.ts +3 -1
  228. package/dist/index.js +2 -1
  229. package/dist/local-auth/admin/common.d.ts +5 -0
  230. package/dist/local-auth/admin/common.d.ts.map +1 -0
  231. package/dist/local-auth/admin/common.js +29 -0
  232. package/dist/local-auth/admin/common.js.map +1 -0
  233. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +474 -0
  234. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -0
  235. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +125 -0
  236. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -0
  237. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +474 -0
  238. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -0
  239. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js +9 -0
  240. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +1 -0
  241. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +12 -0
  242. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +1 -0
  243. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +24 -0
  244. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +1 -0
  245. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +242 -0
  246. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -0
  247. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +41 -0
  248. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +1 -0
  249. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +231 -0
  250. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -0
  251. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +20 -0
  252. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +1 -0
  253. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts +2 -0
  254. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +1 -0
  255. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js +2 -0
  256. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +1 -0
  257. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +22 -0
  258. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -0
  259. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +78 -0
  260. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -0
  261. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +167 -0
  262. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +473 -0
  263. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -0
  264. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +117 -0
  265. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -0
  266. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +474 -0
  267. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -0
  268. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js +9 -0
  269. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +1 -0
  270. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +12 -0
  271. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +1 -0
  272. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +24 -0
  273. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +1 -0
  274. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +242 -0
  275. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -0
  276. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +41 -0
  277. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +1 -0
  278. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +459 -0
  279. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -0
  280. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +22 -0
  281. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +1 -0
  282. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts +2 -0
  283. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +1 -0
  284. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js +2 -0
  285. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js.map +1 -0
  286. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +22 -0
  287. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -0
  288. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +89 -0
  289. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -0
  290. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +174 -0
  291. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +221 -0
  292. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -0
  293. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +54 -0
  294. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +1 -0
  295. package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts +2 -0
  296. package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +1 -0
  297. package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js +2 -0
  298. package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js.map +1 -0
  299. package/dist/local-auth/admin/node.d.ts +5 -0
  300. package/dist/local-auth/admin/node.d.ts.map +1 -0
  301. package/dist/local-auth/admin/node.js +57 -0
  302. package/dist/local-auth/admin/node.js.map +1 -0
  303. package/dist/local-auth/admin/schema/manage-role-action.d.ts +12 -0
  304. package/dist/local-auth/admin/schema/manage-role-action.d.ts.map +1 -0
  305. package/dist/local-auth/admin/schema/manage-role-action.js +6 -0
  306. package/dist/local-auth/admin/schema/manage-role-action.js.map +1 -0
  307. package/dist/local-auth/admin/schema/reset-password-action.d.ts +12 -0
  308. package/dist/local-auth/admin/schema/reset-password-action.d.ts.map +1 -0
  309. package/dist/local-auth/admin/schema/reset-password-action.js +6 -0
  310. package/dist/local-auth/admin/schema/reset-password-action.js.map +1 -0
  311. package/dist/local-auth/admin/schema/roles-column.d.ts +9 -0
  312. package/dist/local-auth/admin/schema/roles-column.d.ts.map +1 -0
  313. package/dist/local-auth/admin/schema/roles-column.js +6 -0
  314. package/dist/local-auth/admin/schema/roles-column.js.map +1 -0
  315. package/dist/local-auth/admin/web.d.ts +5 -0
  316. package/dist/local-auth/admin/web.d.ts.map +1 -0
  317. package/dist/local-auth/admin/web.js +39 -0
  318. package/dist/local-auth/admin/web.js.map +1 -0
  319. package/dist/local-auth/constants/model-names.d.ts +23 -0
  320. package/dist/local-auth/constants/model-names.d.ts.map +1 -0
  321. package/dist/local-auth/constants/model-names.js +23 -0
  322. package/dist/local-auth/constants/model-names.js.map +1 -0
  323. package/dist/local-auth/core/common.d.ts +6 -0
  324. package/dist/local-auth/core/common.d.ts.map +1 -0
  325. package/dist/local-auth/core/common.js +17 -0
  326. package/dist/local-auth/core/common.js.map +1 -0
  327. package/dist/local-auth/core/components/local-auth-definition-editor.d.ts +5 -0
  328. package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +1 -0
  329. package/dist/local-auth/core/components/local-auth-definition-editor.js +59 -0
  330. package/dist/local-auth/core/components/local-auth-definition-editor.js.map +1 -0
  331. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +14 -0
  332. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +1 -0
  333. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js +40 -0
  334. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js.map +1 -0
  335. package/dist/local-auth/core/generators/auth-apollo/index.d.ts +2 -0
  336. package/dist/local-auth/core/generators/auth-apollo/index.d.ts.map +1 -0
  337. package/dist/local-auth/core/generators/auth-apollo/index.js +2 -0
  338. package/dist/local-auth/core/generators/auth-apollo/index.js.map +1 -0
  339. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts +2 -0
  340. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +1 -0
  341. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js +20 -0
  342. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js.map +1 -0
  343. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.ts +18 -0
  344. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +136 -0
  345. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -0
  346. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +76 -0
  347. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -0
  348. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +359 -0
  349. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -0
  350. package/dist/local-auth/core/generators/auth-email-password/generated/index.js +11 -0
  351. package/dist/local-auth/core/generators/auth-email-password/generated/index.js.map +1 -0
  352. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +18 -0
  353. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +1 -0
  354. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +30 -0
  355. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +1 -0
  356. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +110 -0
  357. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -0
  358. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +93 -0
  359. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -0
  360. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +45 -0
  361. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +1 -0
  362. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js +46 -0
  363. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +1 -0
  364. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +394 -0
  365. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -0
  366. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +141 -0
  367. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -0
  368. package/dist/local-auth/core/generators/auth-email-password/index.d.ts +4 -0
  369. package/dist/local-auth/core/generators/auth-email-password/index.d.ts.map +1 -0
  370. package/dist/local-auth/core/generators/auth-email-password/index.js +3 -0
  371. package/dist/local-auth/core/generators/auth-email-password/index.js.map +1 -0
  372. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +17 -0
  373. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +1 -0
  374. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +18 -0
  375. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +1 -0
  376. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +21 -0
  377. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts +2 -0
  378. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts.map +1 -0
  379. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js +24 -0
  380. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js.map +1 -0
  381. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.ts +35 -0
  382. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts +2 -0
  383. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts.map +1 -0
  384. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js +38 -0
  385. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js.map +1 -0
  386. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.ts +54 -0
  387. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts +2 -0
  388. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +1 -0
  389. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +72 -0
  390. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -0
  391. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +91 -0
  392. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts +24 -0
  393. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts.map +1 -0
  394. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +87 -0
  395. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js.map +1 -0
  396. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +140 -0
  397. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts +37 -0
  398. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts.map +1 -0
  399. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +161 -0
  400. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js.map +1 -0
  401. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +235 -0
  402. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +60 -0
  403. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -0
  404. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +207 -0
  405. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -0
  406. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +330 -0
  407. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +43 -0
  408. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts.map +1 -0
  409. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +48 -0
  410. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js.map +1 -0
  411. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +96 -0
  412. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts.map +1 -0
  413. package/dist/local-auth/core/generators/auth-email-templates/generated/index.js +11 -0
  414. package/dist/local-auth/core/generators/auth-email-templates/generated/index.js.map +1 -0
  415. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +14 -0
  416. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map +1 -0
  417. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +26 -0
  418. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js.map +1 -0
  419. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +41 -0
  420. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map +1 -0
  421. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +59 -0
  422. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map +1 -0
  423. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +60 -0
  424. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map +1 -0
  425. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +42 -0
  426. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js.map +1 -0
  427. package/dist/local-auth/core/generators/auth-email-templates/index.d.ts +2 -0
  428. package/dist/local-auth/core/generators/auth-email-templates/index.d.ts.map +1 -0
  429. package/dist/local-auth/core/generators/auth-email-templates/index.js +2 -0
  430. package/dist/local-auth/core/generators/auth-email-templates/index.js.map +1 -0
  431. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts +3 -0
  432. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts.map +1 -0
  433. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js +14 -0
  434. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js.map +1 -0
  435. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.tsx +55 -0
  436. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts +3 -0
  437. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts.map +1 -0
  438. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js +12 -0
  439. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js.map +1 -0
  440. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.tsx +44 -0
  441. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts +3 -0
  442. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts.map +1 -0
  443. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js +14 -0
  444. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js.map +1 -0
  445. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.tsx +55 -0
  446. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +62 -0
  447. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -0
  448. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js +32 -0
  449. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -0
  450. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +108 -0
  451. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -0
  452. package/dist/local-auth/core/generators/auth-hooks/generated/index.js +11 -0
  453. package/dist/local-auth/core/generators/auth-hooks/generated/index.js.map +1 -0
  454. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +14 -0
  455. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -0
  456. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +26 -0
  457. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -0
  458. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +40 -0
  459. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -0
  460. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +45 -0
  461. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -0
  462. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +29 -0
  463. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -0
  464. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +37 -0
  465. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -0
  466. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +91 -0
  467. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -0
  468. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +50 -0
  469. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -0
  470. package/dist/local-auth/core/generators/auth-hooks/index.d.ts +4 -0
  471. package/dist/local-auth/core/generators/auth-hooks/index.d.ts.map +1 -0
  472. package/dist/local-auth/core/generators/auth-hooks/index.js +3 -0
  473. package/dist/local-auth/core/generators/auth-hooks/index.js.map +1 -0
  474. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +3 -0
  475. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -0
  476. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +30 -0
  477. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -0
  478. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +33 -0
  479. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +15 -0
  480. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -0
  481. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +16 -0
  482. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -0
  483. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +32 -0
  484. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts +7 -0
  485. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +1 -0
  486. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js +15 -0
  487. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -0
  488. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +16 -0
  489. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +117 -0
  490. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -0
  491. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +103 -0
  492. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -0
  493. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +281 -0
  494. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -0
  495. package/dist/local-auth/core/generators/auth-module/generated/index.js +11 -0
  496. package/dist/local-auth/core/generators/auth-module/generated/index.js.map +1 -0
  497. package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +24 -0
  498. package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +1 -0
  499. package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +36 -0
  500. package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +1 -0
  501. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +102 -0
  502. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -0
  503. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +109 -0
  504. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -0
  505. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +30 -0
  506. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +1 -0
  507. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +37 -0
  508. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +1 -0
  509. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +269 -0
  510. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -0
  511. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +192 -0
  512. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -0
  513. package/dist/local-auth/core/generators/auth-module/index.d.ts +4 -0
  514. package/dist/local-auth/core/generators/auth-module/index.d.ts.map +1 -0
  515. package/dist/local-auth/core/generators/auth-module/index.js +3 -0
  516. package/dist/local-auth/core/generators/auth-module/index.js.map +1 -0
  517. package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts +16 -0
  518. package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +1 -0
  519. package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js +17 -0
  520. package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +1 -0
  521. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts +6 -0
  522. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts.map +1 -0
  523. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js +17 -0
  524. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js.map +1 -0
  525. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.ts +21 -0
  526. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts +8 -0
  527. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts.map +1 -0
  528. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js +16 -0
  529. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js.map +1 -0
  530. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.ts +21 -0
  531. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts +2 -0
  532. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts.map +1 -0
  533. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js +23 -0
  534. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js.map +1 -0
  535. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.ts +26 -0
  536. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts +2 -0
  537. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +1 -0
  538. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js +19 -0
  539. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +1 -0
  540. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.ts +25 -0
  541. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts +2 -0
  542. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +1 -0
  543. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +18 -0
  544. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +1 -0
  545. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +22 -0
  546. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts +2 -0
  547. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +1 -0
  548. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +36 -0
  549. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -0
  550. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +43 -0
  551. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +40 -0
  552. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts.map +1 -0
  553. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +106 -0
  554. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js.map +1 -0
  555. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +146 -0
  556. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts +15 -0
  557. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +1 -0
  558. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js +35 -0
  559. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js.map +1 -0
  560. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts +47 -0
  561. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts +43 -0
  562. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +1 -0
  563. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +190 -0
  564. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +1 -0
  565. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +262 -0
  566. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts +38 -0
  567. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +1 -0
  568. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js +71 -0
  569. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +1 -0
  570. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.ts +77 -0
  571. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts +11 -0
  572. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +1 -0
  573. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +38 -0
  574. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +1 -0
  575. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +42 -0
  576. package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts +10 -0
  577. package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +1 -0
  578. package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js +35 -0
  579. package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +1 -0
  580. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +256 -0
  581. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -0
  582. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +32 -0
  583. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -0
  584. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +1455 -0
  585. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -0
  586. package/dist/local-auth/core/generators/auth-routes/generated/index.js +11 -0
  587. package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +1 -0
  588. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +18 -0
  589. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -0
  590. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +28 -0
  591. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -0
  592. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +257 -0
  593. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -0
  594. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +62 -0
  595. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -0
  596. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts +21 -0
  597. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts.map +1 -0
  598. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js +30 -0
  599. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js.map +1 -0
  600. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +2143 -0
  601. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -0
  602. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +117 -0
  603. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -0
  604. package/dist/local-auth/core/generators/auth-routes/index.d.ts +4 -0
  605. package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +1 -0
  606. package/dist/local-auth/core/generators/auth-routes/index.js +3 -0
  607. package/dist/local-auth/core/generators/auth-routes/index.js.map +1 -0
  608. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts +10 -0
  609. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts.map +1 -0
  610. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js +11 -0
  611. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js.map +1 -0
  612. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.ts +12 -0
  613. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts +2 -0
  614. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts.map +1 -0
  615. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js +60 -0
  616. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js.map +1 -0
  617. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.tsx +127 -0
  618. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +7 -0
  619. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +1 -0
  620. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +85 -0
  621. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -0
  622. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +168 -0
  623. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +7 -0
  624. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +1 -0
  625. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +82 -0
  626. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -0
  627. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +153 -0
  628. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts +7 -0
  629. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts.map +1 -0
  630. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +150 -0
  631. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js.map +1 -0
  632. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +283 -0
  633. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts +2 -0
  634. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +1 -0
  635. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js +10 -0
  636. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +1 -0
  637. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.tsx +17 -0
  638. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts +7 -0
  639. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts.map +1 -0
  640. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +106 -0
  641. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js.map +1 -0
  642. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx +206 -0
  643. package/dist/local-auth/core/generators/index.d.ts +10 -0
  644. package/dist/local-auth/core/generators/index.d.ts.map +1 -0
  645. package/dist/local-auth/core/generators/index.js +10 -0
  646. package/dist/local-auth/core/generators/index.js.map +1 -0
  647. package/dist/local-auth/core/generators/react-auth/index.d.ts +2 -0
  648. package/dist/local-auth/core/generators/react-auth/index.d.ts.map +1 -0
  649. package/dist/local-auth/core/generators/react-auth/index.js +2 -0
  650. package/dist/local-auth/core/generators/react-auth/index.js.map +1 -0
  651. package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts +9 -0
  652. package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts.map +1 -0
  653. package/dist/local-auth/core/generators/react-auth/react-auth.generator.js +31 -0
  654. package/dist/local-auth/core/generators/react-auth/react-auth.generator.js.map +1 -0
  655. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +532 -0
  656. package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -0
  657. package/dist/local-auth/core/generators/react-session/generated/index.js +11 -0
  658. package/dist/local-auth/core/generators/react-session/generated/index.js.map +1 -0
  659. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +13 -0
  660. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -0
  661. package/dist/local-auth/core/generators/react-session/generated/template-paths.js +25 -0
  662. package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -0
  663. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +264 -0
  664. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -0
  665. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +51 -0
  666. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -0
  667. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts +21 -0
  668. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +1 -0
  669. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js +30 -0
  670. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +1 -0
  671. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +511 -0
  672. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -0
  673. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +35 -0
  674. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -0
  675. package/dist/local-auth/core/generators/react-session/index.d.ts +4 -0
  676. package/dist/local-auth/core/generators/react-session/index.d.ts.map +1 -0
  677. package/dist/local-auth/core/generators/react-session/index.js +3 -0
  678. package/dist/local-auth/core/generators/react-session/index.js.map +1 -0
  679. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +283 -0
  680. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -0
  681. package/dist/local-auth/core/generators/react-session/react-session.generator.js +48 -0
  682. package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -0
  683. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts +7 -0
  684. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -0
  685. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +72 -0
  686. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -0
  687. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +99 -0
  688. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts +58 -0
  689. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +1 -0
  690. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js +103 -0
  691. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js.map +1 -0
  692. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.ts +122 -0
  693. package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +99 -0
  694. package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +1 -0
  695. package/dist/local-auth/core/generators/seed-initial-user/generated/index.js +11 -0
  696. package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +1 -0
  697. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts +12 -0
  698. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts.map +1 -0
  699. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js +24 -0
  700. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js.map +1 -0
  701. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +50 -0
  702. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +1 -0
  703. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js +46 -0
  704. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +1 -0
  705. package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts +18 -0
  706. package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts.map +1 -0
  707. package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js +26 -0
  708. package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js.map +1 -0
  709. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +39 -0
  710. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +1 -0
  711. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js +21 -0
  712. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +1 -0
  713. package/dist/local-auth/core/generators/seed-initial-user/index.d.ts +4 -0
  714. package/dist/local-auth/core/generators/seed-initial-user/index.d.ts.map +1 -0
  715. package/dist/local-auth/core/generators/seed-initial-user/index.js +3 -0
  716. package/dist/local-auth/core/generators/seed-initial-user/index.js.map +1 -0
  717. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +58 -0
  718. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +1 -0
  719. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +57 -0
  720. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +1 -0
  721. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts +3 -0
  722. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +1 -0
  723. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js +32 -0
  724. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js.map +1 -0
  725. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +43 -0
  726. package/dist/local-auth/core/index.d.ts +2 -0
  727. package/dist/local-auth/core/index.d.ts.map +1 -0
  728. package/dist/local-auth/core/index.js +2 -0
  729. package/dist/local-auth/core/index.js.map +1 -0
  730. package/dist/local-auth/core/node.d.ts +5 -0
  731. package/dist/local-auth/core/node.d.ts.map +1 -0
  732. package/dist/local-auth/core/node.js +69 -0
  733. package/dist/local-auth/core/node.js.map +1 -0
  734. package/dist/local-auth/core/schema/models.d.ts +3 -0
  735. package/dist/local-auth/core/schema/models.d.ts.map +1 -0
  736. package/dist/local-auth/core/schema/models.js +266 -0
  737. package/dist/local-auth/core/schema/models.js.map +1 -0
  738. package/dist/local-auth/core/schema/plugin-definition.d.ts +9 -0
  739. package/dist/local-auth/core/schema/plugin-definition.d.ts.map +1 -0
  740. package/dist/local-auth/core/schema/plugin-definition.js +13 -0
  741. package/dist/local-auth/core/schema/plugin-definition.js.map +1 -0
  742. package/dist/local-auth/core/web.d.ts +6 -0
  743. package/dist/local-auth/core/web.d.ts.map +1 -0
  744. package/dist/local-auth/core/web.js +13 -0
  745. package/dist/local-auth/core/web.js.map +1 -0
  746. package/dist/local-auth/index.d.ts +2 -0
  747. package/dist/local-auth/index.d.ts.map +1 -0
  748. package/dist/local-auth/index.js +2 -0
  749. package/dist/local-auth/index.js.map +1 -0
  750. package/dist/local-auth/plugin.json +9 -0
  751. package/dist/local-auth/static/icon.svg +1 -0
  752. package/dist/placeholder-auth/constants/model-names.d.ts +4 -0
  753. package/dist/placeholder-auth/constants/model-names.d.ts.map +1 -0
  754. package/dist/placeholder-auth/constants/model-names.js +4 -0
  755. package/dist/placeholder-auth/constants/model-names.js.map +1 -0
  756. package/dist/placeholder-auth/core/common.d.ts +5 -0
  757. package/dist/placeholder-auth/core/common.d.ts.map +1 -0
  758. package/dist/placeholder-auth/core/common.js +17 -0
  759. package/dist/placeholder-auth/core/common.js.map +1 -0
  760. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts +5 -0
  761. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts.map +1 -0
  762. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js +50 -0
  763. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js.map +1 -0
  764. package/dist/placeholder-auth/core/generators/index.d.ts +4 -0
  765. package/dist/placeholder-auth/core/generators/index.d.ts.map +1 -0
  766. package/dist/placeholder-auth/core/generators/index.js +4 -0
  767. package/dist/placeholder-auth/core/generators/index.js.map +1 -0
  768. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +46 -0
  769. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -0
  770. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.js +11 -0
  771. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.js.map +1 -0
  772. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +14 -0
  773. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +1 -0
  774. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +26 -0
  775. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +1 -0
  776. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +18 -0
  777. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +1 -0
  778. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +35 -0
  779. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +1 -0
  780. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +18 -0
  781. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +1 -0
  782. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +27 -0
  783. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +1 -0
  784. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +17 -0
  785. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -0
  786. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +45 -0
  787. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -0
  788. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.d.ts +2 -0
  789. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.d.ts.map +1 -0
  790. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.js +2 -0
  791. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.js.map +1 -0
  792. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +37 -0
  793. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +1 -0
  794. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js +32 -0
  795. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +1 -0
  796. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.d.ts +5 -0
  797. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -0
  798. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.js +8 -0
  799. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.js.map +1 -0
  800. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.ts +8 -0
  801. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.d.ts +9 -0
  802. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -0
  803. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.js +8 -0
  804. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.js.map +1 -0
  805. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.ts +13 -0
  806. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts +5 -0
  807. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +1 -0
  808. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js +13 -0
  809. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -0
  810. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +14 -0
  811. package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts +47 -0
  812. package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts.map +1 -0
  813. package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.js +27 -0
  814. package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.js.map +1 -0
  815. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +79 -0
  816. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts.map +1 -0
  817. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.js +11 -0
  818. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.js.map +1 -0
  819. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.d.ts +12 -0
  820. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.d.ts.map +1 -0
  821. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.js +24 -0
  822. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.js.map +1 -0
  823. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts +41 -0
  824. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +1 -0
  825. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.js +41 -0
  826. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.js.map +1 -0
  827. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts +10 -0
  828. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts.map +1 -0
  829. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js +23 -0
  830. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js.map +1 -0
  831. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts +28 -0
  832. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts.map +1 -0
  833. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.js +20 -0
  834. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.js.map +1 -0
  835. package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.d.ts +2 -0
  836. package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.d.ts.map +1 -0
  837. package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.js +2 -0
  838. package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.js.map +1 -0
  839. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.d.ts +23 -0
  840. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.d.ts.map +1 -0
  841. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.js +29 -0
  842. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.js.map +1 -0
  843. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.ts +41 -0
  844. package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.d.ts +2 -0
  845. package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.d.ts.map +1 -0
  846. package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.js +2 -0
  847. package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.js.map +1 -0
  848. package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts +9 -0
  849. package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts.map +1 -0
  850. package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.js +31 -0
  851. package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.js.map +1 -0
  852. package/dist/placeholder-auth/core/index.d.ts +2 -0
  853. package/dist/placeholder-auth/core/index.d.ts.map +1 -0
  854. package/dist/placeholder-auth/core/index.js +2 -0
  855. package/dist/placeholder-auth/core/index.js.map +1 -0
  856. package/dist/placeholder-auth/core/node.d.ts +5 -0
  857. package/dist/placeholder-auth/core/node.d.ts.map +1 -0
  858. package/dist/placeholder-auth/core/node.js +32 -0
  859. package/dist/placeholder-auth/core/node.js.map +1 -0
  860. package/dist/placeholder-auth/core/schema/models.d.ts +3 -0
  861. package/dist/placeholder-auth/core/schema/models.d.ts.map +1 -0
  862. package/dist/placeholder-auth/core/schema/models.js +38 -0
  863. package/dist/placeholder-auth/core/schema/models.js.map +1 -0
  864. package/dist/placeholder-auth/core/schema/plugin-definition.d.ts +5 -0
  865. package/dist/placeholder-auth/core/schema/plugin-definition.d.ts.map +1 -0
  866. package/dist/placeholder-auth/core/schema/plugin-definition.js +4 -0
  867. package/dist/placeholder-auth/core/schema/plugin-definition.js.map +1 -0
  868. package/dist/placeholder-auth/core/web.d.ts +6 -0
  869. package/dist/placeholder-auth/core/web.d.ts.map +1 -0
  870. package/dist/placeholder-auth/core/web.js +13 -0
  871. package/dist/placeholder-auth/core/web.js.map +1 -0
  872. package/dist/placeholder-auth/index.d.ts +2 -0
  873. package/dist/placeholder-auth/index.d.ts.map +1 -0
  874. package/dist/placeholder-auth/index.js +2 -0
  875. package/dist/placeholder-auth/index.js.map +1 -0
  876. package/dist/placeholder-auth/plugin.json +10 -0
  877. package/dist/placeholder-auth/static/icon.svg +1 -0
  878. package/dist/web/assets/__federation_expose_authCoreCommon-CIVhaGqo.js +29 -0
  879. package/dist/web/assets/__federation_expose_authCoreCommon-CIVhaGqo.js.map +1 -0
  880. package/dist/web/assets/__federation_expose_authCoreWeb-N-mh42Bs.js +438 -0
  881. package/dist/web/assets/__federation_expose_authCoreWeb-N-mh42Bs.js.map +1 -0
  882. package/dist/web/assets/__federation_expose_better-authCoreCommon-BIU3Fg7K.js +20 -0
  883. package/dist/web/assets/__federation_expose_better-authCoreCommon-BIU3Fg7K.js.map +1 -0
  884. package/dist/web/assets/__federation_expose_better-authCoreWeb-CMhPrXPA.js +402 -0
  885. package/dist/web/assets/__federation_expose_better-authCoreWeb-CMhPrXPA.js.map +1 -0
  886. package/dist/web/assets/__federation_expose_local-authAdminCommon-DvHe9w29.js +63 -0
  887. package/dist/web/assets/__federation_expose_local-authAdminCommon-DvHe9w29.js.map +1 -0
  888. package/dist/web/assets/__federation_expose_local-authAdminWeb-CLU9aEy9.js +41 -0
  889. package/dist/web/assets/__federation_expose_local-authAdminWeb-CLU9aEy9.js.map +1 -0
  890. package/dist/web/assets/__federation_expose_local-authCoreCommon-DbuvGG7o.js +21 -0
  891. package/dist/web/assets/__federation_expose_local-authCoreCommon-DbuvGG7o.js.map +1 -0
  892. package/dist/web/assets/__federation_expose_local-authCoreWeb-BY-mP3uS.js +432 -0
  893. package/dist/web/assets/__federation_expose_local-authCoreWeb-BY-mP3uS.js.map +1 -0
  894. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-BJBCuZvU.js +23 -0
  895. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-BJBCuZvU.js.map +1 -0
  896. package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-BaV-Ko2C.js +162 -0
  897. package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-BaV-Ko2C.js.map +1 -0
  898. package/dist/web/assets/__federation_fn_import-BLFDCY-V.js +421 -0
  899. package/dist/web/assets/__federation_fn_import-BLFDCY-V.js.map +1 -0
  900. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-bRU6KpPk.js +357 -0
  901. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-bRU6KpPk.js.map +1 -0
  902. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CQKLkNsU.js +21193 -0
  903. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CQKLkNsU.js.map +1 -0
  904. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DhyoEUTy.js +57231 -0
  905. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DhyoEUTy.js.map +1 -0
  906. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-9w-0yxVZ.js +1821 -0
  907. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-9w-0yxVZ.js.map +1 -0
  908. package/dist/web/assets/__federation_shared_@tanstack/react-router-CbExBaoL.js +6762 -0
  909. package/dist/web/assets/__federation_shared_@tanstack/react-router-CbExBaoL.js.map +1 -0
  910. package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js +8 -0
  911. package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js.map +1 -0
  912. package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js +251 -0
  913. package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js.map +1 -0
  914. package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js +13250 -0
  915. package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js.map +1 -0
  916. package/dist/web/assets/_commonjsHelpers-B85MJLTf.js +6 -0
  917. package/dist/web/assets/_commonjsHelpers-B85MJLTf.js.map +1 -0
  918. package/dist/web/assets/get-auth-plugin-definition-BL50g0cJ.js +13 -0
  919. package/dist/web/assets/get-auth-plugin-definition-BL50g0cJ.js.map +1 -0
  920. package/dist/web/assets/index-B_A3cgiy.js +103 -0
  921. package/dist/web/assets/index-B_A3cgiy.js.map +1 -0
  922. package/dist/web/assets/index-DUwCgkeV.js +570 -0
  923. package/dist/web/assets/index-DUwCgkeV.js.map +1 -0
  924. package/dist/web/assets/index.esm-BraHxHLB.js +2676 -0
  925. package/dist/web/assets/index.esm-BraHxHLB.js.map +1 -0
  926. package/dist/web/assets/isEqual-tnzoadW8.js +242 -0
  927. package/dist/web/assets/isEqual-tnzoadW8.js.map +1 -0
  928. package/dist/web/assets/jsx-runtime-XI9uIe3W.js +60 -0
  929. package/dist/web/assets/jsx-runtime-XI9uIe3W.js.map +1 -0
  930. package/dist/web/assets/mergeWith-VagwCqUi.js +76 -0
  931. package/dist/web/assets/mergeWith-VagwCqUi.js.map +1 -0
  932. package/dist/web/assets/model-names-DrcaRxt1.js +25 -0
  933. package/dist/web/assets/model-names-DrcaRxt1.js.map +1 -0
  934. package/dist/web/assets/model-utils-BfcjfzCn.js +694 -0
  935. package/dist/web/assets/model-utils-BfcjfzCn.js.map +1 -0
  936. package/dist/web/assets/plugin-definition-CXnKUJ1l.js +20 -0
  937. package/dist/web/assets/plugin-definition-CXnKUJ1l.js.map +1 -0
  938. package/dist/web/assets/plugin-definition-Ckl5hjD1.js +31 -0
  939. package/dist/web/assets/plugin-definition-Ckl5hjD1.js.map +1 -0
  940. package/dist/web/assets/plugin-definition-D26rR8AB.js +16 -0
  941. package/dist/web/assets/plugin-definition-D26rR8AB.js.map +1 -0
  942. package/dist/web/assets/plugin-definition-DJzXScRp.js +79 -0
  943. package/dist/web/assets/plugin-definition-DJzXScRp.js.map +1 -0
  944. package/dist/web/assets/react-CL9M_wyN.js +47 -0
  945. package/dist/web/assets/react-CL9M_wyN.js.map +1 -0
  946. package/dist/web/assets/registries-Tz_dluz3.js +1119 -0
  947. package/dist/web/assets/registries-Tz_dluz3.js.map +1 -0
  948. package/dist/web/assets/remoteEntry.js +30 -6
  949. package/dist/web/assets/remoteEntry.js.map +1 -1
  950. package/dist/web/assets/style-DiK_rD1L.css +120 -0
  951. package/dist/web/assets/styles-tkrWV-ZE.js +59 -0
  952. package/dist/web/assets/styles-tkrWV-ZE.js.map +1 -0
  953. package/dist/web/index.html +1 -1
  954. package/package.json +44 -30
  955. package/dist/auth/core/components/role-editor-form.d.ts +0 -10
  956. package/dist/auth/core/components/role-editor-form.d.ts.map +0 -1
  957. package/dist/auth/core/components/role-editor-form.js +0 -27
  958. package/dist/auth/core/components/role-editor-form.js.map +0 -1
  959. package/dist/auth/core/schema/models.d.ts +0 -9
  960. package/dist/auth/core/schema/models.d.ts.map +0 -1
  961. package/dist/auth/core/schema/models.js +0 -198
  962. package/dist/auth/core/schema/models.js.map +0 -1
  963. package/dist/auth/generators/fastify/auth-module/auth-module.generator.d.ts +0 -65
  964. package/dist/auth/generators/fastify/auth-module/auth-module.generator.d.ts.map +0 -1
  965. package/dist/auth/generators/fastify/auth-module/auth-module.generator.js +0 -62
  966. package/dist/auth/generators/fastify/auth-module/auth-module.generator.js.map +0 -1
  967. package/dist/auth/generators/fastify/auth-module/generated/ts-templates.d.ts +0 -96
  968. package/dist/auth/generators/fastify/auth-module/generated/ts-templates.d.ts.map +0 -1
  969. package/dist/auth/generators/fastify/auth-module/generated/ts-templates.js +0 -94
  970. package/dist/auth/generators/fastify/auth-module/generated/ts-templates.js.map +0 -1
  971. package/dist/auth/generators/fastify/auth-module/templates/management.ts +0 -22
  972. package/dist/auth/generators/fastify/auth-module/templates/schema/user-session-payload.object-type.ts +0 -23
  973. package/dist/auth/generators/fastify/auth-module/templates/schema/user-session.mutations.ts +0 -22
  974. package/dist/auth/generators/fastify/auth-module/templates/schema/user-session.queries.ts +0 -20
  975. package/dist/auth/generators/fastify/auth-module/templates/services/user-session.service.ts +0 -251
  976. package/dist/auth/generators/fastify/auth-module/templates/user-session.service.ts +0 -101
  977. package/dist/auth/generators/fastify/auth-module/templates/utils/cookie-signer.ts +0 -71
  978. package/dist/auth/generators/fastify/auth-module/templates/utils/session-cookie.ts +0 -42
  979. package/dist/auth/generators/fastify/index.d.ts +0 -2
  980. package/dist/auth/generators/fastify/index.d.ts.map +0 -1
  981. package/dist/auth/generators/fastify/index.js +0 -2
  982. package/dist/auth/generators/fastify/index.js.map +0 -1
  983. package/dist/auth/generators/index.d.ts +0 -2
  984. package/dist/auth/generators/index.d.ts.map +0 -1
  985. package/dist/auth/generators/index.js +0 -2
  986. package/dist/auth/generators/index.js.map +0 -1
  987. package/dist/auth/metadata.json +0 -8
  988. package/dist/auth0/constants/packages.d.ts +0 -6
  989. package/dist/auth0/constants/packages.d.ts.map +0 -1
  990. package/dist/auth0/constants/packages.js +0 -6
  991. package/dist/auth0/constants/packages.js.map +0 -1
  992. package/dist/auth0/core/common.d.ts +0 -7
  993. package/dist/auth0/core/common.d.ts.map +0 -1
  994. package/dist/auth0/core/common.js +0 -28
  995. package/dist/auth0/core/common.js.map +0 -1
  996. package/dist/auth0/core/components/auth-definition-editor.d.ts +0 -5
  997. package/dist/auth0/core/components/auth-definition-editor.d.ts.map +0 -1
  998. package/dist/auth0/core/components/auth-definition-editor.js +0 -57
  999. package/dist/auth0/core/components/auth-definition-editor.js.map +0 -1
  1000. package/dist/auth0/core/components/role-dialog.d.ts +0 -14
  1001. package/dist/auth0/core/components/role-dialog.d.ts.map +0 -1
  1002. package/dist/auth0/core/components/role-dialog.js +0 -27
  1003. package/dist/auth0/core/components/role-dialog.js.map +0 -1
  1004. package/dist/auth0/core/components/role-editor-form.d.ts +0 -10
  1005. package/dist/auth0/core/components/role-editor-form.d.ts.map +0 -1
  1006. package/dist/auth0/core/components/role-editor-form.js +0 -52
  1007. package/dist/auth0/core/components/role-editor-form.js.map +0 -1
  1008. package/dist/auth0/core/node.d.ts +0 -5
  1009. package/dist/auth0/core/node.d.ts.map +0 -1
  1010. package/dist/auth0/core/node.js +0 -86
  1011. package/dist/auth0/core/node.js.map +0 -1
  1012. package/dist/auth0/core/schema/migrations.d.ts +0 -3
  1013. package/dist/auth0/core/schema/migrations.d.ts.map +0 -1
  1014. package/dist/auth0/core/schema/migrations.js +0 -17
  1015. package/dist/auth0/core/schema/migrations.js.map +0 -1
  1016. package/dist/auth0/core/schema/models.d.ts +0 -6
  1017. package/dist/auth0/core/schema/models.d.ts.map +0 -1
  1018. package/dist/auth0/core/schema/models.js +0 -39
  1019. package/dist/auth0/core/schema/models.js.map +0 -1
  1020. package/dist/auth0/core/schema/plugin-definition.d.ts +0 -73
  1021. package/dist/auth0/core/schema/plugin-definition.d.ts.map +0 -1
  1022. package/dist/auth0/core/schema/plugin-definition.js +0 -17
  1023. package/dist/auth0/core/schema/plugin-definition.js.map +0 -1
  1024. package/dist/auth0/core/web.d.ts +0 -6
  1025. package/dist/auth0/core/web.d.ts.map +0 -1
  1026. package/dist/auth0/core/web.js +0 -14
  1027. package/dist/auth0/core/web.js.map +0 -1
  1028. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +0 -67
  1029. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +0 -1
  1030. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +0 -125
  1031. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +0 -1
  1032. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.d.ts +0 -3
  1033. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.d.ts.map +0 -1
  1034. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.js +0 -12
  1035. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.js.map +0 -1
  1036. package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.d.ts +0 -43
  1037. package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.d.ts.map +0 -1
  1038. package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.js +0 -25
  1039. package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.js.map +0 -1
  1040. package/dist/auth0/generators/fastify/auth0-module/templates/management.ts +0 -22
  1041. package/dist/auth0/generators/fastify/auth0-module/templates/user-session.service.ts +0 -101
  1042. package/dist/auth0/generators/fastify/index.d.ts +0 -2
  1043. package/dist/auth0/generators/fastify/index.d.ts.map +0 -1
  1044. package/dist/auth0/generators/fastify/index.js +0 -2
  1045. package/dist/auth0/generators/fastify/index.js.map +0 -1
  1046. package/dist/auth0/generators/index.d.ts.map +0 -1
  1047. package/dist/auth0/generators/index.js.map +0 -1
  1048. package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.d.ts +0 -10
  1049. package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.d.ts.map +0 -1
  1050. package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.js +0 -41
  1051. package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.js.map +0 -1
  1052. package/dist/auth0/generators/react/auth0-apollo/templates/auth-link.ts +0 -11
  1053. package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.d.ts +0 -61
  1054. package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.d.ts.map +0 -1
  1055. package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.js +0 -59
  1056. package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.js.map +0 -1
  1057. package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.d.ts +0 -106
  1058. package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.d.ts.map +0 -1
  1059. package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.js +0 -28
  1060. package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.js.map +0 -1
  1061. package/dist/auth0/generators/react/auth0-callback/templates/auth0-callback.page.tsx +0 -61
  1062. package/dist/auth0/generators/react/auth0-callback/templates/signup.page.tsx +0 -48
  1063. package/dist/auth0/generators/react/auth0-components/auth0-components.generator.d.ts +0 -53
  1064. package/dist/auth0/generators/react/auth0-components/auth0-components.generator.d.ts.map +0 -1
  1065. package/dist/auth0/generators/react/auth0-components/auth0-components.generator.js +0 -44
  1066. package/dist/auth0/generators/react/auth0-components/auth0-components.generator.js.map +0 -1
  1067. package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.d.ts +0 -3
  1068. package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.d.ts.map +0 -1
  1069. package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.js +0 -12
  1070. package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.js.map +0 -1
  1071. package/dist/auth0/generators/react/auth0-components/generated/ts-templates.d.ts +0 -45
  1072. package/dist/auth0/generators/react/auth0-components/generated/ts-templates.d.ts.map +0 -1
  1073. package/dist/auth0/generators/react/auth0-components/generated/ts-templates.js +0 -13
  1074. package/dist/auth0/generators/react/auth0-components/generated/ts-templates.js.map +0 -1
  1075. package/dist/auth0/generators/react/auth0-components/templates/RequireAuth.tsx +0 -22
  1076. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +0 -28
  1077. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +0 -1
  1078. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +0 -65
  1079. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +0 -1
  1080. package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.d.ts +0 -8
  1081. package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.d.ts.map +0 -1
  1082. package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.js +0 -12
  1083. package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.js.map +0 -1
  1084. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.d.ts +0 -3
  1085. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.d.ts.map +0 -1
  1086. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.js +0 -16
  1087. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.js.map +0 -1
  1088. package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.d.ts +0 -33
  1089. package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.d.ts.map +0 -1
  1090. package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.js +0 -50
  1091. package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.js.map +0 -1
  1092. package/dist/auth0/generators/react/auth0-hooks/templates/useCurrentUser.gql +0 -10
  1093. package/dist/auth0/generators/react/auth0-hooks/templates/useCurrentUser.ts +0 -29
  1094. package/dist/auth0/generators/react/auth0-hooks/templates/useLogOut.ts +0 -14
  1095. package/dist/auth0/generators/react/auth0-hooks/templates/useRequiredUserId.ts +0 -11
  1096. package/dist/auth0/generators/react/auth0-hooks/templates/useSession.ts +0 -23
  1097. package/dist/auth0/generators/react/index.d.ts +0 -6
  1098. package/dist/auth0/generators/react/index.d.ts.map +0 -1
  1099. package/dist/auth0/generators/react/index.js +0 -6
  1100. package/dist/auth0/generators/react/index.js.map +0 -1
  1101. package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +0 -23
  1102. package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +0 -1
  1103. package/dist/auth0/generators/react/react-auth0/react-auth0.generator.js +0 -64
  1104. package/dist/auth0/generators/react/react-auth0/react-auth0.generator.js.map +0 -1
  1105. package/dist/auth0/metadata.json +0 -8
  1106. package/dist/auth0/static/icon.svg +0 -7
  1107. package/dist/index.js.map +0 -1
  1108. package/dist/roles/constants.d.ts.map +0 -1
  1109. package/dist/roles/constants.js.map +0 -1
  1110. package/dist/roles/index.d.ts.map +0 -1
  1111. package/dist/roles/index.js.map +0 -1
  1112. package/dist/roles/schema.d.ts +0 -65
  1113. package/dist/roles/schema.d.ts.map +0 -1
  1114. package/dist/roles/schema.js +0 -43
  1115. package/dist/roles/schema.js.map +0 -1
  1116. package/dist/utils/cn.d.ts +0 -2
  1117. package/dist/utils/cn.d.ts.map +0 -1
  1118. package/dist/utils/cn.js +0 -2
  1119. package/dist/utils/cn.js.map +0 -1
  1120. package/dist/web/assets/__federation_expose_auth0CoreCommon-DCwCR5dZ.js +0 -54
  1121. package/dist/web/assets/__federation_expose_auth0CoreCommon-DCwCR5dZ.js.map +0 -1
  1122. package/dist/web/assets/__federation_expose_auth0CoreWeb-BlCwYpTq.js +0 -383
  1123. package/dist/web/assets/__federation_expose_auth0CoreWeb-BlCwYpTq.js.map +0 -1
  1124. package/dist/web/assets/__federation_fn_import-dzKjrTzS.js +0 -421
  1125. package/dist/web/assets/__federation_fn_import-dzKjrTzS.js.map +0 -1
  1126. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BXHJHUXP.js +0 -341
  1127. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BXHJHUXP.js.map +0 -1
  1128. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-GtzVuDsM.js +0 -9901
  1129. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-GtzVuDsM.js.map +0 -1
  1130. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-ChoqtPkg.js +0 -12723
  1131. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-ChoqtPkg.js.map +0 -1
  1132. package/dist/web/assets/__federation_shared_react-dom-Bwq4pLax.js +0 -250
  1133. package/dist/web/assets/__federation_shared_react-dom-Bwq4pLax.js.map +0 -1
  1134. package/dist/web/assets/__federation_shared_react-uocnGSER.js +0 -7
  1135. package/dist/web/assets/__federation_shared_react-uocnGSER.js.map +0 -1
  1136. package/dist/web/assets/__federation_shared_zod-BK7IELHt.js +0 -4380
  1137. package/dist/web/assets/__federation_shared_zod-BK7IELHt.js.map +0 -1
  1138. package/dist/web/assets/index-B1hOKVPw.js +0 -574
  1139. package/dist/web/assets/index-B1hOKVPw.js.map +0 -1
  1140. package/dist/web/assets/index-BxDOOHD-.js +0 -95
  1141. package/dist/web/assets/index-BxDOOHD-.js.map +0 -1
  1142. package/dist/web/assets/index.esm-BZEyAv4m.js +0 -2584
  1143. package/dist/web/assets/index.esm-BZEyAv4m.js.map +0 -1
  1144. package/dist/web/assets/model-merger-CdV-7CWE.js +0 -2039
  1145. package/dist/web/assets/model-merger-CdV-7CWE.js.map +0 -1
  1146. package/dist/web/assets/plugin-definition-C9Q-BrBQ.js +0 -78
  1147. package/dist/web/assets/plugin-definition-C9Q-BrBQ.js.map +0 -1
  1148. package/dist/web/assets/react-BfiX28GO.js +0 -47
  1149. package/dist/web/assets/react-BfiX28GO.js.map +0 -1
  1150. package/dist/web/assets/style-BdgwWjAf.css +0 -95
  1151. package/dist/web-export.js.map +0 -1
  1152. package/manifest.json +0 -4
  1153. /package/dist/{roles → auth/core/schema/roles}/constants.d.ts +0 -0
  1154. /package/dist/{roles → auth/core/schema/roles}/constants.js +0 -0
  1155. /package/dist/{roles → auth/core/schema/roles}/index.d.ts +0 -0
  1156. /package/dist/{roles → auth/core/schema/roles}/index.js +0 -0
  1157. /package/dist/{auth0 → better-auth}/generators/index.d.ts +0 -0
  1158. /package/dist/{auth0 → better-auth}/generators/index.js +0 -0
  1159. /package/dist/{auth/generators/fastify/auth-module/templates → local-auth/core/generators/auth-module/templates/module/constants}/user-session.constants.ts +0 -0
  1160. /package/dist/{auth/generators/fastify/auth-module/templates → local-auth/core/generators/auth-module/templates/module}/utils/verify-request-origin.ts +0 -0
@@ -0,0 +1,283 @@
1
+ // @ts-nocheck
2
+
3
+ import { PASSWORD_MAX_LENGTH, PASSWORD_MIN_LENGTH } from '$constants';
4
+ import { getApolloErrorCode } from '%apolloErrorImports';
5
+ import { graphql } from '%graphqlImports';
6
+ import {
7
+ Button,
8
+ Card,
9
+ CardContent,
10
+ CardDescription,
11
+ CardHeader,
12
+ CardTitle,
13
+ InputFieldController,
14
+ } from '%reactComponentsImports';
15
+ import { logAndFormatError, logError } from '%reactErrorImports';
16
+ import { useMutation } from '@apollo/client/react';
17
+ import { zodResolver } from '@hookform/resolvers/zod';
18
+ import {
19
+ createFileRoute,
20
+ Link,
21
+ redirect,
22
+ useNavigate,
23
+ } from '@tanstack/react-router';
24
+ import { useCallback, useEffect, useState } from 'react';
25
+ import { useForm } from 'react-hook-form';
26
+ import { toast } from 'sonner';
27
+ import { z } from 'zod';
28
+
29
+ export const Route = createFileRoute('/auth_/reset-password')({
30
+ validateSearch: z.object({
31
+ token: z.string().optional(),
32
+ }),
33
+ component: ResetPasswordPage,
34
+ beforeLoad: ({ search: { token }, context: { userId } }) => {
35
+ if (userId) {
36
+ throw redirect({ to: '/' });
37
+ }
38
+ if (!token) {
39
+ throw redirect({ to: '/auth/forgot-password' });
40
+ }
41
+ },
42
+ });
43
+
44
+ const formSchema = z
45
+ .object({
46
+ newPassword: z.string().min(PASSWORD_MIN_LENGTH).max(PASSWORD_MAX_LENGTH),
47
+ confirmPassword: z
48
+ .string()
49
+ .min(PASSWORD_MIN_LENGTH)
50
+ .max(PASSWORD_MAX_LENGTH),
51
+ })
52
+ .refine((data) => data.newPassword === data.confirmPassword, {
53
+ message: 'Passwords do not match',
54
+ path: ['confirmPassword'],
55
+ });
56
+
57
+ type FormData = z.infer<typeof formSchema>;
58
+
59
+ const validateTokenMutation = graphql(`
60
+ mutation ValidatePasswordResetToken(
61
+ $input: ValidatePasswordResetTokenInput!
62
+ ) {
63
+ validatePasswordResetToken(input: $input) {
64
+ success
65
+ }
66
+ }
67
+ `);
68
+
69
+ const resetPasswordMutation = graphql(`
70
+ mutation ResetPasswordWithToken($input: ResetPasswordWithTokenInput!) {
71
+ resetPasswordWithToken(input: $input) {
72
+ success
73
+ }
74
+ }
75
+ `);
76
+
77
+ function ResetPasswordPage(): React.JSX.Element {
78
+ const { token } = Route.useSearch();
79
+ const navigate = useNavigate();
80
+ const [tokenValid, setTokenValid] = useState<boolean | null>(null);
81
+ const [validationError, setValidationError] = useState<string | null>(null);
82
+ const [resetComplete, setResetComplete] = useState(false);
83
+
84
+ const [validateToken] = useMutation(validateTokenMutation);
85
+ const [resetPassword, { loading }] = useMutation(resetPasswordMutation);
86
+
87
+ const { control, handleSubmit } = useForm<FormData>({
88
+ resolver: zodResolver(formSchema),
89
+ reValidateMode: 'onBlur',
90
+ });
91
+
92
+ const runTokenValidation = useCallback(() => {
93
+ if (!token) return;
94
+
95
+ setTokenValid(null);
96
+ setValidationError(null);
97
+
98
+ validateToken({
99
+ variables: { input: { token } },
100
+ })
101
+ .then(() => {
102
+ setTokenValid(true);
103
+ })
104
+ .catch((err: unknown) => {
105
+ const errorCode = getApolloErrorCode(err, ['invalid-token'] as const);
106
+ switch (errorCode) {
107
+ case 'invalid-token': {
108
+ setTokenValid(false);
109
+ break;
110
+ }
111
+ default: {
112
+ setValidationError(
113
+ logAndFormatError(
114
+ err,
115
+ 'Sorry, we could not validate your reset link.',
116
+ ),
117
+ );
118
+ }
119
+ }
120
+ });
121
+ }, [token, validateToken]);
122
+
123
+ // Validate token on mount
124
+ useEffect(() => {
125
+ runTokenValidation();
126
+ }, [runTokenValidation]);
127
+
128
+ const onSubmit = (data: FormData): void => {
129
+ if (!token) return;
130
+
131
+ resetPassword({
132
+ variables: {
133
+ input: {
134
+ token,
135
+ newPassword: data.newPassword,
136
+ },
137
+ },
138
+ })
139
+ .then(() => {
140
+ setResetComplete(true);
141
+ toast.success('Password reset successful!');
142
+ })
143
+ .catch((err: unknown) => {
144
+ const errorCode = getApolloErrorCode(err, [
145
+ 'invalid-token',
146
+ 'token-expired',
147
+ ] as const);
148
+ switch (errorCode) {
149
+ case 'invalid-token':
150
+ case 'token-expired': {
151
+ setTokenValid(false);
152
+ break;
153
+ }
154
+ default: {
155
+ toast.error(
156
+ logAndFormatError(
157
+ err,
158
+ 'Sorry, we could not reset your password.',
159
+ ),
160
+ );
161
+ }
162
+ }
163
+ });
164
+ };
165
+
166
+ // Loading state
167
+ if (tokenValid === null && !validationError) {
168
+ return (
169
+ <Card>
170
+ <CardHeader>
171
+ <CardTitle>Validating...</CardTitle>
172
+ <CardDescription>
173
+ Please wait while we verify your reset link.
174
+ </CardDescription>
175
+ </CardHeader>
176
+ </Card>
177
+ );
178
+ }
179
+
180
+ // Validation error state (transient failures, not invalid token)
181
+ if (validationError) {
182
+ return (
183
+ <Card>
184
+ <CardHeader>
185
+ <CardTitle>Something Went Wrong</CardTitle>
186
+ <CardDescription>{validationError}</CardDescription>
187
+ </CardHeader>
188
+ <CardContent>
189
+ <Button
190
+ variant="secondary"
191
+ className="w-full"
192
+ onClick={runTokenValidation}
193
+ >
194
+ Try Again
195
+ </Button>
196
+ </CardContent>
197
+ </Card>
198
+ );
199
+ }
200
+
201
+ // Invalid token state
202
+ if (!tokenValid) {
203
+ return (
204
+ <Card>
205
+ <CardHeader>
206
+ <CardTitle>Invalid or Expired Link</CardTitle>
207
+ <CardDescription>
208
+ This password reset link is invalid or has expired. Please request a
209
+ new one.
210
+ </CardDescription>
211
+ </CardHeader>
212
+ <CardContent>
213
+ <Link to="/auth/forgot-password">
214
+ <Button variant="secondary" className="w-full">
215
+ Request New Link
216
+ </Button>
217
+ </Link>
218
+ </CardContent>
219
+ </Card>
220
+ );
221
+ }
222
+
223
+ // Success state - redirect to login
224
+ if (resetComplete) {
225
+ return (
226
+ <Card>
227
+ <CardHeader>
228
+ <CardTitle>Password Reset Complete</CardTitle>
229
+ <CardDescription>
230
+ Your password has been successfully reset. You can now log in with
231
+ your new password.
232
+ </CardDescription>
233
+ </CardHeader>
234
+ <CardContent>
235
+ <Button
236
+ variant="secondary"
237
+ className="w-full"
238
+ onClick={() => {
239
+ navigate({ to: '/auth/login' }).catch(logError);
240
+ }}
241
+ >
242
+ Go to Login
243
+ </Button>
244
+ </CardContent>
245
+ </Card>
246
+ );
247
+ }
248
+
249
+ // Reset form
250
+ return (
251
+ <Card>
252
+ <CardHeader>
253
+ <CardTitle>Reset your password</CardTitle>
254
+ <CardDescription>Enter your new password below.</CardDescription>
255
+ </CardHeader>
256
+ <CardContent>
257
+ <form onSubmit={handleSubmit(onSubmit)}>
258
+ <div className="flex flex-col gap-6">
259
+ <InputFieldController
260
+ control={control}
261
+ name="newPassword"
262
+ label="New Password"
263
+ type="password"
264
+ autoComplete="new-password"
265
+ placeholder="Enter new password"
266
+ />
267
+ <InputFieldController
268
+ control={control}
269
+ name="confirmPassword"
270
+ label="Confirm Password"
271
+ type="password"
272
+ autoComplete="new-password"
273
+ placeholder="Confirm new password"
274
+ />
275
+ <Button type="submit" className="w-full" disabled={loading}>
276
+ Reset Password
277
+ </Button>
278
+ </div>
279
+ </form>
280
+ </CardContent>
281
+ </Card>
282
+ );
283
+ }
@@ -0,0 +1,2 @@
1
+ export declare const Route: import("@tanstack/router-core").Route<import("@tanstack/react-router").Register, never, never, never, never, never, undefined, import("@tanstack/react-router").ResolveParams<never>, import("@tanstack/react-router").AnyContext, import("@tanstack/react-router").AnyContext, import("@tanstack/react-router").AnyContext, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
2
+ //# sourceMappingURL=route.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-routes/templates/routes/auth_/route.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,4XAEhB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // @ts-nocheck
3
+ import { createFileRoute, Outlet } from '@tanstack/react-router';
4
+ export const Route = createFileRoute('/auth_')({
5
+ component: RouteComponent,
6
+ });
7
+ function RouteComponent() {
8
+ return (_jsx("div", { className: "flex min-h-svh w-full items-center justify-center p-6 md:p-10", children: _jsx("div", { className: "w-full max-w-sm", children: _jsx(Outlet, {}) }) }));
9
+ }
10
+ //# sourceMappingURL=route.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-routes/templates/routes/auth_/route.tsx"],"names":[],"mappings":";AAAA,cAAc;AAEd,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC7C,SAAS,EAAE,cAAc;CAC1B,CAAC,CAAC;AAEH,SAAS,cAAc;IACrB,OAAO,CACL,cAAK,SAAS,EAAC,+DAA+D,YAC5E,cAAK,SAAS,EAAC,iBAAiB,YAC9B,KAAC,MAAM,KAAG,GACN,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,17 @@
1
+ // @ts-nocheck
2
+
3
+ import { createFileRoute, Outlet } from '@tanstack/react-router';
4
+
5
+ export const Route = createFileRoute('/auth_')({
6
+ component: RouteComponent,
7
+ });
8
+
9
+ function RouteComponent(): React.ReactElement {
10
+ return (
11
+ <div className="flex min-h-svh w-full items-center justify-center p-6 md:p-10">
12
+ <div className="w-full max-w-sm">
13
+ <Outlet />
14
+ </div>
15
+ </div>
16
+ );
17
+ }
@@ -0,0 +1,7 @@
1
+ import { z } from 'zod';
2
+ export declare const Route: import("@tanstack/router-core").Route<import("@tanstack/react-router").Register, never, never, never, never, never, z.ZodObject<{
3
+ token: z.ZodOptional<z.ZodString>;
4
+ }, z.core.$strip>, import("@tanstack/react-router").ResolveParams<never>, import("@tanstack/react-router").AnyContext, import("@tanstack/react-router").AnyContext, ({ search: { token } }: import("@tanstack/react-router").BeforeLoadContextOptions<import("@tanstack/react-router").Register, never, z.ZodObject<{
5
+ token: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>, import("@tanstack/react-router").ResolveParams<never>, import("@tanstack/react-router").AnyContext, import("@tanstack/react-router").AnyContext, never, unknown, undefined>) => void, {}, undefined, unknown, unknown, unknown, unknown, undefined>;
7
+ //# sourceMappingURL=verify-email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-email.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,KAAK;;;;sQAUhB,CAAC"}
@@ -0,0 +1,106 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // @ts-nocheck
3
+ import { getApolloErrorCode } from '%apolloErrorImports';
4
+ import { graphql } from '%graphqlImports';
5
+ import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, } from '%reactComponentsImports';
6
+ import { logAndFormatError, logError } from '%reactErrorImports';
7
+ import { useMutation } from '@apollo/client/react';
8
+ import { createFileRoute, redirect, useNavigate } from '@tanstack/react-router';
9
+ import { useCallback, useEffect, useState } from 'react';
10
+ import { toast } from 'sonner';
11
+ import { z } from 'zod';
12
+ export const Route = createFileRoute('/auth_/verify-email')({
13
+ validateSearch: z.object({
14
+ token: z.string().optional(),
15
+ }),
16
+ component: VerifyEmailPage,
17
+ beforeLoad: ({ search: { token } }) => {
18
+ if (!token) {
19
+ throw redirect({ to: '/' });
20
+ }
21
+ },
22
+ });
23
+ const verifyEmailMutation = graphql(`
24
+ mutation VerifyEmail($input: VerifyEmailInput!) {
25
+ verifyEmail(input: $input) {
26
+ success
27
+ }
28
+ }
29
+ `);
30
+ const requestEmailVerificationMutation = graphql(`
31
+ mutation RequestEmailVerification {
32
+ requestEmailVerification {
33
+ success
34
+ }
35
+ }
36
+ `);
37
+ function VerifyEmailPage() {
38
+ const { token } = Route.useSearch();
39
+ const { userId } = Route.useRouteContext();
40
+ const navigate = useNavigate();
41
+ const [status, setStatus] = useState(userId ? 'verifying' : 'idle');
42
+ const [verifyEmail] = useMutation(verifyEmailMutation);
43
+ const [requestVerification, { loading: resending }] = useMutation(requestEmailVerificationMutation);
44
+ const doVerify = useCallback(() => {
45
+ if (!token)
46
+ return;
47
+ setStatus('verifying');
48
+ verifyEmail({
49
+ variables: { input: { token } },
50
+ })
51
+ .then(() => {
52
+ setStatus('success');
53
+ })
54
+ .catch((err) => {
55
+ const errorCode = getApolloErrorCode(err, [
56
+ 'invalid-token',
57
+ 'token-expired',
58
+ ]);
59
+ switch (errorCode) {
60
+ case 'invalid-token':
61
+ case 'token-expired': {
62
+ setStatus('error');
63
+ break;
64
+ }
65
+ default: {
66
+ toast.error(logAndFormatError(err, 'Sorry, we could not verify your email.'));
67
+ setStatus('error');
68
+ }
69
+ }
70
+ });
71
+ }, [token, verifyEmail]);
72
+ // If logged in, auto-verify on mount
73
+ useEffect(() => {
74
+ if (userId && token) {
75
+ doVerify();
76
+ }
77
+ }, [userId, token, doVerify]);
78
+ const handleResend = () => {
79
+ requestVerification()
80
+ .then(() => {
81
+ toast.success('Verification email sent! Check your inbox.');
82
+ })
83
+ .catch((err) => {
84
+ toast.error(logAndFormatError(err, 'Could not resend verification email.'));
85
+ });
86
+ };
87
+ // Verifying state
88
+ if (status === 'verifying') {
89
+ return (_jsx(Card, { children: _jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Verifying..." }), _jsx(CardDescription, { children: "Please wait while we verify your email address." })] }) }));
90
+ }
91
+ // Success state
92
+ if (status === 'success') {
93
+ return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Email Verified!" }), _jsx(CardDescription, { children: "Your email address has been successfully verified." })] }), _jsx(CardContent, { children: _jsx(Button, { variant: "secondary", className: "w-full", onClick: () => {
94
+ navigate({ to: '/' }).catch(logError);
95
+ }, children: "Continue" }) })] }));
96
+ }
97
+ // Error state
98
+ if (status === 'error') {
99
+ return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Invalid or Expired Link" }), _jsx(CardDescription, { children: "This verification link is invalid or has expired." })] }), _jsx(CardContent, { children: _jsx("div", { className: "flex flex-col gap-3", children: userId ? (_jsx(Button, { variant: "secondary", className: "w-full", disabled: resending, onClick: handleResend, children: "Resend Verification Email" })) : (_jsx(Button, { variant: "secondary", className: "w-full", onClick: () => {
100
+ navigate({ to: '/auth/login' }).catch(logError);
101
+ }, children: "Log In to Resend" })) }) })] }));
102
+ }
103
+ // Idle state (not logged in) — show button to verify
104
+ return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Verify your email" }), _jsx(CardDescription, { children: "Click the button below to verify your email address." })] }), _jsx(CardContent, { children: _jsx(Button, { className: "w-full", onClick: doVerify, children: "Verify Email" }) })] }));
105
+ }
106
+ //# sourceMappingURL=verify-email.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-email.js","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx"],"names":[],"mappings":";AAAA,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EACL,MAAM,EACN,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,GACV,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;IAC1D,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC;QACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC7B,CAAC;IACF,SAAS,EAAE,eAAe;IAC1B,UAAU,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;QACpC,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,QAAQ,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,OAAO,CAAC;;;;;;CAMnC,CAAC,CAAC;AAEH,MAAM,gCAAgC,GAAG,OAAO,CAAC;;;;;;CAMhD,CAAC,CAAC;AAIH,SAAS,eAAe;IACtB,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IACpC,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC,eAAe,EAAE,CAAC;IAC3C,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAClC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAC9B,CAAC;IAEF,MAAM,CAAC,WAAW,CAAC,GAAG,WAAW,CAAC,mBAAmB,CAAC,CAAC;IACvD,MAAM,CAAC,mBAAmB,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,GAAG,WAAW,CAC/D,gCAAgC,CACjC,CAAC;IAEF,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAS,EAAE;QACtC,IAAI,CAAC,KAAK;YAAE,OAAO;QAEnB,SAAS,CAAC,WAAW,CAAC,CAAC;QACvB,WAAW,CAAC;YACV,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE;SAChC,CAAC;aACC,IAAI,CAAC,GAAG,EAAE;YACT,SAAS,CAAC,SAAS,CAAC,CAAC;QACvB,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;YACtB,MAAM,SAAS,GAAG,kBAAkB,CAAC,GAAG,EAAE;gBACxC,eAAe;gBACf,eAAe;aACP,CAAC,CAAC;YACZ,QAAQ,SAAS,EAAE,CAAC;gBAClB,KAAK,eAAe,CAAC;gBACrB,KAAK,eAAe,CAAC,CAAC,CAAC;oBACrB,SAAS,CAAC,OAAO,CAAC,CAAC;oBACnB,MAAM;gBACR,CAAC;gBACD,OAAO,CAAC,CAAC,CAAC;oBACR,KAAK,CAAC,KAAK,CACT,iBAAiB,CAAC,GAAG,EAAE,wCAAwC,CAAC,CACjE,CAAC;oBACF,SAAS,CAAC,OAAO,CAAC,CAAC;gBACrB,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC;IAEzB,qCAAqC;IACrC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,MAAM,IAAI,KAAK,EAAE,CAAC;YACpB,QAAQ,EAAE,CAAC;QACb,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE9B,MAAM,YAAY,GAAG,GAAS,EAAE;QAC9B,mBAAmB,EAAE;aAClB,IAAI,CAAC,GAAG,EAAE;YACT,KAAK,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC;QAC9D,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;YACtB,KAAK,CAAC,KAAK,CACT,iBAAiB,CAAC,GAAG,EAAE,sCAAsC,CAAC,CAC/D,CAAC;QACJ,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,kBAAkB;IAClB,IAAI,MAAM,KAAK,WAAW,EAAE,CAAC;QAC3B,OAAO,CACL,KAAC,IAAI,cACH,MAAC,UAAU,eACT,KAAC,SAAS,+BAAyB,EACnC,KAAC,eAAe,kEAEE,IACP,GACR,CACR,CAAC;IACJ,CAAC;IAED,gBAAgB;IAChB,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,CACL,MAAC,IAAI,eACH,MAAC,UAAU,eACT,KAAC,SAAS,kCAA4B,EACtC,KAAC,eAAe,qEAEE,IACP,EACb,KAAC,WAAW,cACV,KAAC,MAAM,IACL,OAAO,EAAC,WAAW,EACnB,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;4BACZ,QAAQ,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;wBACxC,CAAC,yBAGM,GACG,IACT,CACR,CAAC;IACJ,CAAC;IAED,cAAc;IACd,IAAI,MAAM,KAAK,OAAO,EAAE,CAAC;QACvB,OAAO,CACL,MAAC,IAAI,eACH,MAAC,UAAU,eACT,KAAC,SAAS,0CAAoC,EAC9C,KAAC,eAAe,oEAEE,IACP,EACb,KAAC,WAAW,cACV,cAAK,SAAS,EAAC,qBAAqB,YACjC,MAAM,CAAC,CAAC,CAAC,CACR,KAAC,MAAM,IACL,OAAO,EAAC,WAAW,EACnB,SAAS,EAAC,QAAQ,EAClB,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,YAAY,0CAGd,CACV,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,IACL,OAAO,EAAC,WAAW,EACnB,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;gCACZ,QAAQ,CAAC,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;4BAClD,CAAC,iCAGM,CACV,GACG,GACM,IACT,CACR,CAAC;IACJ,CAAC;IAED,qDAAqD;IACrD,OAAO,CACL,MAAC,IAAI,eACH,MAAC,UAAU,eACT,KAAC,SAAS,oCAA8B,EACxC,KAAC,eAAe,uEAEE,IACP,EACb,KAAC,WAAW,cACV,KAAC,MAAM,IAAC,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,QAAQ,6BAEnC,GACG,IACT,CACR,CAAC;AACJ,CAAC"}
@@ -0,0 +1,206 @@
1
+ // @ts-nocheck
2
+
3
+ import { getApolloErrorCode } from '%apolloErrorImports';
4
+ import { graphql } from '%graphqlImports';
5
+ import {
6
+ Button,
7
+ Card,
8
+ CardContent,
9
+ CardDescription,
10
+ CardHeader,
11
+ CardTitle,
12
+ } from '%reactComponentsImports';
13
+ import { logAndFormatError, logError } from '%reactErrorImports';
14
+ import { useMutation } from '@apollo/client/react';
15
+ import { createFileRoute, redirect, useNavigate } from '@tanstack/react-router';
16
+ import { useCallback, useEffect, useState } from 'react';
17
+ import { toast } from 'sonner';
18
+ import { z } from 'zod';
19
+
20
+ export const Route = createFileRoute('/auth_/verify-email')({
21
+ validateSearch: z.object({
22
+ token: z.string().optional(),
23
+ }),
24
+ component: VerifyEmailPage,
25
+ beforeLoad: ({ search: { token } }) => {
26
+ if (!token) {
27
+ throw redirect({ to: '/' });
28
+ }
29
+ },
30
+ });
31
+
32
+ const verifyEmailMutation = graphql(`
33
+ mutation VerifyEmail($input: VerifyEmailInput!) {
34
+ verifyEmail(input: $input) {
35
+ success
36
+ }
37
+ }
38
+ `);
39
+
40
+ const requestEmailVerificationMutation = graphql(`
41
+ mutation RequestEmailVerification {
42
+ requestEmailVerification {
43
+ success
44
+ }
45
+ }
46
+ `);
47
+
48
+ type VerifyStatus = 'idle' | 'verifying' | 'success' | 'error';
49
+
50
+ function VerifyEmailPage(): React.JSX.Element {
51
+ const { token } = Route.useSearch();
52
+ const { userId } = Route.useRouteContext();
53
+ const navigate = useNavigate();
54
+ const [status, setStatus] = useState<VerifyStatus>(
55
+ userId ? 'verifying' : 'idle',
56
+ );
57
+
58
+ const [verifyEmail] = useMutation(verifyEmailMutation);
59
+ const [requestVerification, { loading: resending }] = useMutation(
60
+ requestEmailVerificationMutation,
61
+ );
62
+
63
+ const doVerify = useCallback((): void => {
64
+ if (!token) return;
65
+
66
+ setStatus('verifying');
67
+ verifyEmail({
68
+ variables: { input: { token } },
69
+ })
70
+ .then(() => {
71
+ setStatus('success');
72
+ })
73
+ .catch((err: unknown) => {
74
+ const errorCode = getApolloErrorCode(err, [
75
+ 'invalid-token',
76
+ 'token-expired',
77
+ ] as const);
78
+ switch (errorCode) {
79
+ case 'invalid-token':
80
+ case 'token-expired': {
81
+ setStatus('error');
82
+ break;
83
+ }
84
+ default: {
85
+ toast.error(
86
+ logAndFormatError(err, 'Sorry, we could not verify your email.'),
87
+ );
88
+ setStatus('error');
89
+ }
90
+ }
91
+ });
92
+ }, [token, verifyEmail]);
93
+
94
+ // If logged in, auto-verify on mount
95
+ useEffect(() => {
96
+ if (userId && token) {
97
+ doVerify();
98
+ }
99
+ }, [userId, token, doVerify]);
100
+
101
+ const handleResend = (): void => {
102
+ requestVerification()
103
+ .then(() => {
104
+ toast.success('Verification email sent! Check your inbox.');
105
+ })
106
+ .catch((err: unknown) => {
107
+ toast.error(
108
+ logAndFormatError(err, 'Could not resend verification email.'),
109
+ );
110
+ });
111
+ };
112
+
113
+ // Verifying state
114
+ if (status === 'verifying') {
115
+ return (
116
+ <Card>
117
+ <CardHeader>
118
+ <CardTitle>Verifying...</CardTitle>
119
+ <CardDescription>
120
+ Please wait while we verify your email address.
121
+ </CardDescription>
122
+ </CardHeader>
123
+ </Card>
124
+ );
125
+ }
126
+
127
+ // Success state
128
+ if (status === 'success') {
129
+ return (
130
+ <Card>
131
+ <CardHeader>
132
+ <CardTitle>Email Verified!</CardTitle>
133
+ <CardDescription>
134
+ Your email address has been successfully verified.
135
+ </CardDescription>
136
+ </CardHeader>
137
+ <CardContent>
138
+ <Button
139
+ variant="secondary"
140
+ className="w-full"
141
+ onClick={() => {
142
+ navigate({ to: '/' }).catch(logError);
143
+ }}
144
+ >
145
+ Continue
146
+ </Button>
147
+ </CardContent>
148
+ </Card>
149
+ );
150
+ }
151
+
152
+ // Error state
153
+ if (status === 'error') {
154
+ return (
155
+ <Card>
156
+ <CardHeader>
157
+ <CardTitle>Invalid or Expired Link</CardTitle>
158
+ <CardDescription>
159
+ This verification link is invalid or has expired.
160
+ </CardDescription>
161
+ </CardHeader>
162
+ <CardContent>
163
+ <div className="flex flex-col gap-3">
164
+ {userId ? (
165
+ <Button
166
+ variant="secondary"
167
+ className="w-full"
168
+ disabled={resending}
169
+ onClick={handleResend}
170
+ >
171
+ Resend Verification Email
172
+ </Button>
173
+ ) : (
174
+ <Button
175
+ variant="secondary"
176
+ className="w-full"
177
+ onClick={() => {
178
+ navigate({ to: '/auth/login' }).catch(logError);
179
+ }}
180
+ >
181
+ Log In to Resend
182
+ </Button>
183
+ )}
184
+ </div>
185
+ </CardContent>
186
+ </Card>
187
+ );
188
+ }
189
+
190
+ // Idle state (not logged in) — show button to verify
191
+ return (
192
+ <Card>
193
+ <CardHeader>
194
+ <CardTitle>Verify your email</CardTitle>
195
+ <CardDescription>
196
+ Click the button below to verify your email address.
197
+ </CardDescription>
198
+ </CardHeader>
199
+ <CardContent>
200
+ <Button className="w-full" onClick={doVerify}>
201
+ Verify Email
202
+ </Button>
203
+ </CardContent>
204
+ </Card>
205
+ );
206
+ }
@@ -0,0 +1,10 @@
1
+ export * from './auth-apollo/index.js';
2
+ export * from './auth-email-password/index.js';
3
+ export * from './auth-email-templates/index.js';
4
+ export * from './auth-hooks/index.js';
5
+ export * from './auth-module/index.js';
6
+ export * from './auth-routes/index.js';
7
+ export * from './react-auth/index.js';
8
+ export * from './react-session/index.js';
9
+ export * from './seed-initial-user/index.js';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/local-auth/core/generators/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,10 @@
1
+ export * from './auth-apollo/index.js';
2
+ export * from './auth-email-password/index.js';
3
+ export * from './auth-email-templates/index.js';
4
+ export * from './auth-hooks/index.js';
5
+ export * from './auth-module/index.js';
6
+ export * from './auth-routes/index.js';
7
+ export * from './react-auth/index.js';
8
+ export * from './react-session/index.js';
9
+ export * from './seed-initial-user/index.js';
10
+ //# sourceMappingURL=index.js.map