@baseplate-dev/plugin-auth 0.6.16 → 0.6.18

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 (220) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +12 -0
  3. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +12 -0
  4. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +6 -0
  5. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +6 -0
  6. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +12 -0
  7. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +12 -0
  8. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +6 -0
  9. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +12 -0
  10. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +6 -0
  11. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +6 -0
  12. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +36 -0
  13. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +6 -0
  14. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +60 -0
  15. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +12 -0
  16. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +6 -0
  17. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +6 -0
  18. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +6 -0
  19. package/dist/local-auth/admin/common.js +6 -0
  20. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.d.ts +531 -0
  21. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.js +119 -0
  22. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.d.ts +540 -0
  23. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.js +11 -0
  24. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.d.ts +12 -0
  25. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.js +24 -0
  26. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.d.ts +276 -0
  27. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.js +45 -0
  28. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.d.ts +263 -0
  29. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.js +21 -0
  30. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.d.ts +2 -0
  31. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.js +2 -0
  32. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.d.ts +21 -0
  33. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.js +69 -0
  34. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.tsx +122 -0
  35. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +12 -0
  36. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +12 -0
  37. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +6 -0
  38. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +6 -0
  39. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +12 -0
  40. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +12 -0
  41. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +6 -0
  42. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +12 -0
  43. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +6 -0
  44. package/dist/local-auth/admin/node.js +13 -0
  45. package/dist/local-auth/admin/schema/invite-user-action.d.ts +12 -0
  46. package/dist/local-auth/admin/schema/invite-user-action.js +6 -0
  47. package/dist/local-auth/admin/web.js +8 -0
  48. package/dist/local-auth/core/common.js +7 -2
  49. package/dist/local-auth/core/components/local-auth-definition-editor.js +2 -1
  50. package/dist/local-auth/core/components/local-auth-web-app-settings-form.d.ts +9 -0
  51. package/dist/local-auth/core/components/local-auth-web-app-settings-form.js +11 -0
  52. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +1 -0
  53. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +6 -0
  54. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +66 -6
  55. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +188 -0
  56. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +5 -0
  57. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +5 -0
  58. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +18 -0
  59. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +66 -0
  60. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +192 -0
  61. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +82 -1
  62. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.d.ts +19 -0
  63. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.js +20 -0
  64. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.ts +22 -0
  65. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +12 -0
  66. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +12 -0
  67. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +14 -0
  68. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.d.ts +2 -0
  69. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.js +30 -0
  70. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.ts +38 -0
  71. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.d.ts +2 -0
  72. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.js +42 -0
  73. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.ts +54 -0
  74. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +2 -19
  75. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +1 -22
  76. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.d.ts +37 -0
  77. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.js +225 -0
  78. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.ts +333 -0
  79. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.d.ts +39 -0
  80. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.js +138 -0
  81. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.ts +209 -0
  82. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +3 -3
  83. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +3 -2
  84. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +3 -1
  85. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +18 -3
  86. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +40 -0
  87. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +2 -0
  88. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +2 -0
  89. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +6 -0
  90. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +20 -0
  91. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +40 -0
  92. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +24 -0
  93. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.d.ts +3 -0
  94. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.js +18 -0
  95. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.tsx +57 -0
  96. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.d.ts +3 -0
  97. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.js +14 -0
  98. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.tsx +47 -0
  99. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +8 -0
  100. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +5 -1
  101. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +32 -0
  102. package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +1 -0
  103. package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +1 -0
  104. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +7 -0
  105. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +13 -0
  106. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +9 -0
  107. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +6 -0
  108. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +25 -0
  109. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +20 -0
  110. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +4 -0
  111. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +1 -1
  112. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +1 -1
  113. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.d.ts +66 -0
  114. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.js +134 -0
  115. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.ts +184 -0
  116. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +8 -0
  117. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +38 -5
  118. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +840 -268
  119. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +3 -0
  120. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +3 -0
  121. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +18 -0
  122. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +51 -0
  123. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +608 -283
  124. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +69 -23
  125. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.d.ts +9 -0
  126. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.js +10 -0
  127. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.ts +11 -0
  128. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.d.ts +7 -0
  129. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.js +148 -0
  130. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.tsx +264 -0
  131. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.d.ts +7 -0
  132. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.js +184 -0
  133. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.tsx +311 -0
  134. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +1 -1
  135. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +2 -9
  136. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +12 -0
  137. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +6 -0
  138. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +12 -0
  139. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +6 -0
  140. package/dist/local-auth/core/node.js +24 -6
  141. package/dist/local-auth/core/schema/migrations.d.ts +3 -0
  142. package/dist/local-auth/core/schema/migrations.js +36 -0
  143. package/dist/local-auth/core/schema/models.js +8 -0
  144. package/dist/local-auth/core/schema/plugin-definition.d.ts +1 -0
  145. package/dist/local-auth/core/schema/plugin-definition.js +1 -0
  146. package/dist/local-auth/core/schema/web-app-schema.d.ts +15 -0
  147. package/dist/local-auth/core/schema/web-app-schema.js +16 -0
  148. package/dist/local-auth/core/web.js +8 -1
  149. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-04_7KkB1.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-CKKmnLep.js} +49 -41
  150. package/dist/web/assets/{dist-BjxypexQ.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js} +16720 -384
  151. package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-D3Nvasea.js +177 -0
  152. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-C2GDE8Py.js} +3349 -2632
  153. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CiccpWjh.js} +320 -164
  154. package/dist/web/assets/{arduino-BP2nYunF.js → arduino-BXtgMpyb.js} +2 -2
  155. package/dist/web/assets/auth-CsHp2bQi.js +1 -0
  156. package/dist/web/assets/{c-C7Ey31hW.js → c-6gdx-Hqg.js} +3 -3
  157. package/dist/web/assets/{clike-D9YNFwtw.js → clike-Ds9lUsCq.js} +2 -2
  158. package/dist/web/assets/common-BGTuTgx7.js +43 -0
  159. package/dist/web/assets/common-C8_sC5pp.js +70 -0
  160. package/dist/web/assets/{common-BvU-7KsV.js → common-Co5lW_TK.js} +13 -11
  161. package/dist/web/assets/{common-eFh2vwGb.js → common-CoLuMS7U.js} +6 -6
  162. package/dist/web/assets/common-Dueu_1NG.js +36 -0
  163. package/dist/web/assets/{common-BBriDRRy.js → common-N3skPbzk.js} +10 -10
  164. package/dist/web/assets/{cpp-_RjA_yNA.js → cpp-DRYAY5P6.js} +2 -2
  165. package/dist/web/assets/{csharp-0LZzOc6Q.js → csharp-RJBSoHJ6.js} +2 -2
  166. package/dist/web/assets/{dist-SBfmsOB2.js → dist-DQd1TAJX.js} +274 -133
  167. package/dist/web/assets/{get-auth-plugin-definition-x8oAsN1R.js → get-auth-plugin-definition-DyokUVjX.js} +3 -3
  168. package/dist/web/assets/{go-CzER04EZ.js → go-D9nlw8GJ.js} +2 -2
  169. package/dist/web/assets/{hostInit-Bay0Y9UX.js → hostInit-BCYmw0H5.js} +33 -6
  170. package/dist/web/assets/{java-HAvRESj1.js → java-Asfw0WtJ.js} +2 -2
  171. package/dist/web/assets/{javascript-BVAr0eZH.js → javascript-fpnGEVws.js} +2 -2
  172. package/dist/web/assets/{kotlin-DkCMjTKK.js → kotlin-zNWfDPVY.js} +2 -2
  173. package/dist/web/assets/{markdown-_2_uVr2L.js → markdown-ewV-vLcZ.js} +2 -2
  174. package/dist/web/assets/{markup-BVZ8HhdW.js → markup-D2krQlDZ.js} +2 -2
  175. package/dist/web/assets/{markup-templating-BDIRuVJH.js → markup-templating-c_XBo6vX.js} +2 -2
  176. package/dist/web/assets/mf-entry-bootstrap-0-3ede9334.js +36 -0
  177. package/dist/web/assets/mf-entry-bootstrap-1-3da85eea.js +36 -0
  178. package/dist/web/assets/{mf-entry-bootstrap-0-659c976f.js → mf-entry-bootstrap-2-32e24e11.js} +3 -2
  179. package/dist/web/assets/mf-entry-bootstrap-3-a3cfea9d.js +36 -0
  180. package/dist/web/assets/{models-BpslIbU7.js → models-BcPOQC5p.js} +4 -5
  181. package/dist/web/assets/{models-CKab4MTC.js → models-BcUgOGGn.js} +11 -6
  182. package/dist/web/assets/{objectivec-DPgB68It.js → objectivec-PkUOhxeb.js} +2 -2
  183. package/dist/web/assets/{php-JTON0zp9.js → php-CfWLJZIj.js} +2 -2
  184. package/dist/web/assets/{plugin-definition-8Exesd6T.js → plugin-definition-D1EImXIf.js} +9 -10
  185. package/dist/web/assets/plugin-definition-lw-gB4hU.js +10 -0
  186. package/dist/web/assets/{rolldown-runtime-FZ4Itg2g.js → rolldown-runtime-7_rZTKki.js} +1 -1
  187. package/dist/web/assets/{ruby-BoFHz67P.js → ruby-BlM93DKO.js} +2 -2
  188. package/dist/web/assets/{styles-Cc26Bbxc.css → styles-DIj1cIPB.css} +119 -1
  189. package/dist/web/assets/{styles-Cuq4wgvD.js → styles-EOyEbGA4.js} +9 -10
  190. package/dist/web/assets/{typescript-CDkIWcT8.js → typescript-C5BVqltI.js} +2 -2
  191. package/dist/web/assets/{virtualExposes-BwIds34r.js → virtualExposes-DWORnjyA.js} +1 -1
  192. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-t-KnBiUh.js +747 -0
  193. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DZfE3QCR.js} +15 -15
  194. package/dist/web/assets/{vite-preload-helper-iIio8xkS.js → vite-preload-helper-ARKYL6bp.js} +5 -1
  195. package/dist/web/assets/{web-DHv2aVpi.js → web-CBVepebK.js} +24 -24
  196. package/dist/web/assets/{web-CnB-sqCR.js → web-Dgb85jhs.js} +54 -53
  197. package/dist/web/assets/{web-BZd3bM0n.js → web-EDeSquSP.js} +38 -38
  198. package/dist/web/assets/{web-DNrWXjpS.js → web-PqAcfBSy.js} +9 -9
  199. package/dist/web/assets/{web-BgWG7dYl.js → web-RhChfBw_.js} +23 -23
  200. package/dist/web/assets/web-kaD9AzNS.js +59 -0
  201. package/dist/web/assets/web-xJ-GnSkC.js +148 -0
  202. package/dist/web/assets/{workerBundle-GFUata9j.js → workerBundle-BjsY-uXx.js} +2 -2
  203. package/dist/web/index.html +5 -2
  204. package/dist/web/remoteEntry.js +1 -1
  205. package/package.json +36 -39
  206. package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js +0 -384
  207. package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DZIcwf2B.js +0 -125
  208. package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js +0 -13567
  209. package/dist/web/assets/auth-8qJtXAgU.js +0 -1
  210. package/dist/web/assets/common-23-wvKrM.js +0 -39
  211. package/dist/web/assets/common-B-NI9TR-.js +0 -37
  212. package/dist/web/assets/common-DBBUvtGu.js +0 -37
  213. package/dist/web/assets/index-qso1IsKy.js +0 -2
  214. package/dist/web/assets/model-utils-dNFTOjqi.js +0 -1599
  215. package/dist/web/assets/plugin-definition-ChBrbazJ.js +0 -11
  216. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js +0 -259
  217. package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js +0 -129
  218. package/dist/web/assets/web-CXHw8SK7.js +0 -118
  219. package/dist/web/assets/web-D_H-MoGI.js +0 -46
  220. package/dist/web/remoteEntry.ssr.js +0 -43
