@baseplate-dev/plugin-auth 3.0.4 → 4.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 (281) hide show
  1. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +39 -25
  2. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
  3. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +18 -24
  4. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +1 -1
  5. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +16 -0
  6. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -1
  7. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +1 -0
  8. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +1 -1
  9. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +1 -0
  10. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +1 -1
  11. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +9 -0
  12. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
  13. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js +15 -2
  14. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js.map +1 -1
  15. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +10 -0
  16. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -1
  17. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js +18 -2
  18. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +1 -1
  19. package/dist/auth0/generators/fastify/auth0-module/templates/module/schema/user-session.queries.ts +22 -0
  20. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +0 -5
  21. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
  22. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +1 -10
  23. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
  24. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +0 -18
  25. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
  26. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +0 -2
  27. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +1 -1
  28. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +0 -2
  29. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +1 -1
  30. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +1 -7
  31. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +1 -1
  32. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +3 -12
  33. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +1 -1
  34. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +0 -1
  35. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -1
  36. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +0 -1
  37. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -1
  38. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +0 -23
  39. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
  40. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +4 -33
  41. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
  42. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +25 -4
  43. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -1
  44. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +16 -13
  45. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -1
  46. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +24 -7
  47. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -1
  48. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +0 -1
  49. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +1 -1
  50. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +0 -1
  51. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +1 -1
  52. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +13 -6
  53. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -1
  54. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +5 -12
  55. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +1 -1
  56. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +12 -5
  57. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -1
  58. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +3 -12
  59. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +1 -1
  60. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +3 -2
  61. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -1
  62. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +26 -7
  63. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -1
  64. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +34 -12
  65. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +25 -4
  66. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -1
  67. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +35 -25
  68. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -1
  69. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +24 -7
  70. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -1
  71. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +0 -1
  72. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +1 -1
  73. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +0 -1
  74. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +1 -1
  75. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +13 -6
  76. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -1
  77. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +5 -12
  78. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +1 -1
  79. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +24 -7
  80. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -1
  81. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +3 -12
  82. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +1 -1
  83. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +3 -2
  84. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -1
  85. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +22 -6
  86. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -1
  87. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +30 -11
  88. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -1
  89. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +7 -11
  90. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +1 -1
  91. package/dist/local-auth/admin/node.d.ts.map +1 -1
  92. package/dist/local-auth/admin/node.js +2 -6
  93. package/dist/local-auth/admin/node.js.map +1 -1
  94. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +12 -3
  95. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
  96. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js +0 -1
  97. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -1
  98. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +36 -18
  99. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
  100. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +0 -3
  101. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -1
  102. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +0 -3
  103. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -1
  104. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +13 -6
  105. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
  106. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +5 -12
  107. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -1
  108. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +0 -1
  109. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  110. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +0 -1
  111. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -1
  112. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +48 -30
  113. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
  114. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +6 -49
  115. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -1
  116. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +1 -0
  117. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -1
  118. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +9 -2
  119. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -1
  120. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +10 -2
  121. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +2 -2
  122. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -1
  123. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +0 -1
  124. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -1
  125. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +2 -2
  126. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
  127. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -0
  128. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
  129. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +6 -1
  130. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
  131. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +12 -2
  132. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
  133. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +5 -2
  134. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
  135. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +16 -0
  136. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -1
  137. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +19 -0
  138. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +12 -3
  139. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
  140. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +1 -8
  141. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -1
  142. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +36 -7
  143. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
  144. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +0 -1
  145. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -1
  146. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +0 -1
  147. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -1
  148. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +13 -6
  149. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
  150. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +5 -12
  151. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -1
  152. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +48 -9
  153. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
  154. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +5 -13
  155. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
  156. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +11 -2
  157. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -1
  158. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +12 -2
  159. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +11 -2
  160. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -1
  161. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +12 -2
  162. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +24 -7
  163. package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
  164. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +0 -1
  165. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -1
  166. package/dist/local-auth/core/generators/react-session/generated/template-paths.js +0 -1
  167. package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -1
  168. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +13 -7
  169. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
  170. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +5 -12
  171. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -1
  172. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +24 -7
  173. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
  174. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +4 -15
  175. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -1
  176. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +12 -3
  177. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
  178. package/dist/local-auth/core/generators/react-session/react-session.generator.js +0 -1
  179. package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -1
  180. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -1
  181. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +10 -2
  182. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -1
  183. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +11 -2
  184. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +0 -12
  185. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
  186. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +0 -2
  187. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +1 -1
  188. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +0 -2
  189. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +1 -1
  190. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +1 -7
  191. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +1 -1
  192. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +2 -14
  193. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +1 -1
  194. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +0 -1
  195. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  196. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +0 -1
  197. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +1 -1
  198. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +0 -15
  199. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
  200. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +2 -31
  201. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
  202. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +0 -5
  203. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +1 -1
  204. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js +1 -7
  205. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +1 -1
  206. package/dist/web/assets/{__federation_expose_auth0CoreCommon-DxPG_Wc0.js → __federation_expose_auth0CoreCommon-Ga9LD3d6.js} +3 -3
  207. package/dist/web/assets/{__federation_expose_auth0CoreCommon-DxPG_Wc0.js.map → __federation_expose_auth0CoreCommon-Ga9LD3d6.js.map} +1 -1
  208. package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js → __federation_expose_auth0CoreWeb-CZueDXPK.js} +5 -5
  209. package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js.map → __federation_expose_auth0CoreWeb-CZueDXPK.js.map} +1 -1
  210. package/dist/web/assets/{__federation_expose_authCoreCommon-Cxa_7fkO.js → __federation_expose_authCoreCommon-BrTLsuJC.js} +3 -3
  211. package/dist/web/assets/{__federation_expose_authCoreCommon-Cxa_7fkO.js.map → __federation_expose_authCoreCommon-BrTLsuJC.js.map} +1 -1
  212. package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js → __federation_expose_authCoreWeb-C8rgnA2v.js} +6 -6
  213. package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js.map → __federation_expose_authCoreWeb-C8rgnA2v.js.map} +1 -1
  214. package/dist/web/assets/{__federation_expose_local-authAdminCommon-C0_ovnDb.js → __federation_expose_local-authAdminCommon-C75-DAzO.js} +2 -2
  215. package/dist/web/assets/{__federation_expose_local-authAdminCommon-C0_ovnDb.js.map → __federation_expose_local-authAdminCommon-C75-DAzO.js.map} +1 -1
  216. package/dist/web/assets/{__federation_expose_local-authAdminWeb-GqHU6av7.js → __federation_expose_local-authAdminWeb-D2xGvwyL.js} +2 -2
  217. package/dist/web/assets/{__federation_expose_local-authAdminWeb-GqHU6av7.js.map → __federation_expose_local-authAdminWeb-D2xGvwyL.js.map} +1 -1
  218. package/dist/web/assets/{__federation_expose_local-authCoreCommon-PHXPCKoj.js → __federation_expose_local-authCoreCommon-BFUbyPYg.js} +3 -3
  219. package/dist/web/assets/{__federation_expose_local-authCoreCommon-PHXPCKoj.js.map → __federation_expose_local-authCoreCommon-BFUbyPYg.js.map} +1 -1
  220. package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js → __federation_expose_local-authCoreWeb-ChyvdsRq.js} +5 -5
  221. package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js.map → __federation_expose_local-authCoreWeb-ChyvdsRq.js.map} +1 -1
  222. package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js → __federation_expose_placeholder-authCoreCommon-DrFV9FSW.js} +3 -3
  223. package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js.map → __federation_expose_placeholder-authCoreCommon-DrFV9FSW.js.map} +1 -1
  224. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js → __federation_expose_placeholder-authCoreWeb-CT8JKYLB.js} +5 -5
  225. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js.map → __federation_expose_placeholder-authCoreWeb-CT8JKYLB.js.map} +1 -1
  226. package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js → __federation_fn_import-C_QCk5FX.js} +2 -2
  227. package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js.map → __federation_fn_import-C_QCk5FX.js.map} +1 -1
  228. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BTmJxb08.js → web-DtztAtUw.js} +5 -5
  229. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BTmJxb08.js.map → web-DtztAtUw.js.map} +1 -1
  230. package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-FK4Jv94w.js → project-builder-lib-CcNtL_U6.js} +293 -216
  231. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CcNtL_U6.js.map +1 -0
  232. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js → ui-components-DA_4I2Vy.js} +5 -5
  233. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js.map → ui-components-DA_4I2Vy.js.map} +1 -1
  234. package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-CAgM5SRt.js → utils-Bxy-1ETU.js} +34 -3
  235. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-Bxy-1ETU.js.map +1 -0
  236. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js → react-router-DooFj-IS.js} +2 -2
  237. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js.map → react-router-DooFj-IS.js.map} +1 -1
  238. package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js → get-auth-plugin-definition-D2XMaoy7.js} +2 -2
  239. package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js.map → get-auth-plugin-definition-D2XMaoy7.js.map} +1 -1
  240. package/dist/web/assets/{index-Dccn3WBN.js → index-DwJT6_Wn.js} +2 -2
  241. package/dist/web/assets/{index-Dccn3WBN.js.map → index-DwJT6_Wn.js.map} +1 -1
  242. package/dist/web/assets/{index.esm-DeCjXqFv.js → index.esm-ChwWPPiL.js} +2 -2
  243. package/dist/web/assets/{index.esm-DeCjXqFv.js.map → index.esm-ChwWPPiL.js.map} +1 -1
  244. package/dist/web/assets/{model-merger-kOQ_dmiE.js → model-merger-gGkFnyaY.js} +7 -2
  245. package/dist/web/assets/model-merger-gGkFnyaY.js.map +1 -0
  246. package/dist/web/assets/{plugin-definition-qkkt1X28.js → plugin-definition-QRBMcFiG.js} +2 -2
  247. package/dist/web/assets/{plugin-definition-qkkt1X28.js.map → plugin-definition-QRBMcFiG.js.map} +1 -1
  248. package/dist/web/assets/{plugin-definition-CxKhFkmJ.js → plugin-definition-_slrOM0G.js} +2 -2
  249. package/dist/web/assets/{plugin-definition-CxKhFkmJ.js.map → plugin-definition-_slrOM0G.js.map} +1 -1
  250. package/dist/web/assets/{plugin-definition-JFxKP18O.js → plugin-definition-hAzbWO7b.js} +2 -2
  251. package/dist/web/assets/{plugin-definition-JFxKP18O.js.map → plugin-definition-hAzbWO7b.js.map} +1 -1
  252. package/dist/web/assets/{plugin-definition-DKygiFuR.js → plugin-definition-rpMj4pr8.js} +2 -2
  253. package/dist/web/assets/{plugin-definition-DKygiFuR.js.map → plugin-definition-rpMj4pr8.js.map} +1 -1
  254. package/dist/web/assets/{react-DA5A88WZ.js → react-DbX1FP85.js} +2 -2
  255. package/dist/web/assets/{react-DA5A88WZ.js.map → react-DbX1FP85.js.map} +1 -1
  256. package/dist/web/assets/remoteEntry.js +10 -10
  257. package/dist/web/assets/{styles-CfTjrsB-.js → styles-DqLt1Blm.js} +3 -3
  258. package/dist/web/assets/{styles-CfTjrsB-.js.map → styles-DqLt1Blm.js.map} +1 -1
  259. package/package.json +12 -12
  260. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.gql +0 -10
  261. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.ts +0 -30
  262. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.gql +0 -7
  263. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.gql +0 -7
  264. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -18
  265. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  266. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
  267. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +0 -22
  268. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  269. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +0 -39
  270. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +0 -5
  271. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/queries.gql +0 -17
  272. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.gql +0 -7
  273. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -14
  274. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  275. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
  276. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js +0 -23
  277. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  278. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.ts +0 -35
  279. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-FK4Jv94w.js.map +0 -1
  280. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-CAgM5SRt.js.map +0 -1
  281. package/dist/web/assets/model-merger-kOQ_dmiE.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils-CAgM5SRt.js","sources":["../../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs","../../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/object/mergeWith.mjs","../../../../../../packages/utils/dist/crypto/hash.js","../../../../../../packages/utils/dist/errors/enhance-error-with-context.js","../../../../../../packages/utils/dist/events/typed-event-emitter.js","../../../../../../packages/utils/dist/field-map/field-map.js","../../../../../../packages/utils/dist/json/json-deep-clone.js","../../../../../../packages/utils/dist/json/stringify-pretty-compact.js","../../../../../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js","../../../../../../node_modules/.pnpm/sort-keys@5.1.0/node_modules/sort-keys/index.js","../../../../../../packages/utils/dist/json/stringify-pretty-stable.js","../../../../../../packages/utils/dist/maps/group-by.js","../../../../../../packages/utils/dist/maps/key-by.js","../../../../../../packages/utils/dist/maps/map-values-of-map.js","../../../../../../packages/utils/dist/maps/safe-merge-map.js","../../../../../../packages/utils/dist/objects/safe-merge.js","../../../../../../packages/utils/dist/string/compare-strings.js","../../../../../../packages/utils/dist/objects/sort-keys-recursive.js","../../../../../../packages/utils/dist/objects/sort-object-keys.js","../../../../../../packages/utils/dist/sets/difference.js","../../../../../../packages/utils/dist/string/case.js","../../../../../../packages/utils/dist/string/convert-case-with-prefix.js","../../../../../../node_modules/.pnpm/fastest-levenshtein@1.0.16/node_modules/fastest-levenshtein/esm/mod.js","../../../../../../packages/utils/dist/string/find-closest-match.js","../../../../../../packages/utils/dist/string/quot.js","../../../../../../node_modules/.pnpm/nanoid@5.0.9/node_modules/nanoid/index.browser.js","../../../../../../packages/utils/dist/string/random-key.js","../../../../../../packages/utils/dist/toposort/errors.js","../../../../../../packages/utils/dist/toposort/toposort-local.js","../../../../../../node_modules/.pnpm/tinyqueue@3.0.0/node_modules/tinyqueue/index.js","../../../../../../packages/utils/dist/toposort/toposort.js","../../../../../../packages/utils/dist/type-guards/not-empty.js","../../../../../../packages/utils/dist/validators/case-validators.js","../../../../../../packages/utils/dist/validators/number-validators.js"],"sourcesContent":["function isObjectLike(value) {\n return typeof value === 'object' && value !== null;\n}\n\nexport { isObjectLike };\n","import { isObjectLike } from '../compat/predicate/isObjectLike.mjs';\n\nfunction mergeWith(target, source, merge) {\n const sourceKeys = Object.keys(source);\n for (let i = 0; i < sourceKeys.length; i++) {\n const key = sourceKeys[i];\n const sourceValue = source[key];\n const targetValue = target[key];\n const merged = merge(targetValue, sourceValue, key, target, source);\n if (merged != null) {\n target[key] = merged;\n }\n else if (Array.isArray(sourceValue)) {\n target[key] = mergeWith(targetValue ?? [], sourceValue, merge);\n }\n else if (isObjectLike(targetValue) && isObjectLike(sourceValue)) {\n target[key] = mergeWith(targetValue ?? {}, sourceValue, merge);\n }\n else if (targetValue === undefined || sourceValue !== undefined) {\n target[key] = sourceValue;\n }\n }\n return target;\n}\n\nexport { mergeWith };\n","function normalizeContent(content) {\n if (typeof content === 'string') {\n const encoder = new TextEncoder();\n const { buffer } = encoder.encode(content);\n if (!(buffer instanceof ArrayBuffer)) {\n throw new TypeError('Buffer is not an ArrayBuffer');\n }\n return buffer;\n }\n return content;\n}\nexport async function hashWithSHA256(content) {\n const data = normalizeContent(content);\n const hashBuffer = await crypto.subtle.digest('SHA-256', data);\n const hashArray = [...new Uint8Array(hashBuffer)];\n return hashArray.map((b) => b.toString(16).padStart(2, '0')).join('');\n}\n//# sourceMappingURL=hash.js.map","/**\n * Enhances an error with additional context while preserving the original stack trace\n * @param {Error} originalError - The original error that was caught\n * @param {string} contextMessage - Additional context to prepend to the error message\n * @param {Object} [additionalProps] - Optional object with additional properties to add to the error\n * @returns {Error} - Enhanced error with preserved stack trace\n */\nexport function enhanceErrorWithContext(originalError, contextMessage) {\n // Create a new error with combined message\n const enhancedError = new Error(`${contextMessage}: ${originalError instanceof Error\n ? originalError.message\n : String(originalError)}`, { cause: originalError });\n // Preserve the original stack if possible\n if (originalError instanceof Error) {\n enhancedError.stack = originalError.stack;\n }\n return enhancedError;\n}\n//# sourceMappingURL=enhance-error-with-context.js.map","/**\n * Class providing typed event emitter functionality.\n *\n * @template T - Mapping of event names to payload types.\n */\nexport class TypedEventEmitter {\n listenerMap = new Map();\n /**\n * Abort controller for the event emitter to terminate all async generator listeners.\n */\n eventEmitterAbortController = new AbortController();\n /**\n * Registers a listener for an event.\n *\n * @template K - The event name.\n * @param eventName - Name of the event.\n * @param listener - Callback invoked with the event payload.\n * @param options - Options for the listener.\n * @returns Function to unregister the listener.\n */\n on(eventName, listener, options) {\n const { signal } = options ?? {};\n const existingListeners = this.listenerMap.get(eventName) ?? [];\n this.listenerMap.set(eventName, [\n ...existingListeners,\n listener,\n ]);\n // Returns a function that unregisters this listener.\n const unregister = () => {\n const updatedListeners = (this.listenerMap.get(eventName) ?? []).filter((l) => l !== listener);\n if (updatedListeners.length > 0) {\n this.listenerMap.set(eventName, updatedListeners);\n }\n else {\n this.listenerMap.delete(eventName);\n }\n };\n signal?.addEventListener('abort', unregister, {\n once: true,\n });\n return unregister;\n }\n /**\n * Creates an async generator for an event.\n *\n * @template K - The event name.\n * @param eventName - Name of the event.\n * @param options - Additional options.\n * @returns An async generator yielding event payloads.\n */\n async *onAsync(eventName, options) {\n // Create a queue to store events when consumer isn't ready\n const queue = [];\n let pendingNext;\n let isDone = false;\n // Return early if the signal is aborted\n const eventEmitterAbortSignal = this.eventEmitterAbortController.signal;\n if (options.signal?.aborted || eventEmitterAbortSignal.aborted)\n return;\n function abortHandler() {\n isDone = true;\n // trigger dummy event to unblock the consumer\n pendingNext?.(undefined);\n }\n options.signal?.addEventListener('abort', abortHandler, { once: true });\n eventEmitterAbortSignal.addEventListener('abort', abortHandler, {\n once: true,\n });\n this.on(eventName, (payload) => {\n if (pendingNext) {\n pendingNext(payload);\n pendingNext = undefined;\n }\n else {\n queue.push(payload);\n }\n }, { signal: options.signal });\n // Keep yielding events until done\n while (!isDone) {\n const payload = queue.shift() ??\n (await new Promise((resolve) => {\n pendingNext = resolve;\n }));\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- false positive since isDone is set to true in the abort handler\n if (isDone)\n break;\n yield payload;\n }\n }\n /**\n * Emits an event with the given payload.\n *\n * @template K - The event name.\n * @param eventName - Name of the event.\n * @param payload - Payload for the event.\n */\n emit(eventName, payload) {\n const listeners = this.listenerMap.get(eventName) ?? [];\n for (const listener of listeners) {\n listener(payload);\n }\n }\n /**\n * Removes all registered event listeners.\n *\n * Note: This is dangerous and should only be used in testing.\n */\n clearListeners() {\n this.listenerMap.clear();\n this.eventEmitterAbortController.abort();\n }\n /**\n * Aborts the event emitter to terminate all async generator listeners.\n */\n abortEventEmitter() {\n this.eventEmitterAbortController.abort();\n }\n}\n/**\n * Creates a typed event emitter that supports event listening and emitting.\n *\n * @template T - Mapping of event names to payload types.\n * @returns An emitter with `on`, `emit`, and `clear` methods.\n */\nexport function createTypedEventEmitter() {\n return new TypedEventEmitter();\n}\n//# sourceMappingURL=typed-event-emitter.js.map","import { sortBy } from 'es-toolkit';\n/**\n * Field container for a single value that cannot be overridden once set\n */\nexport class ScalarContainer {\n _value;\n defaultValue;\n isSet = false;\n setBySource;\n getDynamicSource;\n constructor(defaultValue, options) {\n this.defaultValue = defaultValue;\n this.getDynamicSource = options?.getDynamicSource;\n }\n getValue() {\n return this._value === undefined ? this.defaultValue : this._value;\n }\n set(value, source) {\n if (this.isSet) {\n throw new Error(`Value has already been set by ${this.setBySource} and cannot be overwritten by ${source}`);\n }\n this._value = value;\n this.isSet = true;\n this.setBySource = source ?? this.getDynamicSource?.() ?? 'unknown';\n }\n}\n// Array field container\nexport class ArrayContainer {\n _stripDuplicates;\n _value;\n constructor(initialValue, options) {\n this._stripDuplicates = options?.stripDuplicates ?? false;\n this._value = initialValue ?? [];\n }\n push(...items) {\n let currentValue = this._value;\n if (this._stripDuplicates) {\n // Add items without duplicates\n const set = new Set([...currentValue, ...items]);\n currentValue = [...set];\n }\n else {\n // Add all items\n currentValue = [...currentValue, ...items];\n }\n this._value = currentValue;\n }\n getValue() {\n return this._value;\n }\n}\nexport class ObjectContainer {\n map;\n getDynamicSource;\n constructor(initialValue, options) {\n this.getDynamicSource = options?.getDynamicSource;\n this.map = new Map(Object.entries(initialValue).map(([key, value]) => [\n key,\n { value, setBySource: this.getDynamicSource?.() },\n ]));\n }\n set(key, value, source) {\n const existingValue = this.map.get(key);\n if (existingValue?.setBySource) {\n throw new Error(`Value for key ${key} has already been set by ${existingValue.setBySource} and cannot be overwritten by ${source}`);\n }\n this.map.set(key, {\n value,\n setBySource: source ?? this.getDynamicSource?.(),\n });\n }\n merge(value, source) {\n const mergeSource = source ?? this.getDynamicSource?.();\n for (const [key, val] of Object.entries(value)) {\n this.set(key, val, mergeSource);\n }\n }\n getValue() {\n return Object.fromEntries([...this.map.entries()].map(([key, value]) => [key, value.value]));\n }\n}\n// Map field container\nexport class MapContainer {\n _value;\n getDynamicSource;\n constructor(initialValue, options) {\n this.getDynamicSource = options?.getDynamicSource;\n const initialMap = initialValue ?? new Map();\n this._value = new Map([...initialMap.entries()].map(([key, value]) => [\n key,\n { value, setBySource: this.getDynamicSource?.() },\n ]));\n }\n set(key, value, source) {\n const existingValue = this._value.get(key);\n if (existingValue?.setBySource) {\n throw new Error(`Value for key ${key} has already been set by ${existingValue.setBySource} and cannot be overwritten by ${source}`);\n }\n this._value.set(key, {\n value,\n setBySource: source ?? this.getDynamicSource?.(),\n });\n }\n merge(value, source) {\n const mergeSource = source ?? this.getDynamicSource?.();\n for (const [key, val] of value.entries()) {\n this.set(key, val, mergeSource);\n }\n }\n mergeObj(value, source) {\n const mergeSource = source ?? this.getDynamicSource?.();\n for (const [key, val] of Object.entries(value)) {\n this.set(key, val, mergeSource);\n }\n }\n getValue() {\n return new Map([...this._value.entries()].map(([key, value]) => [key, value.value]));\n }\n}\n/**\n * Named field container\n *\n * This container stores objects that contains a name field that can be used for\n * detecting duplicate names.\n */\nexport class NamedArrayFieldContainer {\n _value;\n getDynamicSource;\n constructor(initialValue, options) {\n this.getDynamicSource = options?.getDynamicSource;\n const value = initialValue ?? [];\n this._value = new Map(value.map((val) => [\n val.name,\n { value: val, setBySource: this.getDynamicSource?.() },\n ]));\n }\n add(value, source) {\n const existingValue = this._value.get(value.name);\n if (existingValue?.setBySource) {\n throw new Error(`Value for name ${value.name} has already been set by ${existingValue.setBySource} and cannot be overwritten by ${source}`);\n }\n this._value.set(value.name, {\n value,\n setBySource: source ?? this.getDynamicSource?.(),\n });\n }\n addMany(values, source) {\n for (const value of values) {\n this.add(value, source);\n }\n }\n getValue() {\n return sortBy([...this._value.values()].map((value) => value.value), [(v) => v.name]);\n }\n}\n// Map of maps field container\nexport class MapOfMapsContainer {\n _value;\n getDynamicSource;\n constructor(initialValue, options) {\n this.getDynamicSource = options?.getDynamicSource;\n const initialMap = initialValue ?? new Map();\n this._value = new Map([...initialMap.entries()].map(([key1, innerMap]) => [\n key1,\n {\n value: new Map([...innerMap.entries()].map(([key2, value]) => [\n key2,\n { value, setBySource: this.getDynamicSource?.() },\n ])),\n setBySource: this.getDynamicSource?.(),\n },\n ]));\n }\n set(key1, key2, value, source) {\n const existingOuterValue = this._value.get(key1);\n const sourceToUse = source ?? this.getDynamicSource?.() ?? 'unknown';\n // If the outer key doesn't exist yet, create a new map for it\n if (!existingOuterValue) {\n const newInnerMap = new Map();\n newInnerMap.set(key2, { value, setBySource: sourceToUse });\n this._value.set(key1, {\n value: newInnerMap,\n setBySource: sourceToUse,\n });\n return;\n }\n // Check if this specific key1+key2 combination has already been set\n const existingInnerValue = existingOuterValue.value.get(key2);\n if (existingInnerValue?.setBySource) {\n throw new Error(`Value for keys ${key1}+${key2} has already been set by ${existingInnerValue.setBySource} and cannot be overwritten by ${sourceToUse}`);\n }\n // Add the new value to the existing inner map\n existingOuterValue.value.set(key2, {\n value,\n setBySource: sourceToUse,\n });\n }\n merge(key1, value, source) {\n const mergeSource = source ?? this.getDynamicSource?.() ?? 'unknown';\n for (const [key2, val] of value.entries()) {\n this.set(key1, key2, val, mergeSource);\n }\n }\n mergeObj(key1, value, source) {\n const mergeSource = source ?? this.getDynamicSource?.() ?? 'unknown';\n for (const [key2, val] of Object.entries(value)) {\n this.set(key1, key2, val, mergeSource);\n }\n }\n getValue() {\n return new Map([...this._value.entries()].map(([key1, outerValue]) => [\n key1,\n new Map([...outerValue.value.entries()].map(([key2, innerValue]) => [\n key2,\n innerValue.value,\n ])),\n ]));\n }\n}\n// Schema builder class\nexport class FieldMapSchemaBuilder {\n options;\n constructor(options) {\n this.options = options;\n }\n scalar(defaultValue) {\n return new ScalarContainer(defaultValue, this.options);\n }\n string(defaultValue) {\n return new ScalarContainer(defaultValue, this.options);\n }\n number(defaultValue) {\n return new ScalarContainer(defaultValue, this.options);\n }\n boolean(defaultValue) {\n return new ScalarContainer(defaultValue, this.options);\n }\n array(initialValue, options) {\n return new ArrayContainer(initialValue, options);\n }\n object(defaultValue) {\n return new ObjectContainer(defaultValue, this.options);\n }\n map(initialValue) {\n return new MapContainer(initialValue ?? new Map(), this.options);\n }\n mapFromObj(initialValue) {\n return new MapContainer(new Map(Object.entries(initialValue ?? {})), this.options);\n }\n namedArray(initialValue) {\n return new NamedArrayFieldContainer(initialValue, this.options);\n }\n mapOfMaps(initialValue) {\n return new MapOfMapsContainer(initialValue ?? new Map(), this.options);\n }\n mapOfMapsFromObj(initialValue) {\n const map = new Map();\n if (initialValue) {\n for (const [key1, innerObj] of Object.entries(initialValue)) {\n map.set(key1, new Map(Object.entries(innerObj)));\n }\n }\n return new MapOfMapsContainer(map, this.options);\n }\n}\nexport function createFieldMapSchemaBuilder(schemaBuilder) {\n return schemaBuilder;\n}\n/**\n * Creates a field map with type-safe field definitions\n */\nexport function createFieldMap(schemaBuilder, options) {\n const schema = schemaBuilder(new FieldMapSchemaBuilder(options));\n // Add getValues method\n return {\n ...schema,\n getValues: () => {\n const values = {};\n for (const key of Object.keys(schema)) {\n const container = schema[key];\n values[key] = container.getValue();\n }\n return values;\n },\n };\n}\n//# sourceMappingURL=field-map.js.map","/**\n * Recursively deep clones JSON-compatible values.\n * Throws if the value is not JSON-serializable.\n *\n * @param value - The value to clone\n * @returns A deep-cloned copy of the value\n * @throws Error if a non-JSON value is encountered\n */\nexport function jsonDeepClone(value) {\n if (value === undefined ||\n value === null ||\n typeof value === 'boolean' ||\n typeof value === 'string') {\n return value;\n }\n if (typeof value === 'number') {\n return value;\n }\n if (typeof value === 'object') {\n if (value instanceof Date || value instanceof RegExp) {\n throw new TypeError(`Cannot clone value of unsupported type: ${value.constructor.name}`);\n }\n if (Array.isArray(value)) {\n // Clone array elements\n const copy = [];\n for (const [i, element] of value.entries()) {\n copy[i] = jsonDeepClone(element);\n }\n return copy;\n }\n // Clone plain object properties\n const copy = {};\n for (const key in value) {\n if (Object.prototype.hasOwnProperty.call(value, key)) {\n const prop = value[key];\n copy[key] = jsonDeepClone(prop);\n }\n }\n return copy;\n }\n // Reject functions, symbols, BigInt, etc.\n throw new Error(`Cannot clone value of unsupported type: ${typeof value}`);\n}\n//# sourceMappingURL=json-deep-clone.js.map","// adapted from https://github.com/AitoDotAI/json-stringify-pretty-compact\n// allows { } to be presented as {} to better mirror prettier formatting\nfunction isObject(obj) {\n return typeof obj === 'object' && obj !== null;\n}\nfunction forEach(obj, cb) {\n if (Array.isArray(obj)) {\n // eslint-disable-next-line unicorn/no-array-for-each\n obj.forEach(cb);\n }\n else if (isObject(obj)) {\n for (const key of Object.keys(obj)) {\n const val = obj[key];\n cb(val, key);\n }\n }\n}\nfunction getTreeDepth(obj) {\n let depth = 0;\n if (Array.isArray(obj) || isObject(obj)) {\n forEach(obj, (val) => {\n if (Array.isArray(val) || isObject(val)) {\n const tmpDepth = getTreeDepth(val);\n if (tmpDepth > depth) {\n depth = tmpDepth;\n }\n }\n });\n return depth + 1;\n }\n return depth;\n}\nfunction get(options, name, defaultValue) {\n return (name in options ? options[name] : defaultValue);\n}\n// Note: This regex matches even invalid JSON strings, but since we’re\n// working on the output of `JSON.stringify` we know that only valid strings\n// are present (unless the user supplied a weird `options.indent` but in\n// that case we don’t care since the output would be invalid anyway).\n// This regex has been adjusted to allow replacement of { } and [ ] with {} and []\n// to better mirror prettier formatting.\nconst stringOrChar = /(\"(?:[^\\\\\"]|\\\\.)*\")|[:,]|\\{(?!})|(?<!\\{)}|\\[(?!])|(?<!\\[)]/g;\nfunction prettify(str, options = {}) {\n const tokens = {\n '{': '{',\n '}': '}',\n '[': '[',\n ']': ']',\n ',': ', ',\n ':': ': ',\n };\n if (!!options.addMargin || !!options.addObjectMargin) {\n tokens['{'] = '{ ';\n tokens['}'] = ' }';\n }\n if (!!options.addMargin || !!options.addArrayMargin) {\n tokens['['] = '[ ';\n tokens[']'] = ' ]';\n }\n return str.replaceAll(stringOrChar, (match, string) => string ? match : tokens[match]);\n}\nexport function stringifyPrettyCompact(rootObj, options = {}) {\n const indent = JSON.stringify([1], null, get(options, 'indent', 2)).slice(2, -3);\n const addMargin = get(options, 'margins', false);\n const addArrayMargin = get(options, 'arrayMargins', false);\n const addObjectMargin = get(options, 'objectMargins', true);\n const maxLength = indent === '' ? Infinity : get(options, 'maxLength', 80);\n const maxNesting = get(options, 'maxNesting', Infinity);\n return (function stringifyRecursive(obj, currentIndent, reserved) {\n if (obj &&\n typeof obj === 'object' &&\n typeof obj.toJSON === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-confusing-void-expression\n obj = obj.toJSON();\n }\n const string = JSON.stringify(obj);\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (string === undefined) {\n return string;\n }\n const length = maxLength - currentIndent.length - reserved;\n const treeDepth = getTreeDepth(obj);\n if (treeDepth <= maxNesting && string.length <= length) {\n const prettified = prettify(string, {\n addMargin,\n addArrayMargin,\n addObjectMargin,\n });\n if (prettified.length <= length) {\n return prettified;\n }\n }\n if (isObject(obj)) {\n const nextIndent = currentIndent + indent;\n const items = [];\n let delimiters;\n const atEndOfArray = (array, index) => index === array.length - 1 ? 0 : 1;\n if (Array.isArray(obj)) {\n for (let index = 0; index < obj.length; index += 1) {\n items.push(stringifyRecursive(obj[index], nextIndent, atEndOfArray(obj, index)) || 'null');\n }\n delimiters = '[]';\n }\n else {\n // eslint-disable-next-line unicorn/no-array-for-each\n Object.keys(obj).forEach((key, index, array) => {\n const keyPart = `${JSON.stringify(key)}: `;\n const value = stringifyRecursive(obj[key], nextIndent, keyPart.length + atEndOfArray(array, index));\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (value !== undefined) {\n items.push(keyPart + value);\n }\n });\n delimiters = '{}';\n }\n if (items.length > 0) {\n return [\n delimiters[0],\n indent + items.join(`,\\n${nextIndent}`),\n delimiters[1],\n ].join(`\\n${currentIndent}`);\n }\n }\n return string;\n })(rootObj, '', 0);\n}\n//# sourceMappingURL=stringify-pretty-compact.js.map","export default function isPlainObject(value) {\n\tif (typeof value !== 'object' || value === null) {\n\t\treturn false;\n\t}\n\n\tconst prototype = Object.getPrototypeOf(value);\n\treturn (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);\n}\n","import isPlainObject from 'is-plain-obj';\n\nexport default function sortKeys(object, options = {}) {\n\tif (!isPlainObject(object) && !Array.isArray(object)) {\n\t\tthrow new TypeError('Expected a plain object or array');\n\t}\n\n\tconst {deep, compare} = options;\n\tconst cache = new WeakMap();\n\n\tconst deepSortArray = array => {\n\t\tconst resultFromCache = cache.get(array);\n\t\tif (resultFromCache !== undefined) {\n\t\t\treturn resultFromCache;\n\t\t}\n\n\t\tconst result = [];\n\t\tcache.set(array, result);\n\n\t\tresult.push(...array.map(item => {\n\t\t\tif (Array.isArray(item)) {\n\t\t\t\treturn deepSortArray(item);\n\t\t\t}\n\n\t\t\tif (isPlainObject(item)) {\n\t\t\t\treturn _sortKeys(item);\n\t\t\t}\n\n\t\t\treturn item;\n\t\t}));\n\n\t\treturn result;\n\t};\n\n\tconst _sortKeys = object => {\n\t\tconst resultFromCache = cache.get(object);\n\t\tif (resultFromCache !== undefined) {\n\t\t\treturn resultFromCache;\n\t\t}\n\n\t\tconst result = {};\n\t\tconst keys = Object.keys(object).sort(compare);\n\n\t\tcache.set(object, result);\n\n\t\tfor (const key of keys) {\n\t\t\tconst value = object[key];\n\t\t\tlet newValue;\n\n\t\t\tif (deep && Array.isArray(value)) {\n\t\t\t\tnewValue = deepSortArray(value);\n\t\t\t} else {\n\t\t\t\tnewValue = deep && isPlainObject(value) ? _sortKeys(value) : value;\n\t\t\t}\n\n\t\t\tObject.defineProperty(result, key, {\n\t\t\t\t...Object.getOwnPropertyDescriptor(object, key),\n\t\t\t\tvalue: newValue,\n\t\t\t});\n\t\t}\n\n\t\treturn result;\n\t};\n\n\tif (Array.isArray(object)) {\n\t\treturn deep ? deepSortArray(object) : [...object];\n\t}\n\n\treturn _sortKeys(object);\n}\n","import sortKeys from 'sort-keys';\nimport { stringifyPrettyCompact } from './stringify-pretty-compact.js';\n/**\n * Stringifies a value with stable pretty printing.\n *\n * That means the keys are sorted and the value is pretty printed.\n *\n * @param value - The value to stringify.\n * @returns The stringified value.\n */\nexport function stringifyPrettyStable(value) {\n const sortedValue = sortKeys(value, {\n deep: true,\n });\n return `${stringifyPrettyCompact(sortedValue)}\\n`;\n}\n//# sourceMappingURL=stringify-pretty-stable.js.map","/**\n * Groups values of an iterable using a key-generating function and returns a Map.\n *\n * Mimics the behavior of ES2025 `Map.groupBy`.\n *\n * @template T The type of elements in the iterable.\n * @template K The key type returned by the key function.\n * @param iterable The iterable to group.\n * @param keyFn A function that returns a grouping key for each element.\n * @returns A Map where each key maps to an array of elements with that key.\n */\nexport function mapGroupBy(iterable, keyFn) {\n const result = new Map();\n for (const item of iterable) {\n const key = keyFn(item);\n const group = result.get(key);\n if (group) {\n group.push(item);\n }\n else {\n result.set(key, [item]);\n }\n }\n return result;\n}\n//# sourceMappingURL=group-by.js.map","/**\n * Creates a Map from an iterable, using a key-generating function.\n * If multiple elements generate the same key, later elements override earlier ones.\n *\n * Analogous to lodash's keyBy function, but returns a Map instead of an object.\n *\n * @template T The type of elements in the iterable.\n * @template K The key type returned by the key function.\n * @param iterable The iterable to transform.\n * @param keyFn A function that returns a unique key for each element.\n * @returns A Map where each key maps to a single element.\n */\nexport function mapKeyBy(iterable, keyFn) {\n const result = new Map();\n for (const item of iterable) {\n const key = keyFn(item);\n result.set(key, item);\n }\n return result;\n}\n//# sourceMappingURL=key-by.js.map","/**\n * Maps the values of a Map to a new Map with the same keys.\n *\n * @template K - Type of keys in the map.\n * @template V - Original value type.\n * @template R - Resulting value type.\n * @param map - The input Map to transform.\n * @param fn - A function to transform each value, receiving the value, key, and original map.\n * @returns A new Map with the same keys and transformed values.\n */\nexport function mapValuesOfMap(map, fn) {\n const result = new Map();\n for (const [key, value] of map.entries()) {\n result.set(key, fn(value, key, map));\n }\n return result;\n}\n//# sourceMappingURL=map-values-of-map.js.map","import { isEqual } from 'es-toolkit';\n/**\n * Merges an array of maps, throwing an error if any keys overlap (unless the values are deeply equal and allowed).\n *\n * @param maps - The array of maps to merge.\n * @param options - Options to control merge behavior.\n * @returns The merged map.\n */\nexport function safeMergeMapsWithOptions(maps, options = {}) {\n const result = new Map();\n for (const map of maps) {\n for (const [key, value] of map) {\n if (result.has(key)) {\n const existing = result.get(key);\n if (!options.allowEqualValues || !isEqual(existing, value)) {\n throw new Error(`Cannot merge key ${String(key)} because it already exists.`);\n }\n }\n result.set(key, value);\n }\n }\n return result;\n}\n/**\n * Merges two maps, throwing an error if any keys overlap.\n *\n * @param mapOne - The first map to merge.\n * @param mapTwo - The second map to merge.\n * @param options - Options to control merge behavior\n * @returns The merged map.\n */\nexport function safeMergeMap(mapOne, mapTwo, options = {}) {\n return safeMergeMapsWithOptions([mapOne, mapTwo], options);\n}\n/**\n * Merges an array of maps, throwing an error if any keys overlap (unless the values are deeply equal and allowed).\n * This function delegates to safeMergeMapsWithOptions.\n *\n * @param maps - The array of maps to merge.\n * @returns The merged map.\n */\nexport function safeMergeMaps(...maps) {\n return safeMergeMapsWithOptions(maps);\n}\n//# sourceMappingURL=safe-merge-map.js.map","import { isEqual, mergeWith } from 'es-toolkit';\n/**\n * Merges two objects, throwing an error if any keys overlap.\n *\n * @param itemOne - The first object to merge.\n * @param itemTwo - The second object to merge.\n * @param options - Options to control merge behavior\n * @returns The merged object.\n */\nexport function safeMerge(itemOne, itemTwo, options = {}) {\n return mergeWith(itemOne, itemTwo, (targetValue, sourceValue, key) => {\n if (key in itemOne && key in itemTwo) {\n if (options.allowEqualValues && isEqual(targetValue, sourceValue)) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return -- we're just using the sourceValue\n return sourceValue;\n }\n throw new Error(`Cannot merge key ${key} because it already exists.`);\n }\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return -- we're just using the sourceValue\n return sourceValue;\n });\n}\n/**\n * Merges an array of objects, throwing an error if any keys overlap.\n *\n * @param items - The array of objects to merge.\n * @param options - Options to control merge behavior\n * @returns The merged object.\n */\nexport function safeMergeAllWithOptions(items, options = {}) {\n const targetValue = {};\n for (const item of items.flat()) {\n safeMerge(targetValue, item, options);\n }\n return targetValue;\n}\n/**\n * Merges an array of objects, throwing an error if any keys overlap.\n *\n * @param items - The array of objects to merge.\n * @returns The merged object.\n */\nexport function safeMergeAll(...items) {\n return safeMergeAllWithOptions(items);\n}\n//# sourceMappingURL=safe-merge.js.map","/**\n * Stable string comparison function that uses case-insensitive lexicographic ordering\n * with a case-sensitive tiebreaker for determinism.\n *\n * This matches the default behavior of `localeCompare` (case-insensitive) while\n * providing consistent results across different operating systems and locales.\n * Use this for deterministic sorting where locale-aware comparison is not required.\n *\n * @param a - First string to compare\n * @param b - Second string to compare\n * @returns Negative if a < b, positive if a > b, zero if equal\n *\n * @example\n * ```ts\n * const items = ['Banana', 'apple', 'Cherry', 'cherry'];\n * items.sort(compareStrings); // ['apple', 'Banana', 'Cherry', 'cherry']\n * ```\n */\nexport function compareStrings(a, b) {\n const aLower = a.toLowerCase();\n const bLower = b.toLowerCase();\n if (aLower < bLower)\n return -1;\n if (aLower > bLower)\n return 1;\n // Tiebreaker: case-sensitive comparison for determinism\n if (a < b)\n return -1;\n if (a > b)\n return 1;\n return 0;\n}\n//# sourceMappingURL=compare-strings.js.map","import { compareStrings } from '../string/compare-strings.js';\n/**\n * Recursively sorts all keys in an object, including nested objects and arrays.\n *\n * @param obj - The object to sort recursively.\n * @returns A new object with all keys sorted recursively.\n */\nexport function sortKeysRecursive(obj) {\n if (obj === null || typeof obj !== 'object') {\n return obj;\n }\n if (Array.isArray(obj)) {\n return obj.map(sortKeysRecursive);\n }\n return Object.fromEntries(Object.entries(obj)\n .sort(([a], [b]) => compareStrings(a, b))\n .map(([key, value]) => [key, sortKeysRecursive(value)]));\n}\n//# sourceMappingURL=sort-keys-recursive.js.map","import { compareStrings } from '../string/compare-strings.js';\n/**\n * Sorts the keys of an object.\n *\n * @param obj - The object to sort.\n * @returns The sorted object.\n */\nexport function sortObjectKeys(obj) {\n return Object.fromEntries(Object.entries(obj).sort(([a], [b]) => compareStrings(a, b)));\n}\n//# sourceMappingURL=sort-object-keys.js.map","/**\n * Returns a new Set containing values in `setA` that are not in `setB`.\n *\n * @param setA - The original set\n * @param setB - The set of values to exclude\n * @returns A new Set with the difference\n */\nexport function differenceSet(setA, setB) {\n const result = new Set();\n for (const value of setA) {\n if (!setB.has(value)) {\n result.add(value);\n }\n }\n return result;\n}\n//# sourceMappingURL=difference.js.map","/**\n * Lowercase the first character of a string, leaving the remainder unchanged.\n *\n * - Returns the input unchanged when it's an empty string\n * - Non-alphabetic first characters are returned as-is\n *\n * @param str - The input string\n * @returns The string with the first character lowercased\n * @example\n * lowercaseFirstChar('Hello') // 'hello'\n * lowercaseFirstChar('hello') // 'hello'\n * lowercaseFirstChar('1World') // '1World'\n */\nexport function lowercaseFirstChar(str) {\n if (str.length === 0) {\n return str;\n }\n return str.charAt(0).toLowerCase() + str.slice(1);\n}\n/**\n * Uppercase the first character of a string, leaving the remainder unchanged.\n *\n * - Returns the input unchanged when it's an empty string\n * - Non-alphabetic first characters are returned as-is\n *\n * @param str - The input string\n * @returns The string with the first character uppercased\n * @example\n * uppercaseFirstChar('hello') // 'Hello'\n * uppercaseFirstChar('Hello') // 'Hello'\n * uppercaseFirstChar('#tag') // '#tag'\n */\nexport function uppercaseFirstChar(str) {\n if (str.length === 0) {\n return str;\n }\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n//# sourceMappingURL=case.js.map","/**\n * Converts a string to the specified case while preserving non-alphanumeric prefixes and suffixes.\n *\n * @param input - The string to convert\n * @param caseConverter - The case conversion function to apply\n * @returns The converted string with preserved prefix and suffix\n *\n * @example\n * ```typescript\n * convertCaseWithPrefix('_layoutTest', kebabCase)\n * // Returns: '_layout-test'\n *\n * convertCaseWithPrefix('__privateHelper', kebabCase)\n * // Returns: '__private-helper'\n *\n * convertCaseWithPrefix('[id]', kebabCase)\n * // Returns: '[id]'\n * ```\n */\nexport function convertCaseWithPrefix(input, caseConverter) {\n // Handle special pattern where the entire string is non-alphanumeric (like \"[id]\")\n if (!/[a-zA-Z0-9]/.test(input)) {\n return input;\n }\n // Extract non-alphanumeric prefix\n const prefixMatch = /^([^a-zA-Z0-9]*)/.exec(input);\n const prefix = prefixMatch?.[1] ?? '';\n // Extract non-alphanumeric suffix\n const suffixMatch = /([^a-zA-Z0-9]*)$/.exec(input);\n const suffix = suffixMatch?.[1] ?? '';\n // Get the middle part (everything between prefix and suffix)\n const startIndex = prefix.length;\n const endIndex = input.length - suffix.length;\n const middlePart = input.slice(startIndex, endIndex);\n // Only apply case conversion to the middle part if it contains alphanumeric characters\n const convertedMiddlePart = middlePart && /[a-zA-Z0-9]/.test(middlePart)\n ? caseConverter(middlePart)\n : middlePart;\n return prefix + convertedMiddlePart + suffix;\n}\n//# sourceMappingURL=convert-case-with-prefix.js.map","const peq = new Uint32Array(0x10000);\nconst myers_32 = (a, b) => {\n const n = a.length;\n const m = b.length;\n const lst = 1 << (n - 1);\n let pv = -1;\n let mv = 0;\n let sc = n;\n let i = n;\n while (i--) {\n peq[a.charCodeAt(i)] |= 1 << i;\n }\n for (i = 0; i < m; i++) {\n let eq = peq[b.charCodeAt(i)];\n const xv = eq | mv;\n eq |= ((eq & pv) + pv) ^ pv;\n mv |= ~(eq | pv);\n pv &= eq;\n if (mv & lst) {\n sc++;\n }\n if (pv & lst) {\n sc--;\n }\n mv = (mv << 1) | 1;\n pv = (pv << 1) | ~(xv | mv);\n mv &= xv;\n }\n i = n;\n while (i--) {\n peq[a.charCodeAt(i)] = 0;\n }\n return sc;\n};\nconst myers_x = (b, a) => {\n const n = a.length;\n const m = b.length;\n const mhc = [];\n const phc = [];\n const hsize = Math.ceil(n / 32);\n const vsize = Math.ceil(m / 32);\n for (let i = 0; i < hsize; i++) {\n phc[i] = -1;\n mhc[i] = 0;\n }\n let j = 0;\n for (; j < vsize - 1; j++) {\n let mv = 0;\n let pv = -1;\n const start = j * 32;\n const vlen = Math.min(32, m) + start;\n for (let k = start; k < vlen; k++) {\n peq[b.charCodeAt(k)] |= 1 << k;\n }\n for (let i = 0; i < n; i++) {\n const eq = peq[a.charCodeAt(i)];\n const pb = (phc[(i / 32) | 0] >>> i) & 1;\n const mb = (mhc[(i / 32) | 0] >>> i) & 1;\n const xv = eq | mv;\n const xh = ((((eq | mb) & pv) + pv) ^ pv) | eq | mb;\n let ph = mv | ~(xh | pv);\n let mh = pv & xh;\n if ((ph >>> 31) ^ pb) {\n phc[(i / 32) | 0] ^= 1 << i;\n }\n if ((mh >>> 31) ^ mb) {\n mhc[(i / 32) | 0] ^= 1 << i;\n }\n ph = (ph << 1) | pb;\n mh = (mh << 1) | mb;\n pv = mh | ~(xv | ph);\n mv = ph & xv;\n }\n for (let k = start; k < vlen; k++) {\n peq[b.charCodeAt(k)] = 0;\n }\n }\n let mv = 0;\n let pv = -1;\n const start = j * 32;\n const vlen = Math.min(32, m - start) + start;\n for (let k = start; k < vlen; k++) {\n peq[b.charCodeAt(k)] |= 1 << k;\n }\n let score = m;\n for (let i = 0; i < n; i++) {\n const eq = peq[a.charCodeAt(i)];\n const pb = (phc[(i / 32) | 0] >>> i) & 1;\n const mb = (mhc[(i / 32) | 0] >>> i) & 1;\n const xv = eq | mv;\n const xh = ((((eq | mb) & pv) + pv) ^ pv) | eq | mb;\n let ph = mv | ~(xh | pv);\n let mh = pv & xh;\n score += (ph >>> (m - 1)) & 1;\n score -= (mh >>> (m - 1)) & 1;\n if ((ph >>> 31) ^ pb) {\n phc[(i / 32) | 0] ^= 1 << i;\n }\n if ((mh >>> 31) ^ mb) {\n mhc[(i / 32) | 0] ^= 1 << i;\n }\n ph = (ph << 1) | pb;\n mh = (mh << 1) | mb;\n pv = mh | ~(xv | ph);\n mv = ph & xv;\n }\n for (let k = start; k < vlen; k++) {\n peq[b.charCodeAt(k)] = 0;\n }\n return score;\n};\nconst distance = (a, b) => {\n if (a.length < b.length) {\n const tmp = b;\n b = a;\n a = tmp;\n }\n if (b.length === 0) {\n return a.length;\n }\n if (a.length <= 32) {\n return myers_32(a, b);\n }\n return myers_x(a, b);\n};\nconst closest = (str, arr) => {\n let min_distance = Infinity;\n let min_index = 0;\n for (let i = 0; i < arr.length; i++) {\n const dist = distance(str, arr[i]);\n if (dist < min_distance) {\n min_distance = dist;\n min_index = i;\n }\n }\n return arr[min_index];\n};\nexport { closest, distance };\n","import { distance } from 'fastest-levenshtein';\n/**\n * Finds the n closest matches to a target string from an array of strings using Levenshtein distance.\n *\n * @param target - The string to find matches for\n * @param candidates - Array of candidate strings to search through\n * @param n - Number of closest matches to return (defaults to 1)\n * @returns Array of the n closest matches, sorted by distance (closest first)\n *\n * @example\n * ```typescript\n * const candidates = ['apple', 'banana', 'orange', 'grape'];\n * const matches = findClosestMatch('aple', candidates, 2);\n * // Returns: ['apple', 'grape'] (assuming these are the 2 closest matches)\n * ```\n */\nexport function findClosestMatch(target, candidates, n = 1) {\n if (candidates.length === 0) {\n return [];\n }\n if (n <= 0) {\n return [];\n }\n // Calculate distances for all candidates\n const distances = candidates.map((candidate, index) => ({\n candidate,\n distance: distance(target, candidate),\n index,\n }));\n // Sort by distance (ascending) and then by original index for stable sorting\n distances.sort((a, b) => {\n if (a.distance !== b.distance) {\n return a.distance - b.distance;\n }\n return a.index - b.index;\n });\n // Return the n closest matches\n return distances.slice(0, n).map((item) => item.candidate);\n}\n//# sourceMappingURL=find-closest-match.js.map","/**\n * Quotes a string with single quotes and escapes single quotes.\n * @param value - The string to quote.\n * @returns The quoted string.\n */\nexport function quot(value) {\n return `'${value.replaceAll(\"'\", String.raw `\\'`)}'`;\n}\n/**\n * Quotes a string with double quotes and escapes double quotes.\n * @param value - The string to quote.\n * @returns The quoted string.\n */\nexport function doubleQuot(value) {\n return `\"${value.replaceAll('\"', String.raw `\\\"`)}\"`;\n}\n//# sourceMappingURL=quot.js.map","import { urlAlphabet as scopedUrlAlphabet } from './url-alphabet/index.js'\nexport { urlAlphabet } from './url-alphabet/index.js'\nexport let random = bytes => crypto.getRandomValues(new Uint8Array(bytes))\nexport let customRandom = (alphabet, defaultSize, getRandom) => {\n let mask = (2 << Math.log2(alphabet.length - 1)) - 1\n let step = -~((1.6 * mask * defaultSize) / alphabet.length)\n return (size = defaultSize) => {\n let id = ''\n while (true) {\n let bytes = getRandom(step)\n let j = step | 0\n while (j--) {\n id += alphabet[bytes[j] & mask] || ''\n if (id.length >= size) return id\n }\n }\n }\n}\nexport let customAlphabet = (alphabet, size = 21) =>\n customRandom(alphabet, size | 0, random)\nexport let nanoid = (size = 21) => {\n let id = ''\n let bytes = crypto.getRandomValues(new Uint8Array((size |= 0)))\n while (size--) {\n id += scopedUrlAlphabet[bytes[size] & 63]\n }\n return id\n}\n","import { customAlphabet } from 'nanoid';\nconst NUMBERS = '0123456789';\nconst LOWERCASE = 'abcdefghijklmnopqrstuvwxyz';\nconst UPPERCASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';\n/**\n * Use custom ID generator for characters that be easily selected\n */\nconst customNanoid = customAlphabet(`${NUMBERS}${LOWERCASE}${UPPERCASE}_`, 12);\n/**\n * Generate a random key string made up of numbers, lowercase, and uppercase letters\n * @returns A random key string\n */\nexport function randomKey(length = 12) {\n return customNanoid(length);\n}\n//# sourceMappingURL=random-key.js.map","export class ToposortCyclicalDependencyError extends Error {\n cyclePath;\n constructor(nodes) {\n super(`Cyclical dependency detected: ${nodes.map((n) => JSON.stringify(n)).join(' -> ')}`);\n this.name = 'ToposortCyclicalDependencyError';\n this.cyclePath = nodes; // Store the path for potential inspection\n }\n}\nexport class ToposortUnknownNodeError extends Error {\n unknownNode;\n constructor(node) {\n super(`Unknown node referenced in edges: ${JSON.stringify(node)}`);\n this.name = 'ToposortUnknownNodeError';\n this.unknownNode = node; // Store the node for potential inspection\n }\n}\n//# sourceMappingURL=errors.js.map","import { compareStrings } from '../string/compare-strings.js';\nimport { ToposortCyclicalDependencyError, ToposortUnknownNodeError, } from './errors.js';\n/**\n * Creates a map of inbound edges from node indices to their source indices\n */\nfunction makeInboundEdges(nodes, edgeArr) {\n const inboundEdgesMap = new Map();\n for (const edge of edgeArr) {\n const [source, target] = edge;\n const sourceIndex = nodes.get(source);\n const targetIndex = nodes.get(target);\n // Check both source and target exist in the provided nodes set\n if (sourceIndex === undefined)\n throw new ToposortUnknownNodeError(source);\n if (targetIndex === undefined)\n throw new ToposortUnknownNodeError(target);\n const targetEdges = inboundEdgesMap.get(targetIndex);\n if (targetEdges) {\n targetEdges.add(sourceIndex);\n }\n else {\n inboundEdgesMap.set(targetIndex, new Set([sourceIndex]));\n }\n }\n return inboundEdgesMap;\n}\n/**\n * Creates a map of node indices to their out-degree\n */\nfunction makeNodeOutDegrees(inboundEdgesMap, nodeLength) {\n const nodeOutDegrees = Array.from({ length: nodeLength }, () => 0);\n for (const [, sources] of inboundEdgesMap.entries()) {\n for (const source of sources) {\n nodeOutDegrees[source]++;\n }\n }\n return nodeOutDegrees;\n}\n/**\n * Detects a cycle in a graph and returns the path of the first cycle found.\n */\nfunction detectCycle(nodes, \n// Set of nodes already processed by a prior algorithm (e.g., a topological sort).\n// This function will only search for cycles among the remaining nodes.\ninitialVisited, edges) {\n // Tracks nodes visited by ANY DFS traversal within this function.\n const cycleCheckVisited = new Set();\n for (let i = 0; i < nodes.length; i++) {\n if (!initialVisited.has(i) && !cycleCheckVisited.has(i)) {\n const path = [];\n const recursionStack = new Set();\n const cyclePath = dfs(i, path, recursionStack);\n if (cyclePath) {\n // A cycle was found, convert indices to nodes and return immediately.\n return cyclePath.map((idx) => nodes[idx]);\n }\n }\n }\n // No cycles were found in any of the graph's components.\n return [];\n /**\n * Performs a DFS from a starting node to find a cycle.\n * @returns The cycle path as an array of indices if found, otherwise null.\n */\n function dfs(node, path, recursionStack) {\n path.push(node);\n recursionStack.add(node);\n cycleCheckVisited.add(node);\n const neighbors = edges.get(node) ?? new Set();\n for (const neighbor of neighbors) {\n if (recursionStack.has(neighbor)) {\n const cycleStartIndex = path.indexOf(neighbor);\n const cycle = path.slice(cycleStartIndex);\n cycle.push(neighbor);\n return cycle;\n }\n // If the neighbor hasn't been visited by any DFS run yet, recurse.\n if (!cycleCheckVisited.has(neighbor)) {\n const result = dfs(neighbor, path, recursionStack);\n if (result) {\n // A cycle was found deeper in the traversal; propagate the result up.\n return result;\n }\n }\n }\n // Backtrack: No cycle found from this node.\n recursionStack.delete(node);\n path.pop();\n return null;\n }\n}\n/**\n * Default comparison function for stable topological sort\n */\nfunction defaultCompareFunc(a, b) {\n if (typeof a === 'string' && typeof b === 'string') {\n return compareStrings(a, b);\n }\n if (a === b)\n return 0;\n return a < b ? -1 : 1;\n}\n/**\n * Performs a locality-based topological sort on a directed acyclic graph.\n *\n * This is a variant of Kahn's algorithm that starts from nodes with no outbound edges first,\n * and then works its way back.\n *\n * This is useful for tasks where we want to process nodes in a way that is consistent with their locality in the graph\n * such as sorting fragments of a generated code file that depend on each other.\n *\n * @param nodes - The nodes to sort\n * @param edges - The edges of the graph\n * @param options - Optional options for the topological sort\n * @returns The sorted nodes\n */\nexport function toposortLocal(nodes, edges, options = {}) {\n const { compareFunc = defaultCompareFunc } = options;\n const compareIdx = (a, b) => compareFunc(nodes[a], nodes[b]);\n // Map each node to its index\n const nodeIndexMap = new Map(nodes.map((node, index) => [node, index]));\n // Create a map of outgoing edges from each node\n const inboundEdgesMap = makeInboundEdges(nodeIndexMap, edges);\n const nodeOutDegrees = makeNodeOutDegrees(inboundEdgesMap, nodes.length);\n // Create a stack of nodes with no incoming edges (in-degree == 0)\n // We use a stack so that the most recently added nodes are processed first\n const zeroOutDegreeStack = [];\n for (const [i, nodeOutDegree] of nodeOutDegrees.entries()) {\n if (nodeOutDegree === 0) {\n zeroOutDegreeStack.push(i);\n }\n }\n zeroOutDegreeStack.sort(compareIdx);\n const reverseResult = [];\n const visited = new Set();\n // Process nodes in BFS order\n while (zeroOutDegreeStack.length > 0) {\n const current = zeroOutDegreeStack.pop();\n if (current === undefined)\n break;\n visited.add(current);\n reverseResult.push(nodes[current]);\n // Process all outgoing edges from the current node\n const incomingEdges = inboundEdgesMap.get(current);\n const newZeroOutDegreeNodes = [];\n if (incomingEdges) {\n for (const source of incomingEdges) {\n nodeOutDegrees[source]--;\n // If the target node now has no incoming edges, add it to the queue\n if (nodeOutDegrees[source] === 0) {\n newZeroOutDegreeNodes.push(source);\n }\n }\n }\n newZeroOutDegreeNodes.sort(compareIdx);\n zeroOutDegreeStack.push(...newZeroOutDegreeNodes);\n }\n // Check for cycles\n if (reverseResult.length !== nodes.length) {\n const cyclePath = detectCycle(nodes, visited, inboundEdgesMap);\n throw new ToposortCyclicalDependencyError(cyclePath.toReversed());\n }\n return reverseResult.toReversed();\n}\n//# sourceMappingURL=toposort-local.js.map","\nexport default class TinyQueue {\n constructor(data = [], compare = (a, b) => (a < b ? -1 : a > b ? 1 : 0)) {\n this.data = data;\n this.length = this.data.length;\n this.compare = compare;\n\n if (this.length > 0) {\n for (let i = (this.length >> 1) - 1; i >= 0; i--) this._down(i);\n }\n }\n\n push(item) {\n this.data.push(item);\n this._up(this.length++);\n }\n\n pop() {\n if (this.length === 0) return undefined;\n\n const top = this.data[0];\n const bottom = this.data.pop();\n\n if (--this.length > 0) {\n this.data[0] = bottom;\n this._down(0);\n }\n\n return top;\n }\n\n peek() {\n return this.data[0];\n }\n\n _up(pos) {\n const {data, compare} = this;\n const item = data[pos];\n\n while (pos > 0) {\n const parent = (pos - 1) >> 1;\n const current = data[parent];\n if (compare(item, current) >= 0) break;\n data[pos] = current;\n pos = parent;\n }\n\n data[pos] = item;\n }\n\n _down(pos) {\n const {data, compare} = this;\n const halfLength = this.length >> 1;\n const item = data[pos];\n\n while (pos < halfLength) {\n let bestChild = (pos << 1) + 1; // initially it is the left child\n const right = bestChild + 1;\n\n if (right < this.length && compare(data[right], data[bestChild]) < 0) {\n bestChild = right;\n }\n if (compare(data[bestChild], item) >= 0) break;\n\n data[pos] = data[bestChild];\n pos = bestChild;\n }\n\n data[pos] = item;\n }\n}\n","import TinyQueue from 'tinyqueue';\nimport { compareStrings } from '../string/compare-strings.js';\nimport { ToposortCyclicalDependencyError, ToposortUnknownNodeError, } from './errors.js';\n/**\n * Creates a map of outgoing edges from node indices to their target indices\n */\nfunction makeOutgoingEdges(nodes, edgeArr) {\n const outgoingEdgesMap = new Map();\n for (const edge of edgeArr) {\n const [source, target] = edge;\n const sourceIndex = nodes.get(source);\n const targetIndex = nodes.get(target);\n // Check both source and target exist in the provided nodes set\n if (sourceIndex === undefined)\n throw new ToposortUnknownNodeError(source);\n if (targetIndex === undefined)\n throw new ToposortUnknownNodeError(target);\n const sourceEdges = outgoingEdgesMap.get(sourceIndex);\n if (sourceEdges) {\n sourceEdges.add(targetIndex);\n }\n else {\n outgoingEdgesMap.set(sourceIndex, new Set([targetIndex]));\n }\n }\n return outgoingEdgesMap;\n}\n/**\n * Creates a map of node indices to their in-degree\n */\nfunction makeNodeInDegrees(outgoingEdgesMap, nodeLength) {\n const nodeInDegrees = Array.from({ length: nodeLength }, () => 0);\n for (const [, targets] of outgoingEdgesMap.entries()) {\n for (const target of targets) {\n nodeInDegrees[target]++;\n }\n }\n return nodeInDegrees;\n}\n/**\n * Detects cycles in a graph by checking if all nodes are included in the topological sort\n */\nfunction detectCycle(nodes, visited, edges) {\n // If all nodes were visited, no cycle exists\n if (visited.size === nodes.length) {\n return [];\n }\n // Run DFS from any unvisited node to find a cycle\n const path = [];\n const visitSet = new Set();\n function dfs(node) {\n if (visitSet.has(node)) {\n path.push(node);\n return true;\n }\n if (visited.has(node)) {\n return false;\n }\n visitSet.add(node);\n path.push(node);\n const neighbors = edges.get(node) ?? new Set();\n for (const neighbor of neighbors) {\n if (dfs(neighbor)) {\n return true;\n }\n }\n path.pop();\n visitSet.delete(node);\n return false;\n }\n // For cycle detection, we need to try all unvisited nodes\n for (let i = 0; i < nodes.length; i++) {\n if (!visited.has(i)) {\n // Reset path and visitSet for each starting node\n path.length = 0;\n visitSet.clear();\n const cycleFound = dfs(i);\n if (cycleFound) {\n // Convert path indices to actual nodes\n return path.map((idx) => nodes[idx]);\n }\n }\n }\n return [];\n}\n/**\n * Default comparison function for stable topological sort\n */\nfunction defaultCompareFunc(a, b) {\n if (typeof a === 'string' && typeof b === 'string') {\n return compareStrings(a, b);\n }\n if (a === b)\n return 0;\n return a < b ? -1 : 1;\n}\n/**\n * Performs a topological sort on a directed acyclic graph.\n *\n * @param nodes - The nodes to sort\n * @param edges - The edges of the graph\n * @param options - Optional options for the topological sort\n * @returns The sorted nodes\n */\nexport function toposort(nodes, edges, options = {}) {\n const { compareFunc } = options;\n // Map each node to its index\n const nodeIndexMap = new Map(nodes.map((node, index) => [node, index]));\n // Create a map of outgoing edges from each node\n const outgoingEdgesMap = makeOutgoingEdges(nodeIndexMap, edges);\n const nodeInDegrees = makeNodeInDegrees(outgoingEdgesMap, nodes.length);\n // Create a queue of nodes with no incoming edges (in-degree == 0)\n const zeroInDegreeQueue = compareFunc\n ? new TinyQueue([], (a, b) => compareFunc(nodes[a], nodes[b]))\n : [];\n for (const [i, nodeInDegree] of nodeInDegrees.entries()) {\n if (nodeInDegree === 0) {\n zeroInDegreeQueue.push(i);\n }\n }\n const result = [];\n const visited = new Set();\n // Process nodes in BFS order\n while (zeroInDegreeQueue.length > 0) {\n const current = zeroInDegreeQueue.pop();\n if (current === undefined)\n break;\n visited.add(current);\n result.push(nodes[current]);\n // Process all outgoing edges from the current node\n const outgoingEdges = outgoingEdgesMap.get(current);\n if (outgoingEdges) {\n for (const target of outgoingEdges) {\n nodeInDegrees[target]--;\n // If the target node now has no incoming edges, add it to the queue\n if (nodeInDegrees[target] === 0) {\n zeroInDegreeQueue.push(target);\n }\n }\n }\n }\n // Check for cycles\n if (result.length !== nodes.length) {\n const cyclePath = detectCycle(nodes, visited, outgoingEdgesMap);\n throw new ToposortCyclicalDependencyError(cyclePath);\n }\n return result;\n}\n/**\n * Performs a topological sort on a directed acyclic graph, always selecting\n * the smallest available node according to the provided comparison function,\n * yielding the lexicographically minimal ordering.\n *\n * @param nodes - The nodes to sort\n * @param edges - The edges of the graph\n * @param compareFunc - Optional custom comparison function to break ties between nodes with the same topological level (default is string comparison)\n * @returns The sorted nodes\n */\nexport function toposortOrdered(nodes, edges, compareFunc = defaultCompareFunc) {\n return toposort(nodes, edges, { compareFunc });\n}\n//# sourceMappingURL=toposort.js.map","/**\n * Type guard to check if a value is not null or undefined.\n */\nexport function notEmpty(value) {\n return value !== null && value !== undefined;\n}\n//# sourceMappingURL=not-empty.js.map","import { z } from 'zod';\n/**\n * Regex for validating kebab case, e.g. \"my-project\".\n */\nexport const KEBAB_CASE_REGEX = /^[a-z0-9-]+$/;\n/**\n * Regex for validating pascal case, e.g. \"MyProject\".\n */\nexport const PASCAL_CASE_REGEX = /^[A-Z][a-zA-Z0-9]*$/;\n/**\n * Regex for validating camel case, e.g. \"myProject\".\n */\nexport const CAMEL_CASE_REGEX = /^[a-z][a-zA-Z0-9]*$/;\n/**\n * Regex for validating constant case, e.g. \"MY_PROJECT\".\n */\nexport const CONSTANT_CASE_REGEX = /^[A-Z][A-Z0-9_]*$/;\nexport const CASE_VALIDATORS = {\n /**\n * Zod validator for validating kebab case, e.g. \"my-project\".\n */\n KEBAB_CASE: z.string().regex(KEBAB_CASE_REGEX, {\n message: 'Must be kebab case (e.g. \"my-project\")',\n }),\n /**\n * Zod validator for validating pascal case, e.g. \"MyProject\".\n */\n PASCAL_CASE: z.string().regex(PASCAL_CASE_REGEX, {\n message: 'Must be pascal case (e.g. \"MyProject\")',\n }),\n /**\n * Zod validator for validating camel case, e.g. \"myProject\".\n */\n CAMEL_CASE: z.string().regex(CAMEL_CASE_REGEX, {\n message: 'Must be camel case (e.g. \"myProject\")',\n }),\n /**\n * Zod validator for validating constant case, e.g. \"MY_PROJECT\".\n */\n CONSTANT_CASE: z.string().regex(CONSTANT_CASE_REGEX, {\n message: 'Must be constant case (e.g. \"MY_PROJECT\")',\n }),\n};\n//# sourceMappingURL=case-validators.js.map","import { z } from 'zod';\n/**\n * Zod validator for a positive integer.\n */\nconst POSITIVE_INT = z.int().positive();\n/**\n * Zod number validators.\n */\nexport const NUMBER_VALIDATORS = {\n POSITIVE_INT,\n};\n//# sourceMappingURL=number-validators.js.map"],"names":["detectCycle","defaultCompareFunc","z"],"mappings":";;;;AAAA,SAAS,YAAY,CAAC,KAAK,EAAE;AAC7B,IAAI,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI;AACtD;;ACAA,SAAS,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE;AAC1C,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;AAC1C,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAChD,QAAQ,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC;AACjC,QAAQ,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC;AACvC,QAAQ,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC;AACvC,QAAQ,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,EAAE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,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,iBAAiB,EAAE;AACrD,QAAQ,OAAO,EAAE,wCAAwC;AACzD,KAAK,CAAC;AACN;AACA;AACA;AACA,IAAI,UAAU,EAAEA,GAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,gBAAgB,EAAE;AACnD,QAAQ,OAAO,EAAE,uCAAuC;AACxD,KAAK,CAAC;AACN;AACA;AACA;AACA,IAAI,aAAa,EAAEA,GAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,mBAAmB,EAAE;AACzD,QAAQ,OAAO,EAAE,2CAA2C;AAC5D,KAAK,CAAC;AACN;;AC1CA,MAAA,CAAA,CAAA,CAAA,GAAA,MAAA,YAAA,CAAA,KAAA,CAAA;;AACA;AACA;AACA;AACA,MAAM,YAAY,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;AACvC;AACA;AACA;AACY,MAAC,iBAAiB,GAAG;AACjC,IAAI,YAAY;AAChB;;;;","x_google_ignoreList":[0,1,8,9,22,25,29]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"model-merger-kOQ_dmiE.js","sources":["../../../../../packages/project-builder-lib/dist/plugins/spec/types.js","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/object/cloneDeep.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/object/mapValues.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/object/merge.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/object/omit.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/object/toMerged.mjs","../../../../../packages/project-builder-lib/dist/references/types.js","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/toKey.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/util/toPath.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/object/get.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/predicate/isObject.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/object/set.mjs","../../../../../packages/project-builder-lib/dist/references/markers.js","../../../../../packages/project-builder-lib/dist/references/ref-context-slot.js","../../../../../packages/project-builder-lib/dist/references/strip-ref-markers.js","../../../../../packages/project-builder-lib/dist/references/extend-parser-context-with-refs.js","../../../../../packages/project-builder-lib/dist/schema/creator/extend-parser-context-with-defaults.js","../../../../../packages/project-builder-lib/dist/schema/creator/schema-creator.js","../../../../../packages/project-builder-lib/dist/schema/features/feature.js","../../../../../packages/project-builder-lib/dist/schema/models/types.js","../../../../../packages/project-builder-lib/dist/definition/feature/feature-utils.js","../../../../../packages/project-builder-lib/dist/definition/model/model-utils.js","../../../../../packages/project-builder-lib/dist/utils/definition-diff/definition-diff.js","../../../../../packages/project-builder-lib/dist/tools/model-merger/model-merger.js"],"sourcesContent":["export function createInitializedPluginSpec(spec, implementation) {\n return { spec, implementation };\n}\nexport function createPluginSpec(name, options) {\n const { platforms, defaultInitializer } = options ?? {};\n return {\n type: 'plugin-spec',\n name,\n platforms: platforms && (Array.isArray(platforms) ? platforms : [platforms]),\n isOptional: false,\n optional() {\n return { ...this, isOptional: true };\n },\n defaultInitializer,\n };\n}\n//# sourceMappingURL=types.js.map","function isPrimitive(value) {\n return value == null || (typeof value !== 'object' && typeof value !== 'function');\n}\n\nexport { isPrimitive };\n","function isTypedArray(x) {\n return ArrayBuffer.isView(x) && !(x instanceof DataView);\n}\n\nexport { isTypedArray };\n","import { getSymbols } from '../compat/_internal/getSymbols.mjs';\nimport { isPrimitive } from '../predicate/isPrimitive.mjs';\nimport { isTypedArray } from '../predicate/isTypedArray.mjs';\n\nfunction cloneDeepWith(obj, cloneValue) {\n return cloneDeepWithImpl(obj, undefined, obj, new Map(), cloneValue);\n}\nfunction cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = new Map(), cloneValue = undefined) {\n const cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);\n if (cloned != null) {\n return cloned;\n }\n if (isPrimitive(valueToClone)) {\n return valueToClone;\n }\n if (stack.has(valueToClone)) {\n return stack.get(valueToClone);\n }\n if (Array.isArray(valueToClone)) {\n const result = new Array(valueToClone.length);\n stack.set(valueToClone, result);\n for (let i = 0; i < valueToClone.length; i++) {\n result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);\n }\n if (Object.hasOwn(valueToClone, 'index')) {\n result.index = valueToClone.index;\n }\n if (Object.hasOwn(valueToClone, 'input')) {\n result.input = valueToClone.input;\n }\n return result;\n }\n if (valueToClone instanceof Date) {\n return new Date(valueToClone.getTime());\n }\n if (valueToClone instanceof RegExp) {\n const result = new RegExp(valueToClone.source, valueToClone.flags);\n result.lastIndex = valueToClone.lastIndex;\n return result;\n }\n if (valueToClone instanceof Map) {\n const result = new Map();\n stack.set(valueToClone, result);\n for (const [key, value] of valueToClone) {\n result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));\n }\n return result;\n }\n if (valueToClone instanceof Set) {\n const result = new Set();\n stack.set(valueToClone, result);\n for (const value of valueToClone) {\n result.add(cloneDeepWithImpl(value, undefined, objectToClone, stack, cloneValue));\n }\n return result;\n }\n if (typeof Buffer !== 'undefined' && Buffer.isBuffer(valueToClone)) {\n return valueToClone.subarray();\n }\n if (isTypedArray(valueToClone)) {\n const result = new (Object.getPrototypeOf(valueToClone).constructor)(valueToClone.length);\n stack.set(valueToClone, result);\n for (let i = 0; i < valueToClone.length; i++) {\n result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);\n }\n return result;\n }\n if (valueToClone instanceof ArrayBuffer ||\n (typeof SharedArrayBuffer !== 'undefined' && valueToClone instanceof SharedArrayBuffer)) {\n return valueToClone.slice(0);\n }\n if (valueToClone instanceof DataView) {\n const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);\n stack.set(valueToClone, result);\n copyProperties(result, valueToClone, objectToClone, stack, cloneValue);\n return result;\n }\n if (typeof File !== 'undefined' && valueToClone instanceof File) {\n const result = new File([valueToClone], valueToClone.name, {\n type: valueToClone.type,\n });\n stack.set(valueToClone, result);\n copyProperties(result, valueToClone, objectToClone, stack, cloneValue);\n return result;\n }\n if (valueToClone instanceof Blob) {\n const result = new Blob([valueToClone], { type: valueToClone.type });\n stack.set(valueToClone, result);\n copyProperties(result, valueToClone, objectToClone, stack, cloneValue);\n return result;\n }\n if (valueToClone instanceof Error) {\n const result = new valueToClone.constructor();\n stack.set(valueToClone, result);\n result.message = valueToClone.message;\n result.name = valueToClone.name;\n result.stack = valueToClone.stack;\n result.cause = valueToClone.cause;\n copyProperties(result, valueToClone, objectToClone, stack, cloneValue);\n return result;\n }\n if (typeof valueToClone === 'object' && valueToClone !== null) {\n const result = Object.create(Object.getPrototypeOf(valueToClone));\n stack.set(valueToClone, result);\n copyProperties(result, valueToClone, objectToClone, stack, cloneValue);\n return result;\n }\n return valueToClone;\n}\nfunction copyProperties(target, source, objectToClone = target, stack, cloneValue) {\n const keys = [...Object.keys(source), ...getSymbols(source)];\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const descriptor = Object.getOwnPropertyDescriptor(target, key);\n if (descriptor == null || descriptor.writable) {\n target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);\n }\n }\n}\n\nexport { cloneDeepWith, cloneDeepWithImpl, copyProperties };\n","import { cloneDeepWithImpl } from './cloneDeepWith.mjs';\n\nfunction cloneDeep(obj) {\n return cloneDeepWithImpl(obj, undefined, obj, new Map(), undefined);\n}\n\nexport { cloneDeep };\n","function mapValues(object, getNewValue) {\n const result = {};\n const keys = Object.keys(object);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const value = object[key];\n result[key] = getNewValue(value, key, object);\n }\n return result;\n}\n\nexport { mapValues };\n","import { isPlainObject } from '../predicate/isPlainObject.mjs';\n\nfunction merge(target, source) {\n const sourceKeys = Object.keys(source);\n for (let i = 0; i < sourceKeys.length; i++) {\n const key = sourceKeys[i];\n const sourceValue = source[key];\n const targetValue = target[key];\n if (Array.isArray(sourceValue)) {\n if (Array.isArray(targetValue)) {\n target[key] = merge(targetValue, sourceValue);\n }\n else {\n target[key] = merge([], sourceValue);\n }\n }\n else if (isPlainObject(sourceValue)) {\n if (isPlainObject(targetValue)) {\n target[key] = merge(targetValue, sourceValue);\n }\n else {\n target[key] = merge({}, sourceValue);\n }\n }\n else if (targetValue === undefined || sourceValue !== undefined) {\n target[key] = sourceValue;\n }\n }\n return target;\n}\n\nexport { merge };\n","function omit(obj, keys) {\n const result = { ...obj };\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n delete result[key];\n }\n return result;\n}\n\nexport { omit };\n","import { cloneDeep } from './cloneDeep.mjs';\nimport { merge } from './merge.mjs';\n\nfunction toMerged(target, source) {\n return merge(cloneDeep(target), source);\n}\n\nexport { toMerged };\n","import { randomKey } from '@baseplate-dev/utils';\n/**\n * Definition of an entity type.\n */\nexport class DefinitionEntityType {\n prefix;\n name;\n parentType;\n /**\n * Creates a new entity type.\n *\n * @param name - The name of the entity type.\n * @param prefix - The prefix of the entity type to use in the ID, defaults to the name.\n * @param parentType - The type of the parent entity if any\n */\n constructor(name, prefix, parentType) {\n this.name = name;\n this.parentType = parentType;\n this.prefix = prefix ?? name.split('/').pop() ?? name;\n }\n /**\n * Generates a new ID for the entity type.\n *\n * @returns The new ID.\n */\n generateNewId() {\n return `${this.prefix}:${randomKey()}`;\n }\n idFromKey(key) {\n if (!key) {\n return undefined;\n }\n return `${this.prefix}:${key}`;\n }\n keyFromId(id) {\n return id.split(':')[1];\n }\n isId(id) {\n return id.startsWith(`${this.prefix}:`);\n }\n}\nexport function createEntityType(name, options) {\n const { parentType, prefix } = options ?? {};\n return new DefinitionEntityType(name, prefix, parentType);\n}\n//# sourceMappingURL=types.js.map","function isDeepKey(key) {\n switch (typeof key) {\n case 'number':\n case 'symbol': {\n return false;\n }\n case 'string': {\n return key.includes('.') || key.includes('[') || key.includes(']');\n }\n }\n}\n\nexport { isDeepKey };\n","function toKey(value) {\n if (Object.is(value, -0)) {\n return '-0';\n }\n return value.toString();\n}\n\nexport { toKey };\n","function toPath(deepKey) {\n const result = [];\n const length = deepKey.length;\n if (length === 0) {\n return result;\n }\n let index = 0;\n let key = '';\n let quoteChar = '';\n let bracket = false;\n if (deepKey.charCodeAt(0) === 46) {\n result.push('');\n index++;\n }\n while (index < length) {\n const char = deepKey[index];\n if (quoteChar) {\n if (char === '\\\\' && index + 1 < length) {\n index++;\n key += deepKey[index];\n }\n else if (char === quoteChar) {\n quoteChar = '';\n }\n else {\n key += char;\n }\n }\n else if (bracket) {\n if (char === '\"' || char === \"'\") {\n quoteChar = char;\n }\n else if (char === ']') {\n bracket = false;\n result.push(key);\n key = '';\n }\n else {\n key += char;\n }\n }\n else {\n if (char === '[') {\n bracket = true;\n if (key) {\n result.push(key);\n key = '';\n }\n }\n else if (char === '.') {\n if (key) {\n result.push(key);\n key = '';\n }\n }\n else {\n key += char;\n }\n }\n index++;\n }\n if (key) {\n result.push(key);\n }\n return result;\n}\n\nexport { toPath };\n","import { isDeepKey } from '../_internal/isDeepKey.mjs';\nimport { toKey } from '../_internal/toKey.mjs';\nimport { toPath } from '../util/toPath.mjs';\n\nfunction get(object, path, defaultValue) {\n if (object == null) {\n return defaultValue;\n }\n switch (typeof path) {\n case 'string': {\n const result = object[path];\n if (result === undefined) {\n if (isDeepKey(path)) {\n return get(object, toPath(path), defaultValue);\n }\n else {\n return defaultValue;\n }\n }\n return result;\n }\n case 'number':\n case 'symbol': {\n if (typeof path === 'number') {\n path = toKey(path);\n }\n const result = object[path];\n if (result === undefined) {\n return defaultValue;\n }\n return result;\n }\n default: {\n if (Array.isArray(path)) {\n return getWithPath(object, path, defaultValue);\n }\n if (Object.is(path?.valueOf(), -0)) {\n path = '-0';\n }\n else {\n path = String(path);\n }\n const result = object[path];\n if (result === undefined) {\n return defaultValue;\n }\n return result;\n }\n }\n}\nfunction getWithPath(object, path, defaultValue) {\n if (path.length === 0) {\n return defaultValue;\n }\n let current = object;\n for (let index = 0; index < path.length; index++) {\n if (current == null) {\n return defaultValue;\n }\n current = current[path[index]];\n }\n if (current === undefined) {\n return defaultValue;\n }\n return current;\n}\n\nexport { get };\n","function isObject(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n}\n\nexport { isObject };\n","import { isObject } from './isObject.mjs';\nimport { isPrimitive } from '../../predicate/isPrimitive.mjs';\nimport { eq } from '../util/eq.mjs';\n\nfunction isMatch(target, source) {\n if (source === target) {\n return true;\n }\n switch (typeof source) {\n case 'object': {\n if (source == null) {\n return true;\n }\n const keys = Object.keys(source);\n if (target == null) {\n return keys.length === 0;\n }\n if (Array.isArray(source)) {\n return isArrayMatch(target, source);\n }\n if (source instanceof Map) {\n return isMapMatch(target, source);\n }\n if (source instanceof Set) {\n return isSetMatch(target, source);\n }\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (!isPrimitive(target) && !(key in target)) {\n return false;\n }\n if (source[key] === undefined && target[key] !== undefined) {\n return false;\n }\n if (source[key] === null && target[key] !== null) {\n return false;\n }\n if (!isMatch(target[key], source[key])) {\n return false;\n }\n }\n return true;\n }\n case 'function': {\n if (Object.keys(source).length > 0) {\n return isMatch(target, { ...source });\n }\n return false;\n }\n default: {\n if (!isObject(target)) {\n return eq(target, source);\n }\n return !source;\n }\n }\n}\nfunction isMapMatch(target, source) {\n if (source.size === 0) {\n return true;\n }\n if (!(target instanceof Map)) {\n return false;\n }\n for (const [key, value] of source.entries()) {\n if (!isMatch(target.get(key), value)) {\n return false;\n }\n }\n return true;\n}\nfunction isArrayMatch(target, source) {\n if (source.length === 0) {\n return true;\n }\n if (!Array.isArray(target)) {\n return false;\n }\n const countedIndex = new Set();\n for (let i = 0; i < source.length; i++) {\n const sourceItem = source[i];\n const index = target.findIndex((targetItem, index) => {\n return isMatch(targetItem, sourceItem) && !countedIndex.has(index);\n });\n if (index === -1) {\n return false;\n }\n countedIndex.add(index);\n }\n return true;\n}\nfunction isSetMatch(target, source) {\n if (source.size === 0) {\n return true;\n }\n if (!(target instanceof Set)) {\n return false;\n }\n return isArrayMatch([...target], [...source]);\n}\n\nexport { isArrayMatch, isMapMatch, isMatch, isSetMatch };\n","const IS_UNSIGNED_INTEGER = /^(?:0|[1-9]\\d*)$/;\nfunction isIndex(value, length = Number.MAX_SAFE_INTEGER) {\n switch (typeof value) {\n case 'number': {\n return Number.isInteger(value) && value >= 0 && value < length;\n }\n case 'symbol': {\n return false;\n }\n case 'string': {\n return IS_UNSIGNED_INTEGER.test(value);\n }\n }\n}\n\nexport { isIndex };\n","import { isIndex } from '../_internal/isIndex.mjs';\nimport { toPath } from '../util/toPath.mjs';\n\nfunction set(obj, path, value) {\n const resolvedPath = Array.isArray(path) ? path : typeof path === 'string' ? toPath(path) : [path];\n let current = obj;\n for (let i = 0; i < resolvedPath.length - 1; i++) {\n const key = resolvedPath[i];\n const nextKey = resolvedPath[i + 1];\n if (current[key] == null) {\n current[key] = isIndex(nextKey) ? [] : {};\n }\n current = current[key];\n }\n const lastKey = resolvedPath[resolvedPath.length - 1];\n current[lastKey] = value;\n return obj;\n}\n\nexport { set };\n","export class DefinitionReferenceMarker {\n value;\n reference;\n constructor(value, reference) {\n this.value = value;\n this.reference = reference;\n }\n toString() {\n return this.value ?? '';\n }\n}\nexport const REF_ANNOTATIONS_MARKER_SYMBOL = Symbol('refAnnotationsMarker');\n//# sourceMappingURL=markers.js.map","/**\n * Creates a new ref context slot for the given entity type.\n * Each call creates a unique slot, even for the same entity type.\n *\n * @param name - A descriptive name for debugging (shows in Symbol description)\n * @param entityType - The entity type this slot will be associated with\n * @returns A new unique RefContextSlot instance\n *\n * @example\n * ```typescript\n * const modelSlot = createRefContextSlot('modelSlot', modelEntityType);\n * const anotherModelSlot = createRefContextSlot('anotherModelSlot', modelEntityType);\n *\n * // These are different slots despite same entity type\n * modelSlot.id !== anotherModelSlot.id\n * // modelSlot.id.toString() === 'Symbol(modelSlot)'\n * ```\n */\nexport function createRefContextSlot(name, entityType) {\n return {\n entityType,\n id: Symbol(name),\n };\n}\n/**\n * Creates a RefContextSlotMap from a slot definition.\n * Used internally by ctx.refContext().\n *\n * @param slotDefinition - Map of slot names to entity types\n * @returns Map of slot names to RefContextSlot instances\n */\nexport function createRefContextSlotMap(slotDefinition) {\n return Object.fromEntries(Object.entries(slotDefinition).map(([key, entityType]) => [\n key,\n createRefContextSlot(key, entityType),\n ]));\n}\n//# sourceMappingURL=ref-context-slot.js.map","import { DefinitionReferenceMarker } from './markers.js';\n/**\n * Strips the DefinitionReferenceMarker from the value recursively.\n * @param value - The value to strip the DefinitionReferenceMarker from.\n * @returns The value without the DefinitionReferenceMarker.\n */\nexport function stripRefMarkers(value) {\n if (value instanceof DefinitionReferenceMarker) {\n return value.value;\n }\n if (Array.isArray(value)) {\n return value.map(stripRefMarkers);\n }\n if (typeof value === 'object' && value !== null) {\n return Object.fromEntries(Object.entries(value).map(([key, childValue]) => [\n key,\n stripRefMarkers(childValue),\n ]));\n }\n return value;\n}\n//# sourceMappingURL=strip-ref-markers.js.map","import { get } from 'es-toolkit/compat';\nimport { z } from 'zod';\nimport { DefinitionReferenceMarker, REF_ANNOTATIONS_MARKER_SYMBOL, } from './markers.js';\nimport { createRefContextSlotMap } from './ref-context-slot.js';\nimport { stripRefMarkers } from './strip-ref-markers.js';\nexport function extendParserContextWithRefs({ transformReferences, }) {\n function modifyAnnotations(value, ctx, modifier) {\n if (value === null || value === undefined)\n return value;\n if (typeof value !== 'object') {\n ctx.addIssue({\n code: 'invalid_type',\n expected: 'object',\n message: `Entity must be an object`,\n input: value,\n });\n return value;\n }\n if (transformReferences) {\n const existingAnnotations = REF_ANNOTATIONS_MARKER_SYMBOL in value\n ? value[REF_ANNOTATIONS_MARKER_SYMBOL]\n : { entities: [], references: [], slots: [] };\n return {\n ...value,\n [REF_ANNOTATIONS_MARKER_SYMBOL]: modifier(existingAnnotations),\n };\n }\n return value;\n }\n function withRef(reference) {\n return z.string().transform((value) => {\n if (transformReferences && value) {\n return new DefinitionReferenceMarker(value, {\n path: [],\n type: reference.type,\n onDelete: reference.onDelete,\n parentSlot: reference.parentSlot,\n provides: reference.provides,\n });\n }\n return value;\n });\n }\n function withEnt(schema, entity) {\n return schema.transform((value, ctx) => {\n if (value === null || value === undefined)\n return value;\n if (transformReferences) {\n if (typeof value !== 'object') {\n ctx.addIssue({\n code: 'invalid_type',\n expected: 'object',\n message: `Entity must be an object`,\n input: value,\n });\n return value;\n }\n // Check if the id is valid\n const idPath = entity.idPath ?? ['id'];\n const id = get(value, idPath);\n if (typeof id !== 'string' || !id || !entity.type.isId(id)) {\n ctx.addIssue({\n code: 'custom',\n message: `Unable to find string id field '${entity.idPath?.join('.') ?? 'id'}' in entity ${entity.type.name}`,\n input: value,\n });\n return value;\n }\n const nameResolver = (() => {\n if (entity.getNameResolver) {\n return entity.getNameResolver(stripRefMarkers(value));\n }\n if (!('name' in value) || typeof value.name !== 'string') {\n ctx.addIssue({\n code: 'custom',\n message: `Unable to find string name field in entity ${entity.type.name}`,\n input: value,\n });\n return 'invalid';\n }\n return value.name;\n })();\n const newEntity = {\n id,\n idPath,\n path: [],\n type: entity.type,\n nameResolver,\n parentSlot: entity.parentSlot,\n provides: entity.provides,\n };\n return modifyAnnotations(value, ctx, (annotations) => ({\n ...annotations,\n entities: [...annotations.entities, newEntity],\n }));\n }\n return value;\n });\n }\n /**\n * Creates ref context slots for use within a schema definition.\n * Slots provide type-safe context for parent-child entity relationships.\n *\n * @example\n * ```typescript\n * ctx.refContext(\n * { modelSlot: modelEntityType },\n * ({ modelSlot }) =>\n * ctx.withEnt(schema, {\n * type: modelEntityType,\n * provides: modelSlot,\n * }),\n * );\n * ```\n */\n function refContext(slotDefinition, schemaBuilder) {\n const slots = createRefContextSlotMap(slotDefinition);\n return schemaBuilder(slots).transform((value, ctx) => modifyAnnotations(value, ctx, (annotations) => ({\n ...annotations,\n slots: [\n ...annotations.slots,\n ...Object.values(slots).map((slot) => ({\n path: [],\n slot,\n })),\n ],\n })));\n }\n return {\n withRef,\n withEnt,\n refContext,\n };\n}\n//# sourceMappingURL=extend-parser-context-with-refs.js.map","function isEmpty(value) {\n if (value === undefined || value === null) {\n return true;\n }\n if (Array.isArray(value)) {\n return value.length === 0;\n }\n if (typeof value === 'object' &&\n Object.getPrototypeOf(value) === Object.prototype) {\n return Object.values(value).every((val) => val === undefined);\n }\n if (typeof value === 'string') {\n return value === '';\n }\n return false;\n}\n/**\n * Extends the parser context with default value handling functionality.\n *\n * @param options - The schema creator options containing the defaultMode\n * @returns An object containing the withDefault method\n */\nexport function extendParserContextWithDefaults(options) {\n const mode = options.defaultMode ?? 'populate';\n return {\n withDefault: function withDefault(schema, defaultValue) {\n switch (mode) {\n case 'populate': {\n return schema.prefault(defaultValue).optional();\n }\n case 'strip': {\n // Use transform to remove values matching defaults after validation\n return schema\n .transform((value) => {\n if (value === defaultValue)\n return undefined;\n if (isEmpty(value)) {\n return undefined;\n }\n return value;\n })\n .optional();\n }\n case 'preserve': {\n // Return schema with .optional() added\n return schema.transform((x) => x).optional();\n }\n }\n },\n };\n}\n//# sourceMappingURL=extend-parser-context-with-defaults.js.map","import { extendParserContextWithRefs } from '#src/references/extend-parser-context-with-refs.js';\nimport { createRefContextSlotMap } from '#src/references/ref-context-slot.js';\nimport { extendParserContextWithDefaults } from './extend-parser-context-with-defaults.js';\nexport function createDefinitionSchemaParserContext(options) {\n return {\n ...options,\n ...extendParserContextWithRefs(options),\n ...extendParserContextWithDefaults(options),\n };\n}\nexport function definitionSchema(creator) {\n return (context) => creator(context);\n}\n/**\n * Creates a schema that requires slots to be passed from parent schemas.\n * Used when a schema needs to reference entities from a parent context.\n *\n * @example\n * ```typescript\n * // Child schema requiring modelSlot from parent\n * export const createModelScalarFieldSchema = definitionSchemaWithSlots(\n * { modelSlot: modelEntityType },\n * (ctx, { modelSlot }) =>\n * ctx.withEnt(schema, {\n * type: modelScalarFieldEntityType,\n * parentSlot: modelSlot,\n * }),\n * );\n *\n * // Called from parent:\n * createModelScalarFieldSchema(ctx, { modelSlot: parentModelSlot })\n * ```\n */\nexport function definitionSchemaWithSlots(slotDefinition, creator) {\n const creatorWithSlots = (context, slots) => creator(context, slots);\n creatorWithSlots.slotDefinition = slotDefinition;\n return creatorWithSlots;\n}\n/**\n * Wraps a schema creator that requires slots with placeholder slots,\n * producing a simple schema creator that can be used for validation-only\n * contexts (e.g., React Hook Form).\n *\n * The placeholder slots allow the schema to parse without actual parent context,\n * which is useful when you only need schema validation without ref extraction.\n *\n * @example\n * ```typescript\n * // Schema that normally requires modelSlot from parent\n * const createModelScalarFieldSchema = definitionSchemaWithSlots(\n * { modelSlot: modelEntityType },\n * (ctx, { modelSlot }) => ctx.withEnt(schema, { parentSlot: modelSlot }),\n * );\n *\n * // For React Hook Form validation, wrap with placeholder slots\n * const fieldSchema = withPlaceholderSlots(createModelScalarFieldSchema);\n * const zodSchema = fieldSchema(ctx); // No slots needed\n * ```\n */\nexport function withPlaceholderSlots(schemaCreator) {\n return (ctx) => {\n const placeholderSlots = createRefContextSlotMap(schemaCreator.slotDefinition);\n return schemaCreator(ctx, placeholderSlots);\n };\n}\n//# sourceMappingURL=schema-creator.js.map","import { CASE_VALIDATORS } from '@baseplate-dev/utils';\nimport { z } from 'zod';\nimport { createEntityType } from '#src/references/types.js';\nimport { definitionSchema } from '#src/schema/creator/schema-creator.js';\nexport const featureEntityType = createEntityType('feature');\nexport const featureNameSchema = CASE_VALIDATORS.KEBAB_CASE;\nexport const createFeatureSchema = definitionSchema((ctx) => ctx.withEnt(z.object({\n id: z.string(),\n name: z\n .string()\n .min(1)\n .refine((name) => name\n .split('/')\n .every((part) => featureNameSchema.safeParse(part).success), {\n message: 'Feature name must be lowercase and contain only letters, numbers, and dashes',\n }),\n parentRef: ctx\n .withRef({\n type: featureEntityType,\n onDelete: 'DELETE_PARENT',\n })\n .optional(),\n}), { type: featureEntityType }));\nexport const createFeaturesSchema = definitionSchema((ctx) => z.array(createFeatureSchema(ctx)).default([]));\n//# sourceMappingURL=feature.js.map","import { createEntityType } from '#src/references/index.js';\nexport const modelEntityType = createEntityType('model');\nexport const modelScalarFieldEntityType = createEntityType('model-scalar-field', {\n parentType: modelEntityType,\n});\nexport const modelLocalRelationEntityType = createEntityType('model-local-relation', { parentType: modelEntityType });\nexport const modelForeignRelationEntityType = createEntityType('model-foreign-relation', { parentType: modelEntityType });\nexport const modelUniqueConstraintEntityType = createEntityType('model-unique-constraint', { parentType: modelEntityType });\nexport const modelTransformerEntityType = createEntityType('model-transformer', { parentType: modelEntityType });\nexport const modelEnumEntityType = createEntityType('model-enum');\nexport const modelEnumValueEntityType = createEntityType('model-enum-value', {\n parentType: modelEnumEntityType,\n});\n//# sourceMappingURL=types.js.map","import { featureEntityType, featureNameSchema } from '#src/schema/index.js';\nfunction getRootFeatures(projectDefinition) {\n return projectDefinition.features.filter((f) => !f.parentRef);\n}\nfunction getFeatureById(projectDefinition, featureId) {\n return projectDefinition.features.find((f) => f.id === featureId);\n}\nfunction getFeatureByIdOrThrow(projectDefinition, featureId) {\n const feature = getFeatureById(projectDefinition, featureId);\n if (!feature) {\n throw new Error(`Could not find feature with ID ${featureId}`);\n }\n return feature;\n}\nfunction getFeatureChildren(projectDefinition, featureId) {\n return projectDefinition.features.filter((f) => f.parentRef === featureId);\n}\nfunction getFeatureName(featureConfig) {\n return featureConfig.name.split('/').pop() ?? '';\n}\nfunction getFeatureNameById(projectDefinition, featureId) {\n const feature = getFeatureByIdOrThrow(projectDefinition, featureId);\n return getFeatureName(feature);\n}\nfunction getFeaturePathById(projectDefinition, featureId) {\n const feature = getFeatureByIdOrThrow(projectDefinition, featureId);\n return feature.name;\n}\nfunction validateFeatureName(name) {\n const nameParts = name.split('/');\n return nameParts.every((part) => featureNameSchema.safeParse(part).success);\n}\nfunction ensureFeatureByNameRecursively(projectDefinition, nameOrId) {\n if (featureEntityType.isId(nameOrId)) {\n return nameOrId;\n }\n const nameParts = nameOrId.split('/');\n let lastName = '';\n let parentRef = undefined;\n for (const part of nameParts) {\n const feature = projectDefinition.features.find((f) => f.name === part && f.parentRef === parentRef);\n const name = [lastName, part].filter(Boolean).join('/');\n if (feature) {\n parentRef = feature.id;\n }\n else {\n const newFeature = {\n id: featureEntityType.generateNewId(),\n name,\n parentRef,\n };\n projectDefinition.features.push(newFeature);\n parentRef = newFeature.id;\n }\n lastName = name;\n }\n if (!parentRef) {\n throw new Error('Failed to create feature');\n }\n return parentRef;\n}\nfunction getFeatureByName(projectDefinition, name) {\n return projectDefinition.features.find((f) => f.name === name);\n}\nfunction getFeatureIdByNameOrDefault(projectDefinition, name) {\n return getFeatureByName(projectDefinition, name)?.id ?? name;\n}\nexport const FeatureUtils = {\n getRootFeatures,\n getFeatureById,\n getFeatureByIdOrThrow,\n getFeatureChildren,\n getFeatureName,\n getFeatureNameById,\n getFeaturePathById,\n validateFeatureName,\n ensureFeatureByNameRecursively,\n getFeatureByName,\n getFeatureIdByNameOrDefault,\n};\n//# sourceMappingURL=feature-utils.js.map","import { PASCAL_CASE_REGEX } from '@baseplate-dev/utils';\nfunction byId(projectDefinition, id) {\n return projectDefinition.models.find((m) => m.id === id);\n}\nfunction byIdOrThrow(projectDefinition, id) {\n const model = byId(projectDefinition, id);\n if (!model) {\n throw new Error(`Could not find model with ID ${id}`);\n }\n return model;\n}\nfunction byName(projectDefinition, name) {\n return projectDefinition.models.find((m) => m.name === name);\n}\nfunction byNameOrThrow(projectDefinition, name) {\n const model = byName(projectDefinition, name);\n if (!model) {\n throw new Error(`Could not find model with name ${name}`);\n }\n return model;\n}\nfunction getScalarFieldById(model, id) {\n const field = model.model.fields.find((f) => f.id === id);\n if (!field) {\n throw new Error(`Could not find field with ID ${id}`);\n }\n return field;\n}\nfunction getRelationsToModel(projectDefinition, modelId) {\n return projectDefinition.models.flatMap((m) => m.model.relations\n ?.filter((r) => r.modelRef === modelId)\n .map((r) => ({ model: m, relation: r })) ?? []);\n}\nfunction getModelsForFeature(projectDefinition, featureId) {\n return projectDefinition.models.filter((m) => m.featureRef === featureId);\n}\nfunction getModelIdFields(model) {\n return model.model.primaryKeyFieldRefs;\n}\nfunction hasService(model) {\n return (!!model.service.create.enabled ||\n !!model.service.update.enabled ||\n !!model.service.delete.enabled ||\n model.service.transformers.length > 0);\n}\nfunction validateModelName(name) {\n return PASCAL_CASE_REGEX.test(name);\n}\n/**\n * Returns the ID of a model by name, or the name if no model is found.\n * @param projectDefinition - The project definition.\n * @param name - The name of the model.\n * @returns The ID of the model, or the name if no model is found.\n */\nfunction getModelIdByNameOrDefault(projectDefinition, name) {\n return projectDefinition.models.find((m) => m.name === name)?.id ?? name;\n}\nexport const ModelUtils = {\n byId,\n byIdOrThrow,\n byName,\n byNameOrThrow,\n getScalarFieldById,\n getRelationsToModel,\n getModelsForFeature,\n getModelIdFields,\n hasService,\n validateModelName,\n getModelIdByNameOrDefault,\n};\n//# sourceMappingURL=model-utils.js.map","/**\n * Allows diffing of arbitrary JSON objects.\n */\nimport { cloneDeep, mapValues, omit, toMerged } from 'es-toolkit';\nimport { get, isMatch, set } from 'es-toolkit/compat';\nclass DefinitionDiffField {\n /**\n * The name of the field to be presented to the user.\n */\n name;\n constructor(name) {\n this.name = name;\n }\n}\n/**\n * A field that is an array of objects with a unique key.\n */\nexport class DefinitionDiffKeyedArrayField extends DefinitionDiffField {\n getKey;\n options;\n constructor(name, getKey, options = {}) {\n super(name);\n this.getKey = getKey;\n this.options = options;\n }\n diff(current, desired) {\n const currentValue = current ?? [];\n const desiredValue = desired ?? [];\n if (!Array.isArray(currentValue) || !Array.isArray(desiredValue)) {\n throw new TypeError('Current and desired must be arrays');\n }\n const ops = [];\n const { allowRemove, ignoreFields = ['id'] } = this.options;\n const currentByKey = new Map(currentValue.map((item) => [this.getKey(item), item]));\n const desiredByKey = new Map(desiredValue.map((item) => [this.getKey(item), item]));\n for (const [key, desiredItem] of desiredByKey) {\n const currentItem = currentByKey.get(key);\n if (!currentItem) {\n ops.push({ type: 'add', key, item: desiredItem });\n continue;\n }\n if (!isMatch(omit(currentItem, ignoreFields), omit(desiredItem, ignoreFields))) {\n ops.push({ type: 'update', key, item: desiredItem });\n }\n }\n if (allowRemove) {\n for (const [key, currentItem] of currentByKey) {\n if (!desiredByKey.has(key)) {\n ops.push({ type: 'remove', key, item: currentItem });\n }\n }\n }\n return ops;\n }\n apply(current, diff) {\n const patch = diff;\n const currentValue = current ?? [];\n if (!Array.isArray(currentValue)) {\n throw new TypeError('Current must be array');\n }\n const items = [...currentValue];\n for (const { type, key, item } of patch) {\n const index = items.findIndex((i) => this.getKey(i) === key);\n switch (type) {\n case 'add': {\n items.push(item);\n break;\n }\n case 'update': {\n if (index === -1) {\n throw new Error(`Cannot apply patch. Item with key \"${key}\" not found.`);\n }\n // Preserve existing id if present.\n items[index] = toMerged(items[index], item);\n break;\n }\n case 'remove': {\n if (index !== -1) {\n items.splice(index, 1);\n }\n break;\n }\n }\n }\n return items;\n }\n getActionVerb(isNew) {\n return isNew ? 'created' : 'added or updated';\n }\n}\n/**\n * A field that is a replacement for the entire object or array.\n */\nexport class DefinitionDiffReplacementField extends DefinitionDiffField {\n diff(current, desired) {\n if (desired === undefined) {\n return [];\n }\n if (!isMatch(current, desired)) {\n return [{ type: 'update', key: '*', item: desired }];\n }\n return [];\n }\n apply(current, diff) {\n if (diff.length === 0)\n return current;\n return diff[0].item;\n }\n getActionVerb(isNew) {\n return isNew ? 'set' : 'replaced';\n }\n}\n/**\n * A field that ensures an array contains certain values.\n * This field type only adds items, never removes them.\n */\nexport class DefinitionDiffArrayIncludesField extends DefinitionDiffField {\n getKey;\n constructor(name, getKey) {\n super(name);\n this.getKey = getKey;\n }\n diff(current, desired) {\n const currentValue = current ?? [];\n const desiredValue = desired ?? [];\n if (!Array.isArray(currentValue) || !Array.isArray(desiredValue)) {\n throw new TypeError('Current and desired must be arrays');\n }\n const ops = [];\n const currentSet = new Set(this.getKey ? currentValue.map(this.getKey) : currentValue);\n for (const item of desiredValue) {\n const key = this.getKey ? this.getKey(item) : String(item);\n if (!currentSet.has(key)) {\n ops.push({ type: 'add', key, item });\n }\n }\n return ops;\n }\n apply(current, diff) {\n const currentValue = (current ?? []);\n if (!Array.isArray(currentValue)) {\n throw new TypeError('Current must be array');\n }\n const items = [...currentValue];\n for (const { type, item } of diff) {\n if (type === 'add') {\n items.push(item);\n }\n }\n return items;\n }\n getActionVerb(isNew) {\n return isNew ? 'created' : 'added';\n }\n}\nexport function createDefinitionDiffConfig(config) {\n return config;\n}\n/**\n * Creates a diff between two objects.\n */\nexport function createDefinitionDiff(current, desired, configuration) {\n const ops = mapValues(configuration, (field, key) => {\n if (!field)\n return [];\n return field.diff(get(current, key), get(desired, key));\n });\n if (Object.values(ops).every((ops) => ops.length === 0)) {\n return undefined;\n }\n return ops;\n}\n/**\n * Applies a diff to an object.\n */\nexport function applyDefinitionDiff(current, diff, configuration) {\n const clonedCurrent = cloneDeep(current);\n for (const [key, ops] of Object.entries(diff)) {\n if (!ops)\n continue;\n const field = configuration[key];\n const currentValue = get(clonedCurrent, key);\n set(clonedCurrent, key, field.apply(currentValue, ops));\n }\n return clonedCurrent;\n}\n//# sourceMappingURL=definition-diff.js.map","import { mapValues } from 'es-toolkit';\nimport { ModelUtils } from '#src/definition/index.js';\nimport { modelEntityType, modelForeignRelationEntityType, modelLocalRelationEntityType, modelScalarFieldEntityType, modelUniqueConstraintEntityType, } from '#src/schema/index.js';\nimport { applyDefinitionDiff, createDefinitionDiff, createDefinitionDiffConfig, DefinitionDiffArrayIncludesField, DefinitionDiffKeyedArrayField, DefinitionDiffReplacementField, } from '#src/utils/definition-diff/definition-diff.js';\n/**\n * Computes a unique key for a unique constraint by sorting its field refs.\n *\n * @param constraint - Unique constraint input.\n * @returns A key string.\n */\nfunction getUniqueConstraintKey(constraint) {\n const fields = constraint.fields.map((f) => f.fieldRef).sort();\n return fields.join('|');\n}\nexport const modelMergerDefinitionDiffConfig = createDefinitionDiffConfig({\n 'model.fields': new DefinitionDiffKeyedArrayField('fields', (f) => f.name),\n 'model.relations': new DefinitionDiffKeyedArrayField('relations', (r) => r.name),\n 'model.uniqueConstraints': new DefinitionDiffKeyedArrayField('unique constraints', (c) => getUniqueConstraintKey(c)),\n 'model.primaryKeyFieldRefs': new DefinitionDiffReplacementField('primary key fields'),\n 'graphql.objectType.enabled': new DefinitionDiffReplacementField('GraphQL object type enabled'),\n 'graphql.objectType.fields': new DefinitionDiffArrayIncludesField('GraphQL object type fields'),\n 'graphql.objectType.localRelations': new DefinitionDiffArrayIncludesField('GraphQL object type local relations'),\n 'graphql.objectType.foreignRelations': new DefinitionDiffArrayIncludesField('GraphQL object type foreign relations'),\n});\n/**\n * Serializes a model merger model input such that all IDs are replaced with\n * names.\n *\n * @param input - The model merger model input.\n * @param definitionContainer - The definition container.\n * @returns The serialized model merger model input.\n */\nfunction serializeModelMergerModelInput(input, definitionContainer, siblingModels) {\n const siblingModelIds = new Map(siblingModels.map((m) => [m.id, m.name]));\n const siblingModelFieldIdMap = new Map([\n ...input.model.fields.map((f) => [f.id, f.name]),\n ...siblingModels.flatMap((m) => m.model.fields.map((f) => [f.id, f.name])),\n ]);\n const siblingModelRelationIdMap = new Map([\n ...(input.model.relations ?? []).map((r) => [r.id, r.name]),\n ...siblingModels.flatMap((m) => (m.model.relations ?? []).map((r) => [r.id, r.name])),\n ...(input.model.relations ?? []).map((r) => [r.foreignId, r.foreignRelationName]),\n ...siblingModels.flatMap((m) => (m.model.relations ?? []).map((r) => [r.foreignId, r.foreignRelationName])),\n ]);\n const modelFromId = (id) => siblingModelIds.get(id) ?? definitionContainer.nameFromId(id);\n const fieldNameFromId = (id) => siblingModelFieldIdMap.get(id) ?? definitionContainer.nameFromId(id);\n const relationNameFromId = (id) => siblingModelRelationIdMap.get(id) ?? definitionContainer.nameFromId(id);\n return {\n ...input,\n model: {\n ...input.model,\n relations: input.model.relations?.map((r) => ({\n ...r,\n modelRef: modelFromId(r.modelRef),\n references: r.references.map((reference) => ({\n ...reference,\n localRef: fieldNameFromId(reference.localRef),\n foreignRef: fieldNameFromId(reference.foreignRef),\n })),\n })),\n uniqueConstraints: input.model.uniqueConstraints?.map((c) => ({\n ...c,\n fields: c.fields.map((f) => ({\n ...f,\n fieldRef: fieldNameFromId(f.fieldRef),\n })),\n })),\n primaryKeyFieldRefs: input.model.primaryKeyFieldRefs.map(fieldNameFromId),\n },\n graphql: {\n ...input.graphql,\n objectType: {\n ...input.graphql?.objectType,\n fields: input.graphql?.objectType?.fields?.map(fieldNameFromId) ?? [],\n localRelations: input.graphql?.objectType?.localRelations?.map(relationNameFromId) ??\n [],\n foreignRelations: input.graphql?.objectType?.foreignRelations?.map(relationNameFromId) ?? [],\n },\n },\n };\n}\n/**\n * Attaches IDs to the model merger model input.\n *\n * @param input - The model merger model input.\n * @returns The model merger model input with IDs attached.\n */\nfunction attachIdsToModelMergerModelInput(input) {\n return {\n ...input,\n model: {\n ...input.model,\n fields: input.model.fields.map((f) => ({\n ...f,\n id: f.id ?? modelScalarFieldEntityType.generateNewId(),\n })),\n relations: input.model.relations?.map((r) => ({\n ...r,\n id: r.id ?? modelLocalRelationEntityType.generateNewId(),\n foreignId: r.foreignId ?? modelForeignRelationEntityType.generateNewId(),\n })),\n uniqueConstraints: input.model.uniqueConstraints?.map((c) => ({\n ...c,\n id: c.id ?? modelUniqueConstraintEntityType.generateNewId(),\n })),\n },\n };\n}\n/**\n * Deserializes a model merger model input converting all names to IDs.\n *\n * @param input - The model merger model input.\n * @param resolveForeignFieldRef - A function that resolves the foreign field ref.\n * @returns The deserialized model merger model input.\n */\nfunction deserializeModelMergerModelInput(input, resolveForeignFieldRef, resolveForeignRelationRef, resolveModelRef) {\n const inputWithIds = attachIdsToModelMergerModelInput(input);\n const resolveLocalFieldName = (name) => {\n const field = inputWithIds.model.fields.find((f) => f.name === name);\n if (!field) {\n throw new Error(`Field ${name} not found`);\n }\n return field.id;\n };\n const resolveLocalRelationName = (name) => {\n const relation = inputWithIds.model.relations?.find((r) => r.name === name);\n if (!relation) {\n throw new Error(`Relation ${name} not found`);\n }\n return relation.id;\n };\n return {\n ...inputWithIds,\n model: {\n ...inputWithIds.model,\n relations: inputWithIds.model.relations?.map((relation) => ({\n ...relation,\n modelRef: resolveModelRef(relation.modelRef),\n references: relation.references.map((reference) => ({\n ...reference,\n localRef: resolveLocalFieldName(reference.localRef),\n foreignRef: resolveForeignFieldRef(relation.modelRef, reference.foreignRef),\n })),\n })),\n uniqueConstraints: inputWithIds.model.uniqueConstraints?.map((constraint) => ({\n ...constraint,\n fields: constraint.fields.map((field) => ({\n ...field,\n fieldRef: resolveLocalFieldName(field.fieldRef),\n })),\n })),\n primaryKeyFieldRefs: inputWithIds.model.primaryKeyFieldRefs.map((fieldRef) => resolveLocalFieldName(fieldRef)),\n },\n graphql: {\n ...inputWithIds.graphql,\n objectType: {\n ...inputWithIds.graphql?.objectType,\n fields: inputWithIds.graphql?.objectType?.fields?.map((fieldRef) => resolveLocalFieldName(fieldRef)) ?? [],\n localRelations: inputWithIds.graphql?.objectType?.localRelations?.map((relationRef) => resolveLocalRelationName(relationRef)) ?? [],\n foreignRelations: inputWithIds.graphql?.objectType?.foreignRelations?.map((relationRef) => resolveForeignRelationRef(relationRef)) ?? [],\n },\n },\n };\n}\n/**\n * Creates a new blank model config input from a name and feature ref.\n *\n * @param name - The name of the model.\n * @param featureRef - The feature ref of the model.\n * @returns The new model config input.\n */\nfunction createNewModelConfigInput(name, featureRef, id) {\n return {\n id,\n name,\n featureRef,\n model: {\n fields: [],\n primaryKeyFieldRefs: [],\n },\n };\n}\n/**\n * Diff the model definition.\n *\n * @param current - The current model definition or a new model to be created.\n * @param desired - The desired model definition.\n * @param definitionContainer - Project definition container.\n * @param options - Diff options.\n * @returns A diff output or undefined if there are no differences.\n */\nexport function createModelMergerResult(current, desired, definitionContainer, { siblingModels = [] } = {}) {\n const currentModel = current ??\n createNewModelConfigInput(desired.name, desired.featureRef, modelEntityType.generateNewId());\n // resolves all the names of the current model config input\n const resolvedCurrent = serializeModelMergerModelInput(currentModel, definitionContainer, siblingModels);\n const diff = createDefinitionDiff(resolvedCurrent, desired, modelMergerDefinitionDiffConfig);\n if (!diff) {\n return undefined;\n }\n return {\n isNewModel: !current,\n id: currentModel.id,\n name: currentModel.name,\n featureRef: currentModel.featureRef,\n changes: diff,\n };\n}\nexport function doesModelMergerResultsHaveChanges(results) {\n return Object.values(results).some((result) => result?.changes);\n}\n/**\n * Creates a model merger result for a set of models.\n *\n * @param current - A map of model IDs\n * @param desired - The desired model definition.\n * @param definitionContainer - Project definition container.\n * @param options - Diff options.\n * @returns A model merger result for a set of models.\n */\nexport function createModelMergerResults(current, desired, definitionContainer, { siblingModels = [] } = {}) {\n return mapValues(desired, (desired, key) => createModelMergerResult(current[key] && modelEntityType.isId(current[key])\n ? ModelUtils.byIdOrThrow(definitionContainer.definition, current[key])\n : ModelUtils.byName(definitionContainer.definition, current[key] ?? ''), desired, definitionContainer, {\n siblingModels,\n }));\n}\nexport function applyModelMergerDiff(model, diff, definitionContainer, siblingModels = []) {\n const resolvedCurrent = serializeModelMergerModelInput(model, definitionContainer, siblingModels);\n const patchedCurrent = applyDefinitionDiff(resolvedCurrent, diff, modelMergerDefinitionDiffConfig);\n return {\n ...model,\n ...deserializeModelMergerModelInput(patchedCurrent, (modelId, fieldName) => {\n const siblingModel = siblingModels.find((m) => m.id === modelId || m.name === modelId);\n if (siblingModel) {\n const field = siblingModel.model.fields.find((f) => f.name === fieldName);\n if (!field) {\n throw new Error(`Field ${fieldName} not found in sibling model ${modelId}`);\n }\n return field.id;\n }\n const model = ModelUtils.byName(definitionContainer.definition, modelId) ??\n ModelUtils.byIdOrThrow(definitionContainer.definition, modelId);\n const field = model.model.fields.find((f) => f.name === fieldName);\n if (!field) {\n throw new Error(`Field ${fieldName} not found in model ${model.name}`);\n }\n return field.id;\n }, (relationName) => {\n // Search sibling model first\n let relationId;\n for (const siblingModel of siblingModels) {\n const relation = siblingModel.model.relations?.find((r) => r.foreignRelationName === relationName);\n if (relation) {\n relationId = relation.foreignId;\n break;\n }\n }\n if (relationId) {\n return relationId;\n }\n const relations = ModelUtils.getRelationsToModel(definitionContainer.definition, model.id);\n const relation = relations.find((r) => r.relation.foreignRelationName === relationName &&\n r.relation.modelRef === model.id);\n if (!relation) {\n throw new Error(`Relation ${relationName} not found in model ${model.name}`);\n }\n return relation.relation.foreignId;\n }, (modelRef) => {\n const siblingModel = siblingModels.find((m) => m.id === modelRef || m.name === modelRef);\n if (siblingModel) {\n return siblingModel.id;\n }\n const model = ModelUtils.byName(definitionContainer.definition, modelRef) ??\n ModelUtils.byIdOrThrow(definitionContainer.definition, modelRef);\n return model.id;\n }),\n };\n}\nexport function applyModelMergerResultInPlace(draftConfig, currentModel, result, definitionContainer, { siblingModels = [] } = {}) {\n const newModel = applyModelMergerDiff(currentModel, result.changes, definitionContainer, siblingModels);\n if (result.isNewModel) {\n draftConfig.models.push(newModel);\n }\n else {\n const index = draftConfig.models.findIndex((m) => m.id === result.id);\n if (index === -1) {\n throw new Error(`Model ${result.id} not found`);\n }\n draftConfig.models[index] = newModel;\n }\n return newModel.id;\n}\nexport function createAndApplyModelMergerResults(draftConfig, current, desired, definitionContainer, { siblingModels = [] } = {}) {\n const results = createModelMergerResults(current, desired, definitionContainer, { siblingModels });\n const newModels = [];\n const resultIds = {};\n // Apply model mergers in order\n for (const [key, result] of Object.entries(results)) {\n if (result) {\n const model = result.isNewModel\n ? createNewModelConfigInput(result.name, result.featureRef, result.id)\n : ModelUtils.byIdOrThrow(definitionContainer.definition, result.id);\n applyModelMergerResultInPlace(draftConfig, model, result, definitionContainer, {\n siblingModels: newModels,\n });\n const newModel = draftConfig.models.find((m) => m.id === result.id);\n if (newModel) {\n newModels.push(newModel);\n }\n resultIds[key] = model.id;\n }\n else {\n resultIds[key] = desired[key].name;\n }\n }\n return resultIds;\n}\n//# sourceMappingURL=model-merger.js.map"],"names":["z"],"mappings":";;;AAAO,SAAS,2BAA2B,CAAC,IAAI,EAAE,cAAc,EAAE;AAClE,IAAI,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE;AACnC;AACO,SAAS,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE;AAChD,IAAI,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,GAAG,OAAO,IAAI,EAAE;AAC3D,IAAI,OAAO;AACX,QAAQ,IAAI,EAAE,aAAa;AAC3B,QAAQ,IAAI;AACZ,QAAQ,SAAS,EAAE,SAAS,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,GAAG,CAAC,SAAS,CAAC,CAAC;AACpF,QAAQ,UAAU,EAAE,KAAK;AACzB,QAAQ,QAAQ,GAAG;AACnB,YAAY,OAAO,EAAE,GAAG,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE;AAChD,QAAQ,CAAC;AACT,QAAQ,kBAAkB;AAC1B,KAAK;AACL;;ACfA,SAAS,WAAW,CAAC,KAAK,EAAE;AAC5B,IAAI,OAAO,KAAK,IAAI,IAAI,KAAK,O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