@baseplate-dev/plugin-auth 0.6.17 → 0.6.19

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 (294) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +74 -0
  3. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +74 -0
  4. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +37 -0
  5. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +37 -0
  6. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +1 -2
  7. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +1 -1
  8. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +74 -0
  9. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +74 -0
  10. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +37 -0
  11. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +74 -0
  12. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +1 -2
  13. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +1 -1
  14. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +37 -0
  15. package/dist/better-auth/core/node.js +7 -8
  16. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts +1 -0
  17. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.d.ts +1 -0
  18. package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.js +1 -0
  19. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +20 -3
  20. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +5 -24
  21. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +40 -2
  22. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +19 -1
  23. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js +6 -2
  24. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts +1 -0
  25. package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js +1 -0
  26. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +20 -1
  27. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js +4 -1
  28. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +16 -8
  29. package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts +1 -1
  30. package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts +5 -4
  31. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts +1 -1
  32. package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js +1 -1
  33. package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts +2 -1
  34. package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js +2 -1
  35. package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts +6 -6
  36. package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js +13 -13
  37. package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/{use-required-user-id.ts → use-user-id-or-throw.ts} +1 -1
  38. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +37 -0
  39. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +222 -0
  40. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +37 -0
  41. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +370 -0
  42. package/dist/better-auth/generators/react/better-auth-pages/templates/routes/forgot-password.tsx +1 -4
  43. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +77 -2
  44. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +38 -1
  45. package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts +1 -0
  46. package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js +1 -0
  47. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +38 -1
  48. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +38 -1
  49. package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx +12 -3
  50. package/dist/local-auth/admin/common.js +6 -0
  51. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.d.ts +593 -0
  52. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/admin-crud-invite-user-action.generator.js +119 -0
  53. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.d.ts +602 -0
  54. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/index.js +11 -0
  55. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.d.ts +12 -0
  56. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-paths.js +24 -0
  57. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.d.ts +307 -0
  58. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/template-renderers.js +45 -0
  59. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.d.ts +294 -0
  60. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/generated/typed-templates.js +21 -0
  61. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.d.ts +2 -0
  62. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/index.js +2 -0
  63. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.d.ts +21 -0
  64. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.js +68 -0
  65. package/dist/local-auth/admin/generators/admin-crud-invite-user-action/templates/routes/-components/invite-user-dialog.tsx +122 -0
  66. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +74 -0
  67. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +74 -0
  68. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +37 -0
  69. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +37 -0
  70. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +1 -2
  71. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +1 -1
  72. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +74 -0
  73. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +74 -0
  74. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +37 -0
  75. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +74 -0
  76. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +1 -2
  77. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +1 -1
  78. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +37 -0
  79. package/dist/local-auth/admin/node.js +13 -0
  80. package/dist/local-auth/admin/schema/invite-user-action.d.ts +12 -0
  81. package/dist/local-auth/admin/schema/invite-user-action.js +6 -0
  82. package/dist/local-auth/admin/web.js +8 -0
  83. package/dist/local-auth/core/common.js +7 -2
  84. package/dist/local-auth/core/components/local-auth-definition-editor.js +2 -1
  85. package/dist/local-auth/core/components/local-auth-web-app-settings-form.d.ts +9 -0
  86. package/dist/local-auth/core/components/local-auth-web-app-settings-form.js +11 -0
  87. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +16 -7
  88. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +73 -16
  89. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +222 -7
  90. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +5 -0
  91. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js +5 -0
  92. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +27 -0
  93. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +71 -4
  94. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +1 -3
  95. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js +1 -2
  96. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +226 -10
  97. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +91 -7
  98. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.d.ts +19 -0
  99. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.js +20 -0
  100. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/otp.constants.ts +22 -0
  101. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +12 -0
  102. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js +12 -0
  103. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.ts +14 -0
  104. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.d.ts +2 -0
  105. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.js +30 -0
  106. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-otp.mutations.ts +38 -0
  107. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.d.ts +2 -0
  108. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.js +42 -0
  109. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/invite.mutations.ts +54 -0
  110. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +2 -19
  111. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +1 -22
  112. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.d.ts +37 -0
  113. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.js +225 -0
  114. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-otp.service.ts +333 -0
  115. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -3
  116. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +5 -3
  117. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.d.ts +39 -0
  118. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.js +142 -0
  119. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/invite.service.ts +221 -0
  120. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +5 -6
  121. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +8 -5
  122. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts +3 -1
  123. package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js +18 -3
  124. package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts +40 -0
  125. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts +2 -0
  126. package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js +2 -0
  127. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts +6 -0
  128. package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js +20 -0
  129. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts +40 -0
  130. package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js +24 -0
  131. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.d.ts +3 -0
  132. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.js +18 -0
  133. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/email-otp.email.tsx +57 -0
  134. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.d.ts +3 -0
  135. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.js +14 -0
  136. package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/invite.email.tsx +47 -0
  137. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +272 -1
  138. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +547 -4
  139. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +1 -1
  140. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +1 -1
  141. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +271 -0
  142. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +4 -2
  143. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +2 -1
  144. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +2 -1
  145. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +548 -6
  146. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +15 -14
  147. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +1 -1
  148. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +1 -1
  149. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +7 -0
  150. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +7 -0
  151. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +23 -7
  152. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +7 -26
  153. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +65 -4
  154. package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +1 -1
  155. package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +1 -1
  156. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +22 -1
  157. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +19 -2
  158. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +10 -0
  159. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +7 -0
  160. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +42 -4
  161. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +24 -13
  162. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts +4 -0
  163. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js +1 -1
  164. package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.ts +1 -1
  165. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.d.ts +67 -0
  166. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.js +140 -0
  167. package/dist/local-auth/core/generators/auth-module/templates/module/services/code-verification.service.ts +191 -0
  168. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +8 -9
  169. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +10 -11
  170. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +39 -0
  171. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +38 -5
  172. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +1089 -268
  173. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +3 -0
  174. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +3 -0
  175. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +49 -0
  176. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +51 -0
  177. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts +1 -0
  178. package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js +1 -0
  179. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +918 -283
  180. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +69 -23
  181. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.d.ts +9 -0
  182. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.js +10 -0
  183. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-otp-constants.ts +11 -0
  184. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.d.ts +7 -0
  185. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.js +155 -0
  186. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/accept-invite.tsx +274 -0
  187. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js +1 -2
  188. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.tsx +1 -1
  189. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.d.ts +7 -0
  190. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.js +184 -0
  191. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login-otp.tsx +312 -0
  192. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +5 -5
  193. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +6 -12
  194. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +4 -4
  195. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +4 -3
  196. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js +1 -2
  197. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.tsx +1 -1
  198. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js +1 -2
  199. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.tsx +1 -1
  200. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +90 -7
  201. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +38 -1
  202. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts +1 -0
  203. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js +1 -0
  204. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +102 -12
  205. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +5 -2
  206. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +54 -1
  207. package/dist/local-auth/core/generators/react-session/react-session.generator.js +35 -1
  208. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +17 -44
  209. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +21 -49
  210. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts +43 -34
  211. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js +96 -80
  212. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.ts +148 -82
  213. package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +0 -2
  214. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +0 -1
  215. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +0 -1
  216. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +0 -1
  217. package/dist/local-auth/core/node.js +30 -12
  218. package/dist/local-auth/core/schema/migrations.d.ts +3 -0
  219. package/dist/local-auth/core/schema/migrations.js +36 -0
  220. package/dist/local-auth/core/schema/models.js +8 -0
  221. package/dist/local-auth/core/schema/plugin-definition.d.ts +1 -0
  222. package/dist/local-auth/core/schema/plugin-definition.js +1 -0
  223. package/dist/local-auth/core/schema/web-app-schema.d.ts +15 -0
  224. package/dist/local-auth/core/schema/web-app-schema.js +16 -0
  225. package/dist/local-auth/core/web.js +8 -1
  226. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +4 -3
  227. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +1 -1
  228. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +1 -1
  229. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +2 -1
  230. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +2 -1
  231. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +4 -4
  232. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +13 -13
  233. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +1 -1
  234. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.d.ts +1 -0
  235. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.ts +2 -0
  236. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +1 -2
  237. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts +0 -1
  238. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts +1 -0
  239. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js +1 -0
  240. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts +0 -1
  241. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +0 -1
  242. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ChkXxpXe.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth__mf_owner__1-DUupKqD4.js} +42 -34
  243. package/dist/web/assets/{dist-DY7ZXvq4.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DE4rTqEA.js} +16857 -381
  244. 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-37vlYRxk.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-mszeXpf-.js} +90 -38
  245. 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-DRSNXPPo.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CtIleM_e.js} +4095 -2399
  246. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__mf_owner__1__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-BckLhSjF.js} +212 -57
  247. package/dist/web/assets/auth-DR6QxrAW.js +1 -0
  248. package/dist/web/assets/{common-iHaemino.js → common-BsyRiQi3.js} +6 -6
  249. package/dist/web/assets/{common-TDf_PrjX.js → common-CRwNlCMn.js} +10 -10
  250. package/dist/web/assets/{common-ByxS61u8.js → common-CvqlRZC9.js} +12 -12
  251. package/dist/web/assets/common-D3atSs7O.js +70 -0
  252. package/dist/web/assets/common-DuFyXa6l.js +36 -0
  253. package/dist/web/assets/common-islduJTj.js +43 -0
  254. package/dist/web/assets/{dist-CrLSslv6.js → dist-DQd1TAJX.js} +273 -132
  255. package/dist/web/assets/{get-auth-plugin-definition-kDCtXq_6.js → get-auth-plugin-definition-BgWWHl_Y.js} +3 -3
  256. package/dist/web/assets/{hostInit-Cruek6c6.js → hostInit-DNA4kLRY.js} +32 -5
  257. package/dist/web/assets/{mf-entry-bootstrap-0-dfed0275.js → mf-entry-bootstrap-0-ea77c09b.js} +2 -1
  258. package/dist/web/assets/{mf-entry-bootstrap-1-5275674a.js → mf-entry-bootstrap-1-9dee3d8d.js} +3 -2
  259. package/dist/web/assets/{mf-entry-bootstrap-2-39fb9255.js → mf-entry-bootstrap-2-3179040b.js} +3 -2
  260. package/dist/web/assets/{mf-entry-bootstrap-3-49e64336.js → mf-entry-bootstrap-3-370d200d.js} +3 -2
  261. package/dist/web/assets/{models-DSvs_3bA.js → models-BOeSYfRn.js} +4 -5
  262. package/dist/web/assets/{models-BZmCbizK.js → models-DF6DoXt6.js} +11 -6
  263. package/dist/web/assets/{plugin-definition-CYj29S3q.js → plugin-definition--k0VAeK3.js} +9 -10
  264. package/dist/web/assets/plugin-definition-CMwSlxsJ.js +10 -0
  265. package/dist/web/assets/{styles-yjbHBTlw.js → styles-BQEcQHoR.js} +9 -10
  266. package/dist/web/assets/{virtualExposes-CbPBmicF.js → virtualExposes-C7fDiAmS.js} +1 -1
  267. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BZBRyml2.js +747 -0
  268. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B6BXIeF1.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-6SjVUCs8.js} +13 -13
  269. package/dist/web/assets/web-8wz0ad-V.js +59 -0
  270. package/dist/web/assets/{web-CXAHKjIY.js → web-BGixH_gT.js} +27 -27
  271. package/dist/web/assets/{web-1eTcxMhf.js → web-BxIwkN3O.js} +6 -6
  272. package/dist/web/assets/{web-VqBA3jxZ.js → web-CQMfABjr.js} +24 -24
  273. package/dist/web/assets/{web-CDAKPPK9.js → web-CcNpItSu.js} +22 -22
  274. package/dist/web/assets/web-CypPeiVv.js +148 -0
  275. package/dist/web/assets/{web-D0MSKfyv.js → web-CzK_la2_.js} +53 -53
  276. package/dist/web/index.html +5 -5
  277. package/dist/web/remoteEntry.js +1 -1
  278. package/package.json +14 -14
  279. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts +0 -38
  280. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js +0 -71
  281. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.ts +0 -77
  282. 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-CO5Pvo0y.js +0 -384
  283. package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-BEZ7A-cz.js +0 -13566
  284. package/dist/web/assets/auth-BxAE0rgh.js +0 -1
  285. package/dist/web/assets/common-CKl_XlvH.js +0 -37
  286. package/dist/web/assets/common-UpVCKZeW.js +0 -41
  287. package/dist/web/assets/common-crSwCD36.js +0 -37
  288. package/dist/web/assets/model-utils-C0WDb_Ec.js +0 -1599
  289. package/dist/web/assets/plugin-definition-DOMmPL2Z.js +0 -11
  290. package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js +0 -259
  291. package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js +0 -129
  292. package/dist/web/assets/web-DbeAaDTV.js +0 -118
  293. package/dist/web/assets/web-miDovYk_.js +0 -46
  294. package/dist/web/remoteEntry.ssr.js +0 -43