@@ -1,4 +1,4 @@
1
- import cpp from "./cpp-_RjA_yNA.js";
1
+ import cpp from "./cpp-DRYAY5P6.js";
2
2
  //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/arduino.js
3
3
  /**
4
4
  * @import {Refractor} from '../lib/core.js'
@@ -18,4 +18,4 @@ function arduino(Prism) {
18
18
  //#endregion
19
19
  export { arduino as default };
20
20
 
21
- //# sourceMappingURL=arduino-BP2nYunF.js.map
21
+ //# sourceMappingURL=arduino-BXtgMpyb.js.map
@@ -0,0 +1 @@
1
+ import "./get-auth-plugin-definition-DyokUVjX.js";
@@ -1,5 +1,5 @@
1
- import { r as __exportAll } from "./rolldown-runtime-FZ4Itg2g.js";
2
- import { t as clike } from "./clike-D9YNFwtw.js";
1
+ import { r as __exportAll } from "./rolldown-runtime-7_rZTKki.js";
2
+ import { t as clike } from "./clike-Ds9lUsCq.js";
3
3
  //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/c.js
4
4
  /**
5
5
  * @import {Refractor} from '../lib/core.js'
@@ -71,4 +71,4 @@ function c(Prism) {
71
71
  //#endregion
72
72
  export { c_exports as n, c as t };
73
73
 
74
- //# sourceMappingURL=c-C7Ey31hW.js.map
74
+ //# sourceMappingURL=c-6gdx-Hqg.js.map
@@ -1,4 +1,4 @@
1
- import { r as __exportAll } from "./rolldown-runtime-FZ4Itg2g.js";
1
+ import { r as __exportAll } from "./rolldown-runtime-7_rZTKki.js";
2
2
  //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/clike.js
3
3
  var clike_exports = /* @__PURE__ */ __exportAll({ default: () => clike });
