@baseplate-dev/plugin-auth 3.0.4 → 4.0.1

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 (352) hide show
  1. package/dist/auth/core/common.d.ts +2 -5
  2. package/dist/auth/core/common.d.ts.map +1 -1
  3. package/dist/auth/core/common.js +14 -14
  4. package/dist/auth/core/common.js.map +1 -1
  5. package/dist/auth/core/node.d.ts +3 -3
  6. package/dist/auth/core/node.d.ts.map +1 -1
  7. package/dist/auth/core/node.js +5 -8
  8. package/dist/auth/core/node.js.map +1 -1
  9. package/dist/auth/core/web.d.ts +3 -3
  10. package/dist/auth/core/web.d.ts.map +1 -1
  11. package/dist/auth/core/web.js +4 -5
  12. package/dist/auth/core/web.js.map +1 -1
  13. package/dist/auth0/core/common.d.ts +3 -5
  14. package/dist/auth0/core/common.d.ts.map +1 -1
  15. package/dist/auth0/core/common.js +11 -14
  16. package/dist/auth0/core/common.js.map +1 -1
  17. package/dist/auth0/core/node.d.ts +3 -3
  18. package/dist/auth0/core/node.d.ts.map +1 -1
  19. package/dist/auth0/core/node.js +5 -8
  20. package/dist/auth0/core/node.js.map +1 -1
  21. package/dist/auth0/core/web.d.ts +3 -3
  22. package/dist/auth0/core/web.d.ts.map +1 -1
  23. package/dist/auth0/core/web.js +4 -5
  24. package/dist/auth0/core/web.js.map +1 -1
  25. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +39 -25
  26. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
  27. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +18 -24
  28. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +1 -1
  29. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +16 -0
  30. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -1
  31. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +1 -0
  32. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +1 -1
  33. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +1 -0
  34. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +1 -1
  35. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +9 -0
  36. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
  37. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js +15 -2
  38. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js.map +1 -1
  39. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +10 -0
  40. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -1
  41. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js +18 -2
  42. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +1 -1
  43. package/dist/auth0/generators/fastify/auth0-module/templates/module/schema/user-session.queries.ts +22 -0
  44. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +0 -5
  45. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
  46. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +1 -10
  47. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
  48. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +0 -18
  49. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
  50. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +0 -2
  51. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +1 -1
  52. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +0 -2
  53. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +1 -1
  54. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +1 -7
  55. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +1 -1
  56. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +3 -12
  57. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +1 -1
  58. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +0 -1
  59. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -1
  60. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +0 -1
  61. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -1
  62. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +0 -23
  63. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
  64. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +4 -33
  65. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
  66. package/dist/local-auth/admin/common.d.ts +3 -2
  67. package/dist/local-auth/admin/common.d.ts.map +1 -1
  68. package/dist/local-auth/admin/common.js +6 -7
  69. package/dist/local-auth/admin/common.js.map +1 -1
  70. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +25 -4
  71. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -1
  72. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +16 -13
  73. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -1
  74. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +24 -7
  75. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -1
  76. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +0 -1
  77. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +1 -1
  78. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +0 -1
  79. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +1 -1
  80. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +13 -6
  81. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -1
  82. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +5 -12
  83. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +1 -1
  84. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +12 -5
  85. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -1
  86. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +3 -12
  87. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +1 -1
  88. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +3 -2
  89. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -1
  90. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +26 -7
  91. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -1
  92. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +34 -12
  93. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +25 -4
  94. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -1
  95. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +35 -25
  96. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -1
  97. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +24 -7
  98. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -1
  99. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +0 -1
  100. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +1 -1
  101. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +0 -1
  102. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +1 -1
  103. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +13 -6
  104. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -1
  105. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +5 -12
  106. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +1 -1
  107. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +24 -7
  108. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -1
  109. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +3 -12
  110. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +1 -1
  111. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +3 -2
  112. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -1
  113. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +22 -6
  114. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -1
  115. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +30 -11
  116. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -1
  117. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +7 -11
  118. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +1 -1
  119. package/dist/local-auth/admin/node.d.ts +3 -6
  120. package/dist/local-auth/admin/node.d.ts.map +1 -1
  121. package/dist/local-auth/admin/node.js +15 -18
  122. package/dist/local-auth/admin/node.js.map +1 -1
  123. package/dist/local-auth/admin/web.d.ts +3 -4
  124. package/dist/local-auth/admin/web.d.ts.map +1 -1
  125. package/dist/local-auth/admin/web.js +22 -21
  126. package/dist/local-auth/admin/web.js.map +1 -1
  127. package/dist/local-auth/core/common.d.ts +3 -5
  128. package/dist/local-auth/core/common.d.ts.map +1 -1
  129. package/dist/local-auth/core/common.js +10 -13
  130. package/dist/local-auth/core/common.js.map +1 -1
  131. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +12 -3
  132. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
  133. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js +0 -1
  134. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -1
  135. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +36 -18
  136. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
  137. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +0 -3
  138. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -1
  139. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +0 -3
  140. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -1
  141. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +13 -6
  142. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
  143. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +5 -12
  144. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -1
  145. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +0 -1
  146. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  147. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +0 -1
  148. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -1
  149. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +48 -30
  150. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
  151. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +6 -49
  152. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -1
  153. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +1 -0
  154. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -1
  155. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +9 -2
  156. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -1
  157. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +10 -2
  158. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +2 -2
  159. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -1
  160. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +0 -1
  161. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -1
  162. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +2 -2
  163. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
  164. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -0
  165. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
  166. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +6 -1
  167. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
  168. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +12 -2
  169. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
  170. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +5 -2
  171. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
  172. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +16 -0
  173. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -1
  174. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +19 -0
  175. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +12 -3
  176. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
  177. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +1 -8
  178. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -1
  179. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +36 -7
  180. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
  181. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +0 -1
  182. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -1
  183. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +0 -1
  184. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -1
  185. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +13 -6
  186. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
  187. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +5 -12
  188. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -1
  189. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +48 -9
  190. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
  191. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +5 -13
  192. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
  193. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +11 -2
  194. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -1
  195. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +12 -2
  196. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +11 -2
  197. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -1
  198. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +12 -2
  199. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +24 -7
  200. package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
  201. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +0 -1
  202. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -1
  203. package/dist/local-auth/core/generators/react-session/generated/template-paths.js +0 -1
  204. package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -1
  205. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +13 -7
  206. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
  207. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +5 -12
  208. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -1
  209. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +24 -7
  210. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
  211. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +4 -15
  212. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -1
  213. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +12 -3
  214. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
  215. package/dist/local-auth/core/generators/react-session/react-session.generator.js +0 -1
  216. package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -1
  217. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -1
  218. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +10 -2
  219. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -1
  220. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +11 -2
  221. package/dist/local-auth/core/node.d.ts +3 -3
  222. package/dist/local-auth/core/node.d.ts.map +1 -1
  223. package/dist/local-auth/core/node.js +5 -8
  224. package/dist/local-auth/core/node.js.map +1 -1
  225. package/dist/local-auth/core/web.d.ts +3 -3
  226. package/dist/local-auth/core/web.d.ts.map +1 -1
  227. package/dist/local-auth/core/web.js +4 -5
  228. package/dist/local-auth/core/web.js.map +1 -1
  229. package/dist/placeholder-auth/core/common.d.ts +2 -5
  230. package/dist/placeholder-auth/core/common.d.ts.map +1 -1
  231. package/dist/placeholder-auth/core/common.js +10 -13
  232. package/dist/placeholder-auth/core/common.js.map +1 -1
  233. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +0 -12
  234. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
  235. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +0 -2
  236. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +1 -1
  237. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +0 -2
  238. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +1 -1
  239. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +1 -7
  240. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +1 -1
  241. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +2 -14
  242. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +1 -1
  243. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +0 -1
  244. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  245. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +0 -1
  246. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +1 -1
  247. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +0 -15
  248. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
  249. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +2 -31
  250. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
  251. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +0 -5
  252. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +1 -1
  253. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js +1 -7
  254. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +1 -1
  255. package/dist/placeholder-auth/core/node.d.ts +3 -3
  256. package/dist/placeholder-auth/core/node.d.ts.map +1 -1
  257. package/dist/placeholder-auth/core/node.js +5 -8
  258. package/dist/placeholder-auth/core/node.js.map +1 -1
  259. package/dist/placeholder-auth/core/web.d.ts +3 -3
  260. package/dist/placeholder-auth/core/web.d.ts.map +1 -1
  261. package/dist/placeholder-auth/core/web.js +4 -5
  262. package/dist/placeholder-auth/core/web.js.map +1 -1
  263. package/dist/web/assets/__federation_expose_auth0CoreCommon-DLSGXjCI.js +40 -0
  264. package/dist/web/assets/__federation_expose_auth0CoreCommon-DLSGXjCI.js.map +1 -0
  265. package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js → __federation_expose_auth0CoreWeb-C7FfhlmF.js} +9 -10
  266. package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js.map → __federation_expose_auth0CoreWeb-C7FfhlmF.js.map} +1 -1
  267. package/dist/web/assets/__federation_expose_authCoreCommon-BF58isGa.js +29 -0
  268. package/dist/web/assets/__federation_expose_authCoreCommon-BF58isGa.js.map +1 -0
  269. package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js → __federation_expose_authCoreWeb-DMq9M88g.js} +10 -11
  270. package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js.map → __federation_expose_authCoreWeb-DMq9M88g.js.map} +1 -1
  271. package/dist/web/assets/{__federation_expose_local-authAdminCommon-C0_ovnDb.js → __federation_expose_local-authAdminCommon-sQw4q5YX.js} +8 -9
  272. package/dist/web/assets/__federation_expose_local-authAdminCommon-sQw4q5YX.js.map +1 -0
  273. package/dist/web/assets/__federation_expose_local-authAdminWeb-9FbO89NR.js +41 -0
  274. package/dist/web/assets/__federation_expose_local-authAdminWeb-9FbO89NR.js.map +1 -0
  275. package/dist/web/assets/__federation_expose_local-authCoreCommon-CpUK09_4.js +21 -0
  276. package/dist/web/assets/__federation_expose_local-authCoreCommon-CpUK09_4.js.map +1 -0
  277. package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js → __federation_expose_local-authCoreWeb-Czp0GaY1.js} +9 -10
  278. package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js.map → __federation_expose_local-authCoreWeb-Czp0GaY1.js.map} +1 -1
  279. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CFDDdOMo.js +23 -0
  280. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CFDDdOMo.js.map +1 -0
  281. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js → __federation_expose_placeholder-authCoreWeb-Bcn1_oDP.js} +9 -13
  282. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js.map → __federation_expose_placeholder-authCoreWeb-Bcn1_oDP.js.map} +1 -1
  283. package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js → __federation_fn_import-DsXcpNlB.js} +2 -2
  284. package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js.map → __federation_fn_import-DsXcpNlB.js.map} +1 -1
  285. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BTmJxb08.js → web-zqe3PPcn.js} +37 -118
  286. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-zqe3PPcn.js.map +1 -0
  287. package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-FK4Jv94w.js → project-builder-lib-CmgMfkI5.js} +2185 -2171
  288. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CmgMfkI5.js.map +1 -0
  289. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js → ui-components-D1Dayhn9.js} +5 -5
  290. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js.map → ui-components-D1Dayhn9.js.map} +1 -1
  291. package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-CAgM5SRt.js → utils-BO5VHrCf.js} +58 -6
  292. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-BO5VHrCf.js.map +1 -0
  293. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js → react-router-CNzDweD5.js} +2 -2
  294. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js.map → react-router-CNzDweD5.js.map} +1 -1
  295. package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js → get-auth-plugin-definition-BV2O8wTa.js} +2 -2
  296. package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js.map → get-auth-plugin-definition-BV2O8wTa.js.map} +1 -1
  297. package/dist/web/assets/{index-Dccn3WBN.js → index-BL7fotl7.js} +2 -2
  298. package/dist/web/assets/{index-Dccn3WBN.js.map → index-BL7fotl7.js.map} +1 -1
  299. package/dist/web/assets/{index.esm-DeCjXqFv.js → index.esm-B4RpOlq_.js} +2 -2
  300. package/dist/web/assets/{index.esm-DeCjXqFv.js.map → index.esm-B4RpOlq_.js.map} +1 -1
  301. package/dist/web/assets/{isEqual-DAXqKRba.js → isEqual-BQtm2LNT.js} +5 -5
  302. package/dist/web/assets/{isEqual-DAXqKRba.js.map → isEqual-BQtm2LNT.js.map} +1 -1
  303. package/dist/web/assets/{model-merger-kOQ_dmiE.js → model-merger-BwRNqcBu.js} +194 -81
  304. package/dist/web/assets/model-merger-BwRNqcBu.js.map +1 -0
  305. package/dist/web/assets/{plugin-definition-JFxKP18O.js → plugin-definition-B9d2CoQL.js} +2 -2
  306. package/dist/web/assets/{plugin-definition-JFxKP18O.js.map → plugin-definition-B9d2CoQL.js.map} +1 -1
  307. package/dist/web/assets/{plugin-definition-CxKhFkmJ.js → plugin-definition-BMTsmwyH.js} +2 -2
  308. package/dist/web/assets/{plugin-definition-CxKhFkmJ.js.map → plugin-definition-BMTsmwyH.js.map} +1 -1
  309. package/dist/web/assets/{plugin-definition-DKygiFuR.js → plugin-definition-CHD5r-h7.js} +2 -2
  310. package/dist/web/assets/{plugin-definition-DKygiFuR.js.map → plugin-definition-CHD5r-h7.js.map} +1 -1
  311. package/dist/web/assets/{plugin-definition-qkkt1X28.js → plugin-definition-DA9rJBcS.js} +2 -2
  312. package/dist/web/assets/{plugin-definition-qkkt1X28.js.map → plugin-definition-DA9rJBcS.js.map} +1 -1
  313. package/dist/web/assets/{react-DA5A88WZ.js → react-B9vhIZMy.js} +2 -2
  314. package/dist/web/assets/{react-DA5A88WZ.js.map → react-B9vhIZMy.js.map} +1 -1
  315. package/dist/web/assets/remoteEntry.js +10 -10
  316. package/dist/web/assets/{styles-CfTjrsB-.js → styles-CEm5K1iU.js} +3 -3
  317. package/dist/web/assets/{styles-CfTjrsB-.js.map → styles-CEm5K1iU.js.map} +1 -1
  318. package/package.json +14 -13
  319. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.gql +0 -10
  320. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.ts +0 -30
  321. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.gql +0 -7
  322. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.gql +0 -7
  323. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -18
  324. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  325. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
  326. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +0 -22
  327. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  328. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +0 -39
  329. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +0 -5
  330. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/queries.gql +0 -17
  331. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.gql +0 -7
  332. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -14
  333. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  334. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
  335. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js +0 -23
  336. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  337. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.ts +0 -35
  338. package/dist/web/assets/__federation_expose_auth0CoreCommon-DxPG_Wc0.js +0 -43
  339. package/dist/web/assets/__federation_expose_auth0CoreCommon-DxPG_Wc0.js.map +0 -1
  340. package/dist/web/assets/__federation_expose_authCoreCommon-Cxa_7fkO.js +0 -29
  341. package/dist/web/assets/__federation_expose_authCoreCommon-Cxa_7fkO.js.map +0 -1
  342. package/dist/web/assets/__federation_expose_local-authAdminCommon-C0_ovnDb.js.map +0 -1
  343. package/dist/web/assets/__federation_expose_local-authAdminWeb-GqHU6av7.js +0 -40
  344. package/dist/web/assets/__federation_expose_local-authAdminWeb-GqHU6av7.js.map +0 -1
  345. package/dist/web/assets/__federation_expose_local-authCoreCommon-PHXPCKoj.js +0 -27
  346. package/dist/web/assets/__federation_expose_local-authCoreCommon-PHXPCKoj.js.map +0 -1
  347. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js +0 -26
  348. package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js.map +0 -1
  349. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BTmJxb08.js.map +0 -1
  350. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-FK4Jv94w.js.map +0 -1
  351. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-CAgM5SRt.js.map +0 -1
  352. package/dist/web/assets/model-merger-kOQ_dmiE.js.map +0 -1