@@ -1,77 +0,0 @@
1
- // @ts-nocheck
2
-
3
- import * as crypto from 'node:crypto';
4
-
5
- /**
6
- * Cookie signing utilities
7
- * Based on node-cookie-signature by TJ Holowaychuk
8
- * Source: https://github.com/tj/node-cookie-signature
9
- */
10
-
11
- /**
12
- * Sign the given `val` with `secret` using HMAC-SHA256.
13
- *
14
- * @param val - The value to sign.
15
- * @param secret - The secret key to use for signing.
16
- * @returns The signed value.
17
- */
18
- export function sign(val: string, secret: string): string {
19
- return `${val}.${crypto
20
- .createHmac('sha256', secret)
21
- .update(val)
22
- .digest('base64')
23
- // remove all equal signs since they are not valid in cookie values
24
- .replaceAll('=', '')}`;
25
- }
26
-
27
- /**
28
- * Unsign and decode the given `input` with `secret`,
29
- *
30
- * @param input - The signed cookie string to unsign.
31
- * @param secret - The secret key used for signing.
32
- * @returns The unsigned value or undefined if the signature is invalid.
33
- */
34
- export function unsign(input: string, secret: string): string | undefined {
35
- const tentativeValue = input.slice(0, input.lastIndexOf('.'));
36
- const expectedInput = sign(tentativeValue, secret);
37
- const expectedBuffer = Buffer.from(expectedInput);
38
- const inputBuffer = Buffer.from(input);
39
- if (
40
- expectedBuffer.length !== inputBuffer.length ||
41
- !crypto.timingSafeEqual(expectedBuffer, inputBuffer)
42
- ) {
43
- return undefined;
44
- }
45
- return tentativeValue;
46
- }
47
-
48
- /**
49
- * Sign an object by JSON stringifying and base64 encoding it, then signing with secret.
50
- *
51
- * @param obj - The object to sign.
52
- * @param secret - The secret key to use for signing.
53
- * @returns The signed encoded object.
54
- */
55
- export function signObject(obj: unknown, secret: string): string {
56
- const encoded = Buffer.from(JSON.stringify(obj)).toString('base64url');
57
- return sign(encoded, secret);
58
- }
59
-
60
- /**
61
- * Unsign and decode an object that was signed with signObject.
62
- *
63
- * @param input - The signed encoded object string to unsign.
64
- * @param secret - The secret key used for signing.
65
- * @returns The decoded object or undefined if the signature is invalid.
66
- */
67
- export function unsignObject(input: string, secret: string): unknown {
68
- const unsigned = unsign(input, secret);
69
- if (!unsigned) return undefined;
70
-
71
- try {
72
- const decoded = Buffer.from(unsigned, 'base64url').toString('utf8');
73
- return JSON.parse(decoded);
74
- } catch {
75
- return undefined;
76
- }
77
- }
@@ -1,384 +0,0 @@
1
- import { t as __vitePreload } from "./vite-preload-helper-ARKYL6bp.js";
2
- //#region \0virtual: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
3
- var __mfPromiseGlobalKey = "__mf_init__virtual:mf:__mfe_internal__plugin_mf_2_auth__mf_v__runtimeInit__mf_v__.js__";
4
- var __mfPromiseState = globalThis[__mfPromiseGlobalKey];
5
- if (!__mfPromiseState) {
6
- let initResolve, initReject;
7
- const initPromise = new Promise((re, rj) => {
8
- initResolve = re;
9
- initReject = rj;
10
- });
11
- __mfPromiseState = globalThis[__mfPromiseGlobalKey] = {
12
- initPromise,
13
- initResolve,
14
- initReject
15
- };
16
- }
17
- var initPromise = __mfPromiseState.initPromise;
18
- var __mfCacheGlobalKey = "__mf_module_cache__";
19
- globalThis[__mfCacheGlobalKey] ||= {
20
- share: {},
21
- remote: {}
22
- };
23
- globalThis[__mfCacheGlobalKey].share ||= {};
24
- globalThis[__mfCacheGlobalKey].remote ||= {};
25
- var __mfModuleCache = globalThis[__mfCacheGlobalKey];
26
- for (const __mfShareKey of Object.keys(__mfModuleCache.share)) if (__mfShareKey.startsWith("default:")) {
27
- const __mfLegacyShareKey = __mfShareKey.slice(8);
28
- if (__mfModuleCache.share[__mfLegacyShareKey] === void 0) __mfModuleCache.share[__mfLegacyShareKey] = __mfModuleCache.share[__mfShareKey];
29
- } else if (!__mfShareKey.includes(":")) {
30
- const __mfDefaultShareKey = "default:" + __mfShareKey;
31
- if (__mfModuleCache.share[__mfDefaultShareKey] === void 0) __mfModuleCache.share[__mfDefaultShareKey] = __mfModuleCache.share[__mfShareKey];
32
- }
33
- var __mfReadSharedCache = (cache, descriptor) => {
34
- const value = cache[descriptor.canonical];
35
- if (value !== void 0) return value;
36
- const aliases = descriptor.aliases || [];
37
- for (const alias of aliases) {
38
- const aliasValue = cache[alias];
39
- if (aliasValue !== void 0) {
40
- cache[descriptor.canonical] = aliasValue;
41
- return aliasValue;
42
- }
43
- }
44
- };
45
- var __mfWriteSharedCache = (cache, descriptor, value) => {
46
- cache[descriptor.canonical] = value;
47
- const aliases = descriptor.aliases || [];
48
- for (const alias of aliases) if (cache[alias] === void 0) cache[alias] = value;
49
- return value;
50
- };
51
- var __mfNormalizeShareModule = (mod) => {
52
- let current = mod;
53
- for (let i = 0; i < 5; i++) {
54
- const defaultExport = current?.default;
55
- if (!defaultExport || typeof defaultExport !== "object") break;
56
- const namedValues = Object.keys(current).filter((key) => key !== "default").map((key) => current[key]);
57
- if (namedValues.length > 0 && namedValues.some((value) => value !== void 0)) break;
58
- current = defaultExport;
59
- }
60
- return current;
61
- };
62
- var __mf_17;
63
- var __mf_22;
64
- var __mf_26;
65
- var __mf_38;
66
- var __mf_41;
67
- var __mf_55;
68
- var __mf_57;
69
- var __mf_58;
70
- var __mf_59;
71
- var __mf_61;
72
- var __mf_62;
73
- var __mf_88;
74
- var __mf_91;
75
- var __mf_141;
76
- var __mf_142;
77
- var __mf_161;
78
- var __mf_163;
79
- var __mf_167;
80
- var __mf_172;
81
- var __mf_189;
82
- var __mf_232;
83
- var __mf_233;
84
- var __mf_263;
85
- var __mfApplyLazyShareExports = (mod) => {
86
- mod["AVAILABLE_FLAGS"];
87
- mod["AppUtils"];
88
- mod["AuthorizerExpressionParseError"];
89
- mod["AuthorizerExpressionParser"];
90
- mod["BUILT_IN_ADMIN_CRUD_ACTIONS"];
91
- mod["BUILT_IN_ADMIN_CRUD_COLUMNS"];
92
- mod["BUILT_IN_ADMIN_CRUD_INPUTS"];
93
- mod["BUILT_IN_TRANSFORMERS"];
94
- mod["COLOR_PALETTES"];
95
- mod["DEFAULT_APPS_FOLDER"];
96
- mod["DEFAULT_LIBRARIES_FOLDER"];
97
- mod["DefinitionDiffArrayIncludesField"];
98
- mod["DefinitionDiffKeyedArrayField"];
99
- mod["DefinitionDiffReplacementField"];
100
- mod["DefinitionEntityType"];
101
- mod["EnumUtils"];
102
- mod["FIXED_COLOR_MAPPINGS"];
103
- __mf_17 = mod["FeatureUtils"];
104
- mod["LibraryCompiler"];
105
- mod["LibraryUtils"];
106
- mod["ModelFieldUtils"];
107
- mod["ModelTransformerUtils"];
108
- __mf_22 = mod["ModelUtils"];
109
- mod["PALETTE_SHADES"];
110
- mod["PackageCompiler"];
111
- mod["PluginSpecStore"];
112
- __mf_26 = mod["PluginUtils"];
113
- mod["ProjectDefinitionContainer"];
114
- mod["REFERENTIAL_ACTIONS"];
115
- mod["RefExpressionParser"];
116
- mod["SCALAR_FIELD_TYPES"];
117
- mod["SCHEMA_MIGRATIONS"];
118
- mod["SchemaMigrationError"];
119
- mod["THEME_COLORS"];
120
- mod["THEME_COLOR_KEYS"];
121
- mod["VALIDATORS"];
122
- mod["adminCrudActionCompilerSpec"];
123
- mod["adminCrudActionEntityType"];
124
- __mf_38 = mod["adminCrudActionSpec"];
125
- mod["adminCrudColumnCompilerSpec"];
126
- mod["adminCrudColumnEntityType"];
127
- __mf_41 = mod["adminCrudColumnSpec"];
128
- mod["adminCrudEmbeddedFormEntityType"];
129
- mod["adminCrudEmbeddedInputType"];
130
- mod["adminCrudEmbeddedLocalInputType"];
131
- mod["adminCrudInputCompilerSpec"];
132
- mod["adminCrudInputEntityType"];
133
- mod["adminCrudInputSpec"];
134
- mod["adminCrudSectionColumnEntityType"];
135
- mod["adminSectionEntityType"];
136
- mod["appCompilerSpec"];
137
- mod["appEntityType"];
138
- mod["applyDefinitionDiff"];
139
- mod["applyDefinitionFixes"];
140
- mod["applyExpressionRenames"];
141
- __mf_55 = mod["applyMergedDefinition"];
142
- mod["assignEntityIds"];
143
- __mf_57 = mod["authConfigSpec"];
144
- __mf_58 = mod["authModelsSpec"];
145
- __mf_59 = mod["authRoleEntityType"];
146
- mod["backendAppEntryType"];
147
- __mf_61 = mod["baseAdminCrudActionSchema"];
148
- __mf_62 = mod["baseAdminCrudColumnSchema"];
149
- mod["baseAdminCrudInputSchema"];
150
- mod["baseAppSchema"];
151
- mod["baseAppValidators"];
152
- mod["baseLibrarySchema"];
153
- mod["baseLibraryValidators"];
154
- mod["basePluginDefinitionSchema"];
155
- mod["baseTransformerFields"];
156
- mod["baseTransformerSchema"];
157
- mod["buildEnabledPluginFqnSet"];
158
- mod["buildModelExpressionContext"];
159
- mod["buildPackageName"];
160
- mod["checkUniqueField"];
161
- mod["checkUniqueFieldValue"];
162
- mod["cleanDefaultValues"];
163
- mod["collectDefinitionIssues"];
164
- mod["collectEntityArrays"];
165
- mod["collectEntityMetadata"];
166
- mod["collectExpressionIssues"];
167
- mod["collectFieldIssues"];
168
- mod["convertColorNameToOklch"];
169
- mod["convertHexToOklch"];
170
- mod["convertOklchToColorName"];
171
- mod["convertOklchToHex"];
172
- mod["createAdminAppSchema"];
173
- mod["createAdminCrudActionSchema"];
174
- __mf_88 = mod["createAdminCrudActionType"];
175
- mod["createAdminCrudColumnCompiler"];
176
- mod["createAdminCrudColumnSchema"];
177
- __mf_91 = mod["createAdminCrudColumnType"];
178
- mod["createAdminCrudDeleteActionSchema"];
179
- mod["createAdminCrudEditActionSchema"];
180
- mod["createAdminCrudEmbeddedFormSchema"];
181
- mod["createAdminCrudEmbeddedInputSchema"];
182
- mod["createAdminCrudEmbeddedLocalInputSchema"];
183
- mod["createAdminCrudEnumInputSchema"];
184
- mod["createAdminCrudForeignColumnSchema"];
185
- mod["createAdminCrudForeignInputSchema"];
186
- mod["createAdminCrudInputSchema"];
187
- mod["createAdminCrudInputType"];
188
- mod["createAdminCrudPasswordInputSchema"];
189
- mod["createAdminCrudSectionSchema"];
190
- mod["createAdminCrudTextColumnSchema"];
191
- mod["createAdminCrudTextInputSchema"];
192
- mod["createAppCompiler"];
193
- mod["createAppEntryType"];
194
- mod["createAppSchema"];
195
- mod["createAuthorizerRoleSchema"];
196
- mod["createBackendAppSchema"];
197
- mod["createBaseAdminSectionValidators"];
198
- mod["createDefinitionDiff"];
199
- mod["createDefinitionDiffConfig"];
200
- mod["createDefinitionEntityNameResolver"];
201
- mod["createDefinitionSchemaParserContext"];
202
- mod["createEmbeddedRelationTransformerSchema"];
203
- mod["createEntity"];
204
- mod["createEntityIssue"];
205
- mod["createEntityType"];
206
- mod["createEnumBaseSchema"];
207
- mod["createEnumSchema"];
208
- mod["createEnumValueSchema"];
209
- mod["createExpressionParserRef"];
210
- mod["createFeatureSchema"];
211
- mod["createFeaturesSchema"];
212
- mod["createFieldMapSpec"];
213
- mod["createIssueFixSetter"];
214
- mod["createLibraryWebConfig"];
215
- mod["createModelAuthorizerSchema"];
216
- mod["createModelBaseSchema"];
217
- mod["createModelGraphqlSchema"];
218
- mod["createModelIndexSchema"];
219
- mod["createModelRelationFieldSchema"];
220
- mod["createModelScalarFieldSchema"];
221
- mod["createModelSchema"];
222
- mod["createModelServiceSchema"];
223
- mod["createModelTransformerType"];
224
- mod["createModelUniqueConstraintSchema"];
225
- mod["createPluginFieldMap"];
226
- mod["createPluginImplementationStoreWithNewPlugins"];
227
- __mf_141 = mod["createPluginModelSyncChecker"];
228
- __mf_142 = mod["createPluginModule"];
229
- mod["createPluginSpec"];
230
- mod["createPluginSpecStore"];
231
- mod["createPluginWithConfigSchema"];
232
- mod["createPluginsSchema"];
233
- mod["createProjectDefinitionSchema"];
234
- mod["createProjectDefinitionSchemaWithContext"];
235
- mod["createRefContextSlot"];
236
- mod["createRefContextSlotMap"];
237
- mod["createRefSchemaCollector"];
238
- mod["createRefSchemaVisitor"];
239
- mod["createSettingsSchema"];
240
- mod["createTemplateExtractorSchema"];
241
- mod["createThemeSchema"];
242
- mod["createTransformerSchema"];
243
- mod["createWebAdminSectionSchema"];
244
- mod["createWebAppSchema"];
245
- mod["definitionFieldIssueRegistry"];
246
- mod["definitionFixRegistry"];
247
- __mf_161 = mod["definitionIssueCheckerSpec"];
248
- mod["definitionRefRegistry"];
249
- __mf_163 = mod["definitionSchema"];
250
- mod["definitionSchemaWithSlots"];
251
- mod["deleteEntity"];
252
- mod["deserializeSchemaWithTransformedReferences"];
253
- __mf_167 = mod["diffDefinition"];
254
- mod["diffSerializedDefinitions"];
255
- mod["expressionParserCoreModule"];
256
- mod["expressionParserSpec"];
257
- mod["extractDefinitionRefs"];
258
- __mf_172 = mod["featureEntityType"];
259
- mod["featureNameSchema"];
260
- mod["findDiscriminatedUnionMatch"];
261
- mod["findOrphanedUnionItems"];
262
- mod["fixDefinitionRefs"];
263
- mod["fixRefDeletions"];
264
- mod["formatOklch"];
265
- mod["generalSettingsSchema"];
266
- mod["generateCssBlockFromThemeColors"];
267
- mod["generateCssFromThemeConfig"];
268
- mod["generateDefaultTheme"];
269
- mod["generateThemeColorsFromShade"];
270
- mod["getBackendRelativePath"];
271
- mod["getDefaultThemeColorFromShade"];
272
- mod["getEntity"];
273
- mod["getEntityName"];
274
- mod["getLatestMigrationVersion"];
275
- __mf_189 = mod["getManagedPluginsForPlugin"];
276
- mod["getMergeRule"];
277
- mod["getPackageDirectory"];
278
- mod["getPluginContext"];
279
- mod["getPluginDependencies"];
280
- mod["getPluginMetadataByKey"];
281
- mod["getPluginMetadataByKeyOrThrow"];
282
- mod["getUnmetPluginDependencies"];
283
- mod["getWebAppPluginData"];
284
- mod["infrastructureSettingsSchema"];
285
- mod["initializePlugins"];
286
- mod["isMigrateableProjectDefinition"];
287
- mod["libraryEntityType"];
288
- mod["libraryTypeSpec"];
289
- mod["listEntities"];
290
- mod["mergeDataWithSchema"];
291
- mod["mergeDefinition"];
292
- mod["mergeDefinitionContainer"];
293
- mod["modelAuthorizerRoleEntityType"];
294
- mod["modelEntityType"];
295
- mod["modelEnumEntityType"];
296
- mod["modelEnumValueEntityType"];
297
- mod["modelForeignRelationEntityType"];
298
- mod["modelIndexEntityType"];
299
- mod["modelLocalRelationEntityType"];
300
- mod["modelScalarFieldEntityType"];
301
- mod["modelTransformerCompilerSpec"];
302
- mod["modelTransformerEntityType"];
303
- mod["modelTransformerSpec"];
304
- mod["modelUniqueConstraintEntityType"];
305
- mod["monorepoSettingsSchema"];
306
- mod["nodeLibraryDefinitionSchemaEntry"];
307
- mod["normalizeOklch"];
308
- mod["oklchColor"];
309
- mod["paletteSchema"];
310
- mod["palettesSchema"];
311
- mod["parseAuthorizerExpression"];
312
- mod["parseOklch"];
313
- mod["parseProjectDefinitionWithContext"];
314
- mod["parseProjectDefinitionWithReferences"];
315
- mod["partitionIssuesBySeverity"];
316
- mod["patchEntity"];
317
- mod["pluginAppCompiler"];
318
- __mf_232 = mod["pluginConfigSpec"];
319
- __mf_233 = mod["pluginDefaultsSpec"];
320
- mod["pluginDependencySchema"];
321
- mod["pluginEntityType"];
322
- mod["pluginMetadataSchema"];
323
- mod["pluginSpecDependencySchema"];
324
- mod["pluginSpecSupportSchema"];
325
- mod["previewIssueFix"];
326
- mod["reactLibraryDefinitionSchemaEntry"];
327
- mod["resolveIssuePath"];
328
- mod["rootCompilerSpec"];
329
- mod["runInPluginContext"];
330
- mod["runPluginMigrations"];
331
- mod["runSchemaMigrations"];
332
- mod["serializeSchema"];
333
- mod["serializeSchemaFromRefPayload"];
334
- mod["sortEntityArrays"];
335
- mod["stripEmptyGeneratorChildren"];
336
- mod["stripUndefinedValues"];
337
- mod["themeColorSchema"];
338
- mod["transformDataWithSchema"];
339
- mod["undefinedIfEmpty"];
340
- mod["undefinedIfFalsy"];
341
- mod["updateEntity"];
342
- mod["validateAuthorizerExpression"];
343
- mod["validatePluginDependencyGraph"];
344
- mod["visitAuthorizerExpression"];
345
- mod["walkDataWithSchema"];
346
- mod["walkSchemaStructure"];
347
- mod["webAppEntryType"];
348
- mod["webAppSchemaExtensionSpec"];
349
- __mf_263 = mod["webConfigSpec"];
350
- mod["withByKeyMergeRule"];
351
- mod["withDefault"];
352
- mod["withEnt"];
353
- mod["withFix"];
354
- mod["withIssueChecker"];
355
- mod["withMergeRule"];
356
- mod["withPlaceholderSlots"];
357
- mod["withRef"];
358
- mod.default;
359
- };
360
- var exportModule = __mfReadSharedCache(__mfModuleCache.share, {
361
- "canonical": "default:@baseplate-dev/project-builder-lib",
362
- "aliases": ["@baseplate-dev/project-builder-lib"]
363
- });
364
- if (exportModule === void 0) (__mfModuleCache.pendingShareLoads ||= []).push(initPromise.then(() => {
365
- exportModule = __mfReadSharedCache(__mfModuleCache.share, {
366
- "canonical": "default:@baseplate-dev/project-builder-lib",
367
- "aliases": ["@baseplate-dev/project-builder-lib"]
368
- });
369
- if (exportModule !== void 0) {
370
- __mfApplyLazyShareExports(exportModule);
371
- return;
372
- }
373
- return __vitePreload(() => import("./dist-DY7ZXvq4.js").then((mod) => {
374
- exportModule = __mfNormalizeShareModule(mod);
375
- __mfWriteSharedCache(__mfModuleCache.share, {
376
- "canonical": "default:@baseplate-dev/project-builder-lib",
377
- "aliases": ["@baseplate-dev/project-builder-lib"]
378
- }, exportModule);
379
- __mfApplyLazyShareExports(exportModule);
380
- }), [], import.meta.url);
381
- }));
382
- else __mfApplyLazyShareExports(exportModule);
383
- //#endregion
384
- export { __mf_91 as C, __mf_88 as S, __mf_57 as _, __mf_167 as a, __mf_61 as b, __mf_189 as c, __mf_233 as d, __mf_26 as f, __mf_55 as g, __mf_41 as h, __mf_163 as i, __mf_22 as l, __mf_38 as m, __mf_142 as n, __mf_17 as o, __mf_263 as p, __mf_161 as r, __mf_172 as s, __mf_141 as t, __mf_232 as u, __mf_58 as v, __mf_62 as x, __mf_59 as y };