4
4
  /**
@@ -38,4 +38,4 @@ function clike(Prism) {
38
38
  //#endregion
39
39
  export { clike_exports as n, clike as t };
40
40
 
41
- //# sourceMappingURL=clike-D9YNFwtw.js.map
41
+ //# sourceMappingURL=clike-Ds9lUsCq.js.map
@@ -0,0 +1,43 @@
1
+ import { M as __mf_0, a as __mf_119, i as __mf_114, n as __mf_111, o as __mf_120, r as __mf_112, t as __mf_106, u as __mf_155, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
+ //#region src/local-auth/admin/schema/invite-user-action.ts
3
+ var createAdminCrudInviteUserActionSchema = __mf_155(() => __mf_111.extend({ type: __mf_0.literal("invite-user") }));
4
+ //#endregion
5
+ //#region src/local-auth/admin/schema/manage-role-action.ts
6
+ var createAdminCrudManageRolesActionSchema = __mf_155(() => __mf_111.extend({ type: __mf_0.literal("manage-roles") }));
7
+ //#endregion
8
+ //#region src/local-auth/admin/schema/reset-password-action.ts
9
+ var createAdminCrudResetPasswordActionSchema = __mf_155(() => __mf_111.extend({ type: __mf_0.literal("reset-password") }));
10
+ //#endregion
11
+ //#region src/local-auth/admin/schema/roles-column.ts
12
+ var createAdminCrudRolesColumnSchema = __mf_155(() => __mf_119.extend({ type: __mf_0.literal("roles") }));
13
+ //#endregion
14
+ //#region src/local-auth/admin/common.ts
15
+ var common_default = __mf_55({
16
+ name: "common",
17
+ dependencies: {
18
+ adminCrudAction: __mf_106,
19
+ adminCrudColumn: __mf_114
20
+ },
21
+ initialize: ({ adminCrudAction, adminCrudColumn }) => {
22
+ adminCrudAction.actions.add(__mf_112({
23
+ name: "manage-roles",
24
+ createSchema: createAdminCrudManageRolesActionSchema
25
+ }));
26
+ adminCrudAction.actions.add(__mf_112({
27
+ name: "reset-password",
28
+ createSchema: createAdminCrudResetPasswordActionSchema
29
+ }));
30
+ adminCrudAction.actions.add(__mf_112({
31
+ name: "invite-user",
32
+ createSchema: createAdminCrudInviteUserActionSchema
33
+ }));
34
+ adminCrudColumn.columns.add(__mf_120({
35
+ name: "roles",
36
+ createSchema: createAdminCrudRolesColumnSchema
37
+ }));
38
+ }
39
+ });
40
+ //#endregion
41
+ export { common_default as default };
42
+
43
+ //# sourceMappingURL=common-BGTuTgx7.js.map
@@ -0,0 +1,70 @@
1
+ import { C as __mf_70, S as __mf_69, f as __mf_17, j as __mfDefaultExport, l as __mf_149, p as __mf_194, s as __mf_141, u as __mf_155, v as __mf_39, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-DyokUVjX.js";
3
+ import "./auth-CsHp2bQi.js";
4
+ import { t as LOCAL_AUTH_MODELS } from "./model-names-BluImOzu.js";
5
+ import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-BcUgOGGn.js";
6
+ //#region src/local-auth/core/schema/migrations.ts
7
+ var LOCAL_AUTH_PLUGIN_CONFIG_MIGRATIONS = [{
8
+ name: "add-auth-verification-attempts",
9
+ version: 1,
10
+ migrate: () => ({ updateProjectDefinition: (draft) => {
11
+ const fields = (draft.models?.find((model) => model.name === LOCAL_AUTH_MODELS.authVerification))?.model?.fields;
12
+ if (!fields || fields.some((field) => field.name === "attempts")) return;
13
+ const timestampIndex = fields.findIndex((field) => field.name === "expiresAt");
14
+ const insertAt = timestampIndex === -1 ? fields.length : timestampIndex;
15
+ fields.splice(insertAt, 0, {
16
+ id: __mf_194.generateNewId(),
17
+ name: "attempts",
18
+ type: "int",
19
+ isOptional: false,
20
+ options: { default: "0" }
21
+ });
22
+ } })
23
+ }];
24
+ //#endregion
25
+ //#region src/local-auth/core/schema/schema-issue-checker.ts
26
+ function createLocalAuthSchemaChecker(pluginKey) {
27
+ return __mf_39({
28
+ pluginKey,
29
+ pluginLabel: "Local Auth",
30
+ buildPartialDef: (container) => {
31
+ const authConfig = getAuthPluginDefinition(container.definition);
32
+ try {
33
+ const authFeatureName = __mf_17.getFeaturePathByIdOrThrow(container.definition, authConfig.authFeatureRef);
34
+ const accountsFeatureName = __mf_17.getFeaturePathByIdOrThrow(container.definition, authConfig.accountsFeatureRef);
35
+ return createLocalAuthPartialDefinition(authFeatureName, accountsFeatureName);
36
+ } catch {
37
+ return;
38
+ }
39
+ }
40
+ });
41
+ }
42
+ //#endregion
43
+ //#region src/local-auth/core/schema/web-app-schema.ts
44
+ /**
45
+ * Per-app local-auth settings contributed to the web app config via
46
+ * `webAppSchemaExtensionSpec`, stored under `pluginData[localAuthPluginKey]`.
47
+ */
48
+ var createLocalAuthWebAppSchema = __mf_155((ctx) => __mfDefaultExport.object({ disableRegistration: ctx.withDefault(__mfDefaultExport.boolean(), false) }));
49
+ //#endregion
50
+ //#region src/local-auth/core/common.ts
51
+ var common_default = __mf_55({
52
+ name: "common",
53
+ dependencies: {
54
+ pluginConfig: __mf_70,
55
+ authModels: __mf_69,
56
+ issueCheckers: __mf_149,
57
+ webAppSchemaExtension: __mf_141
58
+ },
59
+ initialize: ({ pluginConfig, authModels, issueCheckers, webAppSchemaExtension }, { pluginKey }) => {
60
+ pluginConfig.schemas.set(pluginKey, createLocalAuthPluginDefinitionSchema);
61
+ pluginConfig.migrations.set(pluginKey, LOCAL_AUTH_PLUGIN_CONFIG_MIGRATIONS);
62
+ authModels.getAuthModels.set(() => ({ user: LOCAL_AUTH_MODELS.user }));
63
+ issueCheckers.checkers.set(pluginKey, createLocalAuthSchemaChecker(pluginKey));
64
+ webAppSchemaExtension.schemas.set(pluginKey, createLocalAuthWebAppSchema);
65
+ }
66
+ });
67
+ //#endregion
68
+ export { common_default as default };
69
+
70
+ //# sourceMappingURL=common-C8_sC5pp.js.map
@@ -1,17 +1,19 @@
1
- import { n as __mf_142, o as __mf_17, r as __mf_161, t as __mf_141, u as __mf_232, v as __mf_58 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js";
1
+ import { C as __mf_70, S as __mf_69, f as __mf_17, l as __mf_149, v as __mf_39, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
2
  import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
3
- import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-BpslIbU7.js";
4
- import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-x8oAsN1R.js";
5
- import "./auth-8qJtXAgU.js";
3
+ import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-BcPOQC5p.js";
4
+ import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-DyokUVjX.js";
5
+ import "./auth-CsHp2bQi.js";
6
6
  //#region src/better-auth/core/schema/schema-issue-checker.ts
7
7
  function createBetterAuthSchemaChecker(pluginKey) {
8
- return __mf_141({
8
+ return __mf_39({
9
9
  pluginKey,
10
10
  pluginLabel: "Better Auth",
11
11
  buildPartialDef: (container) => {
12
12
  const authConfig = getAuthPluginDefinition(container.definition);
13
13
  try {
14
- return createBetterAuthPartialDefinition(__mf_17.getFeaturePathByIdOrThrow(container.definition, authConfig.authFeatureRef), __mf_17.getFeaturePathByIdOrThrow(container.definition, authConfig.accountsFeatureRef));
14
+ const authFeatureName = __mf_17.getFeaturePathByIdOrThrow(container.definition, authConfig.authFeatureRef);
15
+ const accountsFeatureName = __mf_17.getFeaturePathByIdOrThrow(container.definition, authConfig.accountsFeatureRef);
16
+ return createBetterAuthPartialDefinition(authFeatureName, accountsFeatureName);
15
17
  } catch {
16
18
  return;
17
19
  }
@@ -20,12 +22,12 @@ function createBetterAuthSchemaChecker(pluginKey) {
20
22
  }
21
23
  //#endregion
22
24
  //#region src/better-auth/core/common.ts
23
- var common_default = __mf_142({
25
+ var common_default = __mf_55({
24
26
  name: "common",
25
27
  dependencies: {
26
- pluginConfig: __mf_232,
27
- authModels: __mf_58,
28
- issueCheckers: __mf_161
28
+ pluginConfig: __mf_70,
29
+ authModels: __mf_69,
30
+ issueCheckers: __mf_149
29
31
  },
30
32
  initialize: ({ pluginConfig, authModels, issueCheckers }, { pluginKey }) => {
31
33
  pluginConfig.schemas.set(pluginKey, createBetterAuthPluginDefinitionSchema);
@@ -36,4 +38,4 @@ var common_default = __mf_142({
36
38
  //#endregion
37
39
  export { common_default as default };
38
40
 
39
- //# sourceMappingURL=common-BvU-7KsV.js.map
41
+ //# sourceMappingURL=common-Co5lW_TK.js.map
@@ -1,11 +1,11 @@
1
- import { n as __mf_142, u as __mf_232, v as __mf_58 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js";
2
- import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-ChBrbazJ.js";
1
+ import { C as __mf_70, S as __mf_69, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
+ import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-lw-gB4hU.js";
3
3
  //#region src/placeholder-auth/core/common.ts
4
- var common_default = __mf_142({
4
+ var common_default = __mf_55({
5
5
  name: "common",
6
6
  dependencies: {
7
- pluginConfig: __mf_232,
8
- authModels: __mf_58
7
+ pluginConfig: __mf_70,
8
+ authModels: __mf_69
9
9
  },
10
10
  initialize: ({ pluginConfig, authModels }, { pluginKey }) => {
11
11
  pluginConfig.schemas.set(pluginKey, createPlaceholderAuthPluginDefinitionSchema);
@@ -15,4 +15,4 @@ var common_default = __mf_142({
15
15
  //#endregion
16
16
  export { common_default as default };
17
17
 
18
- //# sourceMappingURL=common-eFh2vwGb.js.map
18
+ //# sourceMappingURL=common-CoLuMS7U.js.map
@@ -0,0 +1,36 @@
1
+ import { M as __mf_0, a as __mf_119, i as __mf_114, n as __mf_111, o as __mf_120, r as __mf_112, t as __mf_106, u as __mf_155, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
+ //#region src/better-auth/admin/schema/manage-role-action.ts
3
+ var createAdminCrudManageRolesActionSchema = __mf_155(() => __mf_111.extend({ type: __mf_0.literal("manage-roles") }));
4
+ //#endregion
5
+ //#region src/better-auth/admin/schema/reset-password-action.ts
6
+ var createAdminCrudResetPasswordActionSchema = __mf_155(() => __mf_111.extend({ type: __mf_0.literal("reset-password") }));
7
+ //#endregion
8
+ //#region src/better-auth/admin/schema/roles-column.ts
9
+ var createAdminCrudRolesColumnSchema = __mf_155(() => __mf_119.extend({ type: __mf_0.literal("roles") }));
10
+ //#endregion
11
+ //#region src/better-auth/admin/common.ts
12
+ var common_default = __mf_55({
13
+ name: "common",
14
+ dependencies: {
15
+ adminCrudAction: __mf_106,
16
+ adminCrudColumn: __mf_114
17
+ },
18
+ initialize: ({ adminCrudAction, adminCrudColumn }) => {
19
+ adminCrudAction.actions.add(__mf_112({
20
+ name: "manage-roles",
21
+ createSchema: createAdminCrudManageRolesActionSchema
22
+ }));
23
+ adminCrudAction.actions.add(__mf_112({
24
+ name: "reset-password",
25
+ createSchema: createAdminCrudResetPasswordActionSchema
26
+ }));
27
+ adminCrudColumn.columns.add(__mf_120({
28
+ name: "roles",
29
+ createSchema: createAdminCrudRolesColumnSchema
30
+ }));
31
+ }
32
+ });
33
+ //#endregion
34
+ export { common_default as default };
35
+
36
+ //# sourceMappingURL=common-Dueu_1NG.js.map
@@ -1,5 +1,5 @@
1
- import { _ as __mf_57, f as __mf_26, n as __mf_142, s as __mf_172, u as __mf_232 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js";
2
- import { t as createAuthPluginDefinitionSchema } from "./plugin-definition-8Exesd6T.js";
1
+ import { C as __mf_70, d as __mf_158, h as __mf_23, x as __mf_68, y as __mf_55 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-Cx7TvZ_H.js";
2
+ import { t as createAuthPluginDefinitionSchema } from "./plugin-definition-D1EImXIf.js";
3
3
  //#region src/auth/core/schema/migrations.ts
4
4
  var AUTH_PLUGIN_CONFIG_MIGRATIONS = [{
5
5
  name: "add-accounts-feature-ref",
@@ -8,11 +8,11 @@ var AUTH_PLUGIN_CONFIG_MIGRATIONS = [{
8
8
  const typedConfig = config;
9
9
  const features = projectDefinition.features ?? [];
10
10
  const accountsFeature = features.find((f) => f.name === "accounts" && !f.parentRef);
11
- const accountsId = accountsFeature?.id ?? __mf_172.generateNewId();
11
+ const accountsId = accountsFeature?.id ?? __mf_158.generateNewId();
12
12
  const accountsAuthFeature = features.find((f) => f.name === "accounts/auth");
13
- const accountsAuthId = accountsAuthFeature?.id ?? __mf_172.generateNewId();
13
+ const accountsAuthId = accountsAuthFeature?.id ?? __mf_158.generateNewId();
14
14
  const accountsUsersFeature = features.find((f) => f.name === "accounts/users");
15
- const accountsUsersId = accountsUsersFeature?.id ?? __mf_172.generateNewId();
15
+ const accountsUsersId = accountsUsersFeature?.id ?? __mf_158.generateNewId();
16
16
  return {
17
17
  updatedConfig: {
18
18
  ...typedConfig,
@@ -42,22 +42,22 @@ var AUTH_PLUGIN_CONFIG_MIGRATIONS = [{
42
42
  }];
43
43
  //#endregion
44
44
  //#region src/auth/core/common.ts
45
- var common_default = __mf_142({
45
+ var common_default = __mf_55({
46
46
  name: "common",
47
47
  dependencies: {
48
- pluginConfig: __mf_232,
49
- authConfig: __mf_57
48
+ pluginConfig: __mf_70,
49
+ authConfig: __mf_68
50
50
  },
51
51
  initialize: ({ authConfig, pluginConfig }, { pluginKey }) => {
52
52
  pluginConfig.schemas.set(pluginKey, createAuthPluginDefinitionSchema);
53
53
  pluginConfig.migrations.set(pluginKey, AUTH_PLUGIN_CONFIG_MIGRATIONS);
54
54
  authConfig.pluginKey.set(pluginKey);
55
55
  authConfig.getAuthConfig.set((definition) => {
56
- return { roles: __mf_26.configByKeyOrThrow(definition, pluginKey).roles };
56
+ return { roles: __mf_23.configByKeyOrThrow(definition, pluginKey).roles };
57
57
  });
58
58
  }
59
59
  });
60
60
  //#endregion
61
61
  export { common_default as default };
62
62
 
63
- //# sourceMappingURL=common-BBriDRRy.js.map
63
+ //# sourceMappingURL=common-N3skPbzk.js.map
@@ -1,4 +1,4 @@
1
- import { t as c } from "./c-C7Ey31hW.js";
1
+ import { t as c } from "./c-6gdx-Hqg.js";
2
2
  //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/cpp.js
3
3
  /**
4
4
  * @import {Refractor} from '../lib/core.js'
@@ -79,4 +79,4 @@ function cpp(Prism) {
79
79
  //#endregion
80
80
  export { cpp as default };
81
81
 
82
- //# sourceMappingURL=cpp-_RjA_yNA.js.map
82
+ //# sourceMappingURL=cpp-DRYAY5P6.js.map
@@ -1,4 +1,4 @@
1
- import { t as clike } from "./clike-D9YNFwtw.js";
1
+ import { t as clike } from "./clike-Ds9lUsCq.js";
2
2
  //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/csharp.js
3
3
  /**
4
4
  * @import {Refractor} from '../lib/core.js'
@@ -298,4 +298,4 @@ function csharp(Prism) {
298
298
  //#endregion
299
299
  export { csharp as default };
300
300
 
301
- //# sourceMappingURL=csharp-0LZzOc6Q.js.map
301
+ //# sourceMappingURL=csharp-RJBSoHJ6.js.map