@@ -1,9 +1,5 @@
1
1
  function noop() { }
2
2
 
3
- function getSymbols(object) {
4
- return Object.getOwnPropertySymbols(object).filter(symbol => Object.prototype.propertyIsEnumerable.call(object, symbol));
5
- }
6
-
7
3
  function isPlainObject(value) {
8
4
  if (!value || typeof value !== 'object') {
9
5
  return false;
@@ -18,6 +14,10 @@ function isPlainObject(value) {
18
14
  return Object.prototype.toString.call(value) === '[object Object]';
19
15
  }
20
16
 
17
+ function getSymbols(object) {
18
+ return Object.getOwnPropertySymbols(object).filter(symbol => Object.prototype.propertyIsEnumerable.call(object, symbol));
19
+ }
20
+
21
21
  function getTag(value) {
22
22
  if (value == null) {
23
23
  return value === undefined ? '[object Undefined]' : '[object Null]';
@@ -239,4 +239,4 @@ function isEqual(a, b) {
239
239
  }
240
240
 
241
241
  export { isPlainObject as a, eq as e, getSymbols as g, isEqual as i };
242
- //# sourceMappingURL=isEqual-DAXqKRba.js.map
242
+ //# sourceMappingURL=isEqual-BQtm2LNT.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEqual-DAXqKRba.js","sources":["../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/function/noop.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/util/eq.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/predicate/isEqualWith.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/predicate/isEqual.mjs"],"sourcesContent":["function noop() { }\n\nexport { noop };\n","function getSymbols(object) {\n return Object.getOwnPropertySymbols(object).filter(symbol => Object.prototype.propertyIsEnumerable.call(object, symbol));\n}\n\nexport { getSymbols };\n","function isPlainObject(value) {\n if (!value || typeof value !== 'object') {\n return false;\n }\n const proto = Object.getPrototypeOf(value);\n const hasObjectPrototype = proto === null ||\n proto === Object.prototype ||\n Object.getPrototypeOf(proto) === null;\n if (!hasObjectPrototype) {\n return false;\n }\n return Object.prototype.toString.call(value) === '[object Object]';\n}\n\nexport { isPlainObject };\n","function getTag(value) {\n if (value == null) {\n return value === undefined ? '[object Undefined]' : '[object Null]';\n }\n return Object.prototype.toString.call(value);\n}\n\nexport { getTag };\n","const regexpTag = '[object RegExp]';\nconst stringTag = '[object String]';\nconst numberTag = '[object Number]';\nconst booleanTag = '[object Boolean]';\nconst argumentsTag = '[object Arguments]';\nconst symbolTag = '[object Symbol]';\nconst dateTag = '[object Date]';\nconst mapTag = '[object Map]';\nconst setTag = '[object Set]';\nconst arrayTag = '[object Array]';\nconst functionTag = '[object Function]';\nconst arrayBufferTag = '[object ArrayBuffer]';\nconst objectTag = '[object Object]';\nconst errorTag = '[object Error]';\nconst dataViewTag = '[object DataView]';\nconst uint8ArrayTag = '[object Uint8Array]';\nconst uint8ClampedArrayTag = '[object Uint8ClampedArray]';\nconst uint16ArrayTag = '[object Uint16Array]';\nconst uint32ArrayTag = '[object Uint32Array]';\nconst bigUint64ArrayTag = '[object BigUint64Array]';\nconst int8ArrayTag = '[object Int8Array]';\nconst int16ArrayTag = '[object Int16Array]';\nconst int32ArrayTag = '[object Int32Array]';\nconst bigInt64ArrayTag = '[object BigInt64Array]';\nconst float32ArrayTag = '[object Float32Array]';\nconst float64ArrayTag = '[object Float64Array]';\n\nexport { argumentsTag, arrayBufferTag, arrayTag, bigInt64ArrayTag, bigUint64ArrayTag, booleanTag, dataViewTag, dateTag, errorTag, float32ArrayTag, float64ArrayTag, functionTag, int16ArrayTag, int32ArrayTag, int8ArrayTag, mapTag, numberTag, objectTag, regexpTag, setTag, stringTag, symbolTag, uint16ArrayTag, uint32ArrayTag, uint8ArrayTag, uint8ClampedArrayTag };\n","function eq(value, other) {\n return value === other || (Number.isNaN(value) && Number.isNaN(other));\n}\n\nexport { eq };\n","import { isPlainObject } from './isPlainObject.mjs';\nimport { getSymbols } from '../compat/_internal/getSymbols.mjs';\nimport { getTag } from '../compat/_internal/getTag.mjs';\nimport { functionTag, regexpTag, symbolTag, dateTag, booleanTag, numberTag, stringTag, objectTag, errorTag, dataViewTag, arrayBufferTag, float64ArrayTag, float32ArrayTag, bigInt64ArrayTag, int32ArrayTag, int16ArrayTag, int8ArrayTag, bigUint64ArrayTag, uint32ArrayTag, uint16ArrayTag, uint8ClampedArrayTag, uint8ArrayTag, arrayTag, setTag, mapTag, argumentsTag } from '../compat/_internal/tags.mjs';\nimport { eq } from '../compat/util/eq.mjs';\n\nfunction isEqualWith(a, b, areValuesEqual) {\n return isEqualWithImpl(a, b, undefined, undefined, undefined, undefined, areValuesEqual);\n}\nfunction isEqualWithImpl(a, b, property, aParent, bParent, stack, areValuesEqual) {\n const result = areValuesEqual(a, b, property, aParent, bParent, stack);\n if (result !== undefined) {\n return result;\n }\n if (typeof a === typeof b) {\n switch (typeof a) {\n case 'bigint':\n case 'string':\n case 'boolean':\n case 'symbol':\n case 'undefined': {\n return a === b;\n }\n case 'number': {\n return a === b || Object.is(a, b);\n }\n case 'function': {\n return a === b;\n }\n case 'object': {\n return areObjectsEqual(a, b, stack, areValuesEqual);\n }\n }\n }\n return areObjectsEqual(a, b, stack, areValuesEqual);\n}\nfunction areObjectsEqual(a, b, stack, areValuesEqual) {\n if (Object.is(a, b)) {\n return true;\n }\n let aTag = getTag(a);\n let bTag = getTag(b);\n if (aTag === argumentsTag) {\n aTag = objectTag;\n }\n if (bTag === argumentsTag) {\n bTag = objectTag;\n }\n if (aTag !== bTag) {\n return false;\n }\n switch (aTag) {\n case stringTag:\n return a.toString() === b.toString();\n case numberTag: {\n const x = a.valueOf();\n const y = b.valueOf();\n return eq(x, y);\n }\n case booleanTag:\n case dateTag:\n case symbolTag:\n return Object.is(a.valueOf(), b.valueOf());\n case regexpTag: {\n return a.source === b.source && a.flags === b.flags;\n }\n case functionTag: {\n return a === b;\n }\n }\n stack = stack ?? new Map();\n const aStack = stack.get(a);\n const bStack = stack.get(b);\n if (aStack != null && bStack != null) {\n return aStack === b;\n }\n stack.set(a, b);\n stack.set(b, a);\n try {\n switch (aTag) {\n case mapTag: {\n if (a.size !== b.size) {\n return false;\n }\n for (const [key, value] of a.entries()) {\n if (!b.has(key) || !isEqualWithImpl(value, b.get(key), key, a, b, stack, areValuesEqual)) {\n return false;\n }\n }\n return true;\n }\n case setTag: {\n if (a.size !== b.size) {\n return false;\n }\n const aValues = Array.from(a.values());\n const bValues = Array.from(b.values());\n for (let i = 0; i < aValues.length; i++) {\n const aValue = aValues[i];\n const index = bValues.findIndex(bValue => {\n return isEqualWithImpl(aValue, bValue, undefined, a, b, stack, areValuesEqual);\n });\n if (index === -1) {\n return false;\n }\n bValues.splice(index, 1);\n }\n return true;\n }\n case arrayTag:\n case uint8ArrayTag:\n case uint8ClampedArrayTag:\n case uint16ArrayTag:\n case uint32ArrayTag:\n case bigUint64ArrayTag:\n case int8ArrayTag:\n case int16ArrayTag:\n case int32ArrayTag:\n case bigInt64ArrayTag:\n case float32ArrayTag:\n case float64ArrayTag: {\n if (typeof Buffer !== 'undefined' && Buffer.isBuffer(a) !== Buffer.isBuffer(b)) {\n return false;\n }\n if (a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!isEqualWithImpl(a[i], b[i], i, a, b, stack, areValuesEqual)) {\n return false;\n }\n }\n return true;\n }\n case arrayBufferTag: {\n if (a.byteLength !== b.byteLength) {\n return false;\n }\n return areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);\n }\n case dataViewTag: {\n if (a.byteLength !== b.byteLength || a.byteOffset !== b.byteOffset) {\n return false;\n }\n return areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);\n }\n case errorTag: {\n return a.name === b.name && a.message === b.message;\n }\n case objectTag: {\n const areEqualInstances = areObjectsEqual(a.constructor, b.constructor, stack, areValuesEqual) ||\n (isPlainObject(a) && isPlainObject(b));\n if (!areEqualInstances) {\n return false;\n }\n const aKeys = [...Object.keys(a), ...getSymbols(a)];\n const bKeys = [...Object.keys(b), ...getSymbols(b)];\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n for (let i = 0; i < aKeys.length; i++) {\n const propKey = aKeys[i];\n const aProp = a[propKey];\n if (!Object.hasOwn(b, propKey)) {\n return false;\n }\n const bProp = b[propKey];\n if (!isEqualWithImpl(aProp, bProp, propKey, a, b, stack, areValuesEqual)) {\n return false;\n }\n }\n return true;\n }\n default: {\n return false;\n }\n }\n }\n finally {\n stack.delete(a);\n stack.delete(b);\n }\n}\n\nexport { isEqualWith };\n","import { isEqualWith } from './isEqualWith.mjs';\nimport { noop } from '../function/noop.mjs';\n\nfunction isEqual(a, b) {\n return isEqualWith(a, b, noop);\n}\n\nexport { isEqual };\n"],"names":[],"mappings":"AAAA,SAAS,IAAI,GAAG,EAAE;;ACAlB,SAAS,UAAU,CAAC,MAAM,EAAE;AAC5B,IAAI,OAAO,MAAM,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC5H;;ACFA,SAAS,aAAa,CAAC,KAAK,EAAE;AAC9B,IAAI,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7C,QAAQ,OAAO,KAAK;AACpB,IAAI;AACJ,IAAI,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC;AAC9C,IAAI,MAAM,kBAAkB,GAAG,KAAK,KAAK,IAAI;AAC7C,QAAQ,KAAK,KAAK,MAAM,CAAC,SAAS;AAClC,QAAQ,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,IAAI;AAC7C,IAAI,IAAI,CAAC,kBAAkB,EAAE;AAC7B,QAAQ,OAAO,KAAK;AACpB,IAAI;AACJ,IAAI,OAAO,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,iBAAiB;AACtE;;ACZA,SAAS,MAAM,CAAC,KAAK,EAAE;AACvB,IAAI,IAAI,KAAK,IAAI,IAAI,EAAE;AACvB,QAAQ,OAA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,SAAS;AACrB,gBAAgB,OAAO,KAAK;AAC5B,YAAY;AACZ;AACA,IAAI;AACJ,YAAY;AACZ,QAAQ,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AACvB,QAAQ,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AACvB,IAAI;AACJ;;ACnLA,SAAS,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE;AACvB,IAAI,OAAO,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC;AAClC;;;;","x_google_ignoreList":[0,1,2,3,4,5,6,7]}
1
+ {"version":3,"file":"isEqual-BQtm2LNT.js","sources":["../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/function/noop.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/compat/util/eq.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/predicate/isEqualWith.mjs","../../../../../node_modules/.pnpm/es-toolkit@1.31.0/node_modules/es-toolkit/dist/predicate/isEqual.mjs"],"sourcesContent":["function noop() { }\n\nexport { noop };\n","function isPlainObject(value) {\n if (!value || typeof value !== 'object') {\n return false;\n }\n const proto = Object.getPrototypeOf(value);\n const hasObjectPrototype = proto === null ||\n proto === Object.prototype ||\n Object.getPrototypeOf(proto) === null;\n if (!hasObjectPrototype) {\n return false;\n }\n return Object.prototype.toString.call(value) === '[object Object]';\n}\n\nexport { isPlainObject };\n","function getSymbols(object) {\n return Object.getOwnPropertySymbols(object).filter(symbol => Object.prototype.propertyIsEnumerable.call(object, symbol));\n}\n\nexport { getSymbols };\n","function getTag(value) {\n if (value == null) {\n return value === undefined ? '[object Undefined]' : '[object Null]';\n }\n return Object.prototype.toString.call(value);\n}\n\nexport { getTag };\n","const regexpTag = '[object RegExp]';\nconst stringTag = '[object String]';\nconst numberTag = '[object Number]';\nconst booleanTag = '[object Boolean]';\nconst argumentsTag = '[object Arguments]';\nconst symbolTag = '[object Symbol]';\nconst dateTag = '[object Date]';\nconst mapTag = '[object Map]';\nconst setTag = '[object Set]';\nconst arrayTag = '[object Array]';\nconst functionTag = '[object Function]';\nconst arrayBufferTag = '[object ArrayBuffer]';\nconst objectTag = '[object Object]';\nconst errorTag = '[object Error]';\nconst dataViewTag = '[object DataView]';\nconst uint8ArrayTag = '[object Uint8Array]';\nconst uint8ClampedArrayTag = '[object Uint8ClampedArray]';\nconst uint16ArrayTag = '[object Uint16Array]';\nconst uint32ArrayTag = '[object Uint32Array]';\nconst bigUint64ArrayTag = '[object BigUint64Array]';\nconst int8ArrayTag = '[object Int8Array]';\nconst int16ArrayTag = '[object Int16Array]';\nconst int32ArrayTag = '[object Int32Array]';\nconst bigInt64ArrayTag = '[object BigInt64Array]';\nconst float32ArrayTag = '[object Float32Array]';\nconst float64ArrayTag = '[object Float64Array]';\n\nexport { argumentsTag, arrayBufferTag, arrayTag, bigInt64ArrayTag, bigUint64ArrayTag, booleanTag, dataViewTag, dateTag, errorTag, float32ArrayTag, float64ArrayTag, functionTag, int16ArrayTag, int32ArrayTag, int8ArrayTag, mapTag, numberTag, objectTag, regexpTag, setTag, stringTag, symbolTag, uint16ArrayTag, uint32ArrayTag, uint8ArrayTag, uint8ClampedArrayTag };\n","function eq(value, other) {\n return value === other || (Number.isNaN(value) && Number.isNaN(other));\n}\n\nexport { eq };\n","import { isPlainObject } from './isPlainObject.mjs';\nimport { getSymbols } from '../compat/_internal/getSymbols.mjs';\nimport { getTag } from '../compat/_internal/getTag.mjs';\nimport { functionTag, regexpTag, symbolTag, dateTag, booleanTag, numberTag, stringTag, objectTag, errorTag, dataViewTag, arrayBufferTag, float64ArrayTag, float32ArrayTag, bigInt64ArrayTag, int32ArrayTag, int16ArrayTag, int8ArrayTag, bigUint64ArrayTag, uint32ArrayTag, uint16ArrayTag, uint8ClampedArrayTag, uint8ArrayTag, arrayTag, setTag, mapTag, argumentsTag } from '../compat/_internal/tags.mjs';\nimport { eq } from '../compat/util/eq.mjs';\n\nfunction isEqualWith(a, b, areValuesEqual) {\n return isEqualWithImpl(a, b, undefined, undefined, undefined, undefined, areValuesEqual);\n}\nfunction isEqualWithImpl(a, b, property, aParent, bParent, stack, areValuesEqual) {\n const result = areValuesEqual(a, b, property, aParent, bParent, stack);\n if (result !== undefined) {\n return result;\n }\n if (typeof a === typeof b) {\n switch (typeof a) {\n case 'bigint':\n case 'string':\n case 'boolean':\n case 'symbol':\n case 'undefined': {\n return a === b;\n }\n case 'number': {\n return a === b || Object.is(a, b);\n }\n case 'function': {\n return a === b;\n }\n case 'object': {\n return areObjectsEqual(a, b, stack, areValuesEqual);\n }\n }\n }\n return areObjectsEqual(a, b, stack, areValuesEqual);\n}\nfunction areObjectsEqual(a, b, stack, areValuesEqual) {\n if (Object.is(a, b)) {\n return true;\n }\n let aTag = getTag(a);\n let bTag = getTag(b);\n if (aTag === argumentsTag) {\n aTag = objectTag;\n }\n if (bTag === argumentsTag) {\n bTag = objectTag;\n }\n if (aTag !== bTag) {\n return false;\n }\n switch (aTag) {\n case stringTag:\n return a.toString() === b.toString();\n case numberTag: {\n const x = a.valueOf();\n const y = b.valueOf();\n return eq(x, y);\n }\n case booleanTag:\n case dateTag:\n case symbolTag:\n return Object.is(a.valueOf(), b.valueOf());\n case regexpTag: {\n return a.source === b.source && a.flags === b.flags;\n }\n case functionTag: {\n return a === b;\n }\n }\n stack = stack ?? new Map();\n const aStack = stack.get(a);\n const bStack = stack.get(b);\n if (aStack != null && bStack != null) {\n return aStack === b;\n }\n stack.set(a, b);\n stack.set(b, a);\n try {\n switch (aTag) {\n case mapTag: {\n if (a.size !== b.size) {\n return false;\n }\n for (const [key, value] of a.entries()) {\n if (!b.has(key) || !isEqualWithImpl(value, b.get(key), key, a, b, stack, areValuesEqual)) {\n return false;\n }\n }\n return true;\n }\n case setTag: {\n if (a.size !== b.size) {\n return false;\n }\n const aValues = Array.from(a.values());\n const bValues = Array.from(b.values());\n for (let i = 0; i < aValues.length; i++) {\n const aValue = aValues[i];\n const index = bValues.findIndex(bValue => {\n return isEqualWithImpl(aValue, bValue, undefined, a, b, stack, areValuesEqual);\n });\n if (index === -1) {\n return false;\n }\n bValues.splice(index, 1);\n }\n return true;\n }\n case arrayTag:\n case uint8ArrayTag:\n case uint8ClampedArrayTag:\n case uint16ArrayTag:\n case uint32ArrayTag:\n case bigUint64ArrayTag:\n case int8ArrayTag:\n case int16ArrayTag:\n case int32ArrayTag:\n case bigInt64ArrayTag:\n case float32ArrayTag:\n case float64ArrayTag: {\n if (typeof Buffer !== 'undefined' && Buffer.isBuffer(a) !== Buffer.isBuffer(b)) {\n return false;\n }\n if (a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!isEqualWithImpl(a[i], b[i], i, a, b, stack, areValuesEqual)) {\n return false;\n }\n }\n return true;\n }\n case arrayBufferTag: {\n if (a.byteLength !== b.byteLength) {\n return false;\n }\n return areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);\n }\n case dataViewTag: {\n if (a.byteLength !== b.byteLength || a.byteOffset !== b.byteOffset) {\n return false;\n }\n return areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);\n }\n case errorTag: {\n return a.name === b.name && a.message === b.message;\n }\n case objectTag: {\n const areEqualInstances = areObjectsEqual(a.constructor, b.constructor, stack, areValuesEqual) ||\n (isPlainObject(a) && isPlainObject(b));\n if (!areEqualInstances) {\n return false;\n }\n const aKeys = [...Object.keys(a), ...getSymbols(a)];\n const bKeys = [...Object.keys(b), ...getSymbols(b)];\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n for (let i = 0; i < aKeys.length; i++) {\n const propKey = aKeys[i];\n const aProp = a[propKey];\n if (!Object.hasOwn(b, propKey)) {\n return false;\n }\n const bProp = b[propKey];\n if (!isEqualWithImpl(aProp, bProp, propKey, a, b, stack, areValuesEqual)) {\n return false;\n }\n }\n return true;\n }\n default: {\n return false;\n }\n }\n }\n finally {\n stack.delete(a);\n stack.delete(b);\n }\n}\n\nexport { isEqualWith };\n","import { isEqualWith } from './isEqualWith.mjs';\nimport { noop } from '../function/noop.mjs';\n\nfunction isEqual(a, b) {\n return isEqualWith(a, b, noop);\n}\n\nexport { isEqual };\n"],"names":[],"mappings":"AAAA,SAAS,IAAI,GAAG,EAAE;;ACAlB,SAAS,aAAa,CAAC,KAAK,EAAE;AAC9B,IAAI,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7C,QAAQ,OAAO,KAAK;AACpB,IAAI;AACJ,IAAI,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC;AAC9C,IAAI,MAAM,kBAAkB,GAAG,KAAK,KAAK,IAAI;AAC7C,QAAQ,KAAK,KAAK,MAAM,CAAC,SAAS;AAClC,QAAQ,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,IAAI;AAC7C,IAAI,IAAI,CAAC,kBAAkB,EAAE;AAC7B,QAAQ,OAAO,KAAK;AACpB,IAAI;AACJ,IAAI,OAAO,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,iBAAiB;AACtE;;ACZA,SAAS,UAAU,CAAC,MAAM,EAAE;AAC5B,IAAI,OAAO,MAAM,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AA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,wBAAwB,OAAO,KAAK;AACpC,oBAAoB;AACpB,gBAAgB;AAChB,gBAAgB,OAAO,IAAI;AAC3B,YAAY;AACZ,YAAY,SAAS;AACrB,gBAAgB,OAAO,KAAK;AAC5B,YAAY;AACZ;AACA,IAAI;AACJ,YAAY;AACZ,QAAQ,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AACvB,QAAQ,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AACvB,IAAI;AACJ;;ACnLA,SAAS,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE;AACvB,IAAI,OAAO,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC;AAClC;;;;","x_google_ignoreList":[0,1,2,3,4,5,6,7]}
@@ -1,23 +1,131 @@
1
- import { importShared } from './__federation_fn_import-CVjKjdRb.js';
2
- import { g as getSymbols, a as isPlainObject, e as eq } from './isEqual-DAXqKRba.js';
1
+ import { importShared } from './__federation_fn_import-DsXcpNlB.js';
2
+ import { g as getSymbols, a as isPlainObject, e as eq } from './isEqual-BQtm2LNT.js';
3
3
 
4
- function createInitializedPluginSpec(spec, implementation) {
5
- return { spec, implementation };
6
- }
4
+ /**
5
+ * Creates a plugin spec with init and use phases.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * const mySpec = createPluginSpec('core/my-spec', {
10
+ * initializer: () => {
11
+ * const items = new Map<string, Item>();
12
+ * return {
13
+ * init: {
14
+ * register: (item: Item) => items.set(item.name, item),
15
+ * },
16
+ * use: () => ({
17
+ * get: (name: string) => items.get(name),
18
+ * getAll: () => [...items.values()],
19
+ * }),
20
+ * };
21
+ * },
22
+ * });
23
+ * ```
24
+ *
25
+ * @param name - Unique identifier for the spec (e.g., 'core/my-spec')
26
+ * @param options - Options including the initializer function
27
+ * @returns A plugin spec that can be used with SpecStore
28
+ */
7
29
  function createPluginSpec(name, options) {
8
- const { platforms, defaultInitializer } = options ?? {};
30
+ const { initializer } = options;
9
31
  return {
10
32
  type: 'plugin-spec',
11
33
  name,
12
- platforms: platforms && (Array.isArray(platforms) ? platforms : [platforms]),
13
- isOptional: false,
14
- optional() {
15
- return { ...this, isOptional: true };
16
- },
17
- defaultInitializer,
34
+ initializer,
18
35
  };
19
36
  }
20
37
 
38
+ /**
39
+ * Plugin context module for tracking the current plugin being initialized.
40
+ *
41
+ * Uses a simple synchronous context that works on both Node and browser platforms.
42
+ * This is safe because plugin initialization is synchronous and single-threaded.
43
+ */
44
+ // Simple synchronous context - works on both Node and browser
45
+ // Safe because plugin initialization is synchronous and single-threaded
46
+ let currentPluginContext;
47
+ /**
48
+ * Runs a function within a plugin context.
49
+ *
50
+ * This sets the current plugin context for the duration of the function execution,
51
+ * allowing nested functions to access the plugin key via `getPluginContext()`.
52
+ *
53
+ * @param context - The plugin context to set
54
+ * @param fn - The function to run within the context
55
+ * @returns The result of the function
56
+ */
57
+ function runInPluginContext(context, fn) {
58
+ const prev = currentPluginContext;
59
+ currentPluginContext = context;
60
+ try {
61
+ return fn();
62
+ }
63
+ finally {
64
+ currentPluginContext = prev;
65
+ }
66
+ }
67
+ /**
68
+ * Gets the current plugin context if one exists.
69
+ *
70
+ * @returns The current plugin context, or undefined if not in a plugin context
71
+ */
72
+ function getPluginContext() {
73
+ return currentPluginContext;
74
+ }
75
+
76
+ const {createFieldMap} = await importShared('@baseplate-dev/utils');
77
+ /**
78
+ * Creates a field map that automatically tracks which plugin registered each value.
79
+ *
80
+ * Similar to `createConfigFieldMap` in the sync package, this utility uses the
81
+ * current plugin context to track the source of registrations. This enables
82
+ * clear error messages when registration conflicts occur.
83
+ *
84
+ * @example
85
+ * ```typescript
86
+ * const fieldMap = createPluginFieldMap((t) => ({
87
+ * transformers: t.map<string, Transformer>(),
88
+ * }));
89
+ *
90
+ * // When a plugin tries to overwrite a value:
91
+ * // Error: Value for key 'myTransformer' has already been set by plugin-auth
92
+ * // and cannot be overwritten by plugin-storage
93
+ * ```
94
+ *
95
+ * @param schemaBuilder - A function that builds the field map schema
96
+ * @returns A field map with automatic source tracking
97
+ */
98
+ function createPluginFieldMap(schemaBuilder) {
99
+ return createFieldMap(schemaBuilder, {
100
+ getDynamicSource: () => getPluginContext()?.pluginKey,
101
+ });
102
+ }
103
+
104
+ /**
105
+ * Creates a plugin spec backed by a FieldMap for automatic source tracking.
106
+ *
107
+ * @param name - Unique identifier for the spec
108
+ * @param schemaBuilder - Function that builds the field map schema
109
+ * @param options - Optional configuration including custom use interface
110
+ */
111
+ function createFieldMapSpec(name, schemaBuilder, options) {
112
+ return createPluginSpec(name, {
113
+ initializer: () => {
114
+ const fieldMap = createPluginFieldMap(schemaBuilder);
115
+ return {
116
+ init: fieldMap,
117
+ use: () => {
118
+ const values = fieldMap.getValues();
119
+ if (options?.use) {
120
+ return options.use(values);
121
+ }
122
+ return values;
123
+ },
124
+ };
125
+ },
126
+ });
127
+ }
128
+
21
129
  function isPrimitive(value) {
22
130
  return value == null || (typeof value !== 'object' && typeof value !== 'function');
23
131
  }
@@ -143,17 +251,6 @@ function cloneDeep(obj) {
143
251
  return cloneDeepWithImpl(obj, undefined, obj, new Map(), undefined);
144
252
  }
145
253
 
146
- function mapValues(object, getNewValue) {
147
- const result = {};
148
- const keys = Object.keys(object);
149
- for (let i = 0; i < keys.length; i++) {
150
- const key = keys[i];
151
- const value = object[key];
152
- result[key] = getNewValue(value, key, object);
153
- }
154
- return result;
155
- }
156
-
157
254
  function merge(target, source) {
158
255
  const sourceKeys = Object.keys(source);
159
256
  for (let i = 0; i < sourceKeys.length; i++) {
@@ -183,66 +280,10 @@ function merge(target, source) {
183
280
  return target;
184
281
  }
185
282
 
186
- function omit(obj, keys) {
187
- const result = { ...obj };
188
- for (let i = 0; i < keys.length; i++) {
189
- const key = keys[i];
190
- delete result[key];
191
- }
192
- return result;
193
- }
194
-
195
283
  function toMerged(target, source) {
196
284
  return merge(cloneDeep(target), source);
197
285
  }
198
286
 
199
- const {randomKey} = await importShared('@baseplate-dev/utils');
200
-
201
- /**
202
- * Definition of an entity type.
203
- */
204
- class DefinitionEntityType {
205
- prefix;
206
- name;
207
- parentType;
208
- /**
209
- * Creates a new entity type.
210
- *
211
- * @param name - The name of the entity type.
212
- * @param prefix - The prefix of the entity type to use in the ID, defaults to the name.
213
- * @param parentType - The type of the parent entity if any
214
- */
215
- constructor(name, prefix, parentType) {
216
- this.name = name;
217
- this.parentType = parentType;
218
- this.prefix = prefix ?? name.split('/').pop() ?? name;
219
- }
220
- /**
221
- * Generates a new ID for the entity type.
222
- *
223
- * @returns The new ID.
224
- */
225
- generateNewId() {
226
- return `${this.prefix}:${randomKey()}`;
227
- }
228
- idFromKey(key) {
229
- if (!key) {
230
- return undefined;
231
- }
232
- return `${this.prefix}:${key}`;
233
- }
234
- keyFromId(id) {
235
- return id.split(':')[1];
236
- }
237
- isId(id) {
238
- return id.startsWith(`${this.prefix}:`);
239
- }
240
- }
241
- function createEntityType(name, options) {
242
- const { parentType, prefix } = options ?? {};
243
- return new DefinitionEntityType(name, prefix, parentType);
244
- }
245
-
246
287
  function isDeepKey(key) {
247
288
  switch (typeof key) {
248
289
  case 'number':
@@ -524,6 +565,17 @@ function set(obj, path, value) {
524
565
  return obj;
525
566
  }
526
567
 
568
+ function mapValues(object, getNewValue) {
569
+ const result = {};
570
+ const keys = Object.keys(object);
571
+ for (let i = 0; i < keys.length; i++) {
572
+ const key = keys[i];
573
+ const value = object[key];
574
+ result[key] = getNewValue(value, key, object);
575
+ }
576
+ return result;
577
+ }
578
+
527
579
  class DefinitionReferenceMarker {
528
580
  value;
529
581
  reference;
@@ -842,6 +894,62 @@ function withPlaceholderSlots(schemaCreator) {
842
894
  };
843
895
  }
844
896
 
897
+ const {randomKey} = await importShared('@baseplate-dev/utils');
898
+
899
+ /**
900
+ * Definition of an entity type.
901
+ */
902
+ class DefinitionEntityType {
903
+ prefix;
904
+ name;
905
+ parentType;
906
+ /**
907
+ * Creates a new entity type.
908
+ *
909
+ * @param name - The name of the entity type.
910
+ * @param prefix - The prefix of the entity type to use in the ID, defaults to the name.
911
+ * @param parentType - The type of the parent entity if any
912
+ */
913
+ constructor(name, prefix, parentType) {
914
+ this.name = name;
915
+ this.parentType = parentType;
916
+ this.prefix = prefix ?? name.split('/').pop() ?? name;
917
+ }
918
+ /**
919
+ * Generates a new ID for the entity type.
920
+ *
921
+ * @returns The new ID.
922
+ */
923
+ generateNewId() {
924
+ return `${this.prefix}:${randomKey()}`;
925
+ }
926
+ idFromKey(key) {
927
+ if (!key) {
928
+ return undefined;
929
+ }
930
+ return `${this.prefix}:${key}`;
931
+ }
932
+ keyFromId(id) {
933
+ return id.split(':')[1];
934
+ }
935
+ isId(id) {
936
+ return id.startsWith(`${this.prefix}:`);
937
+ }
938
+ }
939
+ function createEntityType(name, options) {
940
+ const { parentType, prefix } = options ?? {};
941
+ return new DefinitionEntityType(name, prefix, parentType);
942
+ }
943
+
944
+ function omit(obj, keys) {
945
+ const result = { ...obj };
946
+ for (let i = 0; i < keys.length; i++) {
947
+ const key = keys[i];
948
+ delete result[key];
949
+ }
950
+ return result;
951
+ }
952
+
845
953
  const {CASE_VALIDATORS} = await importShared('@baseplate-dev/utils');
846
954
 
847
955
  const {z} = await importShared('zod');
@@ -1017,6 +1125,10 @@ function validateModelName(name) {
1017
1125
  function getModelIdByNameOrDefault(projectDefinition, name) {
1018
1126
  return projectDefinition.models.find((m) => m.name === name)?.id ?? name;
1019
1127
  }
1128
+ function getPrimaryKeyFields(model) {
1129
+ const primaryKeyFields = model.model.primaryKeyFieldRefs;
1130
+ return primaryKeyFields.map((id) => getScalarFieldById(model, id));
1131
+ }
1020
1132
  const ModelUtils = {
1021
1133
  byId,
1022
1134
  byIdOrThrow,
@@ -1029,6 +1141,7 @@ const ModelUtils = {
1029
1141
  hasService,
1030
1142
  validateModelName,
1031
1143
  getModelIdByNameOrDefault,
1144
+ getPrimaryKeyFields,
1032
1145
  };
1033
1146
 
1034
1147
  /**
@@ -1531,5 +1644,5 @@ function createAndApplyModelMergerResults(draftConfig, current, desired, definit
1531
1644
  return resultIds;
1532
1645
  }
1533
1646
 
1534
- export { featureNameSchema as A, createFeatureSchema as B, modelMergerDefinitionDiffConfig as C, DefinitionReferenceMarker as D, createModelMergerResult as E, FeatureUtils as F, doesModelMergerResultsHaveChanges as G, createModelMergerResults as H, applyModelMergerDiff as I, applyModelMergerResultInPlace as J, createAndApplyModelMergerResults as K, DefinitionDiffKeyedArrayField as L, ModelUtils as M, DefinitionDiffReplacementField as N, DefinitionDiffArrayIncludesField as O, createDefinitionDiffConfig as P, createDefinitionDiff as Q, REF_ANNOTATIONS_MARKER_SYMBOL as R, applyDefinitionDiff as S, createEntityType as a, createDefinitionSchemaParserContext as b, createPluginSpec as c, definitionSchemaWithSlots as d, set as e, definitionSchema as f, get as g, modelForeignRelationEntityType as h, modelLocalRelationEntityType as i, modelScalarFieldEntityType as j, modelEntityType as k, modelTransformerEntityType as l, mapValues as m, modelEnumValueEntityType as n, modelEnumEntityType as o, featureEntityType as p, modelUniqueConstraintEntityType as q, createFeaturesSchema as r, stripRefMarkers as s, omit as t, cloneDeep as u, createInitializedPluginSpec as v, createRefContextSlot as w, createRefContextSlotMap as x, DefinitionEntityType as y, withPlaceholderSlots as z };
1535
- //# sourceMappingURL=model-merger-kOQ_dmiE.js.map
1647
+ export { createRefContextSlotMap as A, DefinitionEntityType as B, withPlaceholderSlots as C, DefinitionReferenceMarker as D, featureNameSchema as E, FeatureUtils as F, createFeatureSchema as G, modelMergerDefinitionDiffConfig as H, createModelMergerResult as I, doesModelMergerResultsHaveChanges as J, createModelMergerResults as K, applyModelMergerDiff as L, ModelUtils as M, applyModelMergerResultInPlace as N, createAndApplyModelMergerResults as O, DefinitionDiffKeyedArrayField as P, DefinitionDiffReplacementField as Q, REF_ANNOTATIONS_MARKER_SYMBOL as R, DefinitionDiffArrayIncludesField as S, createDefinitionDiffConfig as T, createDefinitionDiff as U, applyDefinitionDiff as V, createEntityType as a, createDefinitionSchemaParserContext as b, createFieldMapSpec as c, definitionSchemaWithSlots as d, set as e, definitionSchema as f, get as g, modelForeignRelationEntityType as h, modelLocalRelationEntityType as i, modelScalarFieldEntityType as j, modelEntityType as k, modelTransformerEntityType as l, mapValues as m, modelEnumValueEntityType as n, modelEnumEntityType as o, featureEntityType as p, modelUniqueConstraintEntityType as q, runInPluginContext as r, stripRefMarkers as s, createFeaturesSchema as t, omit as u, cloneDeep as v, getPluginContext as w, createPluginSpec as x, createPluginFieldMap as y, createRefContextSlot as z };
1648
+ //# sourceMappingURL=model-merger-BwRNqcBu.js.map