@baseplate-dev/plugin-auth 1.0.5 → 2.0.0

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 (763) hide show
  1. package/dist/auth/core/common.d.ts.map +1 -1
  2. package/dist/auth/core/common.js +3 -7
  3. package/dist/auth/core/common.js.map +1 -1
  4. package/dist/auth/core/components/auth-definition-editor.d.ts.map +1 -1
  5. package/dist/auth/core/components/auth-definition-editor.js +44 -30
  6. package/dist/auth/core/components/auth-definition-editor.js.map +1 -1
  7. package/dist/{common/roles → auth/core}/components/role-editor-form/role-dialog.d.ts +1 -1
  8. package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +1 -0
  9. package/dist/{common/roles → auth/core}/components/role-editor-form/role-dialog.js +1 -1
  10. package/dist/auth/core/components/role-editor-form/role-dialog.js.map +1 -0
  11. package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts +10 -0
  12. package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts.map +1 -0
  13. package/dist/{common/roles → auth/core}/components/role-editor-form/role-editor-form.js +6 -3
  14. package/dist/auth/core/components/role-editor-form/role-editor-form.js.map +1 -0
  15. package/dist/auth/core/node.d.ts.map +1 -1
  16. package/dist/auth/core/node.js +24 -43
  17. package/dist/auth/core/node.js.map +1 -1
  18. package/dist/auth/core/schema/plugin-definition.d.ts +3 -28
  19. package/dist/auth/core/schema/plugin-definition.d.ts.map +1 -1
  20. package/dist/auth/core/schema/plugin-definition.js +5 -20
  21. package/dist/auth/core/schema/plugin-definition.js.map +1 -1
  22. package/dist/auth/core/schema/roles/constants.d.ts.map +1 -0
  23. package/dist/auth/core/schema/roles/constants.js.map +1 -0
  24. package/dist/auth/core/schema/roles/index.d.ts +3 -0
  25. package/dist/auth/core/schema/roles/index.d.ts.map +1 -0
  26. package/dist/auth/core/schema/roles/index.js +3 -0
  27. package/dist/auth/core/schema/roles/index.js.map +1 -0
  28. package/dist/auth/core/schema/roles/schema.d.ts.map +1 -0
  29. package/dist/auth/core/schema/roles/schema.js.map +1 -0
  30. package/dist/auth/core/web.js +2 -2
  31. package/dist/auth/core/web.js.map +1 -1
  32. package/dist/auth/index.d.ts +1 -1
  33. package/dist/auth/index.d.ts.map +1 -1
  34. package/dist/auth/index.js +1 -1
  35. package/dist/auth/index.js.map +1 -1
  36. package/dist/auth/plugin.json +8 -0
  37. package/dist/auth/utils/get-auth-plugin-definition.d.ts +9 -0
  38. package/dist/auth/utils/get-auth-plugin-definition.d.ts.map +1 -0
  39. package/dist/auth/utils/get-auth-plugin-definition.js +10 -0
  40. package/dist/auth/utils/get-auth-plugin-definition.js.map +1 -0
  41. package/dist/auth/utils/index.d.ts +2 -0
  42. package/dist/auth/utils/index.d.ts.map +1 -0
  43. package/dist/auth/utils/index.js +2 -0
  44. package/dist/auth/utils/index.js.map +1 -0
  45. package/dist/auth0/core/common.d.ts +2 -1
  46. package/dist/auth0/core/common.d.ts.map +1 -1
  47. package/dist/auth0/core/common.js +7 -11
  48. package/dist/auth0/core/common.js.map +1 -1
  49. package/dist/auth0/core/components/auth0-definition-editor.d.ts +5 -0
  50. package/dist/auth0/core/components/auth0-definition-editor.d.ts.map +1 -0
  51. package/dist/auth0/core/components/auth0-definition-editor.js +54 -0
  52. package/dist/auth0/core/components/auth0-definition-editor.js.map +1 -0
  53. package/dist/auth0/core/node.d.ts.map +1 -1
  54. package/dist/auth0/core/node.js +23 -30
  55. package/dist/auth0/core/node.js.map +1 -1
  56. package/dist/auth0/core/schema/models.d.ts +2 -1
  57. package/dist/auth0/core/schema/models.d.ts.map +1 -1
  58. package/dist/auth0/core/schema/models.js +1 -1
  59. package/dist/auth0/core/schema/models.js.map +1 -1
  60. package/dist/auth0/core/schema/plugin-definition.d.ts +0 -61
  61. package/dist/auth0/core/schema/plugin-definition.d.ts.map +1 -1
  62. package/dist/auth0/core/schema/plugin-definition.js +1 -7
  63. package/dist/auth0/core/schema/plugin-definition.js.map +1 -1
  64. package/dist/auth0/core/web.js +3 -3
  65. package/dist/auth0/core/web.js.map +1 -1
  66. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +3 -0
  67. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
  68. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +6 -0
  69. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -1
  70. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +3 -0
  71. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
  72. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +3 -0
  73. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -1
  74. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +4 -0
  75. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
  76. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +7 -1
  77. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
  78. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +6 -1
  79. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
  80. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +3 -0
  81. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -1
  82. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +1 -0
  83. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -1
  84. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +6 -2
  85. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
  86. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +6 -2
  87. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
  88. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-session.ts +14 -1
  89. package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +2 -0
  90. package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +1 -1
  91. package/dist/auth0/{metadata.json → plugin.json} +2 -1
  92. package/dist/common/components/auth-config-tabs.d.ts +2 -0
  93. package/dist/common/components/auth-config-tabs.d.ts.map +1 -0
  94. package/dist/common/components/auth-config-tabs.js +21 -0
  95. package/dist/common/components/auth-config-tabs.js.map +1 -0
  96. package/dist/index.d.ts +1 -1
  97. package/dist/index.js +1 -1
  98. package/dist/index.js.map +1 -1
  99. package/dist/local-auth/core/common.d.ts +8 -0
  100. package/dist/local-auth/core/common.d.ts.map +1 -0
  101. package/dist/local-auth/core/common.js +22 -0
  102. package/dist/local-auth/core/common.js.map +1 -0
  103. package/dist/local-auth/core/components/local-auth-definition-editor.d.ts +5 -0
  104. package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +1 -0
  105. package/dist/local-auth/core/components/local-auth-definition-editor.js +62 -0
  106. package/dist/local-auth/core/components/local-auth-definition-editor.js.map +1 -0
  107. package/dist/{auth → local-auth}/core/generators/auth-apollo/auth-apollo.generator.d.ts +1 -15
  108. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +1 -0
  109. package/dist/{auth → local-auth}/core/generators/auth-apollo/auth-apollo.generator.js +2 -6
  110. package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js.map +1 -0
  111. package/dist/local-auth/core/generators/auth-apollo/index.d.ts.map +1 -0
  112. package/dist/local-auth/core/generators/auth-apollo/index.js.map +1 -0
  113. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +1 -0
  114. package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js.map +1 -0
  115. package/dist/{auth → local-auth}/core/generators/auth-email-password/auth-email-password.generator.d.ts +7 -6
  116. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -0
  117. package/dist/{auth → local-auth}/core/generators/auth-email-password/auth-email-password.generator.js +2 -2
  118. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -0
  119. package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/index.d.ts +8 -7
  120. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -0
  121. package/dist/local-auth/core/generators/auth-email-password/generated/index.js +11 -0
  122. package/dist/local-auth/core/generators/auth-email-password/generated/index.js.map +1 -0
  123. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts +14 -0
  124. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +1 -0
  125. package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/template-paths.js +7 -7
  126. package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +1 -0
  127. package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/template-renderers.d.ts +7 -7
  128. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -0
  129. package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/template-renderers.js +12 -12
  130. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -0
  131. package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/ts-import-providers.d.ts +5 -2
  132. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +1 -0
  133. package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/ts-import-providers.js +7 -5
  134. package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +1 -0
  135. package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/typed-templates.d.ts +1 -1
  136. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -0
  137. package/dist/{auth → local-auth}/core/generators/auth-email-password/generated/typed-templates.js +3 -2
  138. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -0
  139. package/dist/local-auth/core/generators/auth-email-password/index.d.ts.map +1 -0
  140. package/dist/local-auth/core/generators/auth-email-password/index.js.map +1 -0
  141. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +1 -0
  142. package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +1 -0
  143. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +1 -0
  144. package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +2 -2
  145. package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -0
  146. package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +2 -2
  147. package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +9 -1
  148. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -0
  149. package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/services/user-password.service.js +6 -2
  150. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -0
  151. package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/services/user-password.service.ts +17 -4
  152. package/dist/{auth → local-auth}/core/generators/auth-hooks/auth-hooks.generator.d.ts +12 -20
  153. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -0
  154. package/dist/{auth → local-auth}/core/generators/auth-hooks/auth-hooks.generator.js +2 -2
  155. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -0
  156. package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/index.d.ts +17 -54
  157. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -0
  158. package/dist/local-auth/core/generators/auth-hooks/generated/index.js +11 -0
  159. package/dist/local-auth/core/generators/auth-hooks/generated/index.js.map +1 -0
  160. package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/template-paths.d.ts +4 -4
  161. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -0
  162. package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/template-paths.js +9 -7
  163. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -0
  164. package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/template-renderers.d.ts +9 -23
  165. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -0
  166. package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/template-renderers.js +15 -13
  167. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -0
  168. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +31 -0
  169. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -0
  170. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +38 -0
  171. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -0
  172. package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/typed-templates.d.ts +7 -65
  173. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -0
  174. package/dist/{auth → local-auth}/core/generators/auth-hooks/generated/typed-templates.js +14 -4
  175. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -0
  176. package/dist/local-auth/core/generators/auth-hooks/index.d.ts +4 -0
  177. package/dist/local-auth/core/generators/auth-hooks/index.d.ts.map +1 -0
  178. package/dist/local-auth/core/generators/auth-hooks/index.js +3 -0
  179. package/dist/local-auth/core/generators/auth-hooks/index.js.map +1 -0
  180. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +1 -0
  181. package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +4 -4
  182. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +1 -0
  183. package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +4 -4
  184. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -0
  185. package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +3 -7
  186. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -0
  187. package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +3 -7
  188. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +15 -0
  189. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -0
  190. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +16 -0
  191. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -0
  192. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +32 -0
  193. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +1 -0
  194. package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js +1 -1
  195. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -0
  196. package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +1 -1
  197. package/dist/{auth → local-auth}/core/generators/auth-module/auth-module.generator.d.ts +12 -6
  198. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -0
  199. package/dist/{auth → local-auth}/core/generators/auth-module/auth-module.generator.js +3 -3
  200. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -0
  201. package/dist/{auth → local-auth}/core/generators/auth-module/generated/index.d.ts +38 -8
  202. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -0
  203. package/dist/local-auth/core/generators/auth-module/generated/index.js +11 -0
  204. package/dist/local-auth/core/generators/auth-module/generated/index.js.map +1 -0
  205. package/dist/{auth → local-auth}/core/generators/auth-module/generated/template-paths.d.ts +5 -4
  206. package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +1 -0
  207. package/dist/{auth → local-auth}/core/generators/auth-module/generated/template-paths.js +10 -7
  208. package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +1 -0
  209. package/dist/{auth → local-auth}/core/generators/auth-module/generated/template-renderers.d.ts +16 -10
  210. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -0
  211. package/dist/{auth → local-auth}/core/generators/auth-module/generated/template-renderers.js +19 -16
  212. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -0
  213. package/dist/{auth → local-auth}/core/generators/auth-module/generated/ts-import-providers.d.ts +2 -2
  214. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +1 -0
  215. package/dist/{auth → local-auth}/core/generators/auth-module/generated/ts-import-providers.js +5 -5
  216. package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +1 -0
  217. package/dist/{auth → local-auth}/core/generators/auth-module/generated/typed-templates.d.ts +45 -3
  218. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -0
  219. package/dist/{auth → local-auth}/core/generators/auth-module/generated/typed-templates.js +19 -2
  220. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -0
  221. package/dist/local-auth/core/generators/auth-module/index.d.ts.map +1 -0
  222. package/dist/local-auth/core/generators/auth-module/index.js.map +1 -0
  223. package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +1 -0
  224. package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +1 -0
  225. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts +8 -0
  226. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts.map +1 -0
  227. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js +16 -0
  228. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js.map +1 -0
  229. package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.ts +21 -0
  230. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +1 -0
  231. package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js +2 -0
  232. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +1 -0
  233. package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.ts +2 -0
  234. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +1 -0
  235. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +1 -0
  236. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +1 -0
  237. package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.queries.js +1 -0
  238. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -0
  239. package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.queries.ts +1 -0
  240. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +1 -0
  241. package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/services/user-session.service.js +11 -1
  242. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +1 -0
  243. package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/services/user-session.service.ts +13 -1
  244. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +1 -0
  245. package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +1 -0
  246. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +1 -0
  247. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +1 -0
  248. package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +1 -0
  249. package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +1 -0
  250. package/dist/{auth → local-auth}/core/generators/auth-routes/auth-routes.generator.d.ts +1 -15
  251. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -0
  252. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -0
  253. package/dist/{auth → local-auth}/core/generators/auth-routes/generated/index.d.ts +3 -45
  254. package/dist/{auth → local-auth}/core/generators/auth-routes/generated/index.d.ts.map +1 -1
  255. package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +1 -0
  256. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -0
  257. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -0
  258. package/dist/{auth → local-auth}/core/generators/auth-routes/generated/template-renderers.d.ts +1 -15
  259. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -0
  260. package/dist/{auth → local-auth}/core/generators/auth-routes/generated/template-renderers.js +1 -1
  261. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -0
  262. package/dist/{auth → local-auth}/core/generators/auth-routes/generated/typed-templates.d.ts +4 -60
  263. package/dist/{auth → local-auth}/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
  264. package/dist/{auth → local-auth}/core/generators/auth-routes/generated/typed-templates.js +1 -1
  265. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -0
  266. package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +1 -0
  267. package/dist/local-auth/core/generators/auth-routes/index.js.map +1 -0
  268. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +15 -0
  269. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +1 -0
  270. package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/login.js +2 -3
  271. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -0
  272. package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/login.tsx +2 -3
  273. package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/queries.gql +2 -0
  274. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +15 -0
  275. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +1 -0
  276. package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/register.js +2 -3
  277. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -0
  278. package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/register.tsx +2 -3
  279. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts +2 -0
  280. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +1 -0
  281. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +1 -0
  282. package/dist/{auth → local-auth}/core/generators/index.d.ts +1 -0
  283. package/dist/local-auth/core/generators/index.d.ts.map +1 -0
  284. package/dist/{auth → local-auth}/core/generators/index.js +1 -0
  285. package/dist/local-auth/core/generators/index.js.map +1 -0
  286. package/dist/local-auth/core/generators/react-auth/index.d.ts.map +1 -0
  287. package/dist/local-auth/core/generators/react-auth/index.js.map +1 -0
  288. package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts.map +1 -0
  289. package/dist/{auth → local-auth}/core/generators/react-auth/react-auth.generator.js +1 -1
  290. package/dist/local-auth/core/generators/react-auth/react-auth.generator.js.map +1 -0
  291. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +345 -0
  292. package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -0
  293. package/dist/local-auth/core/generators/react-session/generated/index.js +11 -0
  294. package/dist/{auth/core/generators/auth-email-password → local-auth/core/generators/react-session}/generated/index.js.map +1 -1
  295. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +14 -0
  296. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -0
  297. package/dist/local-auth/core/generators/react-session/generated/template-paths.js +26 -0
  298. package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -0
  299. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +173 -0
  300. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -0
  301. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +58 -0
  302. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -0
  303. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts +22 -0
  304. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +1 -0
  305. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js +30 -0
  306. package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +1 -0
  307. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +324 -0
  308. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -0
  309. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +46 -0
  310. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -0
  311. package/dist/local-auth/core/generators/react-session/index.d.ts.map +1 -0
  312. package/dist/local-auth/core/generators/react-session/index.js.map +1 -0
  313. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +189 -0
  314. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -0
  315. package/dist/{auth → local-auth}/core/generators/react-session/react-session.generator.js +6 -11
  316. package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -0
  317. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -0
  318. package/dist/{auth/core/generators/react-session/templates/src/app/user-session-check.gql → local-auth/core/generators/react-session/templates/src/app/user-session-provider.gql} +1 -0
  319. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +48 -0
  320. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -0
  321. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +73 -0
  322. package/dist/{auth → local-auth}/core/generators/react-session/templates/src/services/user-session-client.d.ts +10 -31
  323. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +1 -0
  324. package/dist/{auth → local-auth}/core/generators/react-session/templates/src/services/user-session-client.js +9 -25
  325. package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js.map +1 -0
  326. package/dist/{auth → local-auth}/core/generators/react-session/templates/src/services/user-session-client.ts +15 -52
  327. package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +75 -0
  328. package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +1 -0
  329. package/dist/local-auth/core/generators/seed-initial-user/generated/index.js +11 -0
  330. package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +1 -0
  331. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts +12 -0
  332. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts.map +1 -0
  333. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js +24 -0
  334. package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js.map +1 -0
  335. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +38 -0
  336. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +1 -0
  337. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js +44 -0
  338. package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +1 -0
  339. package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts +19 -0
  340. package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts.map +1 -0
  341. package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js +26 -0
  342. package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js.map +1 -0
  343. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +27 -0
  344. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +1 -0
  345. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js +20 -0
  346. package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +1 -0
  347. package/dist/local-auth/core/generators/seed-initial-user/index.d.ts +4 -0
  348. package/dist/local-auth/core/generators/seed-initial-user/index.d.ts.map +1 -0
  349. package/dist/local-auth/core/generators/seed-initial-user/index.js +3 -0
  350. package/dist/local-auth/core/generators/seed-initial-user/index.js.map +1 -0
  351. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +46 -0
  352. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +1 -0
  353. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +57 -0
  354. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +1 -0
  355. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts +3 -0
  356. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +1 -0
  357. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js +32 -0
  358. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js.map +1 -0
  359. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +43 -0
  360. package/dist/local-auth/core/index.d.ts.map +1 -0
  361. package/dist/local-auth/core/index.js.map +1 -0
  362. package/dist/local-auth/core/node.d.ts +5 -0
  363. package/dist/local-auth/core/node.d.ts.map +1 -0
  364. package/dist/local-auth/core/node.js +59 -0
  365. package/dist/local-auth/core/node.js.map +1 -0
  366. package/dist/local-auth/core/schema/models.d.ts +10 -0
  367. package/dist/local-auth/core/schema/models.d.ts.map +1 -0
  368. package/dist/{auth → local-auth}/core/schema/models.js +1 -1
  369. package/dist/local-auth/core/schema/models.js.map +1 -0
  370. package/dist/local-auth/core/schema/plugin-definition.d.ts +40 -0
  371. package/dist/local-auth/core/schema/plugin-definition.d.ts.map +1 -0
  372. package/dist/local-auth/core/schema/plugin-definition.js +27 -0
  373. package/dist/local-auth/core/schema/plugin-definition.js.map +1 -0
  374. package/dist/local-auth/core/web.d.ts +6 -0
  375. package/dist/local-auth/core/web.d.ts.map +1 -0
  376. package/dist/local-auth/core/web.js +14 -0
  377. package/dist/local-auth/core/web.js.map +1 -0
  378. package/dist/local-auth/index.d.ts +2 -0
  379. package/dist/local-auth/index.d.ts.map +1 -0
  380. package/dist/local-auth/index.js +2 -0
  381. package/dist/local-auth/index.js.map +1 -0
  382. package/dist/{auth/metadata.json → local-auth/plugin.json} +4 -3
  383. package/dist/local-auth/static/icon.svg +1 -0
  384. package/dist/placeholder-auth/core/common.d.ts +1 -1
  385. package/dist/placeholder-auth/core/common.d.ts.map +1 -1
  386. package/dist/placeholder-auth/core/common.js +6 -10
  387. package/dist/placeholder-auth/core/common.js.map +1 -1
  388. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts.map +1 -1
  389. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js +12 -16
  390. package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js.map +1 -1
  391. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +3 -0
  392. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
  393. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +3 -0
  394. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  395. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +1 -0
  396. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +1 -1
  397. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
  398. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +5 -1
  399. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
  400. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +3 -0
  401. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +1 -1
  402. package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts +2 -0
  403. package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts.map +1 -1
  404. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +4 -0
  405. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts.map +1 -1
  406. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts +2 -0
  407. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +1 -1
  408. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts +2 -0
  409. package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts.map +1 -1
  410. package/dist/placeholder-auth/core/node.d.ts.map +1 -1
  411. package/dist/placeholder-auth/core/node.js +11 -22
  412. package/dist/placeholder-auth/core/node.js.map +1 -1
  413. package/dist/placeholder-auth/core/schema/models.d.ts +2 -1
  414. package/dist/placeholder-auth/core/schema/models.d.ts.map +1 -1
  415. package/dist/placeholder-auth/core/schema/models.js +1 -1
  416. package/dist/placeholder-auth/core/schema/models.js.map +1 -1
  417. package/dist/placeholder-auth/core/schema/plugin-definition.d.ts +0 -61
  418. package/dist/placeholder-auth/core/schema/plugin-definition.d.ts.map +1 -1
  419. package/dist/placeholder-auth/core/schema/plugin-definition.js +1 -7
  420. package/dist/placeholder-auth/core/schema/plugin-definition.js.map +1 -1
  421. package/dist/placeholder-auth/core/web.js +2 -2
  422. package/dist/placeholder-auth/core/web.js.map +1 -1
  423. package/dist/placeholder-auth/{metadata.json → plugin.json} +2 -1
  424. package/dist/web/assets/__federation_expose_auth0CoreCommon-lV5QSzvf.js +49 -0
  425. package/dist/web/assets/__federation_expose_auth0CoreCommon-lV5QSzvf.js.map +1 -0
  426. package/dist/web/assets/{__federation_expose_auth0CoreWeb-VnxlQY01.js → __federation_expose_auth0CoreWeb-5F0rTNis.js} +51 -78
  427. package/dist/web/assets/__federation_expose_auth0CoreWeb-5F0rTNis.js.map +1 -0
  428. package/dist/web/assets/__federation_expose_authCoreCommon-C5cVmNCH.js +29 -0
  429. package/dist/web/assets/__federation_expose_authCoreCommon-C5cVmNCH.js.map +1 -0
  430. package/dist/web/assets/__federation_expose_authCoreWeb-CJxY8hZC.js +439 -0
  431. package/dist/web/assets/__federation_expose_authCoreWeb-CJxY8hZC.js.map +1 -0
  432. package/dist/web/assets/__federation_expose_local-authCoreCommon-Dr_ngV2l.js +32 -0
  433. package/dist/web/assets/__federation_expose_local-authCoreCommon-Dr_ngV2l.js.map +1 -0
  434. package/dist/web/assets/{__federation_expose_authCoreWeb-CGWfg0Fb.js → __federation_expose_local-authCoreWeb-B5iBudnh.js} +109 -108
  435. package/dist/web/assets/__federation_expose_local-authCoreWeb-B5iBudnh.js.map +1 -0
  436. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-l8knzO7I.js +32 -0
  437. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-l8knzO7I.js.map +1 -0
  438. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-BunerD5g.js → __federation_expose_placeholder-authCoreWeb-DbI_bZsk.js} +50 -74
  439. package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-DbI_bZsk.js.map +1 -0
  440. package/dist/web/assets/{__federation_fn_import-BDimcZUI.js → __federation_fn_import-DReOsou_.js} +2 -2
  441. package/dist/web/assets/{__federation_fn_import-BDimcZUI.js.map → __federation_fn_import-DReOsou_.js.map} +1 -1
  442. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-oq9zm9eN.js → web-BlPKO2K7.js} +7 -5
  443. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-oq9zm9eN.js.map → web-BlPKO2K7.js.map} +1 -1
  444. package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-DqkNAXn3.js → project-builder-lib-CGEZr0YI.js} +470 -814
  445. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CGEZr0YI.js.map +1 -0
  446. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-BxXhpJ04.js → ui-components-RO_rk4f0.js} +2162 -1954
  447. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-RO_rk4f0.js.map +1 -0
  448. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-BbU_EX7_.js +1544 -0
  449. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-BbU_EX7_.js.map +1 -0
  450. package/dist/web/assets/__federation_shared_@tanstack/react-router-CNTPQj7N.js +6138 -0
  451. package/dist/web/assets/__federation_shared_@tanstack/react-router-CNTPQj7N.js.map +1 -0
  452. package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js +8 -0
  453. package/dist/web/assets/{__federation_shared_react-uocnGSER.js.map → __federation_shared_react-CJ2OfFKA.js.map} +1 -1
  454. package/dist/web/assets/{__federation_shared_react-dom-Bwq4pLax.js → __federation_shared_react-dom-B4vgf5Ln.js} +3 -2
  455. package/dist/web/assets/{__federation_shared_react-dom-Bwq4pLax.js.map → __federation_shared_react-dom-B4vgf5Ln.js.map} +1 -1
  456. package/dist/web/assets/_commonjsHelpers-B85MJLTf.js +6 -0
  457. package/dist/web/assets/_commonjsHelpers-B85MJLTf.js.map +1 -0
  458. package/dist/web/assets/get-auth-plugin-definition-CQ6mWMZk.js +13 -0
  459. package/dist/web/assets/get-auth-plugin-definition-CQ6mWMZk.js.map +1 -0
  460. package/dist/web/assets/{index-D4PxvJ0z.js → index-BkOJzK_m.js} +3 -3
  461. package/dist/web/assets/{index-D4PxvJ0z.js.map → index-BkOJzK_m.js.map} +1 -1
  462. package/dist/web/assets/{index-B1hOKVPw.js → index-DUwCgkeV.js} +2 -6
  463. package/dist/web/assets/{index-B1hOKVPw.js.map → index-DUwCgkeV.js.map} +1 -1
  464. package/dist/web/assets/{index.esm-qm5h2Bmg.js → index.esm-UnRzlLlr.js} +3 -61
  465. package/dist/web/assets/index.esm-UnRzlLlr.js.map +1 -0
  466. package/dist/web/assets/isEqual-DAXqKRba.js +242 -0
  467. package/dist/web/assets/isEqual-DAXqKRba.js.map +1 -0
  468. package/dist/web/assets/jsx-runtime-XI9uIe3W.js +60 -0
  469. package/dist/web/assets/jsx-runtime-XI9uIe3W.js.map +1 -0
  470. package/dist/web/assets/{model-merger-CA2yaVFd.js → model-merger-BLEOsCIp.js} +46 -334
  471. package/dist/web/assets/model-merger-BLEOsCIp.js.map +1 -0
  472. package/dist/web/assets/plugin-definition-C935Xf1h.js +19 -0
  473. package/dist/web/assets/plugin-definition-C935Xf1h.js.map +1 -0
  474. package/dist/web/assets/plugin-definition-ChUKIqUg.js +40 -0
  475. package/dist/web/assets/plugin-definition-ChUKIqUg.js.map +1 -0
  476. package/dist/web/assets/plugin-definition-DH4QyCfv.js +86 -0
  477. package/dist/web/assets/plugin-definition-DH4QyCfv.js.map +1 -0
  478. package/dist/web/assets/plugin-definition-PCHsX2lR.js +19 -0
  479. package/dist/web/assets/plugin-definition-PCHsX2lR.js.map +1 -0
  480. package/dist/web/assets/{react-BLL9qrdY.js → react-ecPihYHK.js} +2 -2
  481. package/dist/web/assets/{react-BLL9qrdY.js.map → react-ecPihYHK.js.map} +1 -1
  482. package/dist/web/assets/remoteEntry.js +18 -12
  483. package/dist/web/assets/remoteEntry.js.map +1 -1
  484. package/dist/web/assets/sortBy-BPH_zRB8.js +34 -0
  485. package/dist/web/assets/sortBy-BPH_zRB8.js.map +1 -0
  486. package/dist/web/assets/{style-ZUYizAnf.css → style-BhUCMIWI.css} +51 -6
  487. package/dist/web/assets/styles-I6mpdfRm.js +58 -0
  488. package/dist/web/assets/styles-I6mpdfRm.js.map +1 -0
  489. package/dist/web/index.html +1 -1
  490. package/package.json +17 -16
  491. package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +0 -1
  492. package/dist/auth/core/generators/auth-apollo/auth-apollo.generator.js.map +0 -1
  493. package/dist/auth/core/generators/auth-apollo/index.d.ts.map +0 -1
  494. package/dist/auth/core/generators/auth-apollo/index.js.map +0 -1
  495. package/dist/auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +0 -1
  496. package/dist/auth/core/generators/auth-apollo/templates/session-error-link.js.map +0 -1
  497. package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +0 -1
  498. package/dist/auth/core/generators/auth-email-password/auth-email-password.generator.js.map +0 -1
  499. package/dist/auth/core/generators/auth-email-password/generated/index.d.ts.map +0 -1
  500. package/dist/auth/core/generators/auth-email-password/generated/index.js +0 -11
  501. package/dist/auth/core/generators/auth-email-password/generated/template-paths.d.ts +0 -14
  502. package/dist/auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +0 -1
  503. package/dist/auth/core/generators/auth-email-password/generated/template-paths.js.map +0 -1
  504. package/dist/auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +0 -1
  505. package/dist/auth/core/generators/auth-email-password/generated/template-renderers.js.map +0 -1
  506. package/dist/auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +0 -1
  507. package/dist/auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +0 -1
  508. package/dist/auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +0 -1
  509. package/dist/auth/core/generators/auth-email-password/generated/typed-templates.js.map +0 -1
  510. package/dist/auth/core/generators/auth-email-password/index.d.ts.map +0 -1
  511. package/dist/auth/core/generators/auth-email-password/index.js.map +0 -1
  512. package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +0 -1
  513. package/dist/auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +0 -1
  514. package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +0 -1
  515. package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +0 -1
  516. package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +0 -1
  517. package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +0 -1
  518. package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +0 -1
  519. package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.js.map +0 -1
  520. package/dist/auth/core/generators/auth-hooks/generated/index.d.ts.map +0 -1
  521. package/dist/auth/core/generators/auth-hooks/generated/index.js +0 -11
  522. package/dist/auth/core/generators/auth-hooks/generated/index.js.map +0 -1
  523. package/dist/auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +0 -1
  524. package/dist/auth/core/generators/auth-hooks/generated/template-paths.js.map +0 -1
  525. package/dist/auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +0 -1
  526. package/dist/auth/core/generators/auth-hooks/generated/template-renderers.js.map +0 -1
  527. package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +0 -16
  528. package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
  529. package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.js +0 -27
  530. package/dist/auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +0 -1
  531. package/dist/auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +0 -1
  532. package/dist/auth/core/generators/auth-hooks/generated/typed-templates.js.map +0 -1
  533. package/dist/auth/core/generators/auth-hooks/index.d.ts +0 -2
  534. package/dist/auth/core/generators/auth-hooks/index.d.ts.map +0 -1
  535. package/dist/auth/core/generators/auth-hooks/index.js +0 -2
  536. package/dist/auth/core/generators/auth-hooks/index.js.map +0 -1
  537. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  538. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  539. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
  540. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
  541. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +0 -8
  542. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
  543. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +0 -12
  544. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +0 -1
  545. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +0 -16
  546. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
  547. package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
  548. package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts.map +0 -1
  549. package/dist/auth/core/generators/auth-module/auth-module.generator.js.map +0 -1
  550. package/dist/auth/core/generators/auth-module/generated/index.d.ts.map +0 -1
  551. package/dist/auth/core/generators/auth-module/generated/index.js +0 -11
  552. package/dist/auth/core/generators/auth-module/generated/index.js.map +0 -1
  553. package/dist/auth/core/generators/auth-module/generated/template-paths.d.ts.map +0 -1
  554. package/dist/auth/core/generators/auth-module/generated/template-paths.js.map +0 -1
  555. package/dist/auth/core/generators/auth-module/generated/template-renderers.d.ts.map +0 -1
  556. package/dist/auth/core/generators/auth-module/generated/template-renderers.js.map +0 -1
  557. package/dist/auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +0 -1
  558. package/dist/auth/core/generators/auth-module/generated/ts-import-providers.js.map +0 -1
  559. package/dist/auth/core/generators/auth-module/generated/typed-templates.d.ts.map +0 -1
  560. package/dist/auth/core/generators/auth-module/generated/typed-templates.js.map +0 -1
  561. package/dist/auth/core/generators/auth-module/index.d.ts.map +0 -1
  562. package/dist/auth/core/generators/auth-module/index.js.map +0 -1
  563. package/dist/auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +0 -1
  564. package/dist/auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +0 -1
  565. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +0 -1
  566. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +0 -1
  567. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +0 -1
  568. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +0 -1
  569. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +0 -1
  570. package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +0 -1
  571. package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
  572. package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +0 -1
  573. package/dist/auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +0 -1
  574. package/dist/auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +0 -1
  575. package/dist/auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +0 -1
  576. package/dist/auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +0 -1
  577. package/dist/auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +0 -1
  578. package/dist/auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +0 -1
  579. package/dist/auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +0 -1
  580. package/dist/auth/core/generators/auth-routes/auth-routes.generator.js.map +0 -1
  581. package/dist/auth/core/generators/auth-routes/generated/index.js.map +0 -1
  582. package/dist/auth/core/generators/auth-routes/generated/template-paths.d.ts.map +0 -1
  583. package/dist/auth/core/generators/auth-routes/generated/template-paths.js.map +0 -1
  584. package/dist/auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +0 -1
  585. package/dist/auth/core/generators/auth-routes/generated/template-renderers.js.map +0 -1
  586. package/dist/auth/core/generators/auth-routes/generated/typed-templates.js.map +0 -1
  587. package/dist/auth/core/generators/auth-routes/index.d.ts.map +0 -1
  588. package/dist/auth/core/generators/auth-routes/index.js.map +0 -1
  589. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts +0 -2
  590. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +0 -1
  591. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +0 -1
  592. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts +0 -2
  593. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +0 -1
  594. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +0 -1
  595. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts +0 -2
  596. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +0 -1
  597. package/dist/auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +0 -1
  598. package/dist/auth/core/generators/index.d.ts.map +0 -1
  599. package/dist/auth/core/generators/index.js.map +0 -1
  600. package/dist/auth/core/generators/react-auth/index.d.ts.map +0 -1
  601. package/dist/auth/core/generators/react-auth/index.js.map +0 -1
  602. package/dist/auth/core/generators/react-auth/react-auth.generator.d.ts.map +0 -1
  603. package/dist/auth/core/generators/react-auth/react-auth.generator.js.map +0 -1
  604. package/dist/auth/core/generators/react-session/generated/index.d.ts +0 -74
  605. package/dist/auth/core/generators/react-session/generated/index.d.ts.map +0 -1
  606. package/dist/auth/core/generators/react-session/generated/index.js +0 -11
  607. package/dist/auth/core/generators/react-session/generated/index.js.map +0 -1
  608. package/dist/auth/core/generators/react-session/generated/template-paths.d.ts +0 -16
  609. package/dist/auth/core/generators/react-session/generated/template-paths.d.ts.map +0 -1
  610. package/dist/auth/core/generators/react-session/generated/template-paths.js +0 -26
  611. package/dist/auth/core/generators/react-session/generated/template-paths.js.map +0 -1
  612. package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts +0 -27
  613. package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts.map +0 -1
  614. package/dist/auth/core/generators/react-session/generated/template-renderers.js +0 -49
  615. package/dist/auth/core/generators/react-session/generated/template-renderers.js.map +0 -1
  616. package/dist/auth/core/generators/react-session/generated/ts-import-providers.d.ts +0 -64
  617. package/dist/auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +0 -1
  618. package/dist/auth/core/generators/react-session/generated/ts-import-providers.js +0 -42
  619. package/dist/auth/core/generators/react-session/generated/ts-import-providers.js.map +0 -1
  620. package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts +0 -46
  621. package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts.map +0 -1
  622. package/dist/auth/core/generators/react-session/generated/typed-templates.js +0 -82
  623. package/dist/auth/core/generators/react-session/generated/typed-templates.js.map +0 -1
  624. package/dist/auth/core/generators/react-session/index.d.ts.map +0 -1
  625. package/dist/auth/core/generators/react-session/index.js.map +0 -1
  626. package/dist/auth/core/generators/react-session/react-session.generator.d.ts +0 -58
  627. package/dist/auth/core/generators/react-session/react-session.generator.d.ts.map +0 -1
  628. package/dist/auth/core/generators/react-session/react-session.generator.js.map +0 -1
  629. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts +0 -7
  630. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts.map +0 -1
  631. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js +0 -25
  632. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js.map +0 -1
  633. package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.tsx +0 -28
  634. package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +0 -1
  635. package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js +0 -18
  636. package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +0 -1
  637. package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +0 -45
  638. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts +0 -12
  639. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts.map +0 -1
  640. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js +0 -15
  641. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js.map +0 -1
  642. package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts +0 -30
  643. package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +0 -1
  644. package/dist/auth/core/generators/react-session/templates/src/services/user-session-client.js.map +0 -1
  645. package/dist/auth/core/index.d.ts.map +0 -1
  646. package/dist/auth/core/index.js.map +0 -1
  647. package/dist/auth/core/schema/models.d.ts +0 -9
  648. package/dist/auth/core/schema/models.d.ts.map +0 -1
  649. package/dist/auth/core/schema/models.js.map +0 -1
  650. package/dist/auth0/core/components/auth-definition-editor.d.ts +0 -5
  651. package/dist/auth0/core/components/auth-definition-editor.d.ts.map +0 -1
  652. package/dist/auth0/core/components/auth-definition-editor.js +0 -61
  653. package/dist/auth0/core/components/auth-definition-editor.js.map +0 -1
  654. package/dist/common/compiler/generator-creators.d.ts +0 -18
  655. package/dist/common/compiler/generator-creators.d.ts.map +0 -1
  656. package/dist/common/compiler/generator-creators.js +0 -34
  657. package/dist/common/compiler/generator-creators.js.map +0 -1
  658. package/dist/common/compiler/index.d.ts +0 -2
  659. package/dist/common/compiler/index.d.ts.map +0 -1
  660. package/dist/common/compiler/index.js +0 -2
  661. package/dist/common/compiler/index.js.map +0 -1
  662. package/dist/common/index.d.ts +0 -3
  663. package/dist/common/index.d.ts.map +0 -1
  664. package/dist/common/index.js +0 -3
  665. package/dist/common/index.js.map +0 -1
  666. package/dist/common/roles/components/index.d.ts +0 -2
  667. package/dist/common/roles/components/index.d.ts.map +0 -1
  668. package/dist/common/roles/components/index.js +0 -2
  669. package/dist/common/roles/components/index.js.map +0 -1
  670. package/dist/common/roles/components/role-editor-form/role-dialog.d.ts.map +0 -1
  671. package/dist/common/roles/components/role-editor-form/role-dialog.js.map +0 -1
  672. package/dist/common/roles/components/role-editor-form/role-editor-form.d.ts +0 -10
  673. package/dist/common/roles/components/role-editor-form/role-editor-form.d.ts.map +0 -1
  674. package/dist/common/roles/components/role-editor-form/role-editor-form.js.map +0 -1
  675. package/dist/common/roles/constants.d.ts.map +0 -1
  676. package/dist/common/roles/constants.js.map +0 -1
  677. package/dist/common/roles/index.d.ts +0 -4
  678. package/dist/common/roles/index.d.ts.map +0 -1
  679. package/dist/common/roles/index.js +0 -4
  680. package/dist/common/roles/index.js.map +0 -1
  681. package/dist/common/roles/schema.d.ts.map +0 -1
  682. package/dist/common/roles/schema.js.map +0 -1
  683. package/dist/web/assets/__federation_expose_auth0CoreCommon-BXcKWfCq.js +0 -56
  684. package/dist/web/assets/__federation_expose_auth0CoreCommon-BXcKWfCq.js.map +0 -1
  685. package/dist/web/assets/__federation_expose_auth0CoreWeb-VnxlQY01.js.map +0 -1
  686. package/dist/web/assets/__federation_expose_authCoreCommon-LrPwgIpw.js +0 -36
  687. package/dist/web/assets/__federation_expose_authCoreCommon-LrPwgIpw.js.map +0 -1
  688. package/dist/web/assets/__federation_expose_authCoreWeb-CGWfg0Fb.js.map +0 -1
  689. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-DCZZPRb7.js +0 -39
  690. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-DCZZPRb7.js.map +0 -1
  691. package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-BunerD5g.js.map +0 -1
  692. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DqkNAXn3.js.map +0 -1
  693. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BxXhpJ04.js.map +0 -1
  694. package/dist/web/assets/__federation_shared_react-uocnGSER.js +0 -7
  695. package/dist/web/assets/index.esm-qm5h2Bmg.js.map +0 -1
  696. package/dist/web/assets/model-merger-CA2yaVFd.js.map +0 -1
  697. package/dist/web/assets/plugin-definition-BEHZirWF.js +0 -24
  698. package/dist/web/assets/plugin-definition-BEHZirWF.js.map +0 -1
  699. package/dist/web/assets/plugin-definition-CoiivnNt.js +0 -36
  700. package/dist/web/assets/plugin-definition-CoiivnNt.js.map +0 -1
  701. package/dist/web/assets/plugin-definition-X0d5-H4U.js +0 -24
  702. package/dist/web/assets/plugin-definition-X0d5-H4U.js.map +0 -1
  703. package/dist/web/assets/role-editor-form-lOkPZX7S.js +0 -319
  704. package/dist/web/assets/role-editor-form-lOkPZX7S.js.map +0 -1
  705. package/dist/web/assets/styles-B6SRrcui.js +0 -201
  706. package/dist/web/assets/styles-B6SRrcui.js.map +0 -1
  707. package/manifest.json +0 -4
  708. /package/dist/{common → auth/core/schema}/roles/constants.d.ts +0 -0
  709. /package/dist/{common → auth/core/schema}/roles/constants.js +0 -0
  710. /package/dist/{common → auth/core/schema}/roles/schema.d.ts +0 -0
  711. /package/dist/{common → auth/core/schema}/roles/schema.js +0 -0
  712. /package/dist/{auth → local-auth}/core/generators/auth-apollo/index.d.ts +0 -0
  713. /package/dist/{auth → local-auth}/core/generators/auth-apollo/index.js +0 -0
  714. /package/dist/{auth → local-auth}/core/generators/auth-apollo/templates/session-error-link.d.ts +0 -0
  715. /package/dist/{auth → local-auth}/core/generators/auth-apollo/templates/session-error-link.js +0 -0
  716. /package/dist/{auth → local-auth}/core/generators/auth-apollo/templates/session-error-link.ts +0 -0
  717. /package/dist/{auth → local-auth}/core/generators/auth-email-password/index.d.ts +0 -0
  718. /package/dist/{auth → local-auth}/core/generators/auth-email-password/index.js +0 -0
  719. /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts +0 -0
  720. /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/constants/password.constants.js +0 -0
  721. /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/constants/password.constants.ts +0 -0
  722. /package/dist/{auth → local-auth}/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts +0 -0
  723. /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -0
  724. /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-current-user.gql +0 -0
  725. /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +0 -0
  726. /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +0 -0
  727. /package/dist/{auth → local-auth}/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts +0 -0
  728. /package/dist/{auth → local-auth}/core/generators/auth-module/index.d.ts +0 -0
  729. /package/dist/{auth → local-auth}/core/generators/auth-module/index.js +0 -0
  730. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts +0 -0
  731. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.js +0 -0
  732. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/constants/user-session.constants.ts +0 -0
  733. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts +0 -0
  734. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts +0 -0
  735. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.mutations.js +0 -0
  736. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +0 -0
  737. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts +0 -0
  738. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/services/user-session.service.d.ts +0 -0
  739. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts +0 -0
  740. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.js +0 -0
  741. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/cookie-signer.ts +0 -0
  742. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/session-cookie.d.ts +0 -0
  743. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/session-cookie.js +0 -0
  744. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/session-cookie.ts +0 -0
  745. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts +0 -0
  746. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.js +0 -0
  747. /package/dist/{auth → local-auth}/core/generators/auth-module/templates/module/utils/verify-request-origin.ts +0 -0
  748. /package/dist/{auth → local-auth}/core/generators/auth-routes/auth-routes.generator.js +0 -0
  749. /package/dist/{auth → local-auth}/core/generators/auth-routes/generated/index.js +0 -0
  750. /package/dist/{auth → local-auth}/core/generators/auth-routes/generated/template-paths.d.ts +0 -0
  751. /package/dist/{auth → local-auth}/core/generators/auth-routes/generated/template-paths.js +0 -0
  752. /package/dist/{auth → local-auth}/core/generators/auth-routes/index.d.ts +0 -0
  753. /package/dist/{auth → local-auth}/core/generators/auth-routes/index.js +0 -0
  754. /package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/route.js +0 -0
  755. /package/dist/{auth → local-auth}/core/generators/auth-routes/templates/routes/auth_/route.tsx +0 -0
  756. /package/dist/{auth → local-auth}/core/generators/react-auth/index.d.ts +0 -0
  757. /package/dist/{auth → local-auth}/core/generators/react-auth/index.js +0 -0
  758. /package/dist/{auth → local-auth}/core/generators/react-auth/react-auth.generator.d.ts +0 -0
  759. /package/dist/{auth → local-auth}/core/generators/react-session/index.d.ts +0 -0
  760. /package/dist/{auth → local-auth}/core/generators/react-session/index.js +0 -0
  761. /package/dist/{auth → local-auth}/core/generators/react-session/templates/src/app/user-session-provider.d.ts +0 -0
  762. /package/dist/{auth → local-auth}/core/index.d.ts +0 -0
  763. /package/dist/{auth → local-auth}/core/index.js +0 -0
@@ -1,6 +1,8 @@
1
- import { c as createPluginSpec, i as isEqual, m as mapValues, a as createEntityType, C as CASE_VALIDATORS, D as DefinitionReferenceMarker, g as get$1, R as REF_ANNOTATIONS_MARKER_SYMBOL, b as createDefinitionSchemaParserContext, s as set$1, d as definitionSchema, e as modelForeignRelationEntityType, f as modelLocalRelationEntityType, h as modelScalarFieldEntityType, j as modelTransformerEntityType, k as modelEntityType, l as modelEnumValueEntityType, n as featureEntityType, o as modelEnumEntityType, p as modelUniqueConstraintEntityType, q as createFeaturesSchema, M as ModelUtils, r as omit, t as cloneDeep } from '../model-merger-CA2yaVFd.js';
2
- export { K as DefinitionDiffArrayIncludesField, I as DefinitionDiffKeyedArrayField, J as DefinitionDiffReplacementField, v as DefinitionEntityType, F as FeatureUtils, O as applyDefinitionDiff, E as applyModelMergerDiff, G as applyModelMergerResultInPlace, H as createAndApplyModelMergerResults, N as createDefinitionDiff, L as createDefinitionDiffConfig, x as createFeatureSchema, u as createInitializedPluginSpec, z as createModelMergerResult, B as createModelMergerResults, A as doesModelMergerResultsHaveChanges, w as featureNameSchema, y as modelMergerDefinitionDiffConfig } from '../model-merger-CA2yaVFd.js';
3
- import { importShared } from '../__federation_fn_import-BDimcZUI.js';
1
+ import { c as createPluginSpec, m as mapValues, a as createEntityType, d as definitionSchema, D as DefinitionReferenceMarker, g as get, R as REF_ANNOTATIONS_MARKER_SYMBOL, b as createDefinitionSchemaParserContext, s as set$1, e as modelForeignRelationEntityType, f as modelLocalRelationEntityType, h as modelScalarFieldEntityType, i as modelTransformerEntityType, j as modelEntityType, k as modelEnumValueEntityType, l as featureEntityType, n as modelEnumEntityType, o as modelUniqueConstraintEntityType, p as createFeaturesSchema, M as ModelUtils, q as omit, r as cloneDeep } from '../model-merger-BLEOsCIp.js';
2
+ export { I as DefinitionDiffArrayIncludesField, G as DefinitionDiffKeyedArrayField, H as DefinitionDiffReplacementField, u as DefinitionEntityType, F as FeatureUtils, L as applyDefinitionDiff, B as applyModelMergerDiff, C as applyModelMergerResultInPlace, E as createAndApplyModelMergerResults, K as createDefinitionDiff, J as createDefinitionDiffConfig, w as createFeatureSchema, t as createInitializedPluginSpec, y as createModelMergerResult, A as createModelMergerResults, z as doesModelMergerResultsHaveChanges, v as featureNameSchema, x as modelMergerDefinitionDiffConfig } from '../model-merger-BLEOsCIp.js';
3
+ import { importShared } from '../__federation_fn_import-DReOsou_.js';
4
+ import { i as isEqual } from '../isEqual-DAXqKRba.js';
5
+ import { s as sortBy } from '../sortBy-BPH_zRB8.js';
4
6
 
5
7
  function createAdminCrudInputCompilerImplementation() {
6
8
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -53,38 +55,6 @@ function keyBy(arr, getKeyFromItem) {
53
55
  return result;
54
56
  }
55
57
 
56
- function compareValues(a, b, order) {
57
- if (a < b) {
58
- return order === 'asc' ? -1 : 1;
59
- }
60
- if (a > b) {
61
- return order === 'asc' ? 1 : -1;
62
- }
63
- return 0;
64
- }
65
-
66
- function orderBy(arr, criteria, orders) {
67
- return arr.slice().sort((a, b) => {
68
- const ordersLength = orders.length;
69
- for (let i = 0; i < criteria.length; i++) {
70
- const order = ordersLength > i ? orders[i] : orders[ordersLength - 1];
71
- const criterion = criteria[i];
72
- const criterionIsFunction = typeof criterion === 'function';
73
- const valueA = criterionIsFunction ? criterion(a) : a[criterion];
74
- const valueB = criterionIsFunction ? criterion(b) : b[criterion];
75
- const result = compareValues(valueA, valueB, order);
76
- if (result !== 0) {
77
- return result;
78
- }
79
- }
80
- return 0;
81
- });
82
- }
83
-
84
- function sortBy(arr, criteria) {
85
- return orderBy(arr, criteria, ['asc']);
86
- }
87
-
88
58
  function uniq(arr) {
89
59
  return Array.from(new Set(arr));
90
60
  }
@@ -99,33 +69,6 @@ function flow(...funcs) {
99
69
  };
100
70
  }
101
71
 
102
- function isObjectLike(value) {
103
- return typeof value === 'object' && value !== null;
104
- }
105
-
106
- function mergeWith(target, source, merge) {
107
- const sourceKeys = Object.keys(source);
108
- for (let i = 0; i < sourceKeys.length; i++) {
109
- const key = sourceKeys[i];
110
- const sourceValue = source[key];
111
- const targetValue = target[key];
112
- const merged = merge(targetValue, sourceValue, key, target, source);
113
- if (merged != null) {
114
- target[key] = merged;
115
- }
116
- else if (Array.isArray(sourceValue)) {
117
- target[key] = mergeWith(targetValue ?? [], sourceValue, merge);
118
- }
119
- else if (isObjectLike(targetValue) && isObjectLike(sourceValue)) {
120
- target[key] = mergeWith(targetValue ?? {}, sourceValue, merge);
121
- }
122
- else if (targetValue === undefined || sourceValue !== undefined) {
123
- target[key] = sourceValue;
124
- }
125
- }
126
- return target;
127
- }
128
-
129
72
  function pickBy(obj, shouldPick) {
130
73
  const result = {};
131
74
  const keys = Object.keys(obj);
@@ -139,495 +82,6 @@ function pickBy(obj, shouldPick) {
139
82
  return result;
140
83
  }
141
84
 
142
- // adapted from https://github.com/AitoDotAI/json-stringify-pretty-compact
143
- // allows { } to be presented as {} to better mirror prettier formatting
144
- function isObject(obj) {
145
- return typeof obj === 'object' && obj !== null;
146
- }
147
- function forEach(obj, cb) {
148
- if (Array.isArray(obj)) {
149
- // eslint-disable-next-line unicorn/no-array-for-each
150
- obj.forEach(cb);
151
- }
152
- else if (isObject(obj)) {
153
- for (const key of Object.keys(obj)) {
154
- const val = obj[key];
155
- cb(val, key);
156
- }
157
- }
158
- }
159
- function getTreeDepth(obj) {
160
- let depth = 0;
161
- if (Array.isArray(obj) || isObject(obj)) {
162
- forEach(obj, (val) => {
163
- if (Array.isArray(val) || isObject(val)) {
164
- const tmpDepth = getTreeDepth(val);
165
- if (tmpDepth > depth) {
166
- depth = tmpDepth;
167
- }
168
- }
169
- });
170
- return depth + 1;
171
- }
172
- return depth;
173
- }
174
- function get(options, name, defaultValue) {
175
- return (name in options ? options[name] : defaultValue);
176
- }
177
- // Note: This regex matches even invalid JSON strings, but since we’re
178
- // working on the output of `JSON.stringify` we know that only valid strings
179
- // are present (unless the user supplied a weird `options.indent` but in
180
- // that case we don’t care since the output would be invalid anyway).
181
- // This regex has been adjusted to allow replacement of { } and [ ] with {} and []
182
- // to better mirror prettier formatting.
183
- const stringOrChar = /("(?:[^\\"]|\\.)*")|[:,]|\{(?!})|(?<!\{)}|\[(?!])|(?<!\[)]/g;
184
- function prettify(str, options = {}) {
185
- const tokens = {
186
- '{': '{',
187
- '}': '}',
188
- '[': '[',
189
- ']': ']',
190
- ',': ', ',
191
- ':': ': ',
192
- };
193
- if (!!options.addMargin || !!options.addObjectMargin) {
194
- tokens['{'] = '{ ';
195
- tokens['}'] = ' }';
196
- }
197
- if (!!options.addMargin || !!options.addArrayMargin) {
198
- tokens['['] = '[ ';
199
- tokens[']'] = ' ]';
200
- }
201
- return str.replaceAll(stringOrChar, (match, string) => string ? match : tokens[match]);
202
- }
203
- function stringifyPrettyCompact(rootObj, options = {}) {
204
- const indent = JSON.stringify([1], null, get(options, 'indent', 2)).slice(2, -3);
205
- const addMargin = get(options, 'margins', false);
206
- const addArrayMargin = get(options, 'arrayMargins', false);
207
- const addObjectMargin = get(options, 'objectMargins', true);
208
- const maxLength = indent === '' ? Infinity : get(options, 'maxLength', 80);
209
- const maxNesting = get(options, 'maxNesting', Infinity);
210
- return (function stringifyRecursive(obj, currentIndent, reserved) {
211
- if (obj &&
212
- typeof obj === 'object' &&
213
- typeof obj.toJSON === 'function') {
214
- // eslint-disable-next-line @typescript-eslint/no-confusing-void-expression
215
- obj = obj.toJSON();
216
- }
217
- const string = JSON.stringify(obj);
218
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
219
- if (string === undefined) {
220
- return string;
221
- }
222
- const length = maxLength - currentIndent.length - reserved;
223
- const treeDepth = getTreeDepth(obj);
224
- if (treeDepth <= maxNesting && string.length <= length) {
225
- const prettified = prettify(string, {
226
- addMargin,
227
- addArrayMargin,
228
- addObjectMargin,
229
- });
230
- if (prettified.length <= length) {
231
- return prettified;
232
- }
233
- }
234
- if (isObject(obj)) {
235
- const nextIndent = currentIndent + indent;
236
- const items = [];
237
- let delimiters;
238
- const atEndOfArray = (array, index) => index === array.length - 1 ? 0 : 1;
239
- if (Array.isArray(obj)) {
240
- for (let index = 0; index < obj.length; index += 1) {
241
- items.push(stringifyRecursive(obj[index], nextIndent, atEndOfArray(obj, index)) || 'null');
242
- }
243
- delimiters = '[]';
244
- }
245
- else {
246
- // eslint-disable-next-line unicorn/no-array-for-each
247
- Object.keys(obj).forEach((key, index, array) => {
248
- const keyPart = `${JSON.stringify(key)}: `;
249
- const value = stringifyRecursive(obj[key], nextIndent, keyPart.length + atEndOfArray(array, index));
250
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
251
- if (value !== undefined) {
252
- items.push(keyPart + value);
253
- }
254
- });
255
- delimiters = '{}';
256
- }
257
- if (items.length > 0) {
258
- return [
259
- delimiters[0],
260
- indent + items.join(`,\n${nextIndent}`),
261
- delimiters[1],
262
- ].join(`\n${currentIndent}`);
263
- }
264
- }
265
- return string;
266
- })(rootObj, '', 0);
267
- }
268
-
269
- function isPlainObject$1(value) {
270
- if (typeof value !== 'object' || value === null) {
271
- return false;
272
- }
273
-
274
- const prototype = Object.getPrototypeOf(value);
275
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
276
- }
277
-
278
- function sortKeys(object, options = {}) {
279
- if (!isPlainObject$1(object) && !Array.isArray(object)) {
280
- throw new TypeError('Expected a plain object or array');
281
- }
282
-
283
- const {deep, compare} = options;
284
- const cache = new WeakMap();
285
-
286
- const deepSortArray = array => {
287
- const resultFromCache = cache.get(array);
288
- if (resultFromCache !== undefined) {
289
- return resultFromCache;
290
- }
291
-
292
- const result = [];
293
- cache.set(array, result);
294
-
295
- result.push(...array.map(item => {
296
- if (Array.isArray(item)) {
297
- return deepSortArray(item);
298
- }
299
-
300
- if (isPlainObject$1(item)) {
301
- return _sortKeys(item);
302
- }
303
-
304
- return item;
305
- }));
306
-
307
- return result;
308
- };
309
-
310
- const _sortKeys = object => {
311
- const resultFromCache = cache.get(object);
312
- if (resultFromCache !== undefined) {
313
- return resultFromCache;
314
- }
315
-
316
- const result = {};
317
- const keys = Object.keys(object).sort(compare);
318
-
319
- cache.set(object, result);
320
-
321
- for (const key of keys) {
322
- const value = object[key];
323
- let newValue;
324
-
325
- if (deep && Array.isArray(value)) {
326
- newValue = deepSortArray(value);
327
- } else {
328
- newValue = deep && isPlainObject$1(value) ? _sortKeys(value) : value;
329
- }
330
-
331
- Object.defineProperty(result, key, {
332
- ...Object.getOwnPropertyDescriptor(object, key),
333
- value: newValue,
334
- });
335
- }
336
-
337
- return result;
338
- };
339
-
340
- if (Array.isArray(object)) {
341
- return deep ? deepSortArray(object) : [...object];
342
- }
343
-
344
- return _sortKeys(object);
345
- }
346
-
347
- /**
348
- * Stringifies a value with stable pretty printing.
349
- *
350
- * That means the keys are sorted and the value is pretty printed.
351
- *
352
- * @param value - The value to stringify.
353
- * @returns The stringified value.
354
- */
355
- function stringifyPrettyStable(value) {
356
- const sortedValue = sortKeys(value, {
357
- deep: true,
358
- });
359
- return `${stringifyPrettyCompact(sortedValue)}\n`;
360
- }
361
-
362
- /**
363
- * Merges two objects, throwing an error if any keys overlap.
364
- *
365
- * @param itemOne - The first object to merge.
366
- * @param itemTwo - The second object to merge.
367
- * @param options - Options to control merge behavior
368
- * @returns The merged object.
369
- */
370
- function safeMerge(itemOne, itemTwo, options = {}) {
371
- return mergeWith(itemOne, itemTwo, (targetValue, sourceValue, key) => {
372
- if (key in itemOne && key in itemTwo) {
373
- if (options.allowEqualValues && isEqual(targetValue, sourceValue)) {
374
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return -- we're just using the sourceValue
375
- return sourceValue;
376
- }
377
- throw new Error(`Cannot merge key ${key} because it already exists.`);
378
- }
379
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return -- we're just using the sourceValue
380
- return sourceValue;
381
- });
382
- }
383
-
384
- class ToposortCyclicalDependencyError extends Error {
385
- cyclePath;
386
- constructor(nodes) {
387
- super(`Cyclical dependency detected: ${nodes.map((n) => JSON.stringify(n)).join(' -> ')}`);
388
- this.name = 'ToposortCyclicalDependencyError';
389
- this.cyclePath = nodes; // Store the path for potential inspection
390
- }
391
- }
392
- class ToposortUnknownNodeError extends Error {
393
- unknownNode;
394
- constructor(node) {
395
- super(`Unknown node referenced in edges: ${JSON.stringify(node)}`);
396
- this.name = 'ToposortUnknownNodeError';
397
- this.unknownNode = node; // Store the node for potential inspection
398
- }
399
- }
400
-
401
- class TinyQueue {
402
- constructor(data = [], compare = (a, b) => (a < b ? -1 : a > b ? 1 : 0)) {
403
- this.data = data;
404
- this.length = this.data.length;
405
- this.compare = compare;
406
-
407
- if (this.length > 0) {
408
- for (let i = (this.length >> 1) - 1; i >= 0; i--) this._down(i);
409
- }
410
- }
411
-
412
- push(item) {
413
- this.data.push(item);
414
- this._up(this.length++);
415
- }
416
-
417
- pop() {
418
- if (this.length === 0) return undefined;
419
-
420
- const top = this.data[0];
421
- const bottom = this.data.pop();
422
-
423
- if (--this.length > 0) {
424
- this.data[0] = bottom;
425
- this._down(0);
426
- }
427
-
428
- return top;
429
- }
430
-
431
- peek() {
432
- return this.data[0];
433
- }
434
-
435
- _up(pos) {
436
- const {data, compare} = this;
437
- const item = data[pos];
438
-
439
- while (pos > 0) {
440
- const parent = (pos - 1) >> 1;
441
- const current = data[parent];
442
- if (compare(item, current) >= 0) break;
443
- data[pos] = current;
444
- pos = parent;
445
- }
446
-
447
- data[pos] = item;
448
- }
449
-
450
- _down(pos) {
451
- const {data, compare} = this;
452
- const halfLength = this.length >> 1;
453
- const item = data[pos];
454
-
455
- while (pos < halfLength) {
456
- let bestChild = (pos << 1) + 1; // initially it is the left child
457
- const right = bestChild + 1;
458
-
459
- if (right < this.length && compare(data[right], data[bestChild]) < 0) {
460
- bestChild = right;
461
- }
462
- if (compare(data[bestChild], item) >= 0) break;
463
-
464
- data[pos] = data[bestChild];
465
- pos = bestChild;
466
- }
467
-
468
- data[pos] = item;
469
- }
470
- }
471
-
472
- /**
473
- * Creates a map of outgoing edges from node indices to their target indices
474
- */
475
- function makeOutgoingEdges(nodes, edgeArr) {
476
- const outgoingEdgesMap = new Map();
477
- for (const edge of edgeArr) {
478
- const [source, target] = edge;
479
- const sourceIndex = nodes.get(source);
480
- const targetIndex = nodes.get(target);
481
- // Check both source and target exist in the provided nodes set
482
- if (sourceIndex === undefined)
483
- throw new ToposortUnknownNodeError(source);
484
- if (targetIndex === undefined)
485
- throw new ToposortUnknownNodeError(target);
486
- const sourceEdges = outgoingEdgesMap.get(sourceIndex);
487
- if (sourceEdges) {
488
- sourceEdges.add(targetIndex);
489
- }
490
- else {
491
- outgoingEdgesMap.set(sourceIndex, new Set([targetIndex]));
492
- }
493
- }
494
- return outgoingEdgesMap;
495
- }
496
- /**
497
- * Creates a map of node indices to their in-degree
498
- */
499
- function makeNodeInDegrees(outgoingEdgesMap, nodeLength) {
500
- const nodeInDegrees = Array.from({ length: nodeLength }, () => 0);
501
- for (const [, targets] of outgoingEdgesMap.entries()) {
502
- for (const target of targets) {
503
- nodeInDegrees[target]++;
504
- }
505
- }
506
- return nodeInDegrees;
507
- }
508
- /**
509
- * Detects cycles in a graph by checking if all nodes are included in the topological sort
510
- */
511
- function detectCycle(nodes, visited, edges) {
512
- // If all nodes were visited, no cycle exists
513
- if (visited.size === nodes.length) {
514
- return [];
515
- }
516
- // Run DFS from any unvisited node to find a cycle
517
- const path = [];
518
- const visitSet = new Set();
519
- function dfs(node) {
520
- if (visitSet.has(node)) {
521
- path.push(node);
522
- return true;
523
- }
524
- if (visited.has(node)) {
525
- return false;
526
- }
527
- visitSet.add(node);
528
- path.push(node);
529
- const neighbors = edges.get(node) ?? new Set();
530
- for (const neighbor of neighbors) {
531
- if (dfs(neighbor)) {
532
- return true;
533
- }
534
- }
535
- path.pop();
536
- visitSet.delete(node);
537
- return false;
538
- }
539
- // For cycle detection, we need to try all unvisited nodes
540
- for (let i = 0; i < nodes.length; i++) {
541
- if (!visited.has(i)) {
542
- // Reset path and visitSet for each starting node
543
- path.length = 0;
544
- visitSet.clear();
545
- const cycleFound = dfs(i);
546
- if (cycleFound) {
547
- // Convert path indices to actual nodes
548
- return path.map((idx) => nodes[idx]);
549
- }
550
- }
551
- }
552
- return [];
553
- }
554
- /**
555
- * Default comparison function for stable topological sort
556
- */
557
- function defaultCompareFunc(a, b) {
558
- if (typeof a === 'string' && typeof b === 'string') {
559
- return a.localeCompare(b);
560
- }
561
- if (a === b)
562
- return 0;
563
- return a < b ? -1 : 1;
564
- }
565
- /**
566
- * Performs a topological sort on a directed acyclic graph.
567
- *
568
- * @param nodes - The nodes to sort
569
- * @param edges - The edges of the graph
570
- * @param options - Optional options for the topological sort
571
- * @returns The sorted nodes
572
- */
573
- function toposort(nodes, edges, options = {}) {
574
- const { compareFunc } = options;
575
- // Map each node to its index
576
- const nodeIndexMap = new Map(nodes.map((node, index) => [node, index]));
577
- // Create a map of outgoing edges from each node
578
- const outgoingEdgesMap = makeOutgoingEdges(nodeIndexMap, edges);
579
- const nodeInDegrees = makeNodeInDegrees(outgoingEdgesMap, nodes.length);
580
- // Create a queue of nodes with no incoming edges (in-degree == 0)
581
- const zeroInDegreeQueue = compareFunc
582
- ? new TinyQueue([], (a, b) => compareFunc(nodes[a], nodes[b]))
583
- : [];
584
- for (const [i, nodeInDegree] of nodeInDegrees.entries()) {
585
- if (nodeInDegree === 0) {
586
- zeroInDegreeQueue.push(i);
587
- }
588
- }
589
- const result = [];
590
- const visited = new Set();
591
- // Process nodes in BFS order
592
- while (zeroInDegreeQueue.length > 0) {
593
- const current = zeroInDegreeQueue.pop();
594
- if (current === undefined)
595
- break;
596
- visited.add(current);
597
- result.push(nodes[current]);
598
- // Process all outgoing edges from the current node
599
- const outgoingEdges = outgoingEdgesMap.get(current);
600
- if (outgoingEdges) {
601
- for (const target of outgoingEdges) {
602
- nodeInDegrees[target]--;
603
- // If the target node now has no incoming edges, add it to the queue
604
- if (nodeInDegrees[target] === 0) {
605
- zeroInDegreeQueue.push(target);
606
- }
607
- }
608
- }
609
- }
610
- // Check for cycles
611
- if (result.length !== nodes.length) {
612
- const cyclePath = detectCycle(nodes, visited, outgoingEdgesMap);
613
- throw new ToposortCyclicalDependencyError(cyclePath);
614
- }
615
- return result;
616
- }
617
- /**
618
- * Performs a topological sort on a directed acyclic graph, always selecting
619
- * the smallest available node according to the provided comparison function,
620
- * yielding the lexicographically minimal ordering.
621
- *
622
- * @param nodes - The nodes to sort
623
- * @param edges - The edges of the graph
624
- * @param compareFunc - Optional custom comparison function to break ties between nodes with the same topological level (default is string comparison)
625
- * @returns The sorted nodes
626
- */
627
- function toposortOrdered(nodes, edges, compareFunc = defaultCompareFunc) {
628
- return toposort(nodes, edges, { compareFunc });
629
- }
630
-
631
85
  /**
632
86
  * Strip object of any values that are empty arrays, empty objects, null, or undefined
633
87
  */
@@ -685,12 +139,13 @@ class PluginImplementationStore {
685
139
  }
686
140
  }
687
141
 
142
+ const {toposortOrdered} = await importShared('@baseplate-dev/utils');
688
143
  function extractPlatformModulesFromPlugins(plugins) {
689
144
  return plugins.flatMap((plugin) => plugin.pluginModules.map((m) => ({
690
145
  ...m,
691
- id: `${plugin.id}/${m.key}`,
146
+ id: `${plugin.key}/${m.key}`,
692
147
  name: `${plugin.name}/${m.key}`,
693
- pluginId: plugin.id,
148
+ pluginKey: plugin.key,
694
149
  pluginName: plugin.name,
695
150
  })));
696
151
  }
@@ -729,7 +184,7 @@ function getOrderedPluginModuleInitializationSteps(pluginModules, initialSpecImp
729
184
  }
730
185
  function initializeOrderedPluginModules(orderedPluginModules, initialSpecImplementations) {
731
186
  const specImplementations = { ...initialSpecImplementations };
732
- for (const { name, module, pluginId } of orderedPluginModules) {
187
+ for (const { name, module, pluginKey } of orderedPluginModules) {
733
188
  const dependencies = module.dependencies
734
189
  ? stripUndefinedValues(mapValues(module.dependencies, (dep) => {
735
190
  const implementation = specImplementations[dep.name];
@@ -739,7 +194,7 @@ function initializeOrderedPluginModules(orderedPluginModules, initialSpecImpleme
739
194
  return implementation;
740
195
  }))
741
196
  : {};
742
- const context = { pluginId };
197
+ const context = { pluginKey };
743
198
  const exports = module.initialize(dependencies, context);
744
199
  Object.entries(module.exports ?? {}).map(([key, spec]) => {
745
200
  const exportedImplementation = exports[key];
@@ -766,12 +221,38 @@ function createPlatformPluginExport(config) {
766
221
  return config;
767
222
  }
768
223
 
769
- const {z: z$l} = await importShared('zod');
770
-
771
- const pluginManifestJsonSchema = z$l.object({
772
- plugins: z$l.array(z$l.string()),
773
- webBuild: z$l.string(),
774
- });
224
+ /**
225
+ * Gets a plugin metadata object by its key.
226
+ *
227
+ * @param pluginStore The plugin store to use
228
+ * @param key The key of the plugin to get
229
+ * @returns The plugin metadata object or undefined if the plugin is not found
230
+ */
231
+ function getPluginMetadataByKey(pluginStore, key) {
232
+ return pluginStore.availablePlugins.find((p) => p.metadata.key === key)
233
+ ?.metadata;
234
+ }
235
+ /**
236
+ * Gets a plugin metadata object by its key.
237
+ *
238
+ * @param pluginStore The plugin store to use
239
+ * @param key The key of the plugin to get
240
+ * @returns The plugin metadata object
241
+ * @throws An error if the plugin is not found
242
+ */
243
+ function getPluginMetadataByKeyOrThrow(pluginStore, key) {
244
+ const metadata = getPluginMetadataByKey(pluginStore, key);
245
+ if (!metadata) {
246
+ throw new Error(`Could not find plugin with key ${key}`);
247
+ }
248
+ return metadata;
249
+ }
250
+ function getManagedPluginsForPlugin(pluginStore, pluginKey) {
251
+ const plugin = getPluginMetadataByKeyOrThrow(pluginStore, pluginKey);
252
+ return pluginStore.availablePlugins
253
+ .filter((p) => p.metadata.managedBy === plugin.fullyQualifiedName)
254
+ .map((p) => p.metadata);
255
+ }
775
256
 
776
257
  const {z: z$k} = await importShared('zod');
777
258
 
@@ -786,7 +267,7 @@ const pluginSpecDependencySchema = z$k.object({
786
267
  version: z$k.string(),
787
268
  });
788
269
  /**
789
- * Schema for the plugin's metadata
270
+ * Schema for the plugin's metadata (plugin.json)
790
271
  */
791
272
  const pluginMetadataSchema = z$k.object({
792
273
  /**
@@ -812,6 +293,14 @@ const pluginMetadataSchema = z$k.object({
812
293
  * A description of the plugin
813
294
  */
814
295
  description: z$k.string(),
296
+ /**
297
+ * The fully qualified name of the plugin that manages this plugin,
298
+ * e.g. "@baseplate-dev/plugin-auth:auth0" would be managed by the "@baseplate-dev/plugin-auth:auth" plugin.
299
+ *
300
+ * Managed plugins do not appear in the plugin list but are managed by the base plugin. If the base
301
+ * plugin is disabled, the managed plugins will also be disabled.
302
+ */
303
+ managedBy: z$k.string().optional(),
815
304
  /**
816
305
  * The version of the plugin using semver
817
306
  */
@@ -1561,17 +1050,22 @@ function runPluginMigrations(projectDefinition, pluginImplementationStore) {
1561
1050
  */
1562
1051
  const authConfigSpec = createPluginSpec('core/auth-config', {});
1563
1052
 
1053
+ /**
1054
+ * Spec for adding user model config component for plugin
1055
+ */
1056
+ const authModelConfigSpec = createPluginSpec('core/auth-model-config', {});
1057
+
1564
1058
  function createWebConfigImplementation() {
1565
1059
  const components = new Map();
1566
1060
  return {
1567
- registerWebConfigComponent(pluginId, ConfigComponent) {
1568
- if (components.has(pluginId)) {
1569
- throw new Error(`Web config component for plugin ${pluginId} is already registered`);
1061
+ registerWebConfigComponent(pluginKey, ConfigComponent) {
1062
+ if (components.has(pluginKey)) {
1063
+ throw new Error(`Web config component for plugin ${pluginKey} is already registered`);
1570
1064
  }
1571
- components.set(pluginId, ConfigComponent);
1065
+ components.set(pluginKey, ConfigComponent);
1572
1066
  },
1573
- getWebConfigComponent(pluginId) {
1574
- return components.get(pluginId);
1067
+ getWebConfigComponent(pluginKey) {
1068
+ return components.get(pluginKey);
1575
1069
  },
1576
1070
  };
1577
1071
  }
@@ -1583,6 +1077,7 @@ const webConfigSpec = createPluginSpec('core/web-config', {
1583
1077
  defaultInitializer: createWebConfigImplementation,
1584
1078
  });
1585
1079
 
1080
+ const {safeMerge} = await importShared('@baseplate-dev/utils');
1586
1081
  function createAppCompiler() {
1587
1082
  const children = {};
1588
1083
  let rootChildren = {};
@@ -2232,7 +1727,7 @@ function computeRelativePath(fromPath, toPath) {
2232
1727
  return relativePath;
2233
1728
  }
2234
1729
 
2235
- function byId$2(projectDefinition, id) {
1730
+ function byId$1(projectDefinition, id) {
2236
1731
  const config = projectDefinition.apps.find((app) => app.id === id);
2237
1732
  if (!config) {
2238
1733
  throw new Error(`Unable to find app with ID ${id}`);
@@ -2247,31 +1742,39 @@ function getBackendApp(projectDefinition) {
2247
1742
  const backendApp = backendApps[0];
2248
1743
  return backendApp;
2249
1744
  }
2250
- function getBackendRelativePath(appConfig, backendApp) {
2251
- const backendRelativePath = computeRelativePath(appConfig.packageLocation
1745
+ /**
1746
+ * Given an app config, get the relative directory of the app
1747
+ *
1748
+ * @param appConfig The app config
1749
+ * @returns The directory of the app
1750
+ */
1751
+ function getAppDirectory(appConfig) {
1752
+ return appConfig.packageLocation
2252
1753
  ? appConfig.packageLocation
2253
- : `packages/${appConfig.name}`, backendApp.packageLocation
2254
- ? backendApp.packageLocation
2255
- : `packages/${backendApp.name}`);
1754
+ : `packages/${appConfig.name}`;
1755
+ }
1756
+ function getBackendRelativePath(appConfig, backendApp) {
1757
+ const backendRelativePath = computeRelativePath(getAppDirectory(appConfig), getAppDirectory(backendApp));
2256
1758
  return backendRelativePath;
2257
1759
  }
2258
1760
  const AppUtils = {
2259
- byId: byId$2,
1761
+ byId: byId$1,
2260
1762
  getBackendApp,
2261
1763
  getBackendRelativePath,
1764
+ getAppDirectory,
2262
1765
  };
2263
1766
 
2264
- const authRoleEntityType = createEntityType('role');
2265
-
2266
1767
  const appEntityType = createEntityType('app');
2267
1768
  function createAppEntryType(name) {
2268
1769
  return name;
2269
1770
  }
2270
1771
 
1772
+ const {CASE_VALIDATORS: CASE_VALIDATORS$1} = await importShared('@baseplate-dev/utils');
1773
+
2271
1774
  const {z: z$j} = await importShared('zod');
2272
1775
  const baseAppValidators = {
2273
1776
  id: z$j.string().default(appEntityType.generateNewId()),
2274
- name: CASE_VALIDATORS.KEBAB_CASE,
1777
+ name: CASE_VALIDATORS$1.KEBAB_CASE,
2275
1778
  type: z$j.string(),
2276
1779
  packageLocation: z$j
2277
1780
  .string()
@@ -2282,6 +1785,21 @@ const baseAppValidators = {
2282
1785
  };
2283
1786
  const baseAppSchema = z$j.object(baseAppValidators);
2284
1787
 
1788
+ const {z: z$i} = await importShared('zod');
1789
+ const createBackendAppSchema = definitionSchema(() => z$i.object({
1790
+ ...baseAppValidators,
1791
+ type: z$i.literal('backend'),
1792
+ enableStripe: z$i.boolean().optional(),
1793
+ enableRedis: z$i.boolean().optional(),
1794
+ enableBullQueue: z$i.boolean().optional(),
1795
+ enablePostmark: z$i.boolean().optional(),
1796
+ enableSubscriptions: z$i.boolean().optional(),
1797
+ enableAxios: z$i.boolean().optional(),
1798
+ }));
1799
+ const backendAppEntryType = createAppEntryType('backend');
1800
+
1801
+ const authRoleEntityType = createEntityType('role');
1802
+
2285
1803
  /**
2286
1804
  * Strips the DefinitionReferenceMarker from the value recursively.
2287
1805
  * @param value - The value to strip the DefinitionReferenceMarker from.
@@ -2442,7 +1960,7 @@ class DefinitionRefBuilder {
2442
1960
  // If the path is empty, use the entire data; otherwise, retrieve the value.
2443
1961
  const refValue = refPathWithoutPrefix.length === 0
2444
1962
  ? this.data
2445
- : get$1(this.data, refPathWithoutPrefix);
1963
+ : get(this.data, refPathWithoutPrefix);
2446
1964
  if (refValue === undefined || refValue === null)
2447
1965
  return;
2448
1966
  const fullPath = this._constructPath(reference.path);
@@ -2485,7 +2003,7 @@ class DefinitionRefBuilder {
2485
2003
  const idPath = entity.idPath
2486
2004
  ? this._constructPathWithoutPrefix(entity.idPath)
2487
2005
  : [...this._constructPathWithoutPrefix(entity.path), 'id'];
2488
- const id = get$1(this.data, idPath);
2006
+ const id = get(this.data, idPath);
2489
2007
  if (!id) {
2490
2008
  throw new Error(`No id found for entity ${entity.type.name}`);
2491
2009
  }
@@ -2494,7 +2012,7 @@ class DefinitionRefBuilder {
2494
2012
  }
2495
2013
  // Resolve the name: if getNameResolver is provided, use it to build the name resolver; otherwise,
2496
2014
  // use the default name resolver.
2497
- const getNameResolver = entity.getNameResolver ?? ((value) => get$1(value, 'name'));
2015
+ const getNameResolver = entity.getNameResolver ?? ((value) => get(value, 'name'));
2498
2016
  const nameResolver = getNameResolver(stripRefMarkers(this.data));
2499
2017
  // Base entity definition shared between regular entities and those with a name reference.
2500
2018
  const entityBase = {
@@ -2612,6 +2130,7 @@ function extractDefinitionRefs(value) {
2612
2130
  };
2613
2131
  }
2614
2132
 
2133
+ const {toposort: toposort$1} = await importShared('@baseplate-dev/utils');
2615
2134
  /**
2616
2135
  * Resolves entity names in a ZodRefPayload.
2617
2136
  *
@@ -2625,7 +2144,7 @@ function resolveZodRefPayloadNames(payload, { skipReferenceNameResolution = fals
2625
2144
  const entitiesById = keyBy(entitiesWithNameResolver, (entity) => entity.id);
2626
2145
  const resolvedEntitiesById = new Map();
2627
2146
  // sort entities by dependency order
2628
- const orderedEntities = toposort(entitiesWithNameResolver.map((entity) => entity.id), entitiesWithNameResolver.flatMap((entity) => {
2147
+ const orderedEntities = toposort$1(entitiesWithNameResolver.map((entity) => entity.id), entitiesWithNameResolver.flatMap((entity) => {
2629
2148
  const entityIds = entity.nameResolver.idsToResolve ?? {};
2630
2149
  return Object.values(entityIds)
2631
2150
  .flat()
@@ -2684,6 +2203,7 @@ function parseSchemaWithTransformedReferences(schemaCreator, input, schemaCreato
2684
2203
  return resolveZodRefPayloadNames(refPayload, options);
2685
2204
  }
2686
2205
 
2206
+ const {toposort} = await importShared('@baseplate-dev/utils');
2687
2207
  function referenceToNameParentId(name, parentId) {
2688
2208
  return JSON.stringify({ name, parentId });
2689
2209
  }
@@ -2746,7 +2266,7 @@ function resolveReferencesToIds(payload) {
2746
2266
  const entitiesByParentIdName = keyBy(entities, (e) => {
2747
2267
  const { parentPath } = e;
2748
2268
  const parentId = parentPath
2749
- ? get$1(data, parentPath)
2269
+ ? get(data, parentPath)
2750
2270
  : undefined;
2751
2271
  if (parentPath && typeof parentId !== 'string') {
2752
2272
  throw new Error(`Could not resolve parent path: ${parentPath.join('.')}`);
@@ -2754,9 +2274,9 @@ function resolveReferencesToIds(payload) {
2754
2274
  return referenceToNameParentId(e.name, parentId);
2755
2275
  });
2756
2276
  for (const ref of references) {
2757
- const name = get$1(data, ref.path);
2277
+ const name = get(data, ref.path);
2758
2278
  // parent ID should have already been resolved due to order of resolving references
2759
- const parentId = ref.parentPath && get$1(data, ref.parentPath);
2279
+ const parentId = ref.parentPath && get(data, ref.parentPath);
2760
2280
  const parentIdName = referenceToNameParentId(name, parentId);
2761
2281
  const resolvedEntity = entitiesByParentIdName[parentIdName];
2762
2282
  if (!resolvedEntity) {
@@ -2786,7 +2306,7 @@ function fixRefDeletions(schemaCreator, value, schemaCreatorOptions) {
2786
2306
  valueToEdit = parseResult.data;
2787
2307
  const entitiesById = new Map(entities.map((e) => [e.id, e]));
2788
2308
  const referencesMissingEntity = references.filter((r) => {
2789
- const id = get$1(valueToEdit, r.path);
2309
+ const id = get(valueToEdit, r.path);
2790
2310
  return id !== DELETED_SENTINEL_ID && !entitiesById.has(id);
2791
2311
  });
2792
2312
  if (referencesMissingEntity.length === 0) {
@@ -2808,7 +2328,7 @@ function fixRefDeletions(schemaCreator, value, schemaCreatorOptions) {
2808
2328
  return false;
2809
2329
  }
2810
2330
  const parentPath = path.slice(0, -1);
2811
- const parent = get$1(valueToEdit, parentPath);
2331
+ const parent = get(valueToEdit, parentPath);
2812
2332
  if (!Array.isArray(parent)) {
2813
2333
  return false;
2814
2334
  }
@@ -2820,13 +2340,13 @@ function fixRefDeletions(schemaCreator, value, schemaCreatorOptions) {
2820
2340
  }
2821
2341
  // attempt to fix reference
2822
2342
  for (const ref of referencesMissingEntity) {
2823
- const id = get$1(valueToEdit, ref.path);
2343
+ const id = get(valueToEdit, ref.path);
2824
2344
  switch (ref.onDelete) {
2825
2345
  case 'SET_UNDEFINED': {
2826
2346
  // Check if reference is inside an array
2827
2347
  if (ref.path.length > 0) {
2828
2348
  const parentPath = ref.path.slice(0, -1);
2829
- const parent = get$1(valueToEdit, parentPath);
2349
+ const parent = get(valueToEdit, parentPath);
2830
2350
  if (Array.isArray(parent)) {
2831
2351
  throw new TypeError(`SET_UNDEFINED cannot be used for references inside arrays at path ${ref.path.join('.')}. Use DELETE instead to remove the array element.`);
2832
2352
  }
@@ -2861,7 +2381,7 @@ function fixRefDeletions(schemaCreator, value, schemaCreatorOptions) {
2861
2381
  for (const [, objects] of Object.entries(objectsToDeleteByPath)) {
2862
2382
  const sortedObjects = sortBy(objects, [(o) => -o.idx]);
2863
2383
  for (const o of sortedObjects) {
2864
- const parent = get$1(valueToEdit, o.path);
2384
+ const parent = get(valueToEdit, o.path);
2865
2385
  if (!Array.isArray(parent)) {
2866
2386
  throw new TypeError(`Expected parent to be an array at path ${o.path.join('.')}`);
2867
2387
  }
@@ -2877,7 +2397,7 @@ function serializeSchemaFromRefPayload(payload) {
2877
2397
  const entitiesById = new Map(entities.map((e) => [e.id, e]));
2878
2398
  return produce((draftData) => {
2879
2399
  for (const reference of references) {
2880
- const entityId = get$1(draftData, reference.path);
2400
+ const entityId = get(draftData, reference.path);
2881
2401
  const entity = entitiesById.get(entityId);
2882
2402
  if (!entity) {
2883
2403
  throw new Error(`Could not find entity with ID: ${entityId} at ${reference.path.join('.')}`);
@@ -2905,141 +2425,141 @@ const SCALAR_FIELD_TYPES = [
2905
2425
  'enum',
2906
2426
  ];
2907
2427
 
2908
- const {z: z$i} = await importShared('zod');
2909
- const oklchColor = z$i
2428
+ const {z: z$h} = await importShared('zod');
2429
+ const oklchColor = z$h
2910
2430
  .string()
2911
2431
  .regex(/^oklch\(\s*([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s*\/\s*([\d.]+))?\s*\)$/, {
2912
2432
  message: 'OKLCH color must be of the format "oklch(l c h [/ a])" where l and c are between 0 and 1 and h is between 0 and 360 and a is between 0 and 100',
2913
2433
  });
2914
- const themeColorSchema = z$i.record(z$i.enum(THEME_COLOR_KEYS), oklchColor);
2915
- const paletteSchema = z$i
2434
+ const themeColorSchema = z$h.record(z$h.enum(THEME_COLOR_KEYS), oklchColor);
2435
+ const paletteSchema = z$h
2916
2436
  .object({
2917
- paletteName: z$i.string().min(1),
2437
+ paletteName: z$h.string().min(1),
2918
2438
  customBase: oklchColor.nullish(),
2919
- shades: z$i.record(z$i.enum(PALETTE_SHADES), oklchColor),
2439
+ shades: z$h.record(z$h.enum(PALETTE_SHADES), oklchColor),
2920
2440
  })
2921
2441
  .refine((data) => data.paletteName !== 'custom' || !!data.paletteName, {
2922
2442
  message: 'A custom base color is required if using a custom base palette',
2923
2443
  path: ['customBase'],
2924
2444
  });
2925
- const palettesSchema = z$i.object({
2445
+ const palettesSchema = z$h.object({
2926
2446
  base: paletteSchema,
2927
2447
  primary: paletteSchema,
2928
2448
  });
2929
- const createThemeSchema = definitionSchema(() => z$i.object({
2930
- palettes: z$i.object({
2449
+ const createThemeSchema = definitionSchema(() => z$h.object({
2450
+ palettes: z$h.object({
2931
2451
  base: paletteSchema,
2932
2452
  primary: paletteSchema,
2933
2453
  }),
2934
- colors: z$i.object({
2454
+ colors: z$h.object({
2935
2455
  light: themeColorSchema,
2936
2456
  dark: themeColorSchema,
2937
2457
  }),
2938
2458
  }));
2939
2459
 
2940
- const {z: z$h} = await importShared('zod');
2460
+ const {z: z$g} = await importShared('zod');
2941
2461
 
2942
2462
  const VALIDATORS = {
2943
- PASCAL_CASE_STRING: z$h
2463
+ PASCAL_CASE_STRING: z$g
2944
2464
  .string()
2945
2465
  .regex(/^[A-Z][a-zA-Z0-9]*$/, "Should be PascalCase, e.g. 'MyModel'"),
2946
- CAMEL_CASE_STRING: z$h
2466
+ CAMEL_CASE_STRING: z$g
2947
2467
  .string()
2948
2468
  .regex(/^[a-z][a-zA-Z0-9]*$/, "Should be camelCase, e.g. 'myField'"),
2949
- CONSTANT_CASE_STRING: z$h
2469
+ CONSTANT_CASE_STRING: z$g
2950
2470
  .string()
2951
2471
  .regex(/^[A-Z][A-Z0-9_]*$/, "Should be CONSTANT_CASE, e.g. 'MY_CONSTANT'"),
2952
- OPTIONAL_CONSTANT_CASE_STRING: z$h
2472
+ OPTIONAL_CONSTANT_CASE_STRING: z$g
2953
2473
  .string()
2954
2474
  .regex(/^[A-Z][A-Z0-9_]*$/, "Should be CONSTANT_CASE, e.g. 'MY_CONSTANT'")
2955
- .or(z$h.literal(''))
2475
+ .or(z$g.literal(''))
2956
2476
  .optional(),
2957
2477
  };
2958
2478
 
2959
- const {z: z$g} = await importShared('zod');
2960
- const createRoleArray = definitionSchema((ctx) => ctx.withDefault(z$g.array(ctx.withRef({
2479
+ const {z: z$f} = await importShared('zod');
2480
+ const createRoleArray = definitionSchema((ctx) => ctx.withDefault(z$f.array(ctx.withRef({
2961
2481
  type: authRoleEntityType,
2962
2482
  onDelete: 'DELETE',
2963
2483
  })), []));
2964
- const createModelGraphqlSchema = definitionSchema((ctx) => z$g.object({
2965
- objectType: ctx.withDefault(z$g.object({
2966
- enabled: ctx.withDefault(z$g.boolean(), false),
2967
- fields: ctx.withDefault(z$g.array(ctx.withRef({
2484
+ const createModelGraphqlSchema = definitionSchema((ctx) => z$f.object({
2485
+ objectType: ctx.withDefault(z$f.object({
2486
+ enabled: ctx.withDefault(z$f.boolean(), false),
2487
+ fields: ctx.withDefault(z$f.array(ctx.withRef({
2968
2488
  type: modelScalarFieldEntityType,
2969
2489
  onDelete: 'DELETE',
2970
2490
  parentPath: { context: 'model' },
2971
2491
  })), []),
2972
- localRelations: ctx.withDefault(z$g.array(ctx.withRef({
2492
+ localRelations: ctx.withDefault(z$f.array(ctx.withRef({
2973
2493
  type: modelLocalRelationEntityType,
2974
2494
  onDelete: 'DELETE',
2975
2495
  parentPath: { context: 'model' },
2976
2496
  })), []),
2977
- foreignRelations: ctx.withDefault(z$g.array(ctx.withRef({
2497
+ foreignRelations: ctx.withDefault(z$f.array(ctx.withRef({
2978
2498
  type: modelForeignRelationEntityType,
2979
2499
  onDelete: 'DELETE',
2980
2500
  parentPath: { context: 'model' },
2981
2501
  })), []),
2982
2502
  }), {}),
2983
- queries: ctx.withDefault(z$g.object({
2984
- get: ctx.withDefault(z$g.object({
2985
- enabled: ctx.withDefault(z$g.boolean(), false),
2503
+ queries: ctx.withDefault(z$f.object({
2504
+ get: ctx.withDefault(z$f.object({
2505
+ enabled: ctx.withDefault(z$f.boolean(), false),
2986
2506
  roles: createRoleArray(ctx),
2987
2507
  }), {}),
2988
- list: ctx.withDefault(z$g.object({
2989
- enabled: ctx.withDefault(z$g.boolean(), false),
2508
+ list: ctx.withDefault(z$f.object({
2509
+ enabled: ctx.withDefault(z$f.boolean(), false),
2990
2510
  roles: createRoleArray(ctx),
2991
2511
  }), {}),
2992
2512
  }), {}),
2993
- mutations: ctx.withDefault(z$g.object({
2994
- create: ctx.withDefault(z$g.object({
2995
- enabled: ctx.withDefault(z$g.boolean(), false),
2513
+ mutations: ctx.withDefault(z$f.object({
2514
+ create: ctx.withDefault(z$f.object({
2515
+ enabled: ctx.withDefault(z$f.boolean(), false),
2996
2516
  roles: createRoleArray(ctx),
2997
2517
  }), {}),
2998
- update: ctx.withDefault(z$g.object({
2999
- enabled: ctx.withDefault(z$g.boolean(), false),
2518
+ update: ctx.withDefault(z$f.object({
2519
+ enabled: ctx.withDefault(z$f.boolean(), false),
3000
2520
  roles: createRoleArray(ctx),
3001
2521
  }), {}),
3002
- delete: ctx.withDefault(z$g.object({
3003
- enabled: ctx.withDefault(z$g.boolean(), false),
2522
+ delete: ctx.withDefault(z$f.object({
2523
+ enabled: ctx.withDefault(z$f.boolean(), false),
3004
2524
  roles: createRoleArray(ctx),
3005
2525
  }), {}),
3006
2526
  }), {}),
3007
2527
  }));
3008
2528
 
3009
- const {z: z$f} = await importShared('zod');
2529
+ const {z: z$e} = await importShared('zod');
3010
2530
 
3011
2531
  const baseTransformerFields = {
3012
- id: z$f.string(),
3013
- type: z$f.string().min(1),
2532
+ id: z$e.string(),
2533
+ type: z$e.string().min(1),
3014
2534
  };
3015
- const baseTransformerSchema = z$f.object(baseTransformerFields);
2535
+ const baseTransformerSchema = z$e.object(baseTransformerFields);
3016
2536
  function createModelTransformerType(payload) {
3017
2537
  return payload;
3018
2538
  }
3019
2539
 
3020
- const {z: z$e} = await importShared('zod');
3021
- const createPasswordTransformerSchema = definitionSchema((ctx) => ctx.withEnt(z$e.object({
2540
+ const {z: z$d} = await importShared('zod');
2541
+ const createPasswordTransformerSchema = definitionSchema((ctx) => ctx.withEnt(z$d.object({
3022
2542
  ...baseTransformerFields,
3023
- type: z$e.literal('password'),
2543
+ type: z$d.literal('password'),
3024
2544
  }), {
3025
2545
  type: modelTransformerEntityType,
3026
2546
  parentPath: { context: 'model' },
3027
2547
  getNameResolver: () => 'password',
3028
2548
  }));
3029
- const createEmbeddedRelationTransformerSchema = definitionSchema((ctx) => ctx.withRefBuilder(ctx.withEnt(z$e.object({
2549
+ const createEmbeddedRelationTransformerSchema = definitionSchema((ctx) => ctx.withRefBuilder(ctx.withEnt(z$d.object({
3030
2550
  ...baseTransformerFields,
3031
2551
  foreignRelationRef: ctx.withRef({
3032
2552
  type: modelForeignRelationEntityType,
3033
2553
  onDelete: 'DELETE_PARENT',
3034
2554
  parentPath: { context: 'model' },
3035
2555
  }),
3036
- type: z$e.literal('embeddedRelation'),
3037
- embeddedFieldNames: z$e.array(ctx.withRef({
2556
+ type: z$d.literal('embeddedRelation'),
2557
+ embeddedFieldNames: z$d.array(ctx.withRef({
3038
2558
  type: modelScalarFieldEntityType,
3039
2559
  onDelete: 'RESTRICT',
3040
2560
  parentPath: { context: 'embeddedModel' },
3041
2561
  })),
3042
- embeddedTransformerNames: z$e
2562
+ embeddedTransformerNames: z$d
3043
2563
  .array(ctx.withRef({
3044
2564
  type: modelTransformerEntityType,
3045
2565
  onDelete: 'RESTRICT',
@@ -3119,46 +2639,46 @@ const createTransformerSchema = definitionSchema((ctx) => baseTransformerSchema.
3119
2639
  });
3120
2640
  }));
3121
2641
 
3122
- const {z: z$d} = await importShared('zod');
3123
- const createEnumValueSchema = definitionSchema((ctx) => ctx.withEnt(z$d.object({
3124
- id: z$d.string(),
3125
- name: z$d.string().min(1),
3126
- friendlyName: z$d.string().min(1),
2642
+ const {z: z$c} = await importShared('zod');
2643
+ const createEnumValueSchema = definitionSchema((ctx) => ctx.withEnt(z$c.object({
2644
+ id: z$c.string(),
2645
+ name: z$c.string().min(1),
2646
+ friendlyName: z$c.string().min(1),
3127
2647
  }), {
3128
2648
  type: modelEnumValueEntityType,
3129
2649
  parentPath: { context: 'enum' },
3130
2650
  }));
3131
- const createEnumBaseSchema = definitionSchema((ctx) => z$d.object({
3132
- id: z$d.string(),
3133
- name: z$d.string().min(1),
2651
+ const createEnumBaseSchema = definitionSchema((ctx) => z$c.object({
2652
+ id: z$c.string(),
2653
+ name: z$c.string().min(1),
3134
2654
  featureRef: ctx.withRef({
3135
2655
  type: featureEntityType,
3136
2656
  onDelete: 'RESTRICT',
3137
2657
  }),
3138
- values: z$d.array(createEnumValueSchema(ctx)),
3139
- isExposed: z$d.boolean(),
2658
+ values: z$c.array(createEnumValueSchema(ctx)),
2659
+ isExposed: z$c.boolean(),
3140
2660
  }));
3141
2661
  const createEnumSchema = definitionSchema((ctx) => ctx.withEnt(createEnumBaseSchema(ctx), {
3142
2662
  type: modelEnumEntityType,
3143
2663
  addContext: 'enum',
3144
2664
  }));
3145
2665
 
3146
- const {z: z$c} = await importShared('zod');
2666
+ const {z: z$b} = await importShared('zod');
3147
2667
  const createModelScalarFieldSchema = definitionSchema((ctx) => ctx
3148
- .withEnt(z$c.object({
3149
- id: z$c.string(),
2668
+ .withEnt(z$b.object({
2669
+ id: z$b.string(),
3150
2670
  name: VALIDATORS.CAMEL_CASE_STRING,
3151
- type: z$c.enum(SCALAR_FIELD_TYPES),
3152
- isOptional: z$c.boolean().default(false),
3153
- options: ctx.withRefBuilder(z$c
2671
+ type: z$b.enum(SCALAR_FIELD_TYPES),
2672
+ isOptional: z$b.boolean().default(false),
2673
+ options: ctx.withRefBuilder(z$b
3154
2674
  .object({
3155
2675
  // string options
3156
- default: z$c.string().default(''),
2676
+ default: z$b.string().default(''),
3157
2677
  // uuid options
3158
- genUuid: z$c.boolean().optional(),
2678
+ genUuid: z$b.boolean().optional(),
3159
2679
  // date options
3160
- updatedAt: z$c.boolean().optional(),
3161
- defaultToNow: z$c.boolean().optional(),
2680
+ updatedAt: z$b.boolean().optional(),
2681
+ defaultToNow: z$b.boolean().optional(),
3162
2682
  // enum options
3163
2683
  enumRef: ctx
3164
2684
  .withRef({
@@ -3166,7 +2686,7 @@ const createModelScalarFieldSchema = definitionSchema((ctx) => ctx
3166
2686
  onDelete: 'RESTRICT',
3167
2687
  })
3168
2688
  .optional(),
3169
- defaultEnumValueRef: z$c.string().optional(),
2689
+ defaultEnumValueRef: z$b.string().optional(),
3170
2690
  })
3171
2691
  .transform((val) => ({
3172
2692
  ...val,
@@ -3218,13 +2738,13 @@ const REFERENTIAL_ACTIONS = [
3218
2738
  'SetNull',
3219
2739
  'SetDefault',
3220
2740
  ];
3221
- const createModelRelationFieldSchema = definitionSchema((ctx) => ctx.withRefBuilder(z$c.object({
3222
- id: z$c.string(),
3223
- foreignId: z$c
2741
+ const createModelRelationFieldSchema = definitionSchema((ctx) => ctx.withRefBuilder(z$b.object({
2742
+ id: z$b.string(),
2743
+ foreignId: z$b
3224
2744
  .string()
3225
2745
  .default(() => modelForeignRelationEntityType.generateNewId()),
3226
2746
  name: VALIDATORS.CAMEL_CASE_STRING,
3227
- references: z$c.array(z$c.object({
2747
+ references: z$b.array(z$b.object({
3228
2748
  localRef: ctx.withRef({
3229
2749
  type: modelScalarFieldEntityType,
3230
2750
  onDelete: 'RESTRICT',
@@ -3236,10 +2756,10 @@ const createModelRelationFieldSchema = definitionSchema((ctx) => ctx.withRefBuil
3236
2756
  parentPath: { context: 'foreignModel' },
3237
2757
  }),
3238
2758
  })),
3239
- modelRef: z$c.string().min(1),
2759
+ modelRef: z$b.string().min(1),
3240
2760
  foreignRelationName: VALIDATORS.CAMEL_CASE_STRING,
3241
- onDelete: z$c.enum(REFERENTIAL_ACTIONS).default('Cascade'),
3242
- onUpdate: z$c.enum(REFERENTIAL_ACTIONS).default('Restrict'),
2761
+ onDelete: z$b.enum(REFERENTIAL_ACTIONS).default('Cascade'),
2762
+ onUpdate: z$b.enum(REFERENTIAL_ACTIONS).default('Restrict'),
3243
2763
  }), (builder) => {
3244
2764
  builder.addReference({
3245
2765
  type: modelEntityType,
@@ -3258,9 +2778,9 @@ const createModelRelationFieldSchema = definitionSchema((ctx) => ctx.withRefBuil
3258
2778
  parentPath: 'modelRef',
3259
2779
  });
3260
2780
  }));
3261
- const createModelUniqueConstraintSchema = definitionSchema((ctx) => ctx.withEnt(z$c.object({
3262
- id: z$c.string(),
3263
- fields: z$c.array(z$c.object({
2781
+ const createModelUniqueConstraintSchema = definitionSchema((ctx) => ctx.withEnt(z$b.object({
2782
+ id: z$b.string(),
2783
+ fields: z$b.array(z$b.object({
3264
2784
  fieldRef: ctx.withRef({
3265
2785
  type: modelScalarFieldEntityType,
3266
2786
  onDelete: 'RESTRICT',
@@ -3277,18 +2797,18 @@ const createModelUniqueConstraintSchema = definitionSchema((ctx) => ctx.withEnt(
3277
2797
  });
3278
2798
  },
3279
2799
  }));
3280
- const createModelServiceSchema = definitionSchema((ctx) => z$c.object({
3281
- create: z$c
2800
+ const createModelServiceSchema = definitionSchema((ctx) => z$b.object({
2801
+ create: z$b
3282
2802
  .object({
3283
- enabled: z$c.boolean().default(false),
3284
- fields: z$c
2803
+ enabled: z$b.boolean().default(false),
2804
+ fields: z$b
3285
2805
  .array(ctx.withRef({
3286
2806
  type: modelScalarFieldEntityType,
3287
2807
  onDelete: 'DELETE',
3288
2808
  parentPath: { context: 'model' },
3289
2809
  }))
3290
2810
  .optional(),
3291
- transformerNames: z$c
2811
+ transformerNames: z$b
3292
2812
  .array(ctx.withRef({
3293
2813
  type: modelTransformerEntityType,
3294
2814
  onDelete: 'DELETE',
@@ -3297,17 +2817,17 @@ const createModelServiceSchema = definitionSchema((ctx) => z$c.object({
3297
2817
  .optional(),
3298
2818
  })
3299
2819
  .default({ enabled: false }),
3300
- update: z$c
2820
+ update: z$b
3301
2821
  .object({
3302
- enabled: z$c.boolean().default(false),
3303
- fields: z$c
2822
+ enabled: z$b.boolean().default(false),
2823
+ fields: z$b
3304
2824
  .array(ctx.withRef({
3305
2825
  type: modelScalarFieldEntityType,
3306
2826
  onDelete: 'DELETE',
3307
2827
  parentPath: { context: 'model' },
3308
2828
  }))
3309
2829
  .optional(),
3310
- transformerNames: z$c
2830
+ transformerNames: z$b
3311
2831
  .array(ctx.withRef({
3312
2832
  type: modelTransformerEntityType,
3313
2833
  onDelete: 'DELETE',
@@ -3316,33 +2836,33 @@ const createModelServiceSchema = definitionSchema((ctx) => z$c.object({
3316
2836
  .optional(),
3317
2837
  })
3318
2838
  .default({ enabled: false }),
3319
- delete: z$c
2839
+ delete: z$b
3320
2840
  .object({
3321
- enabled: z$c.boolean().default(false),
2841
+ enabled: z$b.boolean().default(false),
3322
2842
  })
3323
2843
  .default({
3324
2844
  enabled: false,
3325
2845
  }),
3326
- transformers: z$c.array(createTransformerSchema(ctx)).default([]),
2846
+ transformers: z$b.array(createTransformerSchema(ctx)).default([]),
3327
2847
  }));
3328
- const createModelBaseSchema = definitionSchema((ctx) => z$c.object({
3329
- id: z$c.string(),
2848
+ const createModelBaseSchema = definitionSchema((ctx) => z$b.object({
2849
+ id: z$b.string(),
3330
2850
  name: VALIDATORS.PASCAL_CASE_STRING,
3331
2851
  featureRef: ctx.withRef({
3332
2852
  type: featureEntityType,
3333
2853
  onDelete: 'RESTRICT',
3334
2854
  }),
3335
- model: z$c.object({
3336
- fields: z$c.array(createModelScalarFieldSchema(ctx)),
3337
- relations: z$c.array(createModelRelationFieldSchema(ctx)).optional(),
3338
- primaryKeyFieldRefs: z$c
2855
+ model: z$b.object({
2856
+ fields: z$b.array(createModelScalarFieldSchema(ctx)),
2857
+ relations: z$b.array(createModelRelationFieldSchema(ctx)).optional(),
2858
+ primaryKeyFieldRefs: z$b
3339
2859
  .array(ctx.withRef({
3340
2860
  type: modelScalarFieldEntityType,
3341
2861
  onDelete: 'RESTRICT',
3342
2862
  parentPath: { context: 'model' },
3343
2863
  }))
3344
2864
  .min(1),
3345
- uniqueConstraints: z$c
2865
+ uniqueConstraints: z$b
3346
2866
  .array(createModelUniqueConstraintSchema(ctx))
3347
2867
  .optional(),
3348
2868
  }),
@@ -3363,22 +2883,22 @@ const adminSectionEntityType = createEntityType('admin-section', {
3363
2883
  parentType: appEntityType,
3364
2884
  });
3365
2885
 
3366
- const {z: z$b} = await importShared('zod');
3367
- const createBaseAdminSectionValidators = definitionSchema((ctx) => z$b.object({
3368
- id: z$b.string().default(adminSectionEntityType.generateNewId()),
3369
- name: z$b.string().min(1),
2886
+ const {z: z$a} = await importShared('zod');
2887
+ const createBaseAdminSectionValidators = definitionSchema((ctx) => z$a.object({
2888
+ id: z$a.string().default(adminSectionEntityType.generateNewId()),
2889
+ name: z$a.string().min(1),
3370
2890
  featureRef: ctx.withRef({
3371
2891
  type: featureEntityType,
3372
2892
  onDelete: 'RESTRICT',
3373
2893
  }),
3374
- icon: z$b.string().optional(),
3375
- type: z$b.string().min(1),
2894
+ icon: z$a.string().optional(),
2895
+ type: z$a.string().min(1),
3376
2896
  }));
3377
2897
 
3378
- const {z: z$a} = await importShared('zod');
3379
- const baseAdminCrudInputSchema = z$a.object({
3380
- type: z$a.string().min(1),
3381
- label: z$a.string().min(1),
2898
+ const {z: z$9} = await importShared('zod');
2899
+ const baseAdminCrudInputSchema = z$9.object({
2900
+ type: z$9.string().min(1),
2901
+ label: z$9.string().min(1),
3382
2902
  });
3383
2903
  function createAdminCrudInputType(payload) {
3384
2904
  return payload;
@@ -3387,41 +2907,41 @@ const adminCrudEmbeddedFormEntityType = createEntityType('admin-crud-embedded-fo
3387
2907
  parentType: adminSectionEntityType,
3388
2908
  });
3389
2909
 
3390
- const {z: z$9} = await importShared('zod');
3391
- const createAdminCrudTextInputSchema = definitionSchema((ctx) => z$9.object({
3392
- type: z$9.literal('text'),
3393
- label: z$9.string().min(1),
2910
+ const {z: z$8} = await importShared('zod');
2911
+ const createAdminCrudTextInputSchema = definitionSchema((ctx) => z$8.object({
2912
+ type: z$8.literal('text'),
2913
+ label: z$8.string().min(1),
3394
2914
  modelFieldRef: ctx.withRef({
3395
2915
  type: modelScalarFieldEntityType,
3396
2916
  onDelete: 'RESTRICT',
3397
2917
  parentPath: { context: 'model' },
3398
2918
  }),
3399
- validation: z$9.string().optional(),
2919
+ validation: z$8.string().optional(),
3400
2920
  }));
3401
2921
  const adminCrudTextInputType = createAdminCrudInputType({
3402
2922
  name: 'text',
3403
2923
  createSchema: createAdminCrudTextInputSchema,
3404
2924
  });
3405
- const createAdminCrudForeignInputSchema = definitionSchema((ctx) => z$9.object({
3406
- type: z$9.literal('foreign'),
3407
- label: z$9.string().min(1),
2925
+ const createAdminCrudForeignInputSchema = definitionSchema((ctx) => z$8.object({
2926
+ type: z$8.literal('foreign'),
2927
+ label: z$8.string().min(1),
3408
2928
  localRelationRef: ctx.withRef({
3409
2929
  type: modelLocalRelationEntityType,
3410
2930
  onDelete: 'RESTRICT',
3411
2931
  parentPath: { context: 'model' },
3412
2932
  }),
3413
- labelExpression: z$9.string().min(1),
3414
- valueExpression: z$9.string().min(1),
3415
- defaultLabel: z$9.string().optional(),
3416
- nullLabel: z$9.string().optional(),
2933
+ labelExpression: z$8.string().min(1),
2934
+ valueExpression: z$8.string().min(1),
2935
+ defaultLabel: z$8.string().optional(),
2936
+ nullLabel: z$8.string().optional(),
3417
2937
  }));
3418
2938
  const adminCrudForeignInputType = createAdminCrudInputType({
3419
2939
  name: 'foreign',
3420
2940
  createSchema: createAdminCrudForeignInputSchema,
3421
2941
  });
3422
- const createAdminCrudEnumInputSchema = definitionSchema((ctx) => z$9.object({
3423
- type: z$9.literal('enum'),
3424
- label: z$9.string().min(1),
2942
+ const createAdminCrudEnumInputSchema = definitionSchema((ctx) => z$8.object({
2943
+ type: z$8.literal('enum'),
2944
+ label: z$8.string().min(1),
3425
2945
  modelFieldRef: ctx.withRef({
3426
2946
  type: modelScalarFieldEntityType,
3427
2947
  onDelete: 'RESTRICT',
@@ -3432,9 +2952,9 @@ const adminCrudEnumInputType = createAdminCrudInputType({
3432
2952
  name: 'enum',
3433
2953
  createSchema: createAdminCrudEnumInputSchema,
3434
2954
  });
3435
- const createAdminCrudEmbeddedInputSchema = definitionSchema((ctx) => z$9.object({
3436
- type: z$9.literal('embedded'),
3437
- label: z$9.string().min(1),
2955
+ const createAdminCrudEmbeddedInputSchema = definitionSchema((ctx) => z$8.object({
2956
+ type: z$8.literal('embedded'),
2957
+ label: z$8.string().min(1),
3438
2958
  modelRelationRef: ctx.withRef({
3439
2959
  type: modelForeignRelationEntityType,
3440
2960
  onDelete: 'RESTRICT',
@@ -3450,9 +2970,9 @@ const adminCrudEmbeddedInputType = createAdminCrudInputType({
3450
2970
  name: 'embedded',
3451
2971
  createSchema: createAdminCrudEmbeddedInputSchema,
3452
2972
  });
3453
- const createAdminCrudEmbeddedLocalInputSchema = definitionSchema((ctx) => z$9.object({
3454
- type: z$9.literal('embeddedLocal'),
3455
- label: z$9.string().min(1),
2973
+ const createAdminCrudEmbeddedLocalInputSchema = definitionSchema((ctx) => z$8.object({
2974
+ type: z$8.literal('embeddedLocal'),
2975
+ label: z$8.string().min(1),
3456
2976
  localRelationRef: ctx.withRef({
3457
2977
  type: modelLocalRelationEntityType,
3458
2978
  onDelete: 'RESTRICT',
@@ -3468,9 +2988,9 @@ const adminCrudEmbeddedLocalInputType = createAdminCrudInputType({
3468
2988
  name: 'embeddedLocal',
3469
2989
  createSchema: createAdminCrudEmbeddedLocalInputSchema,
3470
2990
  });
3471
- const createAdminCrudPasswordInputSchema = definitionSchema(() => z$9.object({
3472
- type: z$9.literal('password'),
3473
- label: z$9.string().min(1),
2991
+ const createAdminCrudPasswordInputSchema = definitionSchema(() => z$8.object({
2992
+ type: z$8.literal('password'),
2993
+ label: z$8.string().min(1),
3474
2994
  }));
3475
2995
  const adminCrudPasswordInputType = createAdminCrudInputType({
3476
2996
  name: 'password',
@@ -3526,69 +3046,69 @@ const createAdminCrudInputSchema = definitionSchema((ctx) => baseAdminCrudInputS
3526
3046
  });
3527
3047
  }));
3528
3048
 
3529
- const {z: z$8} = await importShared('zod');
3049
+ const {z: z$7} = await importShared('zod');
3530
3050
  // Table Columns
3531
- const createAdminCrudForeignDisplaySchema = definitionSchema((ctx) => z$8.object({
3532
- type: z$8.literal('foreign'),
3051
+ const createAdminCrudForeignDisplaySchema = definitionSchema((ctx) => z$7.object({
3052
+ type: z$7.literal('foreign'),
3533
3053
  localRelationRef: ctx.withRef({
3534
3054
  type: modelLocalRelationEntityType,
3535
3055
  onDelete: 'RESTRICT',
3536
3056
  parentPath: { context: 'model' },
3537
3057
  }),
3538
- labelExpression: z$8.string().min(1),
3539
- valueExpression: z$8.string().min(1),
3058
+ labelExpression: z$7.string().min(1),
3059
+ valueExpression: z$7.string().min(1),
3540
3060
  }));
3541
- const createAdminCrudTextDisplaySchema = definitionSchema((ctx) => z$8.object({
3542
- type: z$8.literal('text'),
3061
+ const createAdminCrudTextDisplaySchema = definitionSchema((ctx) => z$7.object({
3062
+ type: z$7.literal('text'),
3543
3063
  modelFieldRef: ctx.withRef({
3544
3064
  type: modelScalarFieldEntityType,
3545
3065
  onDelete: 'RESTRICT',
3546
3066
  parentPath: { context: 'model' },
3547
3067
  }),
3548
3068
  }));
3549
- const createAdminCrudDisplaySchema = definitionSchema((ctx) => z$8.discriminatedUnion('type', [
3069
+ const createAdminCrudDisplaySchema = definitionSchema((ctx) => z$7.discriminatedUnion('type', [
3550
3070
  createAdminCrudTextDisplaySchema(ctx),
3551
3071
  createAdminCrudForeignDisplaySchema(ctx),
3552
3072
  ]));
3553
3073
  // TODO: Improve this to be more dynamic in the future
3554
3074
  const adminCrudDisplayTypes = ['text', 'foreign'];
3555
- const createAdminCrudTableColumnSchema = definitionSchema((ctx) => z$8.object({
3556
- label: z$8.string().min(1),
3075
+ const createAdminCrudTableColumnSchema = definitionSchema((ctx) => z$7.object({
3076
+ label: z$7.string().min(1),
3557
3077
  display: createAdminCrudDisplaySchema(ctx),
3558
3078
  }));
3559
3079
  // Embedded Crud
3560
- const createAdminCrudEmbeddedObjectSchema = definitionSchema((ctx) => z$8.object({
3561
- id: z$8.string().min(1),
3562
- name: z$8.string().min(1),
3080
+ const createAdminCrudEmbeddedObjectSchema = definitionSchema((ctx) => z$7.object({
3081
+ id: z$7.string().min(1),
3082
+ name: z$7.string().min(1),
3563
3083
  modelRef: ctx.withRef({
3564
3084
  type: modelEntityType,
3565
3085
  onDelete: 'RESTRICT',
3566
3086
  }),
3567
- includeIdField: z$8.boolean().optional(),
3568
- type: z$8.literal('object'),
3569
- form: z$8.object({
3570
- fields: z$8.array(createAdminCrudInputSchema(ctx)),
3087
+ includeIdField: z$7.boolean().optional(),
3088
+ type: z$7.literal('object'),
3089
+ form: z$7.object({
3090
+ fields: z$7.array(createAdminCrudInputSchema(ctx)),
3571
3091
  }),
3572
3092
  }));
3573
- const createAdminCrudEmbeddedListSchema = definitionSchema((ctx) => z$8.object({
3574
- id: z$8.string().min(1),
3575
- name: z$8.string().min(1),
3093
+ const createAdminCrudEmbeddedListSchema = definitionSchema((ctx) => z$7.object({
3094
+ id: z$7.string().min(1),
3095
+ name: z$7.string().min(1),
3576
3096
  modelRef: ctx.withRef({
3577
3097
  type: modelEntityType,
3578
3098
  onDelete: 'RESTRICT',
3579
3099
  }),
3580
- includeIdField: z$8.boolean().optional(),
3581
- type: z$8.literal('list'),
3100
+ includeIdField: z$7.boolean().optional(),
3101
+ type: z$7.literal('list'),
3582
3102
  // NOTE: These two fields need to be synced with crud section schema
3583
3103
  // because the web app expects that (TODO)
3584
- table: z$8.object({
3585
- columns: z$8.array(createAdminCrudTableColumnSchema(ctx)),
3104
+ table: z$7.object({
3105
+ columns: z$7.array(createAdminCrudTableColumnSchema(ctx)),
3586
3106
  }),
3587
- form: z$8.object({
3588
- fields: z$8.array(createAdminCrudInputSchema(ctx)),
3107
+ form: z$7.object({
3108
+ fields: z$7.array(createAdminCrudInputSchema(ctx)),
3589
3109
  }),
3590
3110
  }));
3591
- const createAdminCrudEmbeddedFormSchema = definitionSchema((ctx) => ctx.withRefBuilder(z$8.discriminatedUnion('type', [
3111
+ const createAdminCrudEmbeddedFormSchema = definitionSchema((ctx) => ctx.withRefBuilder(z$7.discriminatedUnion('type', [
3592
3112
  createAdminCrudEmbeddedObjectSchema(ctx),
3593
3113
  createAdminCrudEmbeddedListSchema(ctx),
3594
3114
  ]), (builder) => {
@@ -3599,75 +3119,54 @@ const createAdminCrudEmbeddedFormSchema = definitionSchema((ctx) => ctx.withRefB
3599
3119
  builder.addPathToContext('modelRef', modelEntityType, 'model');
3600
3120
  }));
3601
3121
  // Admin Section
3602
- const createAdminCrudSectionSchema = definitionSchema((ctx) => ctx.withRefBuilder(createBaseAdminSectionValidators(ctx).and(z$8.object({
3603
- type: z$8.literal('crud'),
3122
+ const createAdminCrudSectionSchema = definitionSchema((ctx) => ctx.withRefBuilder(createBaseAdminSectionValidators(ctx).and(z$7.object({
3123
+ type: z$7.literal('crud'),
3604
3124
  modelRef: ctx.withRef({
3605
3125
  type: modelEntityType,
3606
3126
  onDelete: 'RESTRICT',
3607
3127
  }),
3608
- disableCreate: z$8.boolean().optional(),
3609
- table: z$8.object({
3610
- columns: z$8.array(createAdminCrudTableColumnSchema(ctx)),
3128
+ disableCreate: ctx.withDefault(z$7.boolean(), false),
3129
+ table: z$7.object({
3130
+ columns: z$7.array(createAdminCrudTableColumnSchema(ctx)),
3611
3131
  }),
3612
- form: z$8.object({
3613
- fields: z$8.array(createAdminCrudInputSchema(ctx)),
3132
+ form: z$7.object({
3133
+ fields: z$7.array(createAdminCrudInputSchema(ctx)),
3614
3134
  }),
3615
- embeddedForms: z$8
3135
+ embeddedForms: z$7
3616
3136
  .array(createAdminCrudEmbeddedFormSchema(ctx))
3617
3137
  .optional(),
3618
3138
  })), (builder) => {
3619
3139
  builder.addPathToContext('modelRef', modelEntityType, 'model');
3620
3140
  }));
3621
3141
 
3622
- const {z: z$7} = await importShared('zod');
3623
- const createAdminSectionSchema = definitionSchema((ctx) => ctx.withRefBuilder(createAdminCrudSectionSchema(ctx), (builder) => {
3142
+ const {z: z$6} = await importShared('zod');
3143
+ const createWebAdminSectionSchema = definitionSchema((ctx) => ctx.withRefBuilder(createAdminCrudSectionSchema(ctx), (builder) => {
3624
3144
  builder.addEntity({
3625
3145
  type: adminSectionEntityType,
3626
3146
  parentPath: { context: 'app' },
3627
3147
  addContext: 'admin-section',
3628
3148
  });
3629
3149
  }));
3630
- const createAdminAppSchema = definitionSchema((ctx) => z$7.object({
3631
- ...baseAppValidators,
3632
- type: z$7.literal('admin'),
3633
- allowedRoles: z$7
3634
- .array(ctx.withRef({
3150
+ const createAdminAppSchema = definitionSchema((ctx) => ctx.withDefault(z$6.object({
3151
+ enabled: z$6.boolean(),
3152
+ pathPrefix: z$6.string().default('/admin'),
3153
+ allowedRoles: ctx.withDefault(z$6.array(ctx.withRef({
3635
3154
  type: authRoleEntityType,
3636
3155
  onDelete: 'DELETE',
3637
- }))
3638
- .optional(),
3639
- sections: z$7.array(createAdminSectionSchema(ctx)).optional(),
3640
- }));
3641
- const adminAppEntryType = createAppEntryType('admin');
3642
-
3643
- const {z: z$6} = await importShared('zod');
3644
- const createBackendAppSchema = definitionSchema(() => z$6.object({
3645
- ...baseAppValidators,
3646
- type: z$6.literal('backend'),
3647
- enableStripe: z$6.boolean().optional(),
3648
- enableRedis: z$6.boolean().optional(),
3649
- enableBullQueue: z$6.boolean().optional(),
3650
- enablePostmark: z$6.boolean().optional(),
3651
- enableSubscriptions: z$6.boolean().optional(),
3652
- enableAxios: z$6.boolean().optional(),
3653
- }));
3654
- const backendAppEntryType = createAppEntryType('backend');
3156
+ })), []),
3157
+ sections: ctx.withDefault(z$6.array(createWebAdminSectionSchema(ctx)), []),
3158
+ }), { enabled: false, pathPrefix: '/admin' }));
3655
3159
 
3656
3160
  const {z: z$5} = await importShared('zod');
3657
3161
  const createWebAppSchema = definitionSchema((ctx) => z$5.object({
3658
3162
  ...baseAppValidators,
3659
3163
  type: z$5.literal('web'),
3660
- includeAuth: z$5.boolean().optional(),
3661
- title: z$5.string().optional(),
3662
- description: z$5.string().optional(),
3663
- allowedRoles: z$5
3664
- .array(ctx.withRef({
3665
- type: authRoleEntityType,
3666
- onDelete: 'DELETE',
3667
- }))
3668
- .optional(),
3669
- includeUploadComponents: z$5.boolean().optional(),
3670
- enableSubscriptions: z$5.boolean().optional(),
3164
+ includeAuth: ctx.withDefault(z$5.boolean(), false),
3165
+ title: z$5.string().default(''),
3166
+ description: z$5.string().default(''),
3167
+ includeUploadComponents: ctx.withDefault(z$5.boolean(), false),
3168
+ enableSubscriptions: ctx.withDefault(z$5.boolean(), false),
3169
+ adminApp: createAdminAppSchema(ctx),
3671
3170
  }));
3672
3171
  const webAppEntryType = createAppEntryType('web');
3673
3172
 
@@ -3719,6 +3218,8 @@ const createTemplateExtractorSchema = definitionSchema(() => z$3.object({
3719
3218
  fileIdRegexWhitelist: z$3.string().default(''),
3720
3219
  }));
3721
3220
 
3221
+ const {CASE_VALIDATORS} = await importShared('@baseplate-dev/utils');
3222
+
3722
3223
  const {z: z$2} = await importShared('zod');
3723
3224
  const generalSettingsSchema = z$2.object({
3724
3225
  /**
@@ -3751,7 +3252,6 @@ const {z: z$1} = await importShared('zod');
3751
3252
  const createAppSchema = definitionSchema((ctx) => ctx.withRefBuilder(z$1.discriminatedUnion('type', [
3752
3253
  createBackendAppSchema(ctx),
3753
3254
  createWebAppSchema(ctx),
3754
- createAdminAppSchema(ctx),
3755
3255
  ]), (builder) => {
3756
3256
  builder.addEntity({
3757
3257
  type: appEntityType,
@@ -3770,19 +3270,19 @@ const createProjectDefinitionSchema = definitionSchema((ctx) => z$1.object({
3770
3270
  settings: createSettingsSchema(ctx),
3771
3271
  }));
3772
3272
 
3773
- function byId$1(projectDefinition, id) {
3273
+ function byId(projectDefinition, id) {
3774
3274
  return projectDefinition.enums?.find((e) => e.id === id);
3775
3275
  }
3776
- function byIdOrThrow$1(projectDefinition, id) {
3777
- const enumConfig = byId$1(projectDefinition, id);
3276
+ function byIdOrThrow(projectDefinition, id) {
3277
+ const enumConfig = byId(projectDefinition, id);
3778
3278
  if (!enumConfig) {
3779
3279
  throw new Error(`Could not find enum with ID ${id}`);
3780
3280
  }
3781
3281
  return enumConfig;
3782
3282
  }
3783
3283
  const EnumUtils = {
3784
- byId: byId$1,
3785
- byIdOrThrow: byIdOrThrow$1,
3284
+ byId,
3285
+ byIdOrThrow,
3786
3286
  };
3787
3287
 
3788
3288
  function isScalarUnique(model, fieldId) {
@@ -3880,27 +3380,31 @@ function getTransformName(definitionContainer, transformer, pluginStore) {
3880
3380
  }
3881
3381
  const ModelTransformerUtils = { getTransformer, getTransformName };
3882
3382
 
3883
- function byId(projectDefinition, id) {
3884
- const pluginEntityId = pluginEntityType.idFromKey(id);
3383
+ function byKey(projectDefinition, key) {
3384
+ const pluginEntityId = pluginEntityType.idFromKey(key);
3885
3385
  const plugin = projectDefinition.plugins?.find((m) => m.id === pluginEntityId);
3886
- return plugin ?? null;
3386
+ return plugin;
3887
3387
  }
3888
- function byIdOrThrow(projectDefinition, id) {
3889
- const plugin = byId(projectDefinition, id);
3388
+ function byKeyOrThrow(projectDefinition, id) {
3389
+ const plugin = byKey(projectDefinition, id);
3890
3390
  if (!plugin) {
3891
3391
  throw new Error(`Could not find plugin with ID ${id}`);
3892
3392
  }
3893
3393
  return plugin;
3894
3394
  }
3895
- function configByIdOrThrow(projectDefinition, id) {
3896
- const def = byIdOrThrow(projectDefinition, id);
3395
+ function configByKey(projectDefinition, key) {
3396
+ const def = byKey(projectDefinition, key);
3397
+ return def?.config;
3398
+ }
3399
+ function configByKeyOrThrow(projectDefinition, key) {
3400
+ const def = byKeyOrThrow(projectDefinition, key);
3897
3401
  return def.config;
3898
3402
  }
3899
3403
  function setPluginConfig(projectDefinition, plugin, pluginConfig, pluginImplementationStore) {
3900
3404
  const plugins = projectDefinition.plugins ?? [];
3901
- const pluginEntityId = pluginEntityType.idFromKey(plugin.id);
3405
+ const pluginEntityId = pluginEntityType.idFromKey(plugin.key);
3902
3406
  const pluginConfigService = pluginImplementationStore.getPluginSpec(pluginConfigSpec);
3903
- const lastMigrationVersion = pluginConfigService.getLastMigrationVersion(plugin.id);
3407
+ const lastMigrationVersion = pluginConfigService.getLastMigrationVersion(plugin.key);
3904
3408
  projectDefinition.plugins = plugins.some((p) => p.id === pluginEntityId)
3905
3409
  ? plugins.map((p) => pluginEntityId === p.id ? { ...p, config: pluginConfig } : p)
3906
3410
  : [
@@ -3915,11 +3419,34 @@ function setPluginConfig(projectDefinition, plugin, pluginConfig, pluginImplemen
3915
3419
  },
3916
3420
  ];
3917
3421
  }
3422
+ /**
3423
+ * Disables a plugin and all plugins that it manages recursively.
3424
+ *
3425
+ * @param projectDefinition The project definition to disable the plugin in
3426
+ * @param pluginKey The ID of the plugin to disable
3427
+ * @param context The schema parser context to use
3428
+ */
3429
+ function disablePlugin(projectDefinition, pluginKey, context) {
3430
+ // Get plugin metadata to be disabled
3431
+ const pluginMetadata = getPluginMetadataByKeyOrThrow(context.pluginStore, pluginKey);
3432
+ // Make sure we disable any plugins that are managed by this plugin
3433
+ const managedPlugins = projectDefinition.plugins?.filter((p) => {
3434
+ const managedPlugin = getPluginMetadataByKeyOrThrow(context.pluginStore, pluginEntityType.keyFromId(p.id));
3435
+ return managedPlugin.managedBy === pluginMetadata.fullyQualifiedName;
3436
+ });
3437
+ if (managedPlugins) {
3438
+ for (const p of managedPlugins)
3439
+ disablePlugin(projectDefinition, p.id, context);
3440
+ }
3441
+ projectDefinition.plugins = projectDefinition.plugins?.filter((p) => p.id !== pluginEntityType.idFromKey(pluginKey));
3442
+ }
3918
3443
  const PluginUtils = {
3919
- byId,
3920
- byIdOrThrow,
3444
+ byKey,
3445
+ byKeyOrThrow,
3446
+ configByKey,
3921
3447
  setPluginConfig,
3922
- configByIdOrThrow,
3448
+ configByKeyOrThrow,
3449
+ disablePlugin,
3923
3450
  };
3924
3451
 
3925
3452
  const {z} = await importShared('zod');
@@ -3964,13 +3491,38 @@ function createPluginImplementationStore(pluginStore, projectDefinition) {
3964
3491
  throw new Error(`Unable to find plugin ${pluginName}!`);
3965
3492
  }
3966
3493
  return {
3967
- id: plugin.metadata.id,
3494
+ key: plugin.metadata.key,
3968
3495
  name: pluginName,
3969
3496
  pluginModules: plugin.modules,
3970
3497
  };
3971
3498
  });
3972
3499
  return initializePlugins(pluginsWithModules, specImplementations);
3973
3500
  }
3501
+ /**
3502
+ * Creates a plugin implementation store with the given plugins added to the project definition.
3503
+ *
3504
+ * @param pluginStore The plugin store to use
3505
+ * @param plugins The plugins to add to the project definition
3506
+ * @param projectDefinition The project definition to use
3507
+ * @returns The plugin implementation store
3508
+ */
3509
+ function createPluginImplementationStoreWithNewPlugins(pluginStore, plugins, projectDefinition) {
3510
+ const newProjectDefinition = {
3511
+ ...projectDefinition,
3512
+ plugins: [
3513
+ ...(projectDefinition.plugins ?? []),
3514
+ ...plugins
3515
+ .filter((p) => !projectDefinition.plugins?.some((p2) => p2.id === pluginEntityType.idFromKey(p.key)))
3516
+ .map((p) => ({
3517
+ id: pluginEntityType.idFromKey(p.key),
3518
+ version: p.version,
3519
+ name: p.name,
3520
+ packageName: p.packageName,
3521
+ })),
3522
+ ],
3523
+ };
3524
+ return createPluginImplementationStore(pluginStore, newProjectDefinition);
3525
+ }
3974
3526
  /**
3975
3527
  * Creates a project definition schema with the given context.
3976
3528
  *
@@ -4004,6 +3556,7 @@ function parseProjectDefinitionWithReferences(projectDefinition, context) {
4004
3556
  return { definition, pluginStore: pluginImplementationStore };
4005
3557
  }
4006
3558
 
3559
+ const {stringifyPrettyStable} = await importShared('@baseplate-dev/utils');
4007
3560
  /**
4008
3561
  * Container for a project definition that includes references and entities.
4009
3562
  *
@@ -9097,6 +8650,107 @@ const migration015NullParentRefs = createSchemaMigration({
9097
8650
  },
9098
8651
  });
9099
8652
 
8653
+ const migration016WebAdminConfig = createSchemaMigration({
8654
+ version: 16,
8655
+ name: 'webAdminApp',
8656
+ description: 'Convert admin apps to web apps with adminApp and add adminApp to existing web apps',
8657
+ migrate: (config) => {
8658
+ if (!config.apps) {
8659
+ return config;
8660
+ }
8661
+ const apps = config.apps.map((app) => {
8662
+ // Convert admin apps to web apps with adminConfig enabled
8663
+ if (app.type === 'admin') {
8664
+ const { sections, allowedRoles, ...restApp } = app;
8665
+ return {
8666
+ ...restApp,
8667
+ type: 'web',
8668
+ adminApp: {
8669
+ enabled: true,
8670
+ pathPrefix: '/admin',
8671
+ sections: sections ?? [],
8672
+ allowedRoles: allowedRoles ?? undefined,
8673
+ },
8674
+ };
8675
+ }
8676
+ // Add adminApp to web apps that don't already have it
8677
+ if (app.type === 'web' && !('adminApp' in app)) {
8678
+ return {
8679
+ ...app,
8680
+ adminApp: {
8681
+ enabled: false,
8682
+ pathPrefix: '/admin',
8683
+ },
8684
+ };
8685
+ }
8686
+ return app;
8687
+ });
8688
+ return {
8689
+ ...config,
8690
+ apps,
8691
+ };
8692
+ },
8693
+ });
8694
+
8695
+ const migration017RenameAuthPlugin = createSchemaMigration({
8696
+ version: 17,
8697
+ name: 'renameAuthPlugin',
8698
+ description: 'Rename plugin plugin-auth_auth to plugin-auth_local-auth and auto-activate auth manager plugin',
8699
+ migrate: (config) => {
8700
+ if (!config.plugins) {
8701
+ return config;
8702
+ }
8703
+ let plugins = [...config.plugins];
8704
+ let renamedPlugin = null;
8705
+ // Step 1: Rename plugin-auth_auth to plugin-auth_local-auth
8706
+ plugins = plugins.map((plugin) => {
8707
+ if (plugin.id === 'plugin:baseplate-dev_plugin-auth_auth') {
8708
+ renamedPlugin = {
8709
+ ...plugin,
8710
+ name: 'local-auth',
8711
+ id: 'plugin:baseplate-dev_plugin-auth_local-auth',
8712
+ };
8713
+ return renamedPlugin;
8714
+ }
8715
+ return plugin;
8716
+ });
8717
+ // Step 2: Check for any auth implementation plugins
8718
+ const authImplementationPlugins = plugins.filter((plugin) => plugin.id === 'plugin:baseplate-dev_plugin-auth_local-auth' ||
8719
+ plugin.id === 'plugin:baseplate-dev_plugin-auth_auth0' ||
8720
+ plugin.id === 'plugin:baseplate-dev_plugin-auth_placeholder-auth');
8721
+ // Step 3: If any implementation plugins exist, create main auth plugin with ported config
8722
+ if (authImplementationPlugins.length > 0) {
8723
+ // Determine the primary implementation plugin (prioritize local-auth > auth0 > placeholder)
8724
+ const primaryImplementationPlugin = authImplementationPlugins.find((p) => p.id === 'plugin:baseplate-dev_plugin-auth_local-auth') ??
8725
+ authImplementationPlugins.find((p) => p.id === 'plugin:baseplate-dev_plugin-auth_auth0') ??
8726
+ authImplementationPlugins.find((p) => p.id === 'plugin:baseplate-dev_plugin-auth_placeholder-auth');
8727
+ if (primaryImplementationPlugin) {
8728
+ // Extract implementation key from plugin ID
8729
+ const implementationPluginKey = primaryImplementationPlugin.id.replace('plugin:', '');
8730
+ // Port configuration from the implementation plugin
8731
+ const implementationConfig = (primaryImplementationPlugin.config ??
8732
+ {});
8733
+ // Create main auth plugin with ported configuration
8734
+ plugins.push({
8735
+ id: 'plugin:baseplate-dev_plugin-auth_auth',
8736
+ name: 'auth',
8737
+ packageName: '@baseplate-dev/plugin-auth',
8738
+ version: '1.0.0',
8739
+ config: {
8740
+ implementationPluginKey,
8741
+ authFeatureRef: implementationConfig.authFeatureRef,
8742
+ roles: implementationConfig.roles,
8743
+ },
8744
+ });
8745
+ }
8746
+ }
8747
+ return {
8748
+ ...config,
8749
+ plugins,
8750
+ };
8751
+ },
8752
+ });
8753
+
9100
8754
  const SCHEMA_MIGRATIONS = [
9101
8755
  migration005PrimaryUniqueRefs,
9102
8756
  migration006IndividualServiceControllers,
@@ -9109,6 +8763,8 @@ const SCHEMA_MIGRATIONS = [
9109
8763
  migration013MoveGeneralSettings,
9110
8764
  migration014MigratePluginIds,
9111
8765
  migration015NullParentRefs,
8766
+ migration016WebAdminConfig,
8767
+ migration017RenameAuthPlugin,
9112
8768
  ];
9113
8769
  function isMigrateableProjectDefinition(projectDefinition) {
9114
8770
  return (typeof projectDefinition === 'object' &&
@@ -10247,5 +9903,5 @@ function generateDefaultTheme() {
10247
9903
  };
10248
9904
  }
10249
9905
 
10250
- export { AVAILABLE_FLAGS, AppUtils, BUILT_IN_ADMIN_CRUD_INPUTS, BUILT_IN_TRANSFORMERS, COLOR_PALETTES, DefinitionRefBuilder, EnumUtils, FIXED_COLOR_MAPPINGS, ModelFieldUtils, ModelTransformerUtils, ModelUtils, PALETTE_SHADES, PluginImplementationStore, PluginUtils, ProjectDefinitionContainer, REFERENTIAL_ACTIONS, SCALAR_FIELD_TYPES, SCHEMA_MIGRATIONS, SchemaMigrationError, THEME_COLORS, THEME_COLOR_KEYS, VALIDATORS, adminAppEntryType, adminCrudDisplayTypes, adminCrudEmbeddedFormEntityType, adminCrudEmbeddedInputType, adminCrudEmbeddedLocalInputType, adminCrudInputCompilerSpec, adminCrudInputSpec, adminSectionEntityType, appCompilerSpec, appEntityType, authConfigSpec, authRoleEntityType, backendAppEntryType, baseAdminCrudInputSchema, baseAppSchema, baseAppValidators, basePluginDefinitionSchema, baseTransformerFields, baseTransformerSchema, convertColorNameToOklch, convertHexToOklch, convertOklchToColorName, convertOklchToHex, createAdminAppSchema, createAdminCrudDisplaySchema, createAdminCrudEmbeddedFormSchema, createAdminCrudEmbeddedInputSchema, createAdminCrudEmbeddedListSchema, createAdminCrudEmbeddedLocalInputSchema, createAdminCrudEmbeddedObjectSchema, createAdminCrudEnumInputSchema, createAdminCrudForeignDisplaySchema, createAdminCrudForeignInputSchema, createAdminCrudInputCompilerImplementation, createAdminCrudInputImplementation, createAdminCrudInputSchema, createAdminCrudInputType, createAdminCrudPasswordInputSchema, createAdminCrudSectionSchema, createAdminCrudTableColumnSchema, createAdminCrudTextDisplaySchema, createAdminCrudTextInputSchema, createAdminSectionSchema, createAppCompiler, createAppCompilerPlugin, createAppEntryType, createAppSchema, createBackendAppSchema, createBaseAdminSectionValidators, createDefinitionEntityNameResolver, createDefinitionSchemaParserContext, createEmbeddedRelationTransformerSchema, createEntityType, createEnumBaseSchema, createEnumSchema, createEnumValueSchema, createFeaturesSchema, createModelBaseSchema, createModelGraphqlSchema, createModelRelationFieldSchema, createModelScalarFieldSchema, createModelSchema, createModelServiceSchema, createModelTransformerCompilerImplementation, createModelTransformerImplementation, createModelTransformerType, createModelUniqueConstraintSchema, createPasswordTransformerSchema, createPlatformPluginExport, createPluginConfigImplementation, createPluginImplementationStore, createPluginSpec, createPluginWithConfigSchema, createPluginsSchema, createProjectDefinitionSchema, createProjectDefinitionSchemaWithContext, createSettingsSchema, createTemplateExtractorSchema, createTestProjectDefinition, createTestProjectDefinitionContainer, createTestProjectDefinitionInput, createThemeSchema, createTransformerSchema, createWebAppSchema, createWebConfigImplementation, definitionSchema, deserializeSchemaWithTransformedReferences, extractDefinitionRefs, extractDefinitionRefsRecursive, featureEntityType, fixRefDeletions, generalSettingsSchema, generateCssFromThemeConfig, generateDefaultTheme, generateThemeColorsFromShade, getBackendRelativePath, getDefaultThemeColorFromShade, getLatestMigrationVersion, initializePlugins, isMigrateableProjectDefinition, modelEntityType, modelEnumEntityType, modelEnumValueEntityType, modelForeignRelationEntityType, modelLocalRelationEntityType, modelScalarFieldEntityType, modelTransformerCompilerSpec, modelTransformerEntityType, modelTransformerSpec, modelUniqueConstraintEntityType, oklchColor, paletteSchema, palettesSchema, parseOklch, parseProjectDefinitionWithContext, parseProjectDefinitionWithReferences, pluginConfigSpec, pluginEntityType, pluginManifestJsonSchema, pluginMetadataSchema, pluginSpecDependencySchema, pluginSpecSupportSchema, runPluginMigrations, runSchemaMigrations, serializeSchema, serializeSchemaFromRefPayload, stripEmptyGeneratorChildren, stripUndefinedValues, themeColorSchema, undefinedIfEmpty, undefinedIfFalsy, webAppEntryType, webConfigSpec };
10251
- //# sourceMappingURL=project-builder-lib-DqkNAXn3.js.map
9906
+ export { AVAILABLE_FLAGS, AppUtils, BUILT_IN_ADMIN_CRUD_INPUTS, BUILT_IN_TRANSFORMERS, COLOR_PALETTES, DefinitionRefBuilder, EnumUtils, FIXED_COLOR_MAPPINGS, ModelFieldUtils, ModelTransformerUtils, ModelUtils, PALETTE_SHADES, PluginImplementationStore, PluginUtils, ProjectDefinitionContainer, REFERENTIAL_ACTIONS, SCALAR_FIELD_TYPES, SCHEMA_MIGRATIONS, SchemaMigrationError, THEME_COLORS, THEME_COLOR_KEYS, VALIDATORS, adminCrudDisplayTypes, adminCrudEmbeddedFormEntityType, adminCrudEmbeddedInputType, adminCrudEmbeddedLocalInputType, adminCrudInputCompilerSpec, adminCrudInputSpec, adminSectionEntityType, appCompilerSpec, appEntityType, authConfigSpec, authModelConfigSpec, authRoleEntityType, backendAppEntryType, baseAdminCrudInputSchema, baseAppSchema, baseAppValidators, basePluginDefinitionSchema, baseTransformerFields, baseTransformerSchema, convertColorNameToOklch, convertHexToOklch, convertOklchToColorName, convertOklchToHex, createAdminAppSchema, createAdminCrudDisplaySchema, createAdminCrudEmbeddedFormSchema, createAdminCrudEmbeddedInputSchema, createAdminCrudEmbeddedListSchema, createAdminCrudEmbeddedLocalInputSchema, createAdminCrudEmbeddedObjectSchema, createAdminCrudEnumInputSchema, createAdminCrudForeignDisplaySchema, createAdminCrudForeignInputSchema, createAdminCrudInputCompilerImplementation, createAdminCrudInputImplementation, createAdminCrudInputSchema, createAdminCrudInputType, createAdminCrudPasswordInputSchema, createAdminCrudSectionSchema, createAdminCrudTableColumnSchema, createAdminCrudTextDisplaySchema, createAdminCrudTextInputSchema, createAppCompiler, createAppCompilerPlugin, createAppEntryType, createAppSchema, createBackendAppSchema, createBaseAdminSectionValidators, createDefinitionEntityNameResolver, createDefinitionSchemaParserContext, createEmbeddedRelationTransformerSchema, createEntityType, createEnumBaseSchema, createEnumSchema, createEnumValueSchema, createFeaturesSchema, createModelBaseSchema, createModelGraphqlSchema, createModelRelationFieldSchema, createModelScalarFieldSchema, createModelSchema, createModelServiceSchema, createModelTransformerCompilerImplementation, createModelTransformerImplementation, createModelTransformerType, createModelUniqueConstraintSchema, createPasswordTransformerSchema, createPlatformPluginExport, createPluginConfigImplementation, createPluginImplementationStore, createPluginImplementationStoreWithNewPlugins, createPluginSpec, createPluginWithConfigSchema, createPluginsSchema, createProjectDefinitionSchema, createProjectDefinitionSchemaWithContext, createSettingsSchema, createTemplateExtractorSchema, createTestProjectDefinition, createTestProjectDefinitionContainer, createTestProjectDefinitionInput, createThemeSchema, createTransformerSchema, createWebAdminSectionSchema, createWebAppSchema, createWebConfigImplementation, definitionSchema, deserializeSchemaWithTransformedReferences, extractDefinitionRefs, extractDefinitionRefsRecursive, featureEntityType, fixRefDeletions, generalSettingsSchema, generateCssFromThemeConfig, generateDefaultTheme, generateThemeColorsFromShade, getBackendRelativePath, getDefaultThemeColorFromShade, getLatestMigrationVersion, getManagedPluginsForPlugin, getPluginMetadataByKey, getPluginMetadataByKeyOrThrow, initializePlugins, isMigrateableProjectDefinition, modelEntityType, modelEnumEntityType, modelEnumValueEntityType, modelForeignRelationEntityType, modelLocalRelationEntityType, modelScalarFieldEntityType, modelTransformerCompilerSpec, modelTransformerEntityType, modelTransformerSpec, modelUniqueConstraintEntityType, oklchColor, paletteSchema, palettesSchema, parseOklch, parseProjectDefinitionWithContext, parseProjectDefinitionWithReferences, pluginConfigSpec, pluginEntityType, pluginMetadataSchema, pluginSpecDependencySchema, pluginSpecSupportSchema, runPluginMigrations, runSchemaMigrations, serializeSchema, serializeSchemaFromRefPayload, stripEmptyGeneratorChildren, stripUndefinedValues, themeColorSchema, undefinedIfEmpty, undefinedIfFalsy, webAppEntryType, webConfigSpec };
9907
+ //# sourceMappingURL=project-builder-lib-CGEZr0YI.js.map