@baseplate-dev/plugin-auth 0.6.9 → 0.6.11

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 (631) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/auth/core/web.js +31 -2
  3. package/dist/better-auth/constants/packages.d.ts +1 -1
  4. package/dist/better-auth/constants/packages.js +1 -1
  5. package/dist/better-auth/core/web.js +15 -2
  6. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +0 -1
  7. package/dist/local-auth/core/web.js +15 -2
  8. package/dist/placeholder-auth/core/web.js +13 -2
  9. package/dist/web/assets/_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DEljr3MS.js +226 -0
  10. 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-B6a7L2-k.js +346 -0
  11. 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-JKpdJ1L0.js +89 -0
  12. 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-DsLoA9K7.js +73549 -0
  13. package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CGsbw2Lx.js +6181 -0
  14. package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js +13784 -0
  15. package/dist/web/assets/auth-YjeUffyx.js +1 -0
  16. package/dist/web/assets/common-B3OG-gju.js +37 -0
  17. package/dist/web/assets/common-CTWnBc6I.js +39 -0
  18. package/dist/web/assets/common-CzNLnT_1.js +63 -0
  19. package/dist/web/assets/common-g_Gn0v5J.js +18 -0
  20. package/dist/web/assets/common-kfSP8YQO.js +39 -0
  21. package/dist/web/assets/common-zfktVQvk.js +37 -0
  22. package/dist/web/assets/dist-C6kDPCTC.js +18148 -0
  23. package/dist/web/assets/get-auth-plugin-definition-2vFJROjB.js +14 -0
  24. package/dist/web/assets/hostInit-35H-qR11.js +119 -0
  25. package/dist/web/assets/index-Cr47LBtj.js +2 -0
  26. package/dist/web/assets/mf-entry-bootstrap-0-13480d2a.js +32 -0
  27. package/dist/web/assets/model-names-BluImOzu.js +27 -0
  28. package/dist/web/assets/model-names-CUS5rSei.js +12 -0
  29. package/dist/web/assets/model-utils-ZF_FVZ_o.js +1287 -0
  30. package/dist/web/assets/models-CORL4i-6.js +285 -0
  31. package/dist/web/assets/models-DPPMgQz_.js +304 -0
  32. package/dist/web/assets/plugin-definition-UAfMRa7u.js +78 -0
  33. package/dist/web/assets/plugin-definition-mNNM2hOB.js +11 -0
  34. package/dist/web/assets/rolldown-runtime-FZ4Itg2g.js +42 -0
  35. package/dist/web/assets/{style-DiK_rD1L.css → styles-Cc26Bbxc.css} +1 -1
  36. package/dist/web/assets/styles-DNVWarsT.js +173 -0
  37. package/dist/web/assets/virtualExposes-CZsMFYa2.js +2 -0
  38. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bt9-dftr.js +3892 -0
  39. package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DC8YPV1Z.js +129 -0
  40. package/dist/web/assets/virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-CmilMd0E.js +168 -0
  41. package/dist/web/assets/vite-preload-helper-iIio8xkS.js +67 -0
  42. package/dist/web/assets/web-BbqWFVPH.js +397 -0
  43. package/dist/web/assets/web-BldKZtQd.js +123 -0
  44. package/dist/web/assets/web-CNMEeTj-.js +46 -0
  45. package/dist/web/assets/web-CnsQCdFE.js +46 -0
  46. package/dist/web/assets/web-DiGj_0d0.js +118 -0
  47. package/dist/web/assets/web-OntIhIfe.js +355 -0
  48. package/dist/web/assets/web-y8E7eNgy.js +106 -0
  49. package/dist/web/index.html +2 -2
  50. package/dist/web/remoteEntry.js +2 -0
  51. package/dist/web/remoteEntry.ssr.js +43 -0
  52. package/package.json +24 -21
  53. package/dist/auth/core/common.d.ts.map +0 -1
  54. package/dist/auth/core/common.js.map +0 -1
  55. package/dist/auth/core/components/auth-definition-editor.d.ts.map +0 -1
  56. package/dist/auth/core/components/auth-definition-editor.js.map +0 -1
  57. package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +0 -1
  58. package/dist/auth/core/components/role-editor-form/role-dialog.js.map +0 -1
  59. package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts.map +0 -1
  60. package/dist/auth/core/components/role-editor-form/role-editor-form.js.map +0 -1
  61. package/dist/auth/core/node.d.ts.map +0 -1
  62. package/dist/auth/core/node.js.map +0 -1
  63. package/dist/auth/core/schema/migrations.d.ts.map +0 -1
  64. package/dist/auth/core/schema/migrations.js.map +0 -1
  65. package/dist/auth/core/schema/plugin-definition.d.ts.map +0 -1
  66. package/dist/auth/core/schema/plugin-definition.js.map +0 -1
  67. package/dist/auth/core/schema/roles/constants.d.ts.map +0 -1
  68. package/dist/auth/core/schema/roles/constants.js.map +0 -1
  69. package/dist/auth/core/schema/roles/index.d.ts.map +0 -1
  70. package/dist/auth/core/schema/roles/index.js.map +0 -1
  71. package/dist/auth/core/schema/roles/schema.d.ts.map +0 -1
  72. package/dist/auth/core/schema/roles/schema.js.map +0 -1
  73. package/dist/auth/core/web.d.ts.map +0 -1
  74. package/dist/auth/core/web.js.map +0 -1
  75. package/dist/auth/index.d.ts.map +0 -1
  76. package/dist/auth/index.js.map +0 -1
  77. package/dist/auth/utils/get-auth-plugin-definition.d.ts.map +0 -1
  78. package/dist/auth/utils/get-auth-plugin-definition.js.map +0 -1
  79. package/dist/auth/utils/index.d.ts.map +0 -1
  80. package/dist/auth/utils/index.js.map +0 -1
  81. package/dist/better-auth/admin/common.d.ts.map +0 -1
  82. package/dist/better-auth/admin/common.js.map +0 -1
  83. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +0 -1
  84. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +0 -1
  85. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +0 -1
  86. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +0 -1
  87. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +0 -1
  88. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +0 -1
  89. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +0 -1
  90. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +0 -1
  91. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +0 -1
  92. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +0 -1
  93. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +0 -1
  94. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +0 -1
  95. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +0 -1
  96. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +0 -1
  97. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +0 -1
  98. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +0 -1
  99. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +0 -1
  100. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +0 -1
  101. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +0 -1
  102. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +0 -1
  103. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +0 -1
  104. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +0 -1
  105. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +0 -1
  106. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +0 -1
  107. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +0 -1
  108. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/index.js.map +0 -1
  109. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +0 -1
  110. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +0 -1
  111. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +0 -1
  112. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +0 -1
  113. package/dist/better-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +0 -1
  114. package/dist/better-auth/admin/generators/admin-crud-roles-column/index.js.map +0 -1
  115. package/dist/better-auth/admin/node.d.ts.map +0 -1
  116. package/dist/better-auth/admin/node.js.map +0 -1
  117. package/dist/better-auth/admin/schema/manage-role-action.d.ts.map +0 -1
  118. package/dist/better-auth/admin/schema/manage-role-action.js.map +0 -1
  119. package/dist/better-auth/admin/schema/reset-password-action.d.ts.map +0 -1
  120. package/dist/better-auth/admin/schema/reset-password-action.js.map +0 -1
  121. package/dist/better-auth/admin/schema/roles-column.d.ts.map +0 -1
  122. package/dist/better-auth/admin/schema/roles-column.js.map +0 -1
  123. package/dist/better-auth/admin/web.d.ts.map +0 -1
  124. package/dist/better-auth/admin/web.js.map +0 -1
  125. package/dist/better-auth/constants/model-names.d.ts.map +0 -1
  126. package/dist/better-auth/constants/model-names.js.map +0 -1
  127. package/dist/better-auth/constants/packages.d.ts.map +0 -1
  128. package/dist/better-auth/constants/packages.js.map +0 -1
  129. package/dist/better-auth/core/common.d.ts.map +0 -1
  130. package/dist/better-auth/core/common.js.map +0 -1
  131. package/dist/better-auth/core/components/better-auth-definition-editor.d.ts.map +0 -1
  132. package/dist/better-auth/core/components/better-auth-definition-editor.js.map +0 -1
  133. package/dist/better-auth/core/index.d.ts.map +0 -1
  134. package/dist/better-auth/core/index.js.map +0 -1
  135. package/dist/better-auth/core/node.d.ts.map +0 -1
  136. package/dist/better-auth/core/node.js.map +0 -1
  137. package/dist/better-auth/core/schema/models.d.ts.map +0 -1
  138. package/dist/better-auth/core/schema/models.js.map +0 -1
  139. package/dist/better-auth/core/schema/plugin-definition.d.ts.map +0 -1
  140. package/dist/better-auth/core/schema/plugin-definition.js.map +0 -1
  141. package/dist/better-auth/core/schema/schema-issue-checker.d.ts.map +0 -1
  142. package/dist/better-auth/core/schema/schema-issue-checker.js.map +0 -1
  143. package/dist/better-auth/core/web.d.ts.map +0 -1
  144. package/dist/better-auth/core/web.js.map +0 -1
  145. package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.d.ts.map +0 -1
  146. package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.js.map +0 -1
  147. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts.map +0 -1
  148. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.js.map +0 -1
  149. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-paths.d.ts.map +0 -1
  150. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-paths.js.map +0 -1
  151. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.d.ts.map +0 -1
  152. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.js.map +0 -1
  153. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.d.ts.map +0 -1
  154. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.js.map +0 -1
  155. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.d.ts.map +0 -1
  156. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.js.map +0 -1
  157. package/dist/better-auth/generators/fastify/better-auth-admin-module/index.d.ts.map +0 -1
  158. package/dist/better-auth/generators/fastify/better-auth-admin-module/index.js.map +0 -1
  159. package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.d.ts.map +0 -1
  160. package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.js.map +0 -1
  161. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.d.ts.map +0 -1
  162. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.js.map +0 -1
  163. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-paths.d.ts.map +0 -1
  164. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-paths.js.map +0 -1
  165. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.d.ts.map +0 -1
  166. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.js.map +0 -1
  167. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.d.ts.map +0 -1
  168. package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.js.map +0 -1
  169. package/dist/better-auth/generators/fastify/better-auth-email-templates/index.d.ts.map +0 -1
  170. package/dist/better-auth/generators/fastify/better-auth-email-templates/index.js.map +0 -1
  171. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts.map +0 -1
  172. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js.map +0 -1
  173. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts.map +0 -1
  174. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js.map +0 -1
  175. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts.map +0 -1
  176. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js.map +0 -1
  177. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts.map +0 -1
  178. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js.map +0 -1
  179. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts.map +0 -1
  180. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js.map +0 -1
  181. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts.map +0 -1
  182. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js.map +0 -1
  183. package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts.map +0 -1
  184. package/dist/better-auth/generators/fastify/better-auth-module/index.js.map +0 -1
  185. package/dist/better-auth/generators/fastify/index.d.ts.map +0 -1
  186. package/dist/better-auth/generators/fastify/index.js.map +0 -1
  187. package/dist/better-auth/generators/fastify/seed-initial-user/generated/index.d.ts.map +0 -1
  188. package/dist/better-auth/generators/fastify/seed-initial-user/generated/index.js.map +0 -1
  189. package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-paths.d.ts.map +0 -1
  190. package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-paths.js.map +0 -1
  191. package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-renderers.d.ts.map +0 -1
  192. package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-renderers.js.map +0 -1
  193. package/dist/better-auth/generators/fastify/seed-initial-user/generated/typed-templates.d.ts.map +0 -1
  194. package/dist/better-auth/generators/fastify/seed-initial-user/generated/typed-templates.js.map +0 -1
  195. package/dist/better-auth/generators/fastify/seed-initial-user/index.d.ts.map +0 -1
  196. package/dist/better-auth/generators/fastify/seed-initial-user/index.js.map +0 -1
  197. package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.d.ts.map +0 -1
  198. package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js.map +0 -1
  199. package/dist/better-auth/generators/index.d.ts.map +0 -1
  200. package/dist/better-auth/generators/index.js.map +0 -1
  201. package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts.map +0 -1
  202. package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js.map +0 -1
  203. package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts.map +0 -1
  204. package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js.map +0 -1
  205. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts.map +0 -1
  206. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js.map +0 -1
  207. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts.map +0 -1
  208. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js.map +0 -1
  209. package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
  210. package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js.map +0 -1
  211. package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts.map +0 -1
  212. package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js.map +0 -1
  213. package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts.map +0 -1
  214. package/dist/better-auth/generators/react/better-auth-hooks/index.js.map +0 -1
  215. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +0 -1
  216. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js.map +0 -1
  217. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +0 -1
  218. package/dist/better-auth/generators/react/better-auth-pages/generated/index.js.map +0 -1
  219. package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts.map +0 -1
  220. package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js.map +0 -1
  221. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +0 -1
  222. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js.map +0 -1
  223. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +0 -1
  224. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +0 -1
  225. package/dist/better-auth/generators/react/better-auth-pages/index.d.ts.map +0 -1
  226. package/dist/better-auth/generators/react/better-auth-pages/index.js.map +0 -1
  227. package/dist/better-auth/generators/react/index.d.ts.map +0 -1
  228. package/dist/better-auth/generators/react/index.js.map +0 -1
  229. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +0 -1
  230. package/dist/better-auth/generators/react/react-better-auth/generated/index.js.map +0 -1
  231. package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts.map +0 -1
  232. package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js.map +0 -1
  233. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +0 -1
  234. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js.map +0 -1
  235. package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts.map +0 -1
  236. package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js.map +0 -1
  237. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +0 -1
  238. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js.map +0 -1
  239. package/dist/better-auth/generators/react/react-better-auth/index.d.ts.map +0 -1
  240. package/dist/better-auth/generators/react/react-better-auth/index.js.map +0 -1
  241. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +0 -1
  242. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js.map +0 -1
  243. package/dist/better-auth/index.d.ts.map +0 -1
  244. package/dist/better-auth/index.js.map +0 -1
  245. package/dist/common/components/auth-config-tabs.d.ts.map +0 -1
  246. package/dist/common/components/auth-config-tabs.js.map +0 -1
  247. package/dist/local-auth/admin/common.d.ts.map +0 -1
  248. package/dist/local-auth/admin/common.js.map +0 -1
  249. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +0 -1
  250. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +0 -1
  251. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +0 -1
  252. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +0 -1
  253. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +0 -1
  254. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +0 -1
  255. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +0 -1
  256. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +0 -1
  257. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +0 -1
  258. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +0 -1
  259. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +0 -1
  260. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +0 -1
  261. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +0 -1
  262. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +0 -1
  263. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +0 -1
  264. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +0 -1
  265. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +0 -1
  266. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +0 -1
  267. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +0 -1
  268. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +0 -1
  269. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +0 -1
  270. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +0 -1
  271. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +0 -1
  272. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +0 -1
  273. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +0 -1
  274. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js.map +0 -1
  275. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +0 -1
  276. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +0 -1
  277. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +0 -1
  278. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +0 -1
  279. package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +0 -1
  280. package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js.map +0 -1
  281. package/dist/local-auth/admin/node.d.ts.map +0 -1
  282. package/dist/local-auth/admin/node.js.map +0 -1
  283. package/dist/local-auth/admin/schema/manage-role-action.d.ts.map +0 -1
  284. package/dist/local-auth/admin/schema/manage-role-action.js.map +0 -1
  285. package/dist/local-auth/admin/schema/reset-password-action.d.ts.map +0 -1
  286. package/dist/local-auth/admin/schema/reset-password-action.js.map +0 -1
  287. package/dist/local-auth/admin/schema/roles-column.d.ts.map +0 -1
  288. package/dist/local-auth/admin/schema/roles-column.js.map +0 -1
  289. package/dist/local-auth/admin/web.d.ts.map +0 -1
  290. package/dist/local-auth/admin/web.js.map +0 -1
  291. package/dist/local-auth/constants/model-names.d.ts.map +0 -1
  292. package/dist/local-auth/constants/model-names.js.map +0 -1
  293. package/dist/local-auth/core/common.d.ts.map +0 -1
  294. package/dist/local-auth/core/common.js.map +0 -1
  295. package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +0 -1
  296. package/dist/local-auth/core/components/local-auth-definition-editor.js.map +0 -1
  297. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +0 -1
  298. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js.map +0 -1
  299. package/dist/local-auth/core/generators/auth-apollo/index.d.ts.map +0 -1
  300. package/dist/local-auth/core/generators/auth-apollo/index.js.map +0 -1
  301. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +0 -1
  302. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js.map +0 -1
  303. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +0 -1
  304. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +0 -1
  305. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +0 -1
  306. package/dist/local-auth/core/generators/auth-email-password/generated/index.js.map +0 -1
  307. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +0 -1
  308. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +0 -1
  309. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +0 -1
  310. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +0 -1
  311. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +0 -1
  312. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +0 -1
  313. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +0 -1
  314. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +0 -1
  315. package/dist/local-auth/core/generators/auth-email-password/index.d.ts.map +0 -1
  316. package/dist/local-auth/core/generators/auth-email-password/index.js.map +0 -1
  317. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +0 -1
  318. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +0 -1
  319. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts.map +0 -1
  320. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js.map +0 -1
  321. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts.map +0 -1
  322. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js.map +0 -1
  323. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +0 -1
  324. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +0 -1
  325. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts.map +0 -1
  326. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js.map +0 -1
  327. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts.map +0 -1
  328. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js.map +0 -1
  329. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +0 -1
  330. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +0 -1
  331. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts.map +0 -1
  332. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js.map +0 -1
  333. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts.map +0 -1
  334. package/dist/local-auth/core/generators/auth-email-templates/generated/index.js.map +0 -1
  335. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map +0 -1
  336. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js.map +0 -1
  337. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map +0 -1
  338. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map +0 -1
  339. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map +0 -1
  340. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js.map +0 -1
  341. package/dist/local-auth/core/generators/auth-email-templates/index.d.ts.map +0 -1
  342. package/dist/local-auth/core/generators/auth-email-templates/index.js.map +0 -1
  343. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts.map +0 -1
  344. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js.map +0 -1
  345. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts.map +0 -1
  346. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js.map +0 -1
  347. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts.map +0 -1
  348. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js.map +0 -1
  349. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +0 -1
  350. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +0 -1
  351. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +0 -1
  352. package/dist/local-auth/core/generators/auth-hooks/generated/index.js.map +0 -1
  353. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +0 -1
  354. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +0 -1
  355. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +0 -1
  356. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +0 -1
  357. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
  358. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +0 -1
  359. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +0 -1
  360. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +0 -1
  361. package/dist/local-auth/core/generators/auth-hooks/index.d.ts.map +0 -1
  362. package/dist/local-auth/core/generators/auth-hooks/index.js.map +0 -1
  363. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
  364. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
  365. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
  366. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +0 -1
  367. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
  368. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
  369. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +0 -1
  370. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +0 -1
  371. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +0 -1
  372. package/dist/local-auth/core/generators/auth-module/generated/index.js.map +0 -1
  373. package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +0 -1
  374. package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +0 -1
  375. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +0 -1
  376. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +0 -1
  377. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +0 -1
  378. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +0 -1
  379. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +0 -1
  380. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +0 -1
  381. package/dist/local-auth/core/generators/auth-module/index.d.ts.map +0 -1
  382. package/dist/local-auth/core/generators/auth-module/index.js.map +0 -1
  383. package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +0 -1
  384. package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +0 -1
  385. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts.map +0 -1
  386. package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js.map +0 -1
  387. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts.map +0 -1
  388. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js.map +0 -1
  389. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts.map +0 -1
  390. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js.map +0 -1
  391. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +0 -1
  392. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +0 -1
  393. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +0 -1
  394. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +0 -1
  395. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +0 -1
  396. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +0 -1
  397. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts.map +0 -1
  398. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js.map +0 -1
  399. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +0 -1
  400. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js.map +0 -1
  401. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
  402. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +0 -1
  403. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +0 -1
  404. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +0 -1
  405. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +0 -1
  406. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +0 -1
  407. package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +0 -1
  408. package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +0 -1
  409. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +0 -1
  410. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +0 -1
  411. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +0 -1
  412. package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +0 -1
  413. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +0 -1
  414. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +0 -1
  415. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +0 -1
  416. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +0 -1
  417. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts.map +0 -1
  418. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js.map +0 -1
  419. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +0 -1
  420. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +0 -1
  421. package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +0 -1
  422. package/dist/local-auth/core/generators/auth-routes/index.js.map +0 -1
  423. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts.map +0 -1
  424. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js.map +0 -1
  425. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts.map +0 -1
  426. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js.map +0 -1
  427. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +0 -1
  428. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +0 -1
  429. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +0 -1
  430. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +0 -1
  431. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts.map +0 -1
  432. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js.map +0 -1
  433. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +0 -1
  434. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +0 -1
  435. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts.map +0 -1
  436. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js.map +0 -1
  437. package/dist/local-auth/core/generators/index.d.ts.map +0 -1
  438. package/dist/local-auth/core/generators/index.js.map +0 -1
  439. package/dist/local-auth/core/generators/react-auth/index.d.ts.map +0 -1
  440. package/dist/local-auth/core/generators/react-auth/index.js.map +0 -1
  441. package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts.map +0 -1
  442. package/dist/local-auth/core/generators/react-auth/react-auth.generator.js.map +0 -1
  443. package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +0 -1
  444. package/dist/local-auth/core/generators/react-session/generated/index.js.map +0 -1
  445. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +0 -1
  446. package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +0 -1
  447. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +0 -1
  448. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +0 -1
  449. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +0 -1
  450. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +0 -1
  451. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +0 -1
  452. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +0 -1
  453. package/dist/local-auth/core/generators/react-session/index.d.ts.map +0 -1
  454. package/dist/local-auth/core/generators/react-session/index.js.map +0 -1
  455. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +0 -1
  456. package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +0 -1
  457. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +0 -1
  458. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +0 -1
  459. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +0 -1
  460. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js.map +0 -1
  461. package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +0 -1
  462. package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +0 -1
  463. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts.map +0 -1
  464. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js.map +0 -1
  465. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +0 -1
  466. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +0 -1
  467. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +0 -1
  468. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +0 -1
  469. package/dist/local-auth/core/generators/seed-initial-user/index.d.ts.map +0 -1
  470. package/dist/local-auth/core/generators/seed-initial-user/index.js.map +0 -1
  471. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +0 -1
  472. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +0 -1
  473. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +0 -1
  474. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js.map +0 -1
  475. package/dist/local-auth/core/index.d.ts.map +0 -1
  476. package/dist/local-auth/core/index.js.map +0 -1
  477. package/dist/local-auth/core/node.d.ts.map +0 -1
  478. package/dist/local-auth/core/node.js.map +0 -1
  479. package/dist/local-auth/core/schema/models.d.ts.map +0 -1
  480. package/dist/local-auth/core/schema/models.js.map +0 -1
  481. package/dist/local-auth/core/schema/plugin-definition.d.ts.map +0 -1
  482. package/dist/local-auth/core/schema/plugin-definition.js.map +0 -1
  483. package/dist/local-auth/core/schema/schema-issue-checker.d.ts.map +0 -1
  484. package/dist/local-auth/core/schema/schema-issue-checker.js.map +0 -1
  485. package/dist/local-auth/core/web.d.ts.map +0 -1
  486. package/dist/local-auth/core/web.js.map +0 -1
  487. package/dist/local-auth/index.d.ts.map +0 -1
  488. package/dist/local-auth/index.js.map +0 -1
  489. package/dist/placeholder-auth/constants/model-names.d.ts.map +0 -1
  490. package/dist/placeholder-auth/constants/model-names.js.map +0 -1
  491. package/dist/placeholder-auth/core/common.d.ts.map +0 -1
  492. package/dist/placeholder-auth/core/common.js.map +0 -1
  493. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts.map +0 -1
  494. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js.map +0 -1
  495. package/dist/placeholder-auth/core/generators/index.d.ts.map +0 -1
  496. package/dist/placeholder-auth/core/generators/index.js.map +0 -1
  497. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +0 -1
  498. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.js.map +0 -1
  499. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +0 -1
  500. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +0 -1
  501. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +0 -1
  502. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +0 -1
  503. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
  504. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +0 -1
  505. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +0 -1
  506. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +0 -1
  507. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.d.ts.map +0 -1
  508. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.js.map +0 -1
  509. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +0 -1
  510. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +0 -1
  511. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
  512. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
  513. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
  514. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.js.map +0 -1
  515. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
  516. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
  517. package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts.map +0 -1
  518. package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.js.map +0 -1
  519. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts.map +0 -1
  520. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.js.map +0 -1
  521. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.d.ts.map +0 -1
  522. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.js.map +0 -1
  523. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +0 -1
  524. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.js.map +0 -1
  525. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts.map +0 -1
  526. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js.map +0 -1
  527. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts.map +0 -1
  528. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.js.map +0 -1
  529. package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.d.ts.map +0 -1
  530. package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.js.map +0 -1
  531. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
  532. package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.js.map +0 -1
  533. package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.d.ts.map +0 -1
  534. package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.js.map +0 -1
  535. package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts.map +0 -1
  536. package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.js.map +0 -1
  537. package/dist/placeholder-auth/core/index.d.ts.map +0 -1
  538. package/dist/placeholder-auth/core/index.js.map +0 -1
  539. package/dist/placeholder-auth/core/node.d.ts.map +0 -1
  540. package/dist/placeholder-auth/core/node.js.map +0 -1
  541. package/dist/placeholder-auth/core/schema/models.d.ts.map +0 -1
  542. package/dist/placeholder-auth/core/schema/models.js.map +0 -1
  543. package/dist/placeholder-auth/core/schema/plugin-definition.d.ts.map +0 -1
  544. package/dist/placeholder-auth/core/schema/plugin-definition.js.map +0 -1
  545. package/dist/placeholder-auth/core/web.d.ts.map +0 -1
  546. package/dist/placeholder-auth/core/web.js.map +0 -1
  547. package/dist/placeholder-auth/index.d.ts.map +0 -1
  548. package/dist/placeholder-auth/index.js.map +0 -1
  549. package/dist/web/assets/__federation_expose_authCoreCommon-B9LFt4zi.js +0 -85
  550. package/dist/web/assets/__federation_expose_authCoreCommon-B9LFt4zi.js.map +0 -1
  551. package/dist/web/assets/__federation_expose_authCoreWeb-CRo6bfSQ.js +0 -453
  552. package/dist/web/assets/__federation_expose_authCoreWeb-CRo6bfSQ.js.map +0 -1
  553. package/dist/web/assets/__federation_expose_better-authAdminCommon-Drx1dj0K.js +0 -63
  554. package/dist/web/assets/__federation_expose_better-authAdminCommon-Drx1dj0K.js.map +0 -1
  555. package/dist/web/assets/__federation_expose_better-authAdminWeb-Zsc9mjjD.js +0 -41
  556. package/dist/web/assets/__federation_expose_better-authAdminWeb-Zsc9mjjD.js.map +0 -1
  557. package/dist/web/assets/__federation_expose_better-authCoreCommon-BTstKS5D.js +0 -54
  558. package/dist/web/assets/__federation_expose_better-authCoreCommon-BTstKS5D.js.map +0 -1
  559. package/dist/web/assets/__federation_expose_better-authCoreWeb-ClXucVm1.js +0 -157
  560. package/dist/web/assets/__federation_expose_better-authCoreWeb-ClXucVm1.js.map +0 -1
  561. package/dist/web/assets/__federation_expose_local-authAdminCommon-Drx1dj0K.js +0 -63
  562. package/dist/web/assets/__federation_expose_local-authAdminCommon-Drx1dj0K.js.map +0 -1
  563. package/dist/web/assets/__federation_expose_local-authAdminWeb-Ci30yAgH.js +0 -41
  564. package/dist/web/assets/__federation_expose_local-authAdminWeb-Ci30yAgH.js.map +0 -1
  565. package/dist/web/assets/__federation_expose_local-authCoreCommon-C13Qctt3.js +0 -54
  566. package/dist/web/assets/__federation_expose_local-authCoreCommon-C13Qctt3.js.map +0 -1
  567. package/dist/web/assets/__federation_expose_local-authCoreWeb-CLMjEvfQ.js +0 -167
  568. package/dist/web/assets/__federation_expose_local-authCoreWeb-CLMjEvfQ.js.map +0 -1
  569. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CtZPLUXY.js +0 -23
  570. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CtZPLUXY.js.map +0 -1
  571. package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-DNuOQDyt.js +0 -177
  572. package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-DNuOQDyt.js.map +0 -1
  573. package/dist/web/assets/__federation_fn_import-DvwH-J9J.js +0 -421
  574. package/dist/web/assets/__federation_fn_import-DvwH-J9J.js.map +0 -1
  575. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B2EK5IrR.js +0 -359
  576. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B2EK5IrR.js.map +0 -1
  577. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CueLW7vJ.js +0 -22532
  578. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CueLW7vJ.js.map +0 -1
  579. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-Cs5voPoC.js +0 -78638
  580. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-Cs5voPoC.js.map +0 -1
  581. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-DH2Y7csi.js +0 -1855
  582. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-DH2Y7csi.js.map +0 -1
  583. package/dist/web/assets/__federation_shared_@tanstack/react-router-CDlgRD7c.js +0 -6565
  584. package/dist/web/assets/__federation_shared_@tanstack/react-router-CDlgRD7c.js.map +0 -1
  585. package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js +0 -8
  586. package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js.map +0 -1
  587. package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js +0 -251
  588. package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js.map +0 -1
  589. package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js +0 -13250
  590. package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js.map +0 -1
  591. package/dist/web/assets/_commonjsHelpers-B85MJLTf.js +0 -6
  592. package/dist/web/assets/_commonjsHelpers-B85MJLTf.js.map +0 -1
  593. package/dist/web/assets/get-auth-plugin-definition-B2xRtRBt.js +0 -13
  594. package/dist/web/assets/get-auth-plugin-definition-B2xRtRBt.js.map +0 -1
  595. package/dist/web/assets/index-D2s6d88Y.js +0 -101
  596. package/dist/web/assets/index-D2s6d88Y.js.map +0 -1
  597. package/dist/web/assets/index-DUwCgkeV.js +0 -570
  598. package/dist/web/assets/index-DUwCgkeV.js.map +0 -1
  599. package/dist/web/assets/index-l0sNRNKZ.js.map +0 -1
  600. package/dist/web/assets/index.esm-CUhaqfEI.js +0 -2676
  601. package/dist/web/assets/index.esm-CUhaqfEI.js.map +0 -1
  602. package/dist/web/assets/isEqual-tnzoadW8.js +0 -242
  603. package/dist/web/assets/isEqual-tnzoadW8.js.map +0 -1
  604. package/dist/web/assets/jsx-runtime-XI9uIe3W.js +0 -60
  605. package/dist/web/assets/jsx-runtime-XI9uIe3W.js.map +0 -1
  606. package/dist/web/assets/mergeWith-VagwCqUi.js +0 -76
  607. package/dist/web/assets/mergeWith-VagwCqUi.js.map +0 -1
  608. package/dist/web/assets/model-names-D7UT0B8x.js +0 -10
  609. package/dist/web/assets/model-names-D7UT0B8x.js.map +0 -1
  610. package/dist/web/assets/model-names-DrcaRxt1.js +0 -25
  611. package/dist/web/assets/model-names-DrcaRxt1.js.map +0 -1
  612. package/dist/web/assets/model-utils-Ccvph4Ii.js +0 -840
  613. package/dist/web/assets/model-utils-Ccvph4Ii.js.map +0 -1
  614. package/dist/web/assets/plugin-definition-B6PqjUHm.js +0 -16
  615. package/dist/web/assets/plugin-definition-B6PqjUHm.js.map +0 -1
  616. package/dist/web/assets/plugin-definition-B6kOvigE.js +0 -315
  617. package/dist/web/assets/plugin-definition-B6kOvigE.js.map +0 -1
  618. package/dist/web/assets/plugin-definition-DDe2WhbZ.js +0 -93
  619. package/dist/web/assets/plugin-definition-DDe2WhbZ.js.map +0 -1
  620. package/dist/web/assets/plugin-definition-QKz1ZAYK.js +0 -304
  621. package/dist/web/assets/plugin-definition-QKz1ZAYK.js.map +0 -1
  622. package/dist/web/assets/react-D62wAwO5.js +0 -47
  623. package/dist/web/assets/react-D62wAwO5.js.map +0 -1
  624. package/dist/web/assets/registries-Tz_dluz3.js +0 -1119
  625. package/dist/web/assets/registries-Tz_dluz3.js.map +0 -1
  626. package/dist/web/assets/remoteEntry.js +0 -84
  627. package/dist/web/assets/remoteEntry.js.map +0 -1
  628. package/dist/web/assets/styles-BEU-uMT0.js +0 -69
  629. package/dist/web/assets/styles-BEU-uMT0.js.map +0 -1
  630. package/dist/web/assets/with-selector-DTXBONcE.js +0 -201
  631. package/dist/web/assets/with-selector-DTXBONcE.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"model-utils-Ccvph4Ii.js","sources":["../../../../../packages/project-builder-lib/dist/plugins/spec/types.js","../../../../../packages/project-builder-lib/dist/plugins/context/plugin-context.js","../../../../../packages/project-builder-lib/dist/plugins/utils/create-plugin-field-map.js","../../../../../packages/project-builder-lib/dist/plugins/utils/create-field-map-spec.js","../../../../../packages/project-builder-lib/dist/references/definition-ref-registry.js","../../../../../packages/project-builder-lib/dist/references/expression-parser-spec.js","../../../../../packages/project-builder-lib/dist/references/expression-types.js","../../../../../packages/project-builder-lib/dist/references/ref-context-slot.js","../../../../../packages/project-builder-lib/dist/references/extend-parser-context-with-refs.js","../../../../../packages/project-builder-lib/dist/schema/creator/definition-default-registry.js","../../../../../packages/project-builder-lib/dist/schema/creator/extend-parser-context-with-defaults.js","../../../../../packages/project-builder-lib/dist/schema/creator/schema-creator.js","../../../../../packages/project-builder-lib/dist/references/types.js","../../../../../packages/project-builder-lib/dist/schema/features/feature.js","../../../../../packages/project-builder-lib/dist/definition/feature/feature-utils.js","../../../../../packages/project-builder-lib/dist/definition/model/model-utils.js"],"sourcesContent":["/**\n * Creates a plugin spec with init and use phases.\n *\n * @example\n * ```typescript\n * const mySpec = createPluginSpec('core/my-spec', {\n * initializer: () => {\n * const items = new Map<string, Item>();\n * return {\n * init: {\n * register: (item: Item) => items.set(item.name, item),\n * },\n * use: () => ({\n * get: (name: string) => items.get(name),\n * getAll: () => [...items.values()],\n * }),\n * };\n * },\n * });\n * ```\n *\n * @param name - Unique identifier for the spec (e.g., 'core/my-spec')\n * @param options - Options including the initializer function\n * @returns A plugin spec that can be used with SpecStore\n */\nexport function createPluginSpec(name, options) {\n const { initializer } = options;\n return {\n type: 'plugin-spec',\n name,\n initializer,\n };\n}\n//# sourceMappingURL=types.js.map","/**\n * Plugin context module for tracking the current plugin being initialized.\n *\n * Uses a simple synchronous context that works on both Node and browser platforms.\n * This is safe because plugin initialization is synchronous and single-threaded.\n */\n// Simple synchronous context - works on both Node and browser\n// Safe because plugin initialization is synchronous and single-threaded\nlet currentPluginContext;\n/**\n * Runs a function within a plugin context.\n *\n * This sets the current plugin context for the duration of the function execution,\n * allowing nested functions to access the plugin key via `getPluginContext()`.\n *\n * @param context - The plugin context to set\n * @param fn - The function to run within the context\n * @returns The result of the function\n */\nexport function runInPluginContext(context, fn) {\n const prev = currentPluginContext;\n currentPluginContext = context;\n try {\n return fn();\n }\n finally {\n currentPluginContext = prev;\n }\n}\n/**\n * Gets the current plugin context if one exists.\n *\n * @returns The current plugin context, or undefined if not in a plugin context\n */\nexport function getPluginContext() {\n return currentPluginContext;\n}\n//# sourceMappingURL=plugin-context.js.map","import { createFieldMap } from '@baseplate-dev/utils';\nimport { getPluginContext } from '../context/plugin-context.js';\n/**\n * Creates a field map that automatically tracks which plugin registered each value.\n *\n * Similar to `createConfigFieldMap` in the sync package, this utility uses the\n * current plugin context to track the source of registrations. This enables\n * clear error messages when registration conflicts occur.\n *\n * @example\n * ```typescript\n * const fieldMap = createPluginFieldMap((t) => ({\n * transformers: t.map<string, Transformer>(),\n * }));\n *\n * // When a plugin tries to overwrite a value:\n * // Error: Value for key 'myTransformer' has already been set by plugin-auth\n * // and cannot be overwritten by plugin-storage\n * ```\n *\n * @param schemaBuilder - A function that builds the field map schema\n * @returns A field map with automatic source tracking\n */\nexport function createPluginFieldMap(schemaBuilder) {\n return createFieldMap(schemaBuilder, {\n getDynamicSource: () => getPluginContext()?.pluginKey,\n });\n}\n//# sourceMappingURL=create-plugin-field-map.js.map","import { createPluginSpec } from '../spec/types.js';\nimport { createPluginFieldMap } from './create-plugin-field-map.js';\n/**\n * Creates a plugin spec backed by a FieldMap for automatic source tracking.\n *\n * @param name - Unique identifier for the spec\n * @param schemaBuilder - Function that builds the field map schema\n * @param options - Optional configuration including custom use interface\n */\nexport function createFieldMapSpec(name, schemaBuilder, options) {\n return createPluginSpec(name, {\n initializer: () => {\n const fieldMap = createPluginFieldMap(schemaBuilder);\n return {\n init: fieldMap,\n use: () => {\n const values = fieldMap.getValues();\n if (options?.use) {\n return options.use(values);\n }\n return values;\n },\n };\n },\n });\n}\n//# sourceMappingURL=create-field-map-spec.js.map","/**\n * Global registry that stores Baseplate metadata on Zod schema instances.\n *\n * Uses a plain WeakMap to avoid Zod's `$replace<Meta, S>` type substitution\n * which causes \"type instantiation excessively deep\" errors with complex unions.\n *\n * Stores an array of metadata per schema to support schemas that carry multiple\n * annotations (e.g. a schema that is both an `entity` and a `ref-context`).\n *\n * Used by `withEnt`, `withRef`, `withExpression`, and `refContext` to attach\n * metadata to schema nodes. The parallel schema+data walker reads this registry\n * to extract entity/reference/expression information after validation.\n */\nexport const definitionRefRegistry = (() => {\n const map = new WeakMap();\n return {\n add(schema, meta) {\n const existing = map.get(schema);\n if (existing) {\n if ((meta.kind === 'entity' || meta.kind === 'reference') &&\n existing.some((e) => e.kind === meta.kind && e.type === meta.type)) {\n throw new Error(`Duplicate definition ref metadata kind \"${meta.kind}\" for type \"${meta.type.name}\" on the same schema instance. ` +\n `This usually means a shared/module-level schema was passed to withEnt/withRef multiple times. ` +\n `Create a fresh schema instance instead.`);\n }\n existing.push(meta);\n }\n else {\n map.set(schema, [meta]);\n }\n },\n getAll(schema) {\n return map.get(schema) ?? [];\n },\n has(schema) {\n return map.has(schema);\n },\n };\n})();\n//# sourceMappingURL=definition-ref-registry.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\n/**\n * Plugin spec for registering expression parsers.\n *\n * Expression parsers handle parsing, validation, and rename detection\n * for expression fields in the project definition (e.g., authorizer\n * role expressions).\n *\n * Built-in parsers (authorizer expressions) are registered by core modules.\n * Plugins can register additional parsers during initialization.\n *\n * @example\n * ```typescript\n * createPluginModule({\n * dependencies: { expressionParsers: expressionParserSpec },\n * initialize: ({ expressionParsers }) => {\n * expressionParsers.parsers.set('my-expression', myParser);\n * },\n * });\n * ```\n */\nexport const expressionParserSpec = createFieldMapSpec('core/expression-parsers', (t) => ({\n parsers: t.map(),\n}), {\n use: (values) => ({\n getParser: (name) => values.parsers.get(name),\n }),\n});\n//# sourceMappingURL=expression-parser-spec.js.map","/**\n * A pluggable parser for ref expressions.\n *\n * The parser is format-agnostic - the core references system\n * doesn't know or care what format the expressions are in. The parser\n * handles all parsing, validation, and rename handling.\n *\n * Parsers can declare required slots via the TRequiredSlots generic parameter.\n * When a parser requires slots, TypeScript enforces that they are provided\n * when calling `withExpression()`.\n *\n * @typeParam TValue - The type of the raw expression value (e.g., string for TS expressions)\n * @typeParam TParseResult - The type of the parsed result (e.g., AST for TS expressions)\n * @typeParam TRequiredSlots - Record of required slot names to entity types\n *\n * @example\n * ```typescript\n * // A simple parser with no required slots\n * class StubParser extends RefExpressionParser<string, undefined> {\n * readonly name = 'stub';\n * parse(): undefined { return undefined; }\n * getWarnings(): [] { return []; }\n * getReferencedEntities(): [] { return []; }\n * }\n *\n * // A parser that requires a model slot\n * class AuthorizerParser extends RefExpressionParser<\n * string,\n * TsAst,\n * { model: typeof modelEntityType }\n * > {\n * readonly name = 'authorizer';\n * // TypeScript enforces slot requirement in withExpression()\n * }\n * ```\n */\nexport class RefExpressionParser {\n /**\n * Convenience method that combines parse() and getWarnings() into a single call.\n * Parses the expression and returns all validation warnings (including parse errors).\n *\n * @param value - The raw expression value\n * @param projectDef - The project definition for context\n * @param context - Validation context with project definition and plugin store\n * @param resolvedSlots - The resolved slot paths for this expression\n * @returns Array of warnings (empty if valid)\n */\n validate(value, projectDef, context, resolvedSlots) {\n const parseResult = this.parse(value, projectDef);\n if (!parseResult.success) {\n return [{ message: parseResult.error }];\n }\n return this.getWarnings(parseResult.value, context, resolvedSlots);\n }\n /**\n * Phantom property for TRequiredSlots type inference.\n * This is never actually used at runtime.\n * @internal\n */\n _requiredSlots;\n}\n//# sourceMappingURL=expression-types.js.map","/**\n * Creates a new ref context slot for the given entity type.\n * Each call creates a unique slot, even for the same entity type.\n *\n * @param name - A descriptive name for debugging (shows in Symbol description)\n * @param entityType - The entity type this slot will be associated with\n * @returns A new unique RefContextSlot instance\n *\n * @example\n * ```typescript\n * const modelSlot = createRefContextSlot('modelSlot', modelEntityType);\n * const anotherModelSlot = createRefContextSlot('anotherModelSlot', modelEntityType);\n *\n * // These are different slots despite same entity type\n * modelSlot.id !== anotherModelSlot.id\n * // modelSlot.id.toString() === 'Symbol(modelSlot)'\n * ```\n */\nexport function createRefContextSlot(name, entityType) {\n return {\n entityType,\n id: Symbol(name),\n };\n}\n/**\n * Creates a RefContextSlotMap from a slot definition.\n * Used internally by ctx.refContext().\n *\n * @param slotDefinition - Map of slot names to entity types\n * @returns Map of slot names to RefContextSlot instances\n */\nexport function createRefContextSlotMap(slotDefinition) {\n return Object.fromEntries(Object.entries(slotDefinition).map(([key, entityType]) => [\n key,\n createRefContextSlot(key, entityType),\n ]));\n}\n//# sourceMappingURL=ref-context-slot.js.map","import { z } from 'zod';\nimport { definitionRefRegistry } from './definition-ref-registry.js';\nimport { expressionParserSpec } from './expression-parser-spec.js';\nimport { RefExpressionParser } from './expression-types.js';\nimport { createRefContextSlotMap } from './ref-context-slot.js';\n/**\n * Creates a string schema annotated as a reference to another entity.\n *\n * Can be used standalone:\n * ```typescript\n * withRef({ type: modelEnumEntityType, onDelete: 'RESTRICT' })\n * ```\n *\n * Or on the parser context:\n * ```typescript\n * ctx.withRef({ type: modelEnumEntityType, onDelete: 'RESTRICT' })\n * ```\n */\nexport function withRef(reference) {\n const schema = z.string().min(1);\n definitionRefRegistry.add(schema, {\n kind: 'reference',\n type: reference.type,\n onDelete: reference.onDelete,\n parentSlot: reference.parentSlot,\n provides: reference.provides,\n });\n return schema;\n}\n/**\n * Creates a schema decorator that marks a schema as defining an entity.\n *\n * Can be used with `.apply()`:\n * ```typescript\n * schema.apply(withEnt({ type: modelEntityType, provides: modelSlot }))\n * ```\n *\n * Or via the parser context (2-arg legacy form):\n * ```typescript\n * ctx.withEnt(schema, { type: modelEntityType, provides: modelSlot })\n * ```\n *\n * @param entity - The entity definition input\n * @returns A function that decorates a schema with entity metadata\n */\nexport function withEnt(entity) {\n return (schema) => {\n const idPath = entity.idPath ?? ['id'];\n definitionRefRegistry.add(schema, {\n kind: 'entity',\n type: entity.type,\n idPath,\n getNameResolver: entity.getNameResolver,\n parentSlot: entity.parentSlot,\n provides: entity.provides,\n sortByName: entity.sortByName,\n });\n return schema;\n };\n}\n/**\n * Creates ref context slots for use within a schema definition.\n * Slots provide type-safe context for parent-child entity relationships.\n *\n * @example\n * ```typescript\n * ctx.refContext(\n * { modelSlot: modelEntityType },\n * ({ modelSlot }) =>\n * ctx.withEnt(schema, {\n * type: modelEntityType,\n * provides: modelSlot,\n * }),\n * );\n * ```\n */\nfunction refContext(slotDefinition, schemaBuilder) {\n const slots = createRefContextSlotMap(slotDefinition);\n const schema = schemaBuilder(slots);\n definitionRefRegistry.add(schema, {\n kind: 'ref-context',\n slots: Object.values(slots),\n });\n return schema;\n}\n/**\n * Wraps a value with a ref expression parser for deferred validation.\n * The parser handles all parsing, validation, and rename handling.\n *\n * If the parser declares required slots (via TRequiredSlots), they must be\n * provided as the second argument. TypeScript enforces this at compile time.\n *\n * The parser's `createSchema()` method is called to get a fresh schema\n * instance per call site, allowing per-call metadata to be registered\n * independently in the Baseplate registry.\n *\n * @example\n * ```typescript\n * // Parser without required slots\n * const expressionSchema = ctx.withExpression(simpleParser);\n *\n * // Parser with required slots (TypeScript enforces the second argument)\n * ctx.refContext(\n * { modelSlot: modelEntityType },\n * ({ modelSlot }) =>\n * z.object({\n * condition: ctx.withExpression(authorizerParser, { model: modelSlot }),\n * })\n * );\n * ```\n */\n/**\n * Creates a `withExpression` function that resolves parser refs eagerly\n * from the plugin spec store at schema construction time.\n */\nfunction createWithExpression(plugins) {\n // Implementation\n function withExpression(parserOrRef, \n // oxlint-disable-next-line typescript/no-explicit-any\n slots) {\n // oxlint-disable-next-line typescript/no-explicit-any\n let parser;\n if (parserOrRef instanceof RefExpressionParser) {\n parser = parserOrRef;\n }\n else {\n // Resolve parser ref from plugin spec store\n if (!plugins) {\n throw new Error(`PluginSpecStore is required to resolve expression parser ref \"${parserOrRef.name}\". ` +\n `Ensure plugins are provided to createDefinitionSchemaParserContext.`);\n }\n const specUse = plugins.use(expressionParserSpec);\n const resolved = specUse.getParser(parserOrRef.name);\n if (!resolved) {\n throw new Error(`Expression parser \"${parserOrRef.name}\" not found in expressionParserSpec. ` +\n `Ensure it is registered via a core module or plugin.`);\n }\n parser = resolved;\n }\n const schema = parser.createSchema();\n definitionRefRegistry.add(schema, {\n kind: 'expression',\n parser,\n slots,\n });\n return schema;\n }\n return withExpression;\n}\nexport function extendParserContextWithRefs(plugins) {\n return {\n withRef,\n // Legacy 2-arg API that delegates to the standalone withEnt decorator.\n // Uses a cast because the standalone accepts DefinitionEntityInput<unknown, ...>\n // while this 2-arg form infers the full z.output<TType> for type-safe idPath.\n withEnt(schema, entity) {\n return schema.apply(withEnt(entity));\n },\n refContext,\n withExpression: createWithExpression(plugins),\n };\n}\n//# sourceMappingURL=extend-parser-context-with-refs.js.map","/**\n * Registry that stores default-value metadata on Zod schema instances.\n *\n * Uses a WeakMap to avoid interfering with Zod's type system.\n * Annotated by `withDefault()`; read by `cleanDefaultValues()`.\n */\nexport const definitionDefaultRegistry = (() => {\n const map = new WeakMap();\n return {\n set(schema, meta) {\n map.set(schema, meta);\n },\n get(schema) {\n return map.get(schema);\n },\n };\n})();\n//# sourceMappingURL=definition-default-registry.js.map","import { definitionDefaultRegistry } from './definition-default-registry.js';\n/**\n * Creates a schema decorator that applies a default value.\n *\n * Uses `prefault` to ensure defaults are populated during Zod parse, and\n * registers the default value in the registry so `cleanDefaultValues()` can\n * strip matching values during serialization.\n *\n * Can be used standalone with `.apply()`:\n * ```typescript\n * z.boolean().apply(withDefault(false))\n * ```\n *\n * @param defaultValue - The default value to apply\n * @returns A function that decorates a schema with the default value\n */\nexport function withDefault(defaultValue) {\n return (schema) => {\n const result = schema.prefault(defaultValue);\n definitionDefaultRegistry.set(result, { defaultValue });\n return result;\n };\n}\n/**\n * Extends the parser context with default value handling functionality.\n *\n * @returns An object containing the withDefault method\n */\nexport function extendParserContextWithDefaults() {\n return {\n withDefault: (schema, defaultValue) => withDefault(defaultValue)(schema),\n };\n}\n//# sourceMappingURL=extend-parser-context-with-defaults.js.map","import { extendParserContextWithRefs } from '#src/references/extend-parser-context-with-refs.js';\nimport { createRefContextSlotMap } from '#src/references/ref-context-slot.js';\nimport { extendParserContextWithDefaults } from './extend-parser-context-with-defaults.js';\nconst contextCache = new WeakMap();\nexport function createDefinitionSchemaParserContext(options) {\n const cached = contextCache.get(options.plugins);\n if (cached)\n return cached;\n const context = {\n ...options,\n ...extendParserContextWithRefs(options.plugins),\n ...extendParserContextWithDefaults(),\n };\n contextCache.set(options.plugins, context);\n return context;\n}\nexport function definitionSchema(creator) {\n const cache = new WeakMap();\n return (context) => {\n const cached = cache.get(context);\n if (cached)\n return cached;\n const result = creator(context);\n cache.set(context, result);\n return result;\n };\n}\n/**\n * Creates a schema that requires slots to be passed from parent schemas.\n * Used when a schema needs to reference entities from a parent context.\n *\n * @example\n * ```typescript\n * // Child schema requiring modelSlot from parent\n * export const createModelScalarFieldSchema = definitionSchemaWithSlots(\n * { modelSlot: modelEntityType },\n * (ctx, { modelSlot }) =>\n * ctx.withEnt(schema, {\n * type: modelScalarFieldEntityType,\n * parentSlot: modelSlot,\n * }),\n * );\n *\n * // Called from parent:\n * createModelScalarFieldSchema(ctx, { modelSlot: parentModelSlot })\n * ```\n */\nexport function definitionSchemaWithSlots(slotDefinition, creator) {\n const creatorWithSlots = (context, slots) => creator(context, slots);\n creatorWithSlots.slotDefinition = slotDefinition;\n return creatorWithSlots;\n}\n/**\n * Wraps a schema creator that requires slots with placeholder slots,\n * producing a simple schema creator that can be used for validation-only\n * contexts (e.g., React Hook Form).\n *\n * The placeholder slots allow the schema to parse without actual parent context,\n * which is useful when you only need schema validation without ref extraction.\n *\n * @example\n * ```typescript\n * // Schema that normally requires modelSlot from parent\n * const createModelScalarFieldSchema = definitionSchemaWithSlots(\n * { modelSlot: modelEntityType },\n * (ctx, { modelSlot }) => ctx.withEnt(schema, { parentSlot: modelSlot }),\n * );\n *\n * // For React Hook Form validation, wrap with placeholder slots\n * const fieldSchema = withPlaceholderSlots(createModelScalarFieldSchema);\n * const zodSchema = fieldSchema(ctx); // No slots needed\n * ```\n */\nexport function withPlaceholderSlots(schemaCreator) {\n return (ctx) => {\n const placeholderSlots = createRefContextSlotMap(schemaCreator.slotDefinition);\n return schemaCreator(ctx, placeholderSlots);\n };\n}\n//# sourceMappingURL=schema-creator.js.map","import { randomKey } from '@baseplate-dev/utils';\n/**\n * Definition of an entity type.\n */\nexport class DefinitionEntityType {\n prefix;\n name;\n parentType;\n /**\n * Creates a new entity type.\n *\n * @param name - The name of the entity type.\n * @param prefix - The prefix of the entity type to use in the ID, defaults to the name.\n * @param parentType - The type of the parent entity if any\n */\n constructor(name, prefix, parentType) {\n this.name = name;\n this.parentType = parentType;\n this.prefix = prefix ?? name.split('/').pop() ?? name;\n }\n /**\n * Generates a new ID for the entity type.\n *\n * @returns The new ID.\n */\n generateNewId() {\n return `${this.prefix}:${randomKey()}`;\n }\n idFromKey(key) {\n if (!key) {\n return undefined;\n }\n return `${this.prefix}:${key}`;\n }\n keyFromId(id) {\n return id.split(':')[1];\n }\n isId(id) {\n return id.startsWith(`${this.prefix}:`);\n }\n}\nexport function createEntityType(name, options) {\n const { parentType, prefix } = options ?? {};\n return new DefinitionEntityType(name, prefix, parentType);\n}\n//# sourceMappingURL=types.js.map","import { CASE_VALIDATORS } from '@baseplate-dev/utils';\nimport { z } from 'zod';\nimport { createEntityType } from '#src/references/types.js';\nimport { definitionSchema } from '#src/schema/creator/schema-creator.js';\nexport const featureEntityType = createEntityType('feature');\nexport const featureNameSchema = CASE_VALIDATORS.KEBAB_CASE;\nexport const createFeatureSchema = definitionSchema((ctx) => ctx.withEnt(z.object({\n id: z.string(),\n name: z\n .string()\n .min(1)\n .refine((name) => name\n .split('/')\n .every((part) => featureNameSchema.safeParse(part).success), {\n message: 'Feature name must be lowercase and contain only letters, numbers, and dashes',\n }),\n parentRef: ctx\n .withRef({\n type: featureEntityType,\n onDelete: 'DELETE_PARENT',\n })\n .optional(),\n}), { type: featureEntityType, sortByName: true }));\nexport const createFeaturesSchema = definitionSchema((ctx) => z.array(createFeatureSchema(ctx)).default([]));\n//# sourceMappingURL=feature.js.map","import { featureEntityType, featureNameSchema } from '#src/schema/index.js';\nfunction getRootFeatures(projectDefinition) {\n return projectDefinition.features.filter((f) => !f.parentRef);\n}\nfunction getFeatureById(projectDefinition, featureId) {\n return projectDefinition.features.find((f) => f.id === featureId);\n}\nfunction getFeatureByIdOrThrow(projectDefinition, featureId) {\n const feature = getFeatureById(projectDefinition, featureId);\n if (!feature) {\n throw new Error(`Could not find feature with ID ${featureId}`);\n }\n return feature;\n}\nfunction getFeatureChildren(projectDefinition, featureId) {\n return projectDefinition.features.filter((f) => f.parentRef === featureId);\n}\nfunction getFeatureName(featureConfig) {\n return featureConfig.name.split('/').pop() ?? '';\n}\nfunction getFeatureNameById(projectDefinition, featureId) {\n const feature = getFeatureByIdOrThrow(projectDefinition, featureId);\n return getFeatureName(feature);\n}\nfunction getFeaturePathByIdOrThrow(projectDefinition, featureId) {\n const feature = getFeatureByIdOrThrow(projectDefinition, featureId);\n return feature.name;\n}\nfunction validateFeatureName(name) {\n const nameParts = name.split('/');\n return nameParts.every((part) => featureNameSchema.safeParse(part).success);\n}\nfunction ensureFeatureByNameRecursively(projectDefinition, nameOrId) {\n if (featureEntityType.isId(nameOrId)) {\n return nameOrId;\n }\n const nameParts = nameOrId.split('/');\n let lastName = '';\n let parentRef = undefined;\n for (const part of nameParts) {\n const feature = projectDefinition.features.find((f) => f.name === part && f.parentRef === parentRef);\n const name = [lastName, part].filter(Boolean).join('/');\n if (feature) {\n parentRef = feature.id;\n }\n else {\n const newFeature = {\n id: featureEntityType.generateNewId(),\n name,\n parentRef,\n };\n projectDefinition.features.push(newFeature);\n parentRef = newFeature.id;\n }\n lastName = name;\n }\n if (!parentRef) {\n throw new Error('Failed to create feature');\n }\n return parentRef;\n}\nfunction createPartialFeatures(nameOrPath) {\n if (!nameOrPath)\n return [];\n const parts = nameOrPath.split('/');\n return parts.map((_, i) => {\n const name = parts.slice(0, i + 1).join('/');\n const parentRef = i > 0 ? parts.slice(0, i).join('/') : undefined;\n return { name, parentRef };\n });\n}\nfunction getFeatureByName(projectDefinition, name) {\n return projectDefinition.features.find((f) => f.name === name);\n}\nfunction getFeatureIdByNameOrThrow(projectDefinition, name) {\n const feature = getFeatureByName(projectDefinition, name);\n if (!feature) {\n throw new Error(`Could not find feature with name ${name}`);\n }\n return feature.id;\n}\nfunction getFeatureIdByNameOrDefault(projectDefinition, name) {\n return getFeatureByName(projectDefinition, name)?.id ?? name;\n}\nfunction resolveFeatureName(projectDefinition, featureRef) {\n if (!featureRef)\n return '';\n if (featureEntityType.isId(featureRef)) {\n return getFeaturePathByIdOrThrow(projectDefinition, featureRef);\n }\n return featureRef;\n}\nexport const FeatureUtils = {\n getRootFeatures,\n getFeatureById,\n getFeatureByIdOrThrow,\n getFeatureChildren,\n getFeatureName,\n getFeatureNameById,\n getFeaturePathByIdOrThrow,\n validateFeatureName,\n ensureFeatureByNameRecursively,\n createPartialFeatures,\n getFeatureByName,\n getFeatureIdByNameOrThrow,\n getFeatureIdByNameOrDefault,\n resolveFeatureName,\n};\n//# sourceMappingURL=feature-utils.js.map","import { PASCAL_CASE_REGEX } from '@baseplate-dev/utils';\nfunction byId(projectDefinition, id) {\n return projectDefinition.models.find((m) => m.id === id);\n}\nfunction byIdOrThrow(projectDefinition, id) {\n const model = byId(projectDefinition, id);\n if (!model) {\n throw new Error(`Could not find model with ID ${id}`);\n }\n return model;\n}\nfunction byName(projectDefinition, name) {\n return projectDefinition.models.find((m) => m.name === name);\n}\nfunction byNameOrThrow(projectDefinition, name) {\n const model = byName(projectDefinition, name);\n if (!model) {\n throw new Error(`Could not find model with name ${name}`);\n }\n return model;\n}\nfunction getScalarFieldById(model, id) {\n const field = model.model.fields.find((f) => f.id === id);\n if (!field) {\n throw new Error(`Could not find field with ID ${id}`);\n }\n return field;\n}\nfunction getRelationsToModel(projectDefinition, modelId) {\n return projectDefinition.models.flatMap((m) => m.model.relations\n .filter((r) => r.modelRef === modelId)\n .map((r) => ({ model: m, relation: r })));\n}\nfunction getModelsForFeature(projectDefinition, featureId) {\n return projectDefinition.models.filter((m) => m.featureRef === featureId);\n}\nfunction getModelIdFields(model) {\n return model.model.primaryKeyFieldRefs;\n}\nfunction hasService(model) {\n return (model.service.create.enabled ||\n model.service.update.enabled ||\n model.service.delete.enabled ||\n model.service.transformers.length > 0);\n}\nfunction validateModelName(name) {\n return PASCAL_CASE_REGEX.test(name);\n}\n/**\n * Returns the ID of a model by name, or the name if no model is found.\n * @param projectDefinition - The project definition.\n * @param name - The name of the model.\n * @returns The ID of the model, or the name if no model is found.\n */\nfunction getModelIdByNameOrDefault(projectDefinition, name) {\n return projectDefinition.models.find((m) => m.name === name)?.id ?? name;\n}\nfunction getPrimaryKeyFields(model) {\n const primaryKeyFields = model.model.primaryKeyFieldRefs;\n return primaryKeyFields.map((id) => getScalarFieldById(model, id));\n}\nexport const ModelUtils = {\n byId,\n byIdOrThrow,\n byName,\n byNameOrThrow,\n getScalarFieldById,\n getRelationsToModel,\n getModelsForFeature,\n getModelIdFields,\n hasService,\n validateModelName,\n getModelIdByNameOrDefault,\n getPrimaryKeyFields,\n};\n//# sourceMappingURL=model-utils.js.map"],"names":["z"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE;AAChD,IAAI,MAAM,EAAE,WAAW,EAAE,GAAG,OAAO;AACnC,IAAI,OAAO;AACX,QAAQ,IAAI,EAAE,aAAa;AAC3B,QAAQ,IAAI;AACZ,QAAQ,WAAW;AACnB,KAAK;AACL;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,oBAAoB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,kBAAkB,CAAC,OAAO,EAAE,EAAE,EAAE;AAChD,IAAI,MAAM,IAAI,GAAG,oBAAoB;AACrC,IAAI,oBAAoB,GAAG,OAAO;AAClC,IAAI,IAAI;AACR,QAAQ,OAAO,EAAE,EAAE;AACnB,IAAI;AACJ,YAAY;AACZ,QAAQ,oBAAoB,GAAG,IAAI;AACnC,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,gBAAgB,GAAG;AACnC,IAAI,OAAO,oBAAoB;AAC/B;;ACpCA,MAAA,CAAA,cAAA,CAAA,GAAA,MAAA,YAAA,CAAA,sBAAA,CAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,EAAE,IAAI,IAAI;AAC5E;AACA,SAAS,mBAAmB,CAAC,KAAK,EAAE;AACpC,IAAI,MAAM,gBAAgB,GAAG,KAAK,CAAC,KAAK,CAAC,mBAAmB;AAC5D,IAAI,OAAO,gBAAgB,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,kBAAkB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AACtE;AACY,MAAC,UAAU,GAAG;AAC1B,IAAI,IAAI;AACR,IAAI,WAAW;AACf,IAAI,MAAM;AACV,IAAI,aAAa;AACjB,IAAI,kBAAkB;AACtB,IAAI,mBAAmB;AACvB,IAAI,mBAAmB;AACvB,IAAI,gBAAgB;AACpB,IAAI,UAAU;AACd,IAAI,iBAAiB;AACrB,IAAI,yBAAyB;AAC7B,IAAI,mBAAmB;AACvB;;;;"}
@@ -1,16 +0,0 @@
1
- import { importShared } from './__federation_fn_import-DvwH-J9J.js';
2
-
3
- const PLACEHOLDER_AUTH_MODELS = {
4
- user: "User"
5
- };
6
-
7
- const {definitionSchema} = await importShared('@baseplate-dev/project-builder-lib');
8
-
9
- const {z} = await importShared('zod');
10
-
11
- const createPlaceholderAuthPluginDefinitionSchema = definitionSchema(
12
- () => z.object({})
13
- );
14
-
15
- export { PLACEHOLDER_AUTH_MODELS as P, createPlaceholderAuthPluginDefinitionSchema as c };
16
- //# sourceMappingURL=plugin-definition-B6PqjUHm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-definition-B6PqjUHm.js","sources":["../../../src/placeholder-auth/constants/model-names.ts","../../../src/placeholder-auth/core/schema/plugin-definition.ts"],"sourcesContent":["export const PLACEHOLDER_AUTH_MODELS = {\n user: 'User',\n} as const;\n","import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport { definitionSchema } from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nexport const createPlaceholderAuthPluginDefinitionSchema = definitionSchema(\n () => z.object({}),\n);\n\nexport type PlaceholderAuthPluginDefinitionInput = def.InferInput<\n typeof createPlaceholderAuthPluginDefinitionSchema\n>;\n"],"names":[],"mappings":";;AAAO,MAAM,uBAAA,GAA0B;AAAA,EACrC,IAAA,EAAM;AACR;;ACAA,MAAA,CAAA,gBAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;;AACA,MAAA,CAAA,CAAA,CAAA,GAAA,MAAA,YAAA,CAAA,KAAA,CAAA;;AAEO,MAAM,2CAAA,GAA8C,gBAAA;AAAA,EACzD,MAAM,CAAA,CAAE,MAAA,CAAO,EAAE;AACnB;;;;"}
@@ -1,315 +0,0 @@
1
- import { B as BETTER_AUTH_MODELS } from './model-names-D7UT0B8x.js';
2
- import { importShared } from './__federation_fn_import-DvwH-J9J.js';
3
-
4
- function createBetterAuthPartialDefinition(authFeatureName, accountsFeatureName) {
5
- return {
6
- models: [
7
- {
8
- name: BETTER_AUTH_MODELS.user,
9
- featureRef: accountsFeatureName,
10
- model: {
11
- fields: [
12
- {
13
- name: "id",
14
- type: "uuid",
15
- options: { defaultGeneration: "uuidv7" }
16
- },
17
- {
18
- name: "name",
19
- type: "string",
20
- isOptional: false
21
- },
22
- {
23
- name: "email",
24
- type: "string",
25
- isOptional: false
26
- },
27
- {
28
- name: "emailVerified",
29
- type: "boolean",
30
- options: { default: "false" }
31
- },
32
- {
33
- name: "image",
34
- type: "string",
35
- isOptional: true
36
- },
37
- {
38
- name: "updatedAt",
39
- type: "dateTime",
40
- options: { defaultToNow: true, updatedAt: true }
41
- },
42
- {
43
- name: "createdAt",
44
- type: "dateTime",
45
- options: { defaultToNow: true }
46
- }
47
- ],
48
- primaryKeyFieldRefs: ["id"],
49
- uniqueConstraints: [
50
- {
51
- fields: [{ fieldRef: "email" }]
52
- }
53
- ]
54
- },
55
- graphql: {
56
- objectType: {
57
- enabled: true,
58
- fields: [
59
- { ref: "id" },
60
- {
61
- ref: "email",
62
- globalRoles: ["admin"],
63
- instanceRoles: ["self"]
64
- }
65
- ]
66
- }
67
- },
68
- authorizer: {
69
- roles: [
70
- {
71
- name: "self",
72
- expression: "model.id === userId"
73
- }
74
- ]
75
- }
76
- },
77
- {
78
- name: BETTER_AUTH_MODELS.session,
79
- featureRef: accountsFeatureName,
80
- model: {
81
- fields: [
82
- {
83
- name: "id",
84
- type: "uuid",
85
- options: { defaultGeneration: "uuidv7" }
86
- },
87
- {
88
- name: "expiresAt",
89
- type: "dateTime"
90
- },
91
- {
92
- name: "token",
93
- type: "string"
94
- },
95
- {
96
- name: "ipAddress",
97
- type: "string",
98
- isOptional: true
99
- },
100
- {
101
- name: "userAgent",
102
- type: "string",
103
- isOptional: true
104
- },
105
- {
106
- name: "userId",
107
- type: "uuid"
108
- },
109
- {
110
- name: "createdAt",
111
- type: "dateTime",
112
- options: { defaultToNow: true }
113
- },
114
- {
115
- name: "updatedAt",
116
- type: "dateTime",
117
- options: { defaultToNow: true, updatedAt: true }
118
- }
119
- ],
120
- primaryKeyFieldRefs: ["id"],
121
- uniqueConstraints: [
122
- {
123
- fields: [{ fieldRef: "token" }]
124
- }
125
- ],
126
- relations: [
127
- {
128
- name: "user",
129
- references: [{ localRef: "userId", foreignRef: "id" }],
130
- modelRef: BETTER_AUTH_MODELS.user,
131
- foreignRelationName: "sessions",
132
- onDelete: "Cascade",
133
- onUpdate: "Restrict"
134
- }
135
- ]
136
- }
137
- },
138
- {
139
- name: BETTER_AUTH_MODELS.account,
140
- featureRef: accountsFeatureName,
141
- model: {
142
- fields: [
143
- {
144
- name: "id",
145
- type: "uuid",
146
- options: { defaultGeneration: "uuidv7" }
147
- },
148
- {
149
- name: "accountId",
150
- type: "string"
151
- },
152
- {
153
- name: "providerId",
154
- type: "string"
155
- },
156
- {
157
- name: "userId",
158
- type: "uuid"
159
- },
160
- {
161
- name: "accessToken",
162
- type: "string",
163
- isOptional: true
164
- },
165
- {
166
- name: "refreshToken",
167
- type: "string",
168
- isOptional: true
169
- },
170
- {
171
- name: "idToken",
172
- type: "string",
173
- isOptional: true
174
- },
175
- {
176
- name: "accessTokenExpiresAt",
177
- type: "dateTime",
178
- isOptional: true
179
- },
180
- {
181
- name: "refreshTokenExpiresAt",
182
- type: "dateTime",
183
- isOptional: true
184
- },
185
- {
186
- name: "scope",
187
- type: "string",
188
- isOptional: true
189
- },
190
- {
191
- name: "password",
192
- type: "string",
193
- isOptional: true
194
- },
195
- {
196
- name: "createdAt",
197
- type: "dateTime",
198
- options: { defaultToNow: true }
199
- },
200
- {
201
- name: "updatedAt",
202
- type: "dateTime",
203
- options: { defaultToNow: true, updatedAt: true }
204
- }
205
- ],
206
- primaryKeyFieldRefs: ["id"],
207
- relations: [
208
- {
209
- name: "user",
210
- references: [{ localRef: "userId", foreignRef: "id" }],
211
- modelRef: BETTER_AUTH_MODELS.user,
212
- foreignRelationName: "accounts",
213
- onDelete: "Cascade",
214
- onUpdate: "Restrict"
215
- }
216
- ]
217
- }
218
- },
219
- {
220
- name: BETTER_AUTH_MODELS.verification,
221
- featureRef: authFeatureName,
222
- model: {
223
- fields: [
224
- {
225
- name: "id",
226
- type: "uuid",
227
- options: { defaultGeneration: "uuidv4" }
228
- },
229
- {
230
- name: "identifier",
231
- type: "string"
232
- },
233
- {
234
- name: "value",
235
- type: "string"
236
- },
237
- {
238
- name: "expiresAt",
239
- type: "dateTime"
240
- },
241
- {
242
- name: "createdAt",
243
- type: "dateTime",
244
- options: { defaultToNow: true }
245
- },
246
- {
247
- name: "updatedAt",
248
- type: "dateTime",
249
- options: { defaultToNow: true, updatedAt: true }
250
- }
251
- ],
252
- primaryKeyFieldRefs: ["id"]
253
- }
254
- },
255
- {
256
- name: BETTER_AUTH_MODELS.userRole,
257
- featureRef: accountsFeatureName,
258
- model: {
259
- fields: [
260
- {
261
- name: "userId",
262
- type: "uuid"
263
- },
264
- {
265
- name: "role",
266
- type: "string"
267
- },
268
- {
269
- name: "updatedAt",
270
- type: "dateTime",
271
- options: { defaultToNow: true, updatedAt: true }
272
- },
273
- {
274
- name: "createdAt",
275
- type: "dateTime",
276
- options: { defaultToNow: true }
277
- }
278
- ],
279
- primaryKeyFieldRefs: ["userId", "role"],
280
- relations: [
281
- {
282
- name: "user",
283
- references: [{ localRef: "userId", foreignRef: "id" }],
284
- modelRef: BETTER_AUTH_MODELS.user,
285
- foreignRelationName: "roles",
286
- onDelete: "Cascade",
287
- onUpdate: "Restrict"
288
- }
289
- ]
290
- }
291
- }
292
- ]
293
- };
294
- }
295
-
296
- const {authRoleEntityType,definitionSchema} = await importShared('@baseplate-dev/project-builder-lib');
297
-
298
- const {z} = await importShared('zod');
299
-
300
- const createBetterAuthPluginDefinitionSchema = definitionSchema(
301
- (ctx) => z.object({
302
- additionalUserAdminRoles: ctx.withDefault(
303
- z.array(
304
- ctx.withRef({
305
- type: authRoleEntityType,
306
- onDelete: "DELETE"
307
- })
308
- ),
309
- []
310
- )
311
- })
312
- );
313
-
314
- export { createBetterAuthPartialDefinition as a, createBetterAuthPluginDefinitionSchema as c };
315
- //# sourceMappingURL=plugin-definition-B6kOvigE.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-definition-B6kOvigE.js","sources":["../../../src/better-auth/core/schema/models.ts","../../../src/better-auth/core/schema/plugin-definition.ts"],"sourcesContent":["import type { PartialProjectDefinitionInput } from '@baseplate-dev/project-builder-lib';\n\nimport { BETTER_AUTH_MODELS } from '#src/better-auth/constants/model-names.js';\n\nexport function createBetterAuthPartialDefinition(\n authFeatureName: string,\n accountsFeatureName: string,\n): PartialProjectDefinitionInput {\n return {\n models: [\n {\n name: BETTER_AUTH_MODELS.user,\n featureRef: accountsFeatureName,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { defaultGeneration: 'uuidv7' },\n },\n {\n name: 'name',\n type: 'string',\n isOptional: false,\n },\n {\n name: 'email',\n type: 'string',\n isOptional: false,\n },\n {\n name: 'emailVerified',\n type: 'boolean',\n options: { default: 'false' },\n },\n {\n name: 'image',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n ],\n primaryKeyFieldRefs: ['id'],\n uniqueConstraints: [\n {\n fields: [{ fieldRef: 'email' }],\n },\n ],\n },\n graphql: {\n objectType: {\n enabled: true,\n fields: [\n { ref: 'id' },\n {\n ref: 'email',\n globalRoles: ['admin'],\n instanceRoles: ['self'],\n },\n ],\n },\n },\n authorizer: {\n roles: [\n {\n name: 'self',\n expression: 'model.id === userId',\n },\n ],\n },\n },\n {\n name: BETTER_AUTH_MODELS.session,\n featureRef: accountsFeatureName,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { defaultGeneration: 'uuidv7' },\n },\n {\n name: 'expiresAt',\n type: 'dateTime',\n },\n {\n name: 'token',\n type: 'string',\n },\n {\n name: 'ipAddress',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'userAgent',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'userId',\n type: 'uuid',\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n ],\n primaryKeyFieldRefs: ['id'],\n uniqueConstraints: [\n {\n fields: [{ fieldRef: 'token' }],\n },\n ],\n relations: [\n {\n name: 'user',\n references: [{ localRef: 'userId', foreignRef: 'id' }],\n modelRef: BETTER_AUTH_MODELS.user,\n foreignRelationName: 'sessions',\n onDelete: 'Cascade',\n onUpdate: 'Restrict',\n },\n ],\n },\n },\n {\n name: BETTER_AUTH_MODELS.account,\n featureRef: accountsFeatureName,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { defaultGeneration: 'uuidv7' },\n },\n {\n name: 'accountId',\n type: 'string',\n },\n {\n name: 'providerId',\n type: 'string',\n },\n {\n name: 'userId',\n type: 'uuid',\n },\n {\n name: 'accessToken',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'refreshToken',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'idToken',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'accessTokenExpiresAt',\n type: 'dateTime',\n isOptional: true,\n },\n {\n name: 'refreshTokenExpiresAt',\n type: 'dateTime',\n isOptional: true,\n },\n {\n name: 'scope',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'password',\n type: 'string',\n isOptional: true,\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n ],\n primaryKeyFieldRefs: ['id'],\n relations: [\n {\n name: 'user',\n references: [{ localRef: 'userId', foreignRef: 'id' }],\n modelRef: BETTER_AUTH_MODELS.user,\n foreignRelationName: 'accounts',\n onDelete: 'Cascade',\n onUpdate: 'Restrict',\n },\n ],\n },\n },\n {\n name: BETTER_AUTH_MODELS.verification,\n featureRef: authFeatureName,\n model: {\n fields: [\n {\n name: 'id',\n type: 'uuid',\n options: { defaultGeneration: 'uuidv4' },\n },\n {\n name: 'identifier',\n type: 'string',\n },\n {\n name: 'value',\n type: 'string',\n },\n {\n name: 'expiresAt',\n type: 'dateTime',\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n ],\n primaryKeyFieldRefs: ['id'],\n },\n },\n {\n name: BETTER_AUTH_MODELS.userRole,\n featureRef: accountsFeatureName,\n model: {\n fields: [\n {\n name: 'userId',\n type: 'uuid',\n },\n {\n name: 'role',\n type: 'string',\n },\n {\n name: 'updatedAt',\n type: 'dateTime',\n options: { defaultToNow: true, updatedAt: true },\n },\n {\n name: 'createdAt',\n type: 'dateTime',\n options: { defaultToNow: true },\n },\n ],\n primaryKeyFieldRefs: ['userId', 'role'],\n relations: [\n {\n name: 'user',\n references: [{ localRef: 'userId', foreignRef: 'id' }],\n modelRef: BETTER_AUTH_MODELS.user,\n foreignRelationName: 'roles',\n onDelete: 'Cascade',\n onUpdate: 'Restrict',\n },\n ],\n },\n },\n ],\n };\n}\n","import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport {\n authRoleEntityType,\n definitionSchema,\n} from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nexport const createBetterAuthPluginDefinitionSchema = definitionSchema((ctx) =>\n z.object({\n additionalUserAdminRoles: ctx.withDefault(\n z.array(\n ctx.withRef({\n type: authRoleEntityType,\n onDelete: 'DELETE',\n }),\n ),\n [],\n ),\n }),\n);\n\nexport type BetterAuthPluginDefinition = def.InferOutput<\n typeof createBetterAuthPluginDefinitionSchema\n>;\n\nexport type BetterAuthPluginDefinitionInput = def.InferInput<\n typeof createBetterAuthPluginDefinitionSchema\n>;\n"],"names":[],"mappings":";;;AAIO,SAAS,iCAAA,CACd,iBACA,mBAAA,EAC+B;AAC/B,EAAA,OAAO;AAAA,IACL,MAAA,EAAQ;AAAA,MACN;AAAA,QACE,MAAM,kBAAA,CAAmB,IAAA;AAAA,QACzB,UAAA,EAAY,mBAAA;AAAA,QACZ,KAAA,EAAO;AAAA,UACL,MAAA,EAAQ;AAAA,YACN;AAAA,cACE,IAAA,EAAM,IAAA;AAAA,cACN,IAAA,EAAM,MAAA;AAAA,cACN,OAAA,EAAS,EAAE,iBAAA,EAAmB,QAAA;AAAS,aACzC;AAAA,YACA;AAAA,cACE,IAAA,EAAM,MAAA;AAAA,cACN,IAAA,EAAM,QAAA;AAAA,cACN,UAAA,EAAY;AAAA,aACd;AAAA,YACA;AAAA,cACE,IAAA,EAAM,OAAA;AAAA,cACN,IAAA,EAAM,QAAA;AAAA,cACN,UAAA,EAAY;AAAA,aACd;AAAA,YACA;AAAA,cACE,IAAA,EAAM,eAAA;AAAA,cACN,IAAA,EAAM,SAAA;AAAA,cACN,OAAA,EAAS,EAAE,OAAA,EAAS,OAAA;AAAQ,aAC9B;AAAA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5B,CAAA,CAAE,KAAA;AAAA,QACA,IAAI,OAAA,CAAQ;AAAA,UACV,IAAA,EAAM,kBAAA;AAAA,UACN,QAAA,EAAU;AAAA,SACX;AAAA,OACH;AAAA,MACA;AAAC;AACH,GACD;AACH;;;;"}
@@ -1,93 +0,0 @@
1
- import { importShared } from './__federation_fn_import-DvwH-J9J.js';
2
-
3
- const {authRoleEntityType: authRoleEntityType$1} = await importShared('@baseplate-dev/project-builder-lib');
4
-
5
- const AUTH_DEFAULT_ROLES = [
6
- {
7
- name: "public",
8
- comment: "All users (including unauthenticated and authenticated users)",
9
- builtIn: true,
10
- autoAssigned: true
11
- },
12
- {
13
- name: "user",
14
- comment: "All authenticated users",
15
- builtIn: true,
16
- autoAssigned: true
17
- },
18
- {
19
- name: "system",
20
- comment: "System processes without a user context, e.g. background jobs",
21
- builtIn: true,
22
- autoAssigned: true
23
- },
24
- {
25
- name: "admin",
26
- comment: "Administrator with full access",
27
- builtIn: true,
28
- autoAssigned: false
29
- }
30
- ];
31
- function createDefaultAuthRoles() {
32
- return AUTH_DEFAULT_ROLES.map((role) => ({
33
- ...role,
34
- id: authRoleEntityType$1.generateNewId()
35
- }));
36
- }
37
-
38
- const {authRoleEntityType,definitionSchema: definitionSchema$1} = await importShared('@baseplate-dev/project-builder-lib');
39
-
40
- const {z: z$1} = await importShared('zod');
41
- const createAuthRoleSchema = definitionSchema$1(
42
- (ctx) => ctx.withEnt(
43
- z$1.object({
44
- id: z$1.string(),
45
- name: z$1.string().min(1),
46
- comment: z$1.string().min(1),
47
- builtIn: z$1.boolean().default(false),
48
- autoAssigned: z$1.boolean().default(false)
49
- }),
50
- { type: authRoleEntityType }
51
- )
52
- );
53
- const createAuthRolesSchema = definitionSchema$1(
54
- (ctx) => z$1.array(createAuthRoleSchema(ctx)).superRefine((roles, ctx2) => {
55
- const dup = roles.map((r) => r.name).filter((v, i, a) => a.indexOf(v) !== i);
56
- if (dup.length > 0) {
57
- ctx2.addIssue({
58
- code: "custom",
59
- message: `Duplicate role name(s): ${dup.join(", ")}`
60
- });
61
- }
62
- }).superRefine((roles, ctx2) => {
63
- for (const defaultRole of AUTH_DEFAULT_ROLES) {
64
- if (!roles.some((r) => r.name === defaultRole.name && r.builtIn)) {
65
- ctx2.addIssue({
66
- code: "custom",
67
- message: `Missing built-in role: ${defaultRole.name}`
68
- });
69
- }
70
- }
71
- })
72
- );
73
-
74
- const {definitionSchema,featureEntityType} = await importShared('@baseplate-dev/project-builder-lib');
75
-
76
- const {z} = await importShared('zod');
77
- const createAuthPluginDefinitionSchema = definitionSchema(
78
- (ctx) => z.object({
79
- implementationPluginKey: z.string().min(1, "Auth implementation plugin must be selected"),
80
- authFeatureRef: ctx.withRef({
81
- type: featureEntityType,
82
- onDelete: "RESTRICT"
83
- }),
84
- accountsFeatureRef: ctx.withRef({
85
- type: featureEntityType,
86
- onDelete: "RESTRICT"
87
- }),
88
- roles: createAuthRolesSchema(ctx)
89
- })
90
- );
91
-
92
- export { createAuthPluginDefinitionSchema as a, createDefaultAuthRoles as b, createAuthRoleSchema as c };
93
- //# sourceMappingURL=plugin-definition-DDe2WhbZ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-definition-DDe2WhbZ.js","sources":["../../../src/auth/core/schema/roles/constants.ts","../../../src/auth/core/schema/roles/schema.ts","../../../src/auth/core/schema/plugin-definition.ts"],"sourcesContent":["import { authRoleEntityType } from '@baseplate-dev/project-builder-lib';\n\nimport type { AuthRoleDefinition } from './schema.js';\n\nexport const AUTH_DEFAULT_ROLES: Omit<AuthRoleDefinition, 'id'>[] = [\n {\n name: 'public',\n comment: 'All users (including unauthenticated and authenticated users)',\n builtIn: true,\n autoAssigned: true,\n },\n {\n name: 'user',\n comment: 'All authenticated users',\n builtIn: true,\n autoAssigned: true,\n },\n {\n name: 'system',\n comment: 'System processes without a user context, e.g. background jobs',\n builtIn: true,\n autoAssigned: true,\n },\n {\n name: 'admin',\n comment: 'Administrator with full access',\n builtIn: true,\n autoAssigned: false,\n },\n];\n\nexport function createDefaultAuthRoles(): AuthRoleDefinition[] {\n return AUTH_DEFAULT_ROLES.map((role) => ({\n ...role,\n id: authRoleEntityType.generateNewId(),\n }));\n}\n","import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport {\n authRoleEntityType,\n definitionSchema,\n} from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nimport { AUTH_DEFAULT_ROLES } from './constants.js';\n\nexport const createAuthRoleSchema = definitionSchema((ctx) =>\n ctx.withEnt(\n z.object({\n id: z.string(),\n name: z.string().min(1),\n comment: z.string().min(1),\n builtIn: z.boolean().default(false),\n autoAssigned: z.boolean().default(false),\n }),\n { type: authRoleEntityType },\n ),\n);\n\n/**\n * Defines the schema for a role.\n */\nexport type AuthRoleDefinition = def.InferOutput<typeof createAuthRoleSchema>;\n\nexport type AuthRoleInput = def.InferInput<typeof createAuthRoleSchema>;\n\n/**\n * Defines the schema for an array of roles ensuring that there are no duplicate\n * role names and that the built-in roles are included.\n */\nexport const createAuthRolesSchema = definitionSchema((ctx) =>\n z\n .array(createAuthRoleSchema(ctx))\n .superRefine((roles, ctx) => {\n const dup = roles\n .map((r) => r.name)\n .filter((v, i, a) => a.indexOf(v) !== i);\n if (dup.length > 0) {\n ctx.addIssue({\n code: 'custom',\n message: `Duplicate role name(s): ${dup.join(', ')}`,\n });\n }\n })\n .superRefine((roles, ctx) => {\n for (const defaultRole of AUTH_DEFAULT_ROLES) {\n if (!roles.some((r) => r.name === defaultRole.name && r.builtIn)) {\n ctx.addIssue({\n code: 'custom',\n message: `Missing built-in role: ${defaultRole.name}`,\n });\n }\n }\n }),\n);\n","import type { def } from '@baseplate-dev/project-builder-lib';\n\nimport {\n definitionSchema,\n featureEntityType,\n} from '@baseplate-dev/project-builder-lib';\nimport { z } from 'zod';\n\nimport { createAuthRolesSchema } from './roles/index.js';\n\nexport const createAuthPluginDefinitionSchema = definitionSchema((ctx) =>\n z.object({\n implementationPluginKey: z\n .string()\n .min(1, 'Auth implementation plugin must be selected'),\n authFeatureRef: ctx.withRef({\n type: featureEntityType,\n onDelete: 'RESTRICT',\n }),\n accountsFeatureRef: ctx.withRef({\n type: featureEntityType,\n onDelete: 'RESTRICT',\n }),\n roles: createAuthRolesSchema(ctx),\n }),\n);\n\nexport type AuthPluginDefinition = def.InferOutput<\n typeof createAuthPluginDefinitionSchema\n>;\n\nexport type AuthPluginDefinitionInput = def.InferInput<\n typeof createAuthPluginDefinitionSchema\n>;\n"],"names":["authRoleEntityType","definitionSchema","z","ctx"],"mappings":";;AAAA,MAAA,qBAAAA,oBAAA,CAAA,GAAA,MAAA,YAAA,CAAA,oCAAA,CAAA;;AAIO,MAAM,kBAAA,GAAuD;AAAA,EAClE;AAAA,IACE,IAAA,EAAM,QAAA;AAAA,IACN,OAAA,EAAS,+DAAA;AAAA,IACT,OAAA,EAAS,IAAA;AAAA,IACT,YAAA,EAAc;AAAA,GAChB;AAAA,EACA;AAAA,IACE,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS,yBAAA;AAAA,IACT,OAAA,EAAS,IAAA;AAAA,IACT,YAAA,EAAc;AAAA,GAChB;AAAA,EACA;AAAA,IACE,IAAA,EAAM,QAAA;AAAA,IACN,OAAA,EAAS,+DAAA;AAAA,IACT,OAAA,EAAS,IAAA;AAAA,IACT,YAAA,EAAc;AAAA,GAChB;AAAA,EACA;AAAA,IACE,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS,gCAAA;AAAA,IACT,OAAA,EAAS,IAAA;AAAA,IACT,YAAA,EAAc;AAAA;AAElB,CAAA;AAEO,SAAS,sBAAA,GAA+C;AAC7D,EAAA,OAAO,kBAAA,CAAmB,GAAA,CAAI,CAAC,IAAA,MAAU;AAAA,IACvC,GAAG,IAAA;AAAA,IACH,EAAA,EAAIA,qBAAmB,aAAA;AAAc,GACvC,CAAE,CAAA;AACJ;;AClCA,MAAA,CAAA,kBAAA,mBAAAC,kBAAA,CAAA,GAAA,MAAA,YAAA,CA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