@salsita-ai/sdk 0.50.0-develop.b335a15889 → 0.50.0-develop.b7caacb493

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 (2027) hide show
  1. package/README.md +20 -15
  2. package/dist/admin/create-admin-pages-from-spec.d.ts +1 -1
  3. package/dist/admin/default-admin-elements.d.ts +9 -0
  4. package/dist/admin/default-admin-elements.js +1 -0
  5. package/dist/admin/default-elements/built-in-entity-element.d.ts +10 -0
  6. package/dist/admin/default-elements/built-in-entity-element.js +1 -0
  7. package/dist/admin/default-elements/built-in-layout-element.d.ts +10 -0
  8. package/dist/admin/default-elements/built-in-layout-element.js +1 -0
  9. package/dist/admin/default-elements/index.d.ts +2 -0
  10. package/dist/admin/default-elements/index.js +1 -0
  11. package/dist/admin/index.d.ts +1 -0
  12. package/dist/admin/index.js +1 -1
  13. package/dist/application-spec/caching/content-diff.js +1 -1
  14. package/dist/application-spec/core/application-file.d.ts +0 -2
  15. package/dist/application-spec/core/application-file.js +1 -1
  16. package/dist/application-spec/core/components/component-filter.d.ts +53 -0
  17. package/dist/application-spec/core/components/component-filter.js +1 -0
  18. package/dist/application-spec/core/components/index.d.ts +2 -0
  19. package/dist/application-spec/core/components/index.js +1 -0
  20. package/dist/application-spec/core/components/sdk-code-ref.d.ts +9 -0
  21. package/dist/application-spec/core/components/sdk-code-ref.js +1 -0
  22. package/dist/application-spec/core/enhanced-json-value.d.ts +0 -68
  23. package/dist/application-spec/core/enhanced-json-value.js +1 -1
  24. package/dist/application-spec/core/expressions/index.d.ts +2 -0
  25. package/dist/application-spec/core/expressions/index.js +1 -0
  26. package/dist/application-spec/core/expressions/relation-expression-params.d.ts +11 -0
  27. package/dist/application-spec/core/expressions/sdk-expression-implementation.d.ts +24 -0
  28. package/dist/application-spec/core/expressions/sdk-expression-implementation.js +1 -0
  29. package/dist/application-spec/core/index.d.ts +2 -0
  30. package/dist/application-spec/core/index.js +1 -1
  31. package/dist/application-spec/core/json-value.d.ts +1 -1
  32. package/dist/application-spec/enhanced-json/eval-to-constant.d.ts +14 -0
  33. package/dist/application-spec/enhanced-json/index.d.ts +4 -0
  34. package/dist/application-spec/enhanced-json/index.js +1 -0
  35. package/dist/application-spec/enhanced-json/is-enhanced-json-array.d.ts +2 -0
  36. package/dist/application-spec/enhanced-json/is-enhanced-json-array.js +1 -0
  37. package/dist/application-spec/enhanced-json/resolve-enhanced-json-value.d.ts +18 -0
  38. package/dist/application-spec/enhanced-json/resolve-enhanced-json-value.js +1 -0
  39. package/dist/application-spec/enhanced-json/schema-from-value.d.ts +24 -0
  40. package/dist/application-spec/enhanced-json/schema-from-value.js +1 -0
  41. package/dist/application-spec/enhanced-json/stringify-enhanced-json-value.d.ts +14 -0
  42. package/dist/application-spec/enhanced-json/stringify-enhanced-json-value.js +1 -0
  43. package/dist/application-spec/enhanced-json/validate-enhanced-json-value-caps.d.ts +12 -0
  44. package/dist/application-spec/enhanced-json/validate-enhanced-json-value-caps.js +1 -0
  45. package/dist/application-spec/enhanced-json/validate-no-legacy-code-ref.d.ts +13 -0
  46. package/dist/application-spec/enhanced-json/validate-no-legacy-code-ref.js +1 -0
  47. package/dist/application-spec/errors/diagnostic-codes.d.ts +23 -0
  48. package/dist/application-spec/errors/diagnostic-codes.js +1 -1
  49. package/dist/application-spec/errors/diagnostic-messages.d.ts +27 -1
  50. package/dist/application-spec/errors/diagnostic-messages.js +1 -1
  51. package/dist/application-spec/generate-application/code/common/code-imports.js +1 -1
  52. package/dist/application-spec/generate-application/code/common/env-reader.js +2 -2
  53. package/dist/application-spec/generate-application/code/common/index.d.ts +2 -0
  54. package/dist/application-spec/generate-application/code/common/index.js +1 -1
  55. package/dist/application-spec/generate-application/code/common/project-module-list.d.ts +8 -0
  56. package/dist/application-spec/generate-application/code/common/project-module-list.js +3 -0
  57. package/dist/application-spec/generate-application/code/common/single-quoted-string.d.ts +6 -0
  58. package/dist/application-spec/generate-application/code/common/single-quoted-string.js +1 -0
  59. package/dist/application-spec/generate-application/code/domain-runtime-files.js +1 -1
  60. package/dist/application-spec/generate-application/code/generate-application-code.d.ts +3 -2
  61. package/dist/application-spec/generate-application/code/generate-application-code.js +1 -1
  62. package/dist/application-spec/generate-application/code/project-scaffolding.d.ts +22 -14
  63. package/dist/application-spec/generate-application/code/project-scaffolding.js +2 -2
  64. package/dist/application-spec/generate-application/code/standalone-app-files.d.ts +2 -2
  65. package/dist/application-spec/generate-application/code/standalone-app-files.js +1 -1
  66. package/dist/application-spec/generate-application/code/story-files.js +1 -1
  67. package/dist/application-spec/generate-application/code/templates/admin-config.js +3 -0
  68. package/dist/application-spec/generate-application/code/templates/admin-domain-code.d.ts +1 -2
  69. package/dist/application-spec/generate-application/code/templates/admin-domain-code.js +6 -14
  70. package/dist/application-spec/generate-application/code/templates/admin-frontend-code.d.ts +1 -2
  71. package/dist/application-spec/generate-application/code/templates/admin-frontend-code.js +4 -4
  72. package/dist/application-spec/generate-application/code/templates/application-types.js +6 -6
  73. package/dist/application-spec/generate-application/code/templates/common/doc-comment.d.ts +2 -0
  74. package/dist/application-spec/generate-application/code/templates/common/doc-comment.js +1 -0
  75. package/dist/application-spec/generate-application/code/templates/common/format-property-key.d.ts +7 -0
  76. package/dist/application-spec/generate-application/code/templates/common/format-property-key.js +1 -0
  77. package/dist/application-spec/generate-application/code/templates/common/schema-to-type-string.js +3 -3
  78. package/dist/application-spec/generate-application/code/templates/configurator-config.js +6 -4
  79. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.d.ts +1 -2
  80. package/dist/application-spec/generate-application/code/templates/configurator-domain-code.js +7 -16
  81. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.d.ts +1 -2
  82. package/dist/application-spec/generate-application/code/templates/configurator-frontend-code.js +7 -9
  83. package/dist/application-spec/generate-application/code/templates/configurator-globals.d.ts +2 -1
  84. package/dist/application-spec/generate-application/code/templates/configurator-globals.js +19 -6
  85. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.d.ts +35 -0
  86. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/domain-factory-types.js +5 -0
  87. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.d.ts +1 -0
  88. package/dist/application-spec/generate-application/code/templates/domain-spec/factory-types/index.js +1 -0
  89. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.d.ts +1 -1
  90. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-component-optics.js +7 -7
  91. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-defaults.d.ts +4 -2
  92. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-defaults.js +1 -1
  93. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-domain-block.js +72 -76
  94. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.d.ts +9 -1
  95. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-invariants.js +1 -1
  96. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-phx-globals.js +3 -0
  97. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-presets.js +1 -1
  98. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-relation-expressions.js +1 -1
  99. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.d.ts +6 -8
  100. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-resources.js +21 -21
  101. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.d.ts +1 -1
  102. package/dist/application-spec/generate-application/code/templates/domain-spec/generate-states.js +2 -2
  103. package/dist/application-spec/generate-application/code/templates/domain-spec/index.d.ts +3 -2
  104. package/dist/application-spec/generate-application/code/templates/domain-spec/index.js +1 -1
  105. package/dist/application-spec/generate-application/code/templates/domain-spec.js +12 -12
  106. package/dist/application-spec/generate-application/code/templates/domain.js +5 -5
  107. package/dist/application-spec/generate-application/code/templates/eslint-config.d.ts +5 -0
  108. package/dist/application-spec/generate-application/code/templates/eslint-config.js +4 -5
  109. package/dist/application-spec/generate-application/code/templates/frontend-config.js +3 -5
  110. package/dist/application-spec/generate-application/code/templates/gitignore.js +0 -3
  111. package/dist/application-spec/generate-application/code/templates/global-definition/generate-action-types.js +7 -7
  112. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.d.ts +12 -0
  113. package/dist/application-spec/generate-application/code/templates/global-definition/generate-assistant-form-element-types.js +7 -0
  114. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.d.ts +43 -0
  115. package/dist/application-spec/generate-application/code/templates/global-definition/generate-phx-types.js +33 -0
  116. package/dist/application-spec/generate-application/code/templates/global-definition/index.d.ts +2 -0
  117. package/dist/application-spec/generate-application/code/templates/global-definition/index.js +1 -1
  118. package/dist/application-spec/generate-application/code/templates/globals.js +24 -43
  119. package/dist/application-spec/generate-application/code/templates/index.d.ts +3 -10
  120. package/dist/application-spec/generate-application/code/templates/index.js +1 -1
  121. package/dist/application-spec/generate-application/code/templates/lingui-rc.d.ts +5 -0
  122. package/dist/application-spec/generate-application/code/templates/lingui-rc.js +4 -4
  123. package/dist/application-spec/generate-application/code/templates/prettier-config.d.ts +5 -0
  124. package/dist/application-spec/generate-application/code/templates/prettier-config.js +4 -5
  125. package/dist/application-spec/generate-application/code/templates/root-tsconfig.d.ts +6 -0
  126. package/dist/application-spec/generate-application/code/templates/root-tsconfig.js +2 -0
  127. package/dist/application-spec/generate-application/code/templates/skills/phoenix-cli-skill.js +1 -1
  128. package/dist/application-spec/generate-application/code/templates/skills/phoenix-create-configurator-skill.js +66 -42
  129. package/dist/application-spec/generate-application/code/templates/skills/phoenix-feedback-skill.js +5 -5
  130. package/dist/application-spec/generate-application/code/templates/skills/phoenix-review-skill.js +10 -4
  131. package/dist/application-spec/generate-application/code/templates/skills/phoenix-skill.js +1 -1
  132. package/dist/application-spec/generate-application/code/templates/skills/phoenix-variants-skill.js +2 -2
  133. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.d.ts +44 -19
  134. package/dist/application-spec/generate-application/code/templates/skills/sdk-content.js +6 -9
  135. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.d.ts +58 -0
  136. package/dist/application-spec/generate-application/code/templates/spec-code/collect-spec-code.js +1 -0
  137. package/dist/application-spec/generate-application/code/templates/spec-code/index.d.ts +2 -0
  138. package/dist/application-spec/generate-application/code/templates/spec-code/index.js +1 -0
  139. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.d.ts +18 -0
  140. package/dist/application-spec/generate-application/code/templates/spec-code/spec-code.js +41 -0
  141. package/dist/application-spec/generate-application/code/templates/spec-messages/index.d.ts +1 -0
  142. package/dist/application-spec/generate-application/code/templates/spec-messages/index.js +1 -0
  143. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.d.ts +20 -0
  144. package/dist/application-spec/generate-application/code/templates/spec-messages/spec-messages.js +6 -0
  145. package/dist/application-spec/generate-application/code/templates/story/phx-module.d.ts +8 -2
  146. package/dist/application-spec/generate-application/code/templates/story/phx-module.js +15 -3
  147. package/dist/application-spec/generate-application/code/templates/story/wrapper.d.ts +3 -0
  148. package/dist/application-spec/generate-application/code/templates/story/wrapper.js +2 -1
  149. package/dist/application-spec/generate-application/code/templates/tsconfig.d.ts +5 -0
  150. package/dist/application-spec/generate-application/code/templates/tsconfig.js +1 -1
  151. package/dist/application-spec/generate-application/code/templates/webhook-builders.js +6 -5
  152. package/dist/application-spec/generate-application/code/templates/webhook-index.d.ts +6 -1
  153. package/dist/application-spec/generate-application/code/templates/webhook-index.js +10 -1
  154. package/dist/application-spec/generate-application/code/templates/webhooks-config.js +2 -3
  155. package/dist/application-spec/generate-application/implementations/phx-application-types.d.ts +25 -0
  156. package/dist/application-spec/generate-application/implementations/phx-application-types.js +1 -0
  157. package/dist/application-spec/generate-application/implementations/phx-domain.d.ts +36 -0
  158. package/dist/application-spec/generate-application/implementations/phx-domain.js +1 -0
  159. package/dist/application-spec/generate-application/implementations/phx-model.d.ts +24 -0
  160. package/dist/application-spec/generate-application/implementations/phx-model.js +1 -0
  161. package/dist/application-spec/generate-application/implementations/phx.d.ts +22 -0
  162. package/dist/application-spec/generate-application/implementations/phx.js +1 -0
  163. package/dist/application-spec/generate-application/index.d.ts +3 -0
  164. package/dist/application-spec/generate-application/index.js +1 -1
  165. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.d.ts +6 -4
  166. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-model-runtime.js +1 -1
  167. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.d.ts +10 -4
  168. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-runtime.js +1 -1
  169. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.d.ts +16 -0
  170. package/dist/application-spec/generate-application/runtime/admin-runtime/admin-spec-runtime.js +1 -0
  171. package/dist/application-spec/generate-application/runtime/admin-runtime/states-runtime.d.ts +2 -2
  172. package/dist/application-spec/generate-application/runtime/application-runtime.d.ts +30 -10
  173. package/dist/application-spec/generate-application/runtime/application-runtime.js +1 -1
  174. package/dist/application-spec/generate-application/runtime/application-spec-slice.d.ts +70 -0
  175. package/dist/application-spec/generate-application/runtime/application-spec-slice.js +1 -0
  176. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.d.ts +7 -5
  177. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-model-runtime.js +1 -1
  178. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.d.ts +10 -7
  179. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-runtime.js +1 -1
  180. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.d.ts +16 -0
  181. package/dist/application-spec/generate-application/runtime/configurator-runtime/configurator-spec-runtime.js +1 -0
  182. package/dist/application-spec/generate-application/runtime/configurator-runtime/states-runtime.d.ts +2 -2
  183. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.d.ts +43 -0
  184. package/dist/application-spec/generate-application/runtime/factory-data/factory-data-runtime.js +1 -0
  185. package/dist/application-spec/generate-application/runtime/factory-data/index.d.ts +3 -0
  186. package/dist/application-spec/generate-application/runtime/factory-data/index.js +1 -0
  187. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.d.ts +13 -0
  188. package/dist/application-spec/generate-application/runtime/factory-data/recipe-defaults.js +1 -0
  189. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.d.ts +16 -0
  190. package/dist/application-spec/generate-application/runtime/factory-data/static-violations.js +1 -0
  191. package/dist/application-spec/generate-application/runtime/index.d.ts +8 -0
  192. package/dist/application-spec/generate-application/runtime/index.js +1 -0
  193. package/dist/application-spec/generate-application/runtime/migrations/index.d.ts +1 -0
  194. package/dist/application-spec/generate-application/runtime/migrations/index.js +1 -0
  195. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.d.ts +53 -0
  196. package/dist/application-spec/generate-application/runtime/migrations/migration-runtime.js +1 -0
  197. package/dist/application-spec/generate-application/runtime/sections/assistant-runtime.d.ts +2 -2
  198. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.d.ts +3 -2
  199. package/dist/application-spec/generate-application/runtime/sections/build-sdk-optic.js +1 -1
  200. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.d.ts +2 -1
  201. package/dist/application-spec/generate-application/runtime/sections/build-user-bound-optic.js +1 -1
  202. package/dist/application-spec/generate-application/runtime/sections/component-optic.d.ts +5 -1
  203. package/dist/application-spec/generate-application/runtime/sections/component-optic.js +1 -1
  204. package/dist/application-spec/generate-application/runtime/sections/data-runtime.d.ts +4 -4
  205. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.d.ts +15 -6
  206. package/dist/application-spec/generate-application/runtime/sections/expression-runtime.js +1 -1
  207. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.d.ts +9 -5
  208. package/dist/application-spec/generate-application/runtime/sections/generate-memo-eval-plan-runtime.js +1 -1
  209. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.d.ts +3 -1
  210. package/dist/application-spec/generate-application/runtime/sections/reflection-constants-runtime.js +1 -1
  211. package/dist/application-spec/generate-application/runtime/sections/theme-runtime.d.ts +2 -2
  212. package/dist/application-spec/generate-application/runtime/sections/transformers-runtime.d.ts +4 -6
  213. package/dist/application-spec/generate-application/runtime/spec-code/index.d.ts +2 -0
  214. package/dist/application-spec/generate-application/runtime/spec-code/index.js +1 -0
  215. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.d.ts +18 -0
  216. package/dist/application-spec/generate-application/runtime/spec-code/resolve-spec-code.js +1 -0
  217. package/dist/application-spec/generate-application/runtime/spec-code/spec-code-module.d.ts +17 -0
  218. package/dist/application-spec/generate-application/runtime/spec-runtime.d.ts +21 -0
  219. package/dist/application-spec/generate-application/runtime/spec-runtime.js +1 -0
  220. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.d.ts +9 -0
  221. package/dist/application-spec/generate-application/runtime-spec/decode-runtime-spec.js +1 -0
  222. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.d.ts +8 -0
  223. package/dist/application-spec/generate-application/runtime-spec/encode-runtime-spec.js +1 -0
  224. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.d.ts +28 -0
  225. package/dist/application-spec/generate-application/runtime-spec/encoded-runtime-spec.js +1 -0
  226. package/dist/application-spec/generate-application/runtime-spec/index.d.ts +5 -0
  227. package/dist/application-spec/generate-application/runtime-spec/index.js +1 -0
  228. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.d.ts +103 -0
  229. package/dist/application-spec/generate-application/runtime-spec/runtime-spec.js +1 -0
  230. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.d.ts +40 -0
  231. package/dist/application-spec/generate-application/runtime-spec/spec-code-id.js +1 -0
  232. package/dist/application-spec/index.d.ts +1 -0
  233. package/dist/application-spec/index.js +1 -1
  234. package/dist/application-spec/parse-application-files/categorize/categorize-files.d.ts +34 -0
  235. package/dist/application-spec/parse-application-files/categorize/categorize-files.js +1 -1
  236. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.d.ts +16 -0
  237. package/dist/application-spec/parse-application-files/categorize/earlier-generated-editor-configs.js +9 -0
  238. package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.d.ts +9 -0
  239. package/dist/application-spec/parse-application-files/categorize/earlier-generated-tsconfig.js +1 -0
  240. package/dist/application-spec/parse-application-files/categorize/module-analysis.d.ts +1 -1
  241. package/dist/application-spec/parse-application-files/categorize/module-analysis.js +1 -1
  242. package/dist/application-spec/parse-application-files/raw-spec/parse-yaml-spec-file.js +1 -1
  243. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.d.ts +47 -4
  244. package/dist/application-spec/parse-application-files/raw-spec/raw-assistant.js +1 -1
  245. package/dist/application-spec/parse-application-files/raw-spec/raw-spec-file.js +1 -1
  246. package/dist/application-spec/parse-application-files/spec/application/admin-spec/admin-spec.js +1 -1
  247. package/dist/application-spec/parse-application-files/spec/application/configurator-spec/configurator-spec.js +1 -1
  248. package/dist/application-spec/parse-application-files/spec/common/index.d.ts +1 -0
  249. package/dist/application-spec/parse-application-files/spec/common/index.js +1 -1
  250. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.d.ts +3 -0
  251. package/dist/application-spec/parse-application-files/spec/common/value-type/format-value-type.js +1 -0
  252. package/dist/application-spec/parse-application-files/spec/common/value-type/index.d.ts +5 -0
  253. package/dist/application-spec/parse-application-files/spec/common/value-type/index.js +1 -0
  254. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.d.ts +6 -0
  255. package/dist/application-spec/parse-application-files/spec/common/value-type/intersect-value-types.js +1 -0
  256. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.d.ts +8 -0
  257. package/dist/application-spec/parse-application-files/spec/common/value-type/is-assignable-value-type.js +1 -0
  258. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.d.ts +10 -0
  259. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type-at.js +1 -0
  260. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.d.ts +98 -0
  261. package/dist/application-spec/parse-application-files/spec/common/value-type/value-type.js +1 -0
  262. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.d.ts +13 -0
  263. package/dist/application-spec/parse-application-files/spec/components/bindings/component-path.js +1 -0
  264. package/dist/application-spec/parse-application-files/spec/components/bindings/index.d.ts +2 -0
  265. package/dist/application-spec/parse-application-files/spec/components/bindings/index.js +1 -1
  266. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.d.ts +24 -0
  267. package/dist/application-spec/parse-application-files/spec/components/bindings/read-binding-type.js +1 -0
  268. package/dist/application-spec/parse-application-files/spec/components/component-entry.d.ts +1 -9
  269. package/dist/application-spec/parse-application-files/spec/components/component-entry.js +1 -1
  270. package/dist/application-spec/parse-application-files/spec/components/component-filter.d.ts +1 -54
  271. package/dist/application-spec/parse-application-files/spec/components/component-filter.js +1 -1
  272. package/dist/application-spec/parse-application-files/spec/components/component-state-type.d.ts +8 -0
  273. package/dist/application-spec/parse-application-files/spec/components/component-state-type.js +1 -0
  274. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.d.ts +13 -0
  275. package/dist/application-spec/parse-application-files/spec/components/filter-criterion-types.js +1 -0
  276. package/dist/application-spec/parse-application-files/spec/components/index.d.ts +1 -1
  277. package/dist/application-spec/parse-application-files/spec/components/index.js +1 -1
  278. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.d.ts +14 -0
  279. package/dist/application-spec/parse-application-files/spec/components/static-entity-id.js +1 -0
  280. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.d.ts +6 -0
  281. package/dist/application-spec/parse-application-files/spec/components/user-component-entry.js +1 -1
  282. package/dist/application-spec/parse-application-files/spec/components/user-components.d.ts +7 -4
  283. package/dist/application-spec/parse-application-files/spec/components/user-components.js +1 -1
  284. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.d.ts +24 -0
  285. package/dist/application-spec/parse-application-files/spec/expressions/expression-read-types.js +1 -0
  286. package/dist/application-spec/parse-application-files/spec/expressions/expression-read.d.ts +13 -0
  287. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.d.ts +9 -0
  288. package/dist/application-spec/parse-application-files/spec/expressions/expression-value-type.js +1 -0
  289. package/dist/application-spec/parse-application-files/spec/expressions/expression.d.ts +1 -28
  290. package/dist/application-spec/parse-application-files/spec/expressions/expression.js +1 -1
  291. package/dist/application-spec/parse-application-files/spec/expressions/expressions.d.ts +7 -3
  292. package/dist/application-spec/parse-application-files/spec/expressions/expressions.js +1 -1
  293. package/dist/application-spec/parse-application-files/spec/expressions/index.d.ts +0 -1
  294. package/dist/application-spec/parse-application-files/spec/expressions/index.js +1 -1
  295. package/dist/application-spec/parse-application-files/spec/expressions/memo-eval-plan.js +1 -1
  296. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.d.ts +3 -1
  297. package/dist/application-spec/parse-application-files/spec/expressions/user-expressions.js +1 -1
  298. package/dist/application-spec/parse-application-files/spec/invariants/invariants.d.ts +2 -2
  299. package/dist/application-spec/parse-application-files/spec/invariants/invariants.js +1 -1
  300. package/dist/application-spec/parse-application-files/spec/model/defaults.d.ts +7 -2
  301. package/dist/application-spec/parse-application-files/spec/model/defaults.js +1 -1
  302. package/dist/application-spec/parse-application-files/spec/model/index.d.ts +1 -0
  303. package/dist/application-spec/parse-application-files/spec/model/index.js +1 -1
  304. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.d.ts +10 -0
  305. package/dist/application-spec/parse-application-files/spec/model/model-type-resolution.js +1 -0
  306. package/dist/application-spec/parse-application-files/spec/relations/reference-field-type.d.ts +25 -0
  307. package/dist/application-spec/parse-application-files/spec/relations/reference-field-type.js +1 -0
  308. package/dist/application-spec/parse-application-files/spec/relations/relation-field-mismatch.d.ts +46 -0
  309. package/dist/application-spec/parse-application-files/spec/relations/relation-field-mismatch.js +1 -0
  310. package/dist/application-spec/parse-application-files/spec/relations/relations.d.ts +4 -3
  311. package/dist/application-spec/parse-application-files/spec/relations/relations.js +1 -1
  312. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.d.ts +9 -0
  313. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-form-elements.js +1 -0
  314. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.d.ts +4 -1
  315. package/dist/application-spec/parse-application-files/spec/sections/assistant/assistant-schema.js +1 -1
  316. package/dist/application-spec/parse-application-files/spec/sections/infra.d.ts +2 -0
  317. package/dist/application-spec/parse-application-files/spec/sections/infra.js +1 -1
  318. package/dist/client/authorized-client.d.ts +3 -1
  319. package/dist/client/authorized-client.js +1 -1
  320. package/dist/client/contract.d.ts +34 -0
  321. package/dist/client/contract.js +1 -1
  322. package/dist/client/index.d.ts +2 -2
  323. package/dist/client/index.js +1 -1
  324. package/dist/client/local-authorized-client.d.ts +3 -1
  325. package/dist/client/local-authorized-client.js +1 -1
  326. package/dist/client/memory-authorized-client.d.ts +3 -1
  327. package/dist/client/memory-authorized-client.js +1 -1
  328. package/dist/client/phoenix-api.d.ts +797 -121
  329. package/dist/configurator/ConfiguratorApp.js +1 -1
  330. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.d.ts +2 -0
  331. package/dist/configurator/app-loader-content/DefaultAppLoaderContent.js +5 -0
  332. package/dist/configurator/app-loader-content/index.d.ts +1 -0
  333. package/dist/configurator/app-loader-content/index.js +1 -0
  334. package/dist/configurator/application-runtime/extensions/create-configurator-extensions.js +1 -1
  335. package/dist/configurator/application-runtime/extensions/selectors.d.ts +3 -1
  336. package/dist/configurator/application-runtime/extensions/selectors.js +1 -1
  337. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.d.ts +130 -5
  338. package/dist/configurator/application-runtime/extensions/systems/assistant-system/assistant-system.js +1 -1
  339. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.d.ts +39 -7
  340. package/dist/configurator/application-runtime/extensions/systems/assistant-system/graphql-tools.js +1 -1
  341. package/dist/configurator/application-runtime/extensions/systems/camera-control-system/camera-control-system.d.ts +1 -1
  342. package/dist/configurator/application-runtime/extensions/systems/canvas-system.d.ts +8 -0
  343. package/dist/configurator/application-runtime/extensions/systems/canvas-system.js +1 -1
  344. package/dist/configurator/application-runtime/extensions/systems/drag-and-drop-system/drag-and-drop-system.d.ts +3 -3
  345. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.d.ts +8 -0
  346. package/dist/configurator/application-runtime/extensions/systems/export-system/export-busy-error.js +1 -0
  347. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.d.ts +23 -1
  348. package/dist/configurator/application-runtime/extensions/systems/export-system/export-system.js +1 -1
  349. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.d.ts +12 -0
  350. package/dist/configurator/application-runtime/extensions/systems/graphql-system/close-unclosed-braces.js +1 -0
  351. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.d.ts +14 -1
  352. package/dist/configurator/application-runtime/extensions/systems/graphql-system/entity-meta.js +1 -1
  353. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.d.ts +64 -7
  354. package/dist/configurator/application-runtime/extensions/systems/graphql-system/graphql-system.js +1 -1
  355. package/dist/configurator/application-runtime/extensions/systems/graphql-system/inject-assistant-lenses.d.ts +11 -0
  356. package/dist/configurator/application-runtime/extensions/systems/graphql-system/inject-assistant-lenses.js +1 -0
  357. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.d.ts +14 -5
  358. package/dist/configurator/application-runtime/extensions/systems/image-rendering-system/image-rendering-system.js +1 -1
  359. package/dist/configurator/application-runtime/extensions/systems/index.d.ts +2 -2
  360. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.d.ts +2 -2
  361. package/dist/configurator/application-runtime/extensions/systems/layout-system/layout-system.js +1 -1
  362. package/dist/configurator/common/configurator-interface.d.ts +145 -5
  363. package/dist/configurator/common/configurator-interface.js +1 -1
  364. package/dist/configurator/common/index.d.ts +3 -1
  365. package/dist/configurator/common/index.js +1 -1
  366. package/dist/configurator/common/use-reset-camera.d.ts +6 -0
  367. package/dist/configurator/common/use-reset-camera.js +1 -0
  368. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.d.ts +5 -0
  369. package/dist/configurator/configuration-not-found-page/BuiltInConfigurationNotFoundPage.js +1 -0
  370. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.d.ts +6 -0
  371. package/dist/configurator/configuration-not-found-page/ConfigurationNotFoundPageElement.js +1 -0
  372. package/dist/configurator/configuration-not-found-page/index.d.ts +2 -0
  373. package/dist/configurator/configuration-not-found-page/index.js +1 -0
  374. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.d.ts +12 -0
  375. package/dist/configurator/configurator-context/ConfiguratorResponsiveProvider.js +1 -0
  376. package/dist/configurator/configurator-context/PresetSelectionProvider.js +1 -1
  377. package/dist/configurator/configurator-context/PreviewContextProvider.js +1 -1
  378. package/dist/configurator/configurator-context/ViewportStateSync.d.ts +2 -2
  379. package/dist/configurator/configurator-context/ViewportStateSync.js +1 -1
  380. package/dist/configurator/configurator-context/configurator-hooks/layout-hooks.d.ts +11 -1
  381. package/dist/configurator/configurator-context/configurator-routing/ConfiguratorRoutingProvider.js +1 -1
  382. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.d.ts +6 -0
  383. package/dist/configurator/configurator-error-page/BuiltInConfiguratorErrorPage.js +1 -0
  384. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.d.ts +7 -0
  385. package/dist/configurator/configurator-error-page/ConfiguratorErrorPageElement.js +1 -0
  386. package/dist/configurator/configurator-error-page/index.d.ts +2 -0
  387. package/dist/configurator/configurator-error-page/index.js +1 -0
  388. package/dist/configurator/index.d.ts +10 -0
  389. package/dist/configurator/index.js +1 -1
  390. package/dist/configurator/pages/ConfiguratorErrorPage.d.ts +0 -1
  391. package/dist/configurator/pages/ConfiguratorErrorPage.js +1 -1
  392. package/dist/configurator/pages/ConfiguratorNotFoundPage.js +1 -1
  393. package/dist/configurator/pages/DefaultConfiguratorLayout.d.ts +7 -0
  394. package/dist/configurator/pages/DefaultConfiguratorLayout.js +1 -0
  395. package/dist/configurator/pages/DefaultNotAuthenticatedPage.d.ts +8 -0
  396. package/dist/configurator/pages/DefaultNotAuthenticatedPage.js +1 -0
  397. package/dist/configurator/pages/DefaultPresetUi.d.ts +7 -0
  398. package/dist/configurator/pages/DefaultPresetUi.js +1 -0
  399. package/dist/configurator/pages/LoadedConfiguratorDetailPage.js +1 -1
  400. package/dist/configurator/pages/NewConfiguratorPage.js +1 -1
  401. package/dist/configurator/pages/PresetCreationErrorPage.d.ts +1 -1
  402. package/dist/configurator/pages/PresetCreationErrorPage.js +1 -1
  403. package/dist/configurator/pages/RootPage.js +1 -1
  404. package/dist/configurator/pages/configurator-layout-name.d.ts +2 -0
  405. package/dist/configurator/pages/configurator-layout-name.js +1 -0
  406. package/dist/configurator/pages/default-configurator-elements.d.ts +13 -0
  407. package/dist/configurator/pages/default-configurator-elements.js +1 -0
  408. package/dist/configurator/pages/default-elements/built-in-entity-element.d.ts +10 -0
  409. package/dist/configurator/pages/default-elements/built-in-entity-element.js +1 -0
  410. package/dist/configurator/pages/default-elements/built-in-layout-element.d.ts +10 -0
  411. package/dist/configurator/pages/default-elements/built-in-layout-element.js +1 -0
  412. package/dist/configurator/pages/default-elements/domain-control-elements.d.ts +6 -0
  413. package/dist/configurator/pages/default-elements/domain-control-elements.js +1 -0
  414. package/dist/configurator/pages/default-elements/index.d.ts +5 -0
  415. package/dist/configurator/pages/default-elements/index.js +1 -0
  416. package/dist/configurator/pages/default-elements/recipe-panel-elements.d.ts +3 -0
  417. package/dist/configurator/pages/default-elements/recipe-panel-elements.js +1 -0
  418. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.d.ts +3 -0
  419. package/dist/configurator/pages/default-elements/scene-controls/BuiltInAddEntityFab.js +1 -0
  420. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.d.ts +3 -0
  421. package/dist/configurator/pages/default-elements/scene-controls/BuiltInDeleteEntityFab.js +1 -0
  422. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.d.ts +3 -0
  423. package/dist/configurator/pages/default-elements/scene-controls/BuiltInNavigationHotspot.js +1 -0
  424. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.d.ts +3 -0
  425. package/dist/configurator/pages/default-elements/scene-controls/BuiltInSelectionHotspot.js +1 -0
  426. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.d.ts +3 -0
  427. package/dist/configurator/pages/default-elements/scene-controls/BuiltInToolMenuFab.js +1 -0
  428. package/dist/configurator/pages/default-elements/scene-controls/index.d.ts +6 -0
  429. package/dist/configurator/pages/default-elements/scene-controls/index.js +1 -0
  430. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.d.ts +6 -0
  431. package/dist/configurator/pages/default-elements/scene-controls/scene-control-elements.js +1 -0
  432. package/dist/configurator/pages/default-elements/sidebar-footer-elements.d.ts +7 -0
  433. package/dist/configurator/pages/default-elements/sidebar-footer-elements.js +1 -0
  434. package/dist/configurator/pages/default-elements/toolbar-elements.d.ts +7 -0
  435. package/dist/configurator/pages/default-elements/toolbar-elements.js +1 -0
  436. package/dist/configurator/pages/error-boundaries/GeneralErrorBoundary.js +1 -1
  437. package/dist/configurator/pages/error-boundaries/LoadingErrorBoundary.js +1 -1
  438. package/dist/configurator/pages/index.d.ts +1 -0
  439. package/dist/configurator/pages/index.js +1 -1
  440. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.d.ts +4 -0
  441. package/dist/configurator/preset-screen-elements/PresetDeviceNotSupportedElement.js +1 -0
  442. package/dist/configurator/preset-screen-elements/PresetPageActionElement.d.ts +4 -0
  443. package/dist/configurator/preset-screen-elements/PresetPageActionElement.js +1 -0
  444. package/dist/configurator/preset-screen-elements/index.d.ts +2 -0
  445. package/dist/configurator/preset-screen-elements/index.js +1 -0
  446. package/dist/configurator/scene/index.d.ts +1 -0
  447. package/dist/configurator/scene/index.js +1 -1
  448. package/dist/configurator/scene/scene-controls/DeleteEntityFab.js +1 -1
  449. package/dist/configurator/scene/scene-controls/SelectionHotspot.js +1 -1
  450. package/dist/configurator/scene/scene-controls/ToolFab.d.ts +4 -0
  451. package/dist/configurator/scene/scene-controls/ToolFab.js +1 -1
  452. package/dist/configurator/scene/scene-controls/hotspot-drag-handle/HotspotDragHandle.d.ts +1 -1
  453. package/dist/configurator/scene/scene-controls/hotspot-drag-handle/HotspotDragSceneHandle.d.ts +1 -1
  454. package/dist/configurator/scene/scene-controls/use-scene-control-tooltip.d.ts +2 -1
  455. package/dist/configurator/scene/scene-entity/dimension-indicators/DimensionIndicator.d.ts +1 -1
  456. package/dist/configurator/scene/scene-entity/dimension-indicators/DimensionIndicatorInternal.d.ts +1 -1
  457. package/dist/configurator/scene/scene-entity/drag-and-drop/shared.d.ts +2 -2
  458. package/dist/configurator/scene/scene-entity/drag-and-drop/use-drag-object.d.ts +1 -1
  459. package/dist/configurator/scene/scene-entity/materials/RemoteReplacedMaterial.js +1 -1
  460. package/dist/configurator/scene/scene-entity/objects/SceneEntityObjectTextDecal.d.ts +1 -1
  461. package/dist/configurator/scene/scene-entity/scene-controls/SceneEntityHtmlHotspots.js +1 -1
  462. package/dist/configurator/toolbar-actions/index.d.ts +3 -0
  463. package/dist/configurator/toolbar-actions/index.js +1 -0
  464. package/dist/configurator/toolbar-actions/use-assistant-panel.d.ts +18 -0
  465. package/dist/configurator/toolbar-actions/use-assistant-panel.js +1 -0
  466. package/dist/configurator/toolbar-actions/use-measurements.d.ts +35 -0
  467. package/dist/configurator/toolbar-actions/use-measurements.js +1 -0
  468. package/dist/configurator/toolbar-actions/use-toolbar-actions.d.ts +100 -0
  469. package/dist/configurator/toolbar-actions/use-toolbar-actions.js +1 -0
  470. package/dist/configurator/toolbar-actions/use-toolbar-help.d.ts +7 -0
  471. package/dist/configurator/toolbar-actions/use-toolbar-help.js +1 -0
  472. package/dist/configurator/ui/assistant/AssistantChips.d.ts +10 -3
  473. package/dist/configurator/ui/assistant/AssistantChips.js +1 -1
  474. package/dist/configurator/ui/assistant/AssistantComposer.d.ts +2 -1
  475. package/dist/configurator/ui/assistant/AssistantComposer.js +1 -1
  476. package/dist/configurator/ui/assistant/AssistantMarkdown.d.ts +7 -2
  477. package/dist/configurator/ui/assistant/AssistantMarkdown.js +1 -1
  478. package/dist/configurator/ui/assistant/AssistantPanel.js +1 -1
  479. package/dist/configurator/ui/assistant/AssistantThread.d.ts +6 -2
  480. package/dist/configurator/ui/assistant/AssistantThread.js +1 -1
  481. package/dist/configurator/ui/assistant/alert/AssistantAlert.d.ts +8 -0
  482. package/dist/configurator/ui/assistant/alert/AssistantAlert.js +1 -0
  483. package/dist/configurator/ui/assistant/alert/index.d.ts +2 -0
  484. package/dist/configurator/ui/assistant/alert/index.js +1 -0
  485. package/dist/configurator/ui/assistant/alert/remark-alerts.d.ts +10 -0
  486. package/dist/configurator/ui/assistant/alert/remark-alerts.js +1 -0
  487. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.d.ts +13 -0
  488. package/dist/configurator/ui/assistant/entity-link/AssistantEntityLink.js +1 -0
  489. package/dist/configurator/ui/assistant/entity-link/entity-link-selection.d.ts +22 -0
  490. package/dist/configurator/ui/assistant/entity-link/entity-link-selection.js +1 -0
  491. package/dist/configurator/ui/assistant/entity-link/entity-link-state.d.ts +27 -0
  492. package/dist/configurator/ui/assistant/entity-link/entity-link-state.js +1 -0
  493. package/dist/configurator/ui/assistant/entity-link/index.d.ts +2 -0
  494. package/dist/configurator/ui/assistant/entity-link/index.js +1 -0
  495. package/dist/configurator/ui/assistant/form/AssistantForm.d.ts +19 -0
  496. package/dist/configurator/ui/assistant/form/AssistantForm.js +1 -0
  497. package/dist/configurator/ui/assistant/form/compose-answer.d.ts +11 -0
  498. package/dist/configurator/ui/assistant/form/compose-answer.js +1 -0
  499. package/dist/configurator/ui/assistant/form/describe-build-errors.d.ts +6 -0
  500. package/dist/configurator/ui/assistant/form/describe-build-errors.js +1 -0
  501. package/dist/configurator/ui/assistant/form/form-model.d.ts +37 -0
  502. package/dist/configurator/ui/assistant/form/form-state.d.ts +4 -0
  503. package/dist/configurator/ui/assistant/form/index.d.ts +4 -0
  504. package/dist/configurator/ui/assistant/form/index.js +1 -0
  505. package/dist/configurator/ui/assistant/form/parse-form-block.d.ts +10 -0
  506. package/dist/configurator/ui/assistant/form/parse-form-block.js +1 -0
  507. package/dist/configurator/ui/assistant/form/read-form-attributes.d.ts +13 -0
  508. package/dist/configurator/ui/assistant/form/read-form-attributes.js +1 -0
  509. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.d.ts +3 -0
  510. package/dist/configurator/ui/assistant/form/registry/built-in-form-elements.js +1 -0
  511. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.d.ts +31 -0
  512. package/dist/configurator/ui/assistant/form/registry/create-assistant-form-element.js +1 -0
  513. package/dist/configurator/ui/assistant/form/registry/form-element-definition.d.ts +16 -0
  514. package/dist/configurator/ui/assistant/form/registry/form-element-definition.js +1 -0
  515. package/dist/configurator/ui/assistant/form/registry/form-registry.d.ts +31 -0
  516. package/dist/configurator/ui/assistant/form/registry/form-registry.js +1 -0
  517. package/dist/configurator/ui/assistant/form/registry/index.d.ts +6 -0
  518. package/dist/configurator/ui/assistant/form/registry/index.js +1 -0
  519. package/dist/configurator/ui/assistant/form/registry/use-form-registry.d.ts +8 -0
  520. package/dist/configurator/ui/assistant/form/registry/use-form-registry.js +1 -0
  521. package/dist/configurator/ui/assistant/form-elements/FormCard.d.ts +9 -0
  522. package/dist/configurator/ui/assistant/form-elements/FormCard.js +1 -0
  523. package/dist/configurator/ui/assistant/form-elements/FormConfirm.d.ts +9 -0
  524. package/dist/configurator/ui/assistant/form-elements/FormConfirm.js +1 -0
  525. package/dist/configurator/ui/assistant/form-elements/FormGroup.d.ts +6 -0
  526. package/dist/configurator/ui/assistant/form-elements/FormGroup.js +1 -0
  527. package/dist/configurator/ui/assistant/form-elements/FormNumber.d.ts +9 -0
  528. package/dist/configurator/ui/assistant/form-elements/FormNumber.js +1 -0
  529. package/dist/configurator/ui/assistant/form-elements/FormOptions.d.ts +6 -0
  530. package/dist/configurator/ui/assistant/form-elements/FormOptions.js +1 -0
  531. package/dist/configurator/ui/assistant/form-elements/FormReply.d.ts +6 -0
  532. package/dist/configurator/ui/assistant/form-elements/FormReply.js +1 -0
  533. package/dist/configurator/ui/assistant/form-elements/FormSwatch.d.ts +10 -0
  534. package/dist/configurator/ui/assistant/form-elements/FormSwatch.js +1 -0
  535. package/dist/configurator/ui/assistant/form-elements/FormText.d.ts +6 -0
  536. package/dist/configurator/ui/assistant/form-elements/FormText.js +1 -0
  537. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.d.ts +10 -0
  538. package/dist/configurator/ui/assistant/form-elements/clamp-form-number.js +1 -0
  539. package/dist/configurator/ui/assistant/form-elements/form-element-props.d.ts +38 -0
  540. package/dist/configurator/ui/assistant/form-elements/index.d.ts +9 -0
  541. package/dist/configurator/ui/assistant/form-elements/index.js +1 -0
  542. package/dist/configurator/ui/assistant/index.d.ts +3 -0
  543. package/dist/configurator/ui/assistant/index.js +1 -1
  544. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.d.ts +16 -0
  545. package/dist/configurator/ui/assistant/reference-link/AssistantReferenceLink.js +1 -0
  546. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.d.ts +34 -0
  547. package/dist/configurator/ui/assistant/reference-link/assistant-link-target.js +1 -0
  548. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.d.ts +25 -0
  549. package/dist/configurator/ui/assistant/reference-link/assistant-reference-details.js +1 -0
  550. package/dist/configurator/ui/assistant/reference-link/index.d.ts +3 -0
  551. package/dist/configurator/ui/assistant/reference-link/index.js +1 -0
  552. package/dist/configurator/ui/assistant/reference-link/reference-styles.d.ts +12 -0
  553. package/dist/configurator/ui/assistant/reference-link/reference-styles.js +1 -0
  554. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.d.ts +8 -0
  555. package/dist/configurator/ui/assistant/reference-link/use-assistant-reference-details.js +1 -0
  556. package/dist/configurator/ui/assistant/resource-image/AssistantImage.d.ts +9 -0
  557. package/dist/configurator/ui/assistant/resource-image/AssistantImage.js +1 -0
  558. package/dist/configurator/ui/assistant/resource-image/index.d.ts +3 -0
  559. package/dist/configurator/ui/assistant/resource-image/index.js +1 -0
  560. package/dist/configurator/ui/assistant/resource-image/resource-path.d.ts +2 -0
  561. package/dist/configurator/ui/assistant/resource-image/resource-path.js +1 -0
  562. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.d.ts +5 -0
  563. package/dist/configurator/ui/assistant/resource-image/use-resource-image-url.js +1 -0
  564. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.d.ts +9 -0
  565. package/dist/configurator/ui/assistant/screenshots/ScreenshotThumbnails.js +1 -0
  566. package/dist/configurator/ui/assistant/screenshots/index.d.ts +2 -0
  567. package/dist/configurator/ui/assistant/screenshots/index.js +1 -0
  568. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.d.ts +14 -0
  569. package/dist/configurator/ui/assistant/screenshots/tool-screenshots.js +1 -0
  570. package/dist/configurator/ui/assistant/streamed-markdown.d.ts +4 -2
  571. package/dist/configurator/ui/assistant/streamed-markdown.js +2 -2
  572. package/dist/configurator/ui/assistant/thread-items.d.ts +21 -3
  573. package/dist/configurator/ui/assistant/thread-items.js +1 -1
  574. package/dist/configurator/ui/assistant/tool-chip.js +1 -1
  575. package/dist/configurator/ui/assistant/use-follow-stream.js +1 -1
  576. package/dist/configurator/ui/configurator-layout/sidebar-keys/index.d.ts +1 -0
  577. package/dist/configurator/ui/configurator-layout/sidebar-keys/index.js +1 -0
  578. package/dist/configurator/ui/configurator-layout/sidebar-keys/sidebar-keys.d.ts +11 -0
  579. package/dist/configurator/ui/configurator-layout/sidebar-keys/sidebar-keys.js +1 -0
  580. package/dist/configurator/ui/configurator-layout/slots/canvas/LayoutCanvas.js +1 -1
  581. package/dist/configurator/ui/configurator-layout/slots/canvas/SharedCanvas.js +1 -1
  582. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.d.ts +101 -0
  583. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/DesktopSidebar.js +16 -0
  584. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/index.d.ts +1 -0
  585. package/dist/configurator/ui/configurator-layout/slots/desktop-sidebar/index.js +1 -0
  586. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.d.ts +1 -1
  587. package/dist/configurator/ui/configurator-layout/slots/mobile-tabs/use-mobile-tabs.js +1 -1
  588. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.d.ts +4 -4
  589. package/dist/configurator/ui/configurator-layout/slots/services/InvariantViolations.js +1 -1
  590. package/dist/configurator/ui/configurator-layout/slots/services/Services.js +1 -1
  591. package/dist/configurator/ui/configurator-layout/slots/services/SideEffects.d.ts +3 -6
  592. package/dist/configurator/ui/configurator-layout/slots/services/SideEffects.js +1 -1
  593. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.d.ts +1 -1
  594. package/dist/configurator/ui/configurator-layout/slots/sidebar-tabs/use-sidebar-tabs.js +1 -1
  595. package/dist/configurator/ui/configurator-layout/slots/slots.d.ts +1 -0
  596. package/dist/configurator/ui/configurator-layout/slots/slots.js +1 -1
  597. package/dist/configurator/ui/configurator-layout/universal/DesktopLayout.d.ts +0 -74
  598. package/dist/configurator/ui/configurator-layout/universal/DesktopLayout.js +5 -20
  599. package/dist/configurator/ui/configurator-layout/universal/DesktopPreview.js +1 -1
  600. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.d.ts +5 -0
  601. package/dist/configurator/ui/configurator-layout/universal/ExportingOverlay.js +1 -0
  602. package/dist/configurator/ui/configurator-layout/universal/Layout.js +1 -1
  603. package/dist/configurator/ui/configurator-layout/universal/MobileLayout.js +4 -4
  604. package/dist/configurator/ui/configurator-layout/universal/MobilePreview.js +1 -1
  605. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.d.ts +47 -0
  606. package/dist/configurator/ui/configurator-layout/universal/use-layout-scene-safe-area.js +1 -0
  607. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.d.ts +11 -26
  608. package/dist/configurator/ui/configurator-layout/universal/use-scene-safe-area.js +1 -1
  609. package/dist/configurator/ui/index.d.ts +1 -0
  610. package/dist/configurator/ui/index.js +1 -1
  611. package/dist/configurator/ui/legacy/layout/common/CommonFinalizeButton.js +1 -1
  612. package/dist/configurator/ui/legacy/layout/common/CommonSummaryButton.js +1 -1
  613. package/dist/configurator/ui/legacy/layout/common/CommonTopNavigation.js +1 -1
  614. package/dist/configurator/ui/legacy/layout/common/ReactiveInterfaceLayout.js +1 -1
  615. package/dist/configurator/ui/legacy/layout/common/ResponsiveFinalizeButton.js +1 -1
  616. package/dist/configurator/ui/legacy/layout/common/SummaryReadLayout.js +1 -1
  617. package/dist/configurator/ui/legacy/layout/simple/SimpleOwnerLayout.js +1 -1
  618. package/dist/configurator/ui/legacy/layout/simple/SimpleTopNavigation.js +1 -1
  619. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.d.ts +2 -2
  620. package/dist/configurator/ui/legacy/layout/steps/StepsNavigation.js +1 -1
  621. package/dist/configurator/ui/legacy/layout/steps/StepsOwnerLayout.js +1 -1
  622. package/dist/configurator/ui/legacy/layout/steps/StepsSidebarFooter.js +1 -1
  623. package/dist/configurator/ui/legacy/layout/tabs/TabsOwnerLayout.js +1 -1
  624. package/dist/configurator/ui/legacy/toolbar/common/DimensionUnitSelector.js +1 -1
  625. package/dist/configurator/ui/legacy/toolbar/common/MeasurementsIndicatorsSwitch.js +1 -1
  626. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/FullscreenToolbarAction.js +1 -1
  627. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/HelpToolbarAction.js +1 -1
  628. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/MeasurementsToolbarAction.js +1 -1
  629. package/dist/configurator/ui/legacy/toolbar/desktop-toolbar/UndoRedoToolbarGroup.js +1 -1
  630. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.d.ts +0 -7
  631. package/dist/configurator/ui/phoenix-layout-elements/AppLoader.js +2 -6
  632. package/dist/configurator/ui/phoenix-layout-elements/AssistantToolbarButton.js +1 -1
  633. package/dist/configurator/ui/phoenix-layout-elements/EnterFullscreenToolbarButton.js +1 -1
  634. package/dist/configurator/ui/phoenix-layout-elements/ExitFullscreenToolbarButton.js +1 -1
  635. package/dist/configurator/ui/phoenix-layout-elements/HelpToolbarButton.js +1 -1
  636. package/dist/configurator/ui/phoenix-layout-elements/LanguageMenuAction.js +1 -1
  637. package/dist/configurator/ui/phoenix-layout-elements/LanguageToolbarButton.js +1 -1
  638. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.d.ts +1 -0
  639. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomOwnerUi.js +1 -1
  640. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.d.ts +1 -0
  641. package/dist/configurator/ui/phoenix-layout-elements/LayoutCustomReadUi.js +1 -1
  642. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsMenuAction.js +1 -1
  643. package/dist/configurator/ui/phoenix-layout-elements/MeasurementsToolbarButton.js +1 -1
  644. package/dist/configurator/ui/phoenix-layout-elements/RedoToolbarButton.js +1 -1
  645. package/dist/configurator/ui/phoenix-layout-elements/ShareToolbarButton.js +1 -1
  646. package/dist/configurator/ui/phoenix-layout-elements/UndoToolbarButton.js +1 -1
  647. package/dist/configurator/ui/phoenix-layout-elements/header/common/back-button/use-go-back-action.js +1 -1
  648. package/dist/configurator/ui/phoenix-layout-elements/header/common/horizontal-tabs/DesktopHorizontalTabs.js +1 -1
  649. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.d.ts +1 -1
  650. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/DesktopNavigationSteps.js +1 -1
  651. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.d.ts +2 -8
  652. package/dist/configurator/ui/phoenix-layout-elements/header/common/step-navigation/StepsNavigation.js +1 -1
  653. package/dist/configurator/ui/phoenix-layout-elements/index.d.ts +8 -1
  654. package/dist/configurator/ui/phoenix-layout-elements/index.js +1 -1
  655. package/dist/configurator/ui/phoenix-layout-elements/measurements/DimensionUnitSelector.js +1 -1
  656. package/dist/configurator/ui/phoenix-layout-elements/measurements/MeasurementsIndicatorsSwitch.js +1 -1
  657. package/dist/configurator/ui/phoenix-layout-elements/share/ShareModal.js +1 -1
  658. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.d.ts +7 -8
  659. package/dist/configurator/ui/phoenix-layout-elements/share/use-share.js +1 -1
  660. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/basic/BasicFinalizeButton.js +1 -1
  661. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/CustomFinalizeButton.js +1 -1
  662. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/EnterSummaryButton.js +1 -1
  663. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/FinalizeActions.js +1 -1
  664. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/NextStepButton.js +1 -1
  665. package/dist/configurator/ui/phoenix-layout-elements/sidebar-footer/common/PreviousStepButton.js +1 -1
  666. package/dist/configurator/ui/preset-layout/CategoryPresetUi.js +1 -1
  667. package/dist/configurator/ui/preset-layout/PresetUi.d.ts +4 -2
  668. package/dist/configurator/ui/preset-layout/PresetUi.js +1 -1
  669. package/dist/configurator/ui/preset-layout/index.d.ts +6 -1
  670. package/dist/configurator/ui/preset-layout/index.js +1 -1
  671. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.d.ts +10 -0
  672. package/dist/configurator/ui/save-message-snackbars/SaveMessageSnackbars.js +1 -0
  673. package/dist/configurator/ui/save-message-snackbars/index.d.ts +1 -0
  674. package/dist/configurator/ui/save-message-snackbars/index.js +1 -0
  675. package/dist/docs/complex-use-cases/filtered-controls-with-fix-dialog.mdx +100 -117
  676. package/dist/docs/complex-use-cases/focus-mode.mdx +2 -0
  677. package/dist/docs/complex-use-cases/navigation-reset-selection.mdx +18 -12
  678. package/dist/docs/complex-use-cases/sketching.mdx +0 -38
  679. package/dist/docs/controls/select-attribute/cardselect.mdx +9 -13
  680. package/dist/docs/controls/select-child-entity/cardselect.mdx +1 -0
  681. package/dist/docs/dimensions/3d-scene-integration/dimension-indicators.mdx +2 -2
  682. package/dist/docs/dimensions/3d-scene-integration/editable-angle-indicator.mdx +1 -1
  683. package/dist/docs/dimensions/3d-scene-integration/editable-distance-dimension-indicator.mdx +1 -1
  684. package/dist/docs/dimensions/3d-scene-integration/list-selector-dimension-indicator.mdx +1 -1
  685. package/dist/docs/drag-and-drop/drag-handle.mdx +1 -1
  686. package/dist/docs/drag-and-drop/hotspot-handle.mdx +1 -1
  687. package/dist/docs/drag-and-drop/planes.mdx +1 -1
  688. package/dist/docs/drag-and-drop/rotatable.mdx +2 -2
  689. package/dist/docs/fabs/basic.mdx +6 -2
  690. package/dist/docs/index.json +136 -1
  691. package/dist/docs/integrations/webcomponent-api/basics.mdx +2 -0
  692. package/dist/docs/integrations/woocommerce/local-development.mdx +1 -1
  693. package/dist/docs/layouts/custom-layout.mdx +2597 -0
  694. package/dist/docs/layouts/custom-price.mdx +14 -16
  695. package/dist/docs/layouts/gallery/ardent-compressor.mdx +3516 -0
  696. package/dist/docs/layouts/gallery/corvid-drone.mdx +3428 -0
  697. package/dist/docs/layouts/gallery/fenwick-window.mdx +2803 -0
  698. package/dist/docs/layouts/gallery/ferrule-bar-station.mdx +6567 -0
  699. package/dist/docs/layouts/gallery/kestrel-kettle.mdx +1858 -0
  700. package/dist/docs/layouts/gallery/nightjar-guitar.mdx +3698 -0
  701. package/dist/docs/layouts/gallery/sunfold-solar.mdx +2683 -0
  702. package/dist/docs/layouts/gallery/tidepool-aquascape.mdx +5203 -0
  703. package/dist/docs/layouts/header/fixed.mdx +2 -2
  704. package/dist/docs/layouts/header/floating.mdx +2 -2
  705. package/dist/docs/layouts/sidebar/in-a-custom-layout.mdx +380 -0
  706. package/dist/docs/layouts/sidebar/tabs.mdx +24 -21
  707. package/dist/docs/layouts/sidebar-footer/basic.mdx +32 -77
  708. package/dist/docs/other-features/client-side-rendering/declarative.mdx +2 -2
  709. package/dist/docs/other-features/domain-actions.mdx +1 -1
  710. package/dist/docs/other-features/error-5xx.mdx +1 -1
  711. package/dist/docs/other-features/navigation-hotspot.mdx +2 -0
  712. package/dist/docs/other-features/not-found-404.mdx +1 -1
  713. package/dist/docs/other-features/side-effects.mdx +50 -45
  714. package/dist/docs/other-features/transformers.mdx +5 -1
  715. package/dist/docs/other-features/violation-messages.mdx +52 -56
  716. package/dist/docs/phoenix/admin.mdx +9 -24
  717. package/dist/docs/phoenix/application-states.mdx +9 -7
  718. package/dist/docs/phoenix/clerk-sign-in.mdx +1 -1
  719. package/dist/docs/phoenix/components.mdx +6 -0
  720. package/dist/docs/phoenix/configurator-interface.mdx +402 -81
  721. package/dist/docs/phoenix/deployments.mdx +3 -7
  722. package/dist/docs/phoenix/domain-model.mdx +6 -0
  723. package/dist/docs/phoenix/expression-context.mdx +11 -3
  724. package/dist/docs/phoenix/finalization.mdx +1 -1
  725. package/dist/docs/phoenix/getting-started.mdx +7 -4
  726. package/dist/docs/phoenix/layout-slots.mdx +116 -0
  727. package/dist/docs/phoenix/localization.mdx +13 -28
  728. package/dist/docs/phoenix/migration-guide.mdx +24 -11
  729. package/dist/docs/phoenix/phoenix-cli.mdx +112 -65
  730. package/dist/docs/phoenix/project-structure.mdx +85 -35
  731. package/dist/docs/phoenix/quickstart.mdx +9 -9
  732. package/dist/docs/phoenix/sdk-builder-workflow.mdx +15 -15
  733. package/dist/docs/phoenix/sessions-and-access.mdx +2 -0
  734. package/dist/docs/phoenix/testing.mdx +148 -0
  735. package/dist/docs/phoenix/webhook-membership.mdx +10 -9
  736. package/dist/docs/phoenix/webhooks.mdx +23 -6
  737. package/dist/docs/recipes-and-delete/recipe-hierarchy-selection.mdx +15 -13
  738. package/dist/docs/relations/hierarchy.mdx +13 -2
  739. package/dist/docs/selection-and-highlight/hotspots.mdx +2 -0
  740. package/dist/docs/ux-guidelines/choosing-a-control.mdx +11 -0
  741. package/dist/domain/admin-domain/__generated/enhanced-model.d.ts +1 -2
  742. package/dist/domain/admin-domain/__generated/model/versions/v1.d.ts +1 -1
  743. package/dist/domain/admin-domain/__generated/model/versions/v2.d.ts +1 -1
  744. package/dist/domain/admin-domain/__generated/model/versions/v3.d.ts +1 -1
  745. package/dist/domain/admin-domain/__generated/model/versions/v4.d.ts +1 -1
  746. package/dist/domain/admin-domain/__generated/model/versions/v5.d.ts +1 -1
  747. package/dist/domain/admin-domain/__generated/model/versions/v6.d.ts +2 -2
  748. package/dist/domain/admin-domain/__generated/model/versions/v6.js +1 -1
  749. package/dist/domain/admin-domain/implementation/common-admin-expressions.d.ts +26 -14
  750. package/dist/domain/admin-domain/implementation/common-admin-migrations.d.ts +1 -1
  751. package/dist/domain/admin-domain/implementation/common-admin-publish.d.ts +1 -2
  752. package/dist/domain/admin-domain/index.d.ts +9 -5
  753. package/dist/domain/admin-domain/index.js +1 -1
  754. package/dist/domain/application/GetApplicationWrapperHandler.d.ts +2 -2
  755. package/dist/domain/application/GetThemeHandler.d.ts +1 -1
  756. package/dist/domain/application/GetWebComponentOptions.d.ts +1 -1
  757. package/dist/domain/application/admin-page-factories.d.ts +1 -2
  758. package/dist/domain/application/application-config.d.ts +28 -35
  759. package/dist/domain/application/assistant/assistant-fields.d.ts +12 -0
  760. package/dist/domain/application/assistant/assistant-fields.js +1 -0
  761. package/dist/domain/application/assistant/assistant-manifest.d.ts +27 -2
  762. package/dist/domain/application/assistant/assistant-resolved-manifest.d.ts +46 -3
  763. package/dist/domain/application/assistant/assistant-resolved-manifest.js +1 -1
  764. package/dist/domain/application/assistant/assistant-value-type.js +1 -1
  765. package/dist/domain/application/assistant/build-assistant-lenses.d.ts +14 -0
  766. package/dist/domain/application/assistant/build-assistant-lenses.js +5 -0
  767. package/dist/domain/application/assistant/build-assistant-manifest.js +1 -1
  768. package/dist/domain/application/assistant/create-assistant-execution-schema.d.ts +32 -0
  769. package/dist/domain/application/assistant/create-assistant-execution-schema.js +1 -0
  770. package/dist/domain/application/assistant/form/assistant-form-element-name.d.ts +11 -0
  771. package/dist/domain/application/assistant/form/assistant-form-element-name.js +8 -0
  772. package/dist/domain/application/assistant/form/assistant-form-elements.d.ts +174 -0
  773. package/dist/domain/application/assistant/form/assistant-form-elements.js +1 -0
  774. package/dist/domain/application/assistant/form/assistant-resource-path.d.ts +10 -0
  775. package/dist/domain/application/assistant/form/assistant-resource-path.js +1 -0
  776. package/dist/domain/application/assistant/form/index.d.ts +4 -0
  777. package/dist/domain/application/assistant/form/index.js +1 -0
  778. package/dist/domain/application/assistant/generate-assistant-prompt.d.ts +4 -11
  779. package/dist/domain/application/assistant/generate-assistant-prompt.js +1 -1
  780. package/dist/domain/application/assistant/index.d.ts +8 -2
  781. package/dist/domain/application/assistant/index.js +1 -1
  782. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.d.ts +20 -0
  783. package/dist/domain/application/assistant/session-setup/AssistantSetupHandler.js +1 -0
  784. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.d.ts +10 -0
  785. package/dist/domain/application/assistant/session-setup/apply-assistant-setup.js +1 -0
  786. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.d.ts +50 -0
  787. package/dist/domain/application/assistant/session-setup/assistant-setup-manifest.js +1 -0
  788. package/dist/domain/application/assistant/session-setup/create-session-assistant.d.ts +15 -0
  789. package/dist/domain/application/assistant/session-setup/create-session-assistant.js +1 -0
  790. package/dist/domain/application/assistant/session-setup/index.d.ts +4 -0
  791. package/dist/domain/application/assistant/session-setup/index.js +1 -0
  792. package/dist/domain/application/assistant-field-options.d.ts +1 -2
  793. package/dist/domain/application/assistant-mutations.d.ts +2 -4
  794. package/dist/domain/application/assistant-mutations.js +1 -1
  795. package/dist/domain/application/assistant-recipe-groups.d.ts +5 -7
  796. package/dist/domain/application/configurator-builder.d.ts +34 -17
  797. package/dist/domain/application/configurator-builder.js +1 -1
  798. package/dist/domain/application/create-initial-published-data.d.ts +6 -7
  799. package/dist/domain/application/index.d.ts +2 -6
  800. package/dist/domain/application/index.js +1 -1
  801. package/dist/domain/application/published-data/DataRowValidatorHandler.d.ts +1 -1
  802. package/dist/domain/application/published-data/FilterPublishedChunksHandler.d.ts +1 -1
  803. package/dist/domain/application/published-data/MapPublishedChunkedDataHandler.d.ts +1 -1
  804. package/dist/domain/application/published-data/MapPublishedRevisionDataHandler.d.ts +1 -1
  805. package/dist/domain/application/published-data/SheetValidatorHandler.d.ts +1 -1
  806. package/dist/domain/application/published-data/build-legend-data.d.ts +1 -1
  807. package/dist/domain/application/published-data/create-finalize-admin-domain.d.ts +1 -2
  808. package/dist/domain/application/published-data/format-field-type.d.ts +1 -1
  809. package/dist/domain/application/published-data/map-data-to-sheet.d.ts +1 -1
  810. package/dist/domain/application/published-data/map-published-chunked-data.d.ts +3 -3
  811. package/dist/domain/application/published-data/map-published-data.d.ts +7 -4
  812. package/dist/domain/application/published-data/validate-sheet-data.d.ts +1 -1
  813. package/dist/domain/application/standard-properties.js +1 -1
  814. package/dist/domain/application/web-component-property.d.ts +3 -1
  815. package/dist/domain/application/web-component-property.js +1 -1
  816. package/dist/domain/available-system-components.d.ts +1 -1
  817. package/dist/domain/available-system-components.js +1 -1
  818. package/dist/domain/core/action/action-factory.d.ts +11 -0
  819. package/dist/domain/core/action/action.d.ts +71 -0
  820. package/dist/domain/core/action/index.d.ts +2 -0
  821. package/dist/domain/core/action/index.js +1 -0
  822. package/dist/domain/core/component/component-reader-types.d.ts +43 -0
  823. package/dist/domain/core/component/component-reader-types.js +1 -0
  824. package/dist/domain/core/component/debug-state-component.d.ts +14 -0
  825. package/dist/domain/core/component/debug-state-component.js +1 -0
  826. package/dist/domain/core/component/domain-component-optic.d.ts +65 -0
  827. package/dist/domain/core/component/domain-component-optic.js +16 -0
  828. package/dist/domain/core/component/drag-state-component.d.ts +16 -0
  829. package/dist/domain/core/component/drag-state-component.js +1 -0
  830. package/dist/domain/core/component/export-state-component.d.ts +15 -0
  831. package/dist/domain/core/component/export-state-component.js +1 -0
  832. package/dist/domain/core/component/fullscreen-state-component.d.ts +14 -0
  833. package/dist/domain/core/component/fullscreen-state-component.js +1 -0
  834. package/dist/domain/core/component/group-components-by-entity-id-and-name.d.ts +8 -0
  835. package/dist/domain/core/component/group-components-by-entity-id-and-name.js +1 -0
  836. package/dist/domain/core/component/hover-state-component.d.ts +14 -0
  837. package/dist/domain/core/component/hover-state-component.js +1 -0
  838. package/dist/domain/core/component/index.d.ts +18 -0
  839. package/dist/domain/core/component/index.js +1 -0
  840. package/dist/domain/core/component/legacy-filter.d.ts +498 -0
  841. package/dist/domain/core/component/navigation-state-component.d.ts +15 -0
  842. package/dist/domain/core/component/navigation-state-component.js +1 -0
  843. package/dist/domain/core/component/selection-state-component.d.ts +14 -0
  844. package/dist/domain/core/component/selection-state-component.js +1 -0
  845. package/dist/domain/core/component/system-component-builder.d.ts +11 -0
  846. package/dist/domain/core/component/system-component-builder.js +1 -0
  847. package/dist/domain/core/component/system-component-filter.d.ts +811 -0
  848. package/dist/domain/core/component/system-virtual-entity.js +1 -0
  849. package/dist/domain/core/component/tool-state-component.d.ts +14 -0
  850. package/dist/domain/core/component/tool-state-component.js +1 -0
  851. package/dist/domain/core/component/updates.d.ts +123 -0
  852. package/dist/domain/core/component/view-state-component.d.ts +14 -0
  853. package/dist/domain/core/component/view-state-component.js +1 -0
  854. package/dist/domain/core/component/viewport-state-component.d.ts +29 -0
  855. package/dist/domain/core/component/viewport-state-component.js +1 -0
  856. package/dist/domain/core/data-schema/data-cell-value.d.ts +4 -0
  857. package/dist/domain/core/data-schema/data-cell-value.js +1 -0
  858. package/dist/domain/core/data-schema/data-schema-array-field.d.ts +5 -0
  859. package/dist/domain/core/data-schema/data-schema-array-field.js +1 -0
  860. package/dist/domain/core/data-schema/data-schema-field-object.d.ts +4 -0
  861. package/dist/domain/core/data-schema/data-schema-field-object.js +1 -0
  862. package/dist/domain/core/data-schema/data-schema-field.d.ts +2 -0
  863. package/dist/domain/core/data-schema/data-schema-field.js +1 -0
  864. package/dist/domain/core/data-schema/data-schema-localized-field.d.ts +4 -0
  865. package/dist/domain/core/data-schema/data-schema-localized-field.js +1 -0
  866. package/dist/domain/core/data-schema/data-schema-primitive-field.d.ts +5 -0
  867. package/dist/domain/core/data-schema/data-schema-primitive-field.js +1 -0
  868. package/dist/domain/core/data-schema/data-schema.d.ts +2 -0
  869. package/dist/domain/core/data-schema/data-schema.js +1 -0
  870. package/dist/domain/core/data-schema/index.d.ts +7 -0
  871. package/dist/domain/core/data-schema/index.js +1 -0
  872. package/dist/domain/core/decoder/create-decoder.d.ts +6 -0
  873. package/dist/domain/core/decoder/create-decoder.js +1 -0
  874. package/dist/domain/core/decoder/decoder.d.ts +6 -0
  875. package/dist/domain/core/decoder/decoder.js +1 -0
  876. package/dist/domain/core/decoder/index.d.ts +2 -0
  877. package/dist/domain/core/decoder/index.js +1 -0
  878. package/dist/domain/core/domain-factory.d.ts +4 -5
  879. package/dist/domain/core/domain-factory.js +1 -1
  880. package/dist/domain/core/domain.d.ts +4 -5
  881. package/dist/domain/core/domain.js +1 -1
  882. package/dist/domain/core/emission/index.d.ts +8 -0
  883. package/dist/domain/core/emission/index.js +1 -0
  884. package/dist/domain/core/emission/reset-state-emission.d.ts +12 -0
  885. package/dist/domain/core/emission/reset-state-emission.js +1 -0
  886. package/dist/domain/core/emission/state-emission.d.ts +4 -0
  887. package/dist/domain/core/emission/state-emission.js +1 -0
  888. package/dist/domain/core/emission/state-update-emission.d.ts +14 -0
  889. package/dist/domain/core/emission/state-update-emission.js +1 -0
  890. package/dist/domain/core/emission/state-validation-result.d.ts +18 -0
  891. package/dist/domain/core/emission/state-validation-result.js +1 -0
  892. package/dist/domain/core/emission/transformation-log.d.ts +2 -0
  893. package/dist/domain/core/emission/transformation-log.js +1 -0
  894. package/dist/domain/core/emission/transformer-log-entry.d.ts +6 -0
  895. package/dist/domain/core/emission/transformer-log-entry.js +1 -0
  896. package/dist/domain/core/emission/transformer-log.d.ts +11 -0
  897. package/dist/domain/core/emission/transformer-log.js +1 -0
  898. package/dist/domain/core/emission/transformer-phase.d.ts +1 -0
  899. package/dist/domain/core/emission/transformer-phase.js +1 -0
  900. package/dist/domain/core/expression/aliased-expressions.d.ts +10 -0
  901. package/dist/domain/core/expression/aliased-expressions.js +1 -0
  902. package/dist/domain/core/expression/constant-expressions.d.ts +16 -0
  903. package/dist/domain/core/expression/constant-expressions.js +1 -0
  904. package/dist/domain/core/expression/custom-expression.d.ts +25 -0
  905. package/dist/domain/core/expression/custom-expression.js +1 -0
  906. package/dist/domain/core/expression/expression.d.ts +46 -0
  907. package/dist/domain/core/expression/expression.js +1 -0
  908. package/dist/domain/core/expression/index.d.ts +4 -0
  909. package/dist/domain/core/expression/index.js +1 -0
  910. package/dist/domain/core/index.d.ts +13 -17
  911. package/dist/domain/core/index.js +1 -1
  912. package/dist/domain/core/invariant/builtin-invariant.d.ts +5 -0
  913. package/dist/domain/core/invariant/custom-invariants.d.ts +13 -0
  914. package/dist/domain/core/invariant/custom-invariants.js +1 -0
  915. package/dist/domain/core/invariant/index.d.ts +5 -0
  916. package/dist/domain/core/invariant/index.js +1 -0
  917. package/dist/domain/core/invariant/invariants.d.ts +10 -0
  918. package/dist/domain/core/invariant/invariants.js +1 -0
  919. package/dist/domain/core/invariant/violation-component.js +1 -0
  920. package/dist/domain/core/invariant/violation.d.ts +133 -0
  921. package/dist/domain/core/invariant/violation.js +1 -0
  922. package/dist/domain/core/model/component.d.ts +46 -0
  923. package/dist/domain/core/model/index.d.ts +6 -0
  924. package/dist/domain/core/model/index.js +1 -0
  925. package/dist/domain/core/model/model.d.ts +127 -0
  926. package/dist/domain/core/model/reflection.d.ts +114 -0
  927. package/dist/domain/core/model/reflection.js +1 -0
  928. package/dist/domain/core/recipe/index.d.ts +1 -0
  929. package/dist/domain/core/recipe/index.js +1 -0
  930. package/dist/domain/core/recipe/recipes.d.ts +23 -0
  931. package/dist/domain/core/recipe/recipes.js +1 -0
  932. package/dist/domain/core/relation/all-of-type-relation.d.ts +19 -0
  933. package/dist/domain/core/relation/all-of-type-relation.js +1 -0
  934. package/dist/domain/core/relation/component-factories.d.ts +14 -0
  935. package/dist/domain/core/relation/component-factories.js +1 -0
  936. package/dist/domain/core/relation/composed-of.d.ts +12 -0
  937. package/dist/domain/core/relation/composed-of.js +1 -0
  938. package/dist/domain/core/relation/direct-relation.d.ts +17 -0
  939. package/dist/domain/core/relation/index.d.ts +8 -0
  940. package/dist/domain/core/relation/index.js +1 -0
  941. package/dist/domain/core/relation/indirect-relation.d.ts +25 -0
  942. package/dist/domain/core/relation/indirect-relation.js +1 -0
  943. package/dist/domain/core/relation/reference-component.d.ts +17 -0
  944. package/dist/domain/core/relation/reference-component.js +1 -0
  945. package/dist/domain/core/relation/reference-field.d.ts +7 -0
  946. package/dist/domain/core/relation/reference-field.js +1 -0
  947. package/dist/domain/core/relation/relation-factory.d.ts +22 -0
  948. package/dist/domain/core/relation/relation-factory.js +1 -0
  949. package/dist/domain/core/schema/enhanced-json-schema.js +1 -0
  950. package/dist/domain/core/schema/extended-schema-validator.js +1 -0
  951. package/dist/domain/core/schema/index.d.ts +3 -0
  952. package/dist/domain/core/schema/index.js +1 -0
  953. package/dist/domain/core/schema/schema-validator.js +1 -0
  954. package/dist/domain/core/state/id-sequence.d.ts +15 -0
  955. package/dist/domain/core/state/id-sequence.js +1 -0
  956. package/dist/domain/core/state/index.d.ts +3 -0
  957. package/dist/domain/core/state/index.js +1 -0
  958. package/dist/domain/core/state/migrations.d.ts +67 -0
  959. package/dist/domain/core/state/migrations.js +1 -0
  960. package/dist/domain/core/state/state.d.ts +9 -0
  961. package/dist/domain/domain-builder.d.ts +17 -11
  962. package/dist/domain/domain-builder.js +1 -1
  963. package/dist/domain/domain-context/action-system/action-system.d.ts +2 -4
  964. package/dist/domain/domain-context/action-system/action-system.js +1 -1
  965. package/dist/domain/domain-context/action-system/index.d.ts +1 -0
  966. package/dist/domain/domain-context/action-system/index.js +1 -0
  967. package/dist/domain/domain-context/analytics-system/index.d.ts +2 -0
  968. package/dist/domain/domain-context/analytics-system/index.js +1 -0
  969. package/dist/domain/domain-context/create-transformer.d.ts +2 -2
  970. package/dist/domain/domain-context/dimension-system/dimension-state.js +1 -1
  971. package/dist/domain/domain-context/dimension-system/dimension-system.d.ts +3 -4
  972. package/dist/domain/domain-context/dimension-system/dimension-system.js +1 -1
  973. package/dist/domain/domain-context/dimension-system/index.d.ts +1 -0
  974. package/dist/domain/domain-context/dimension-system/index.js +1 -0
  975. package/dist/domain/domain-context/domain-context-systems.d.ts +8 -10
  976. package/dist/domain/domain-context/index.d.ts +8 -18
  977. package/dist/domain/domain-context/index.js +1 -1
  978. package/dist/domain/domain-context/navigation-system/index.d.ts +3 -0
  979. package/dist/domain/domain-context/navigation-system/index.js +1 -0
  980. package/dist/domain/domain-context/navigation-system/navigation-system.d.ts +5 -8
  981. package/dist/domain/domain-context/navigation-system/navigation-system.js +1 -1
  982. package/dist/domain/domain-context/navigation-system/navigation-updates.d.ts +1 -12
  983. package/dist/domain/domain-context/navigation-system/navigation-updates.js +1 -1
  984. package/dist/domain/domain-context/navigation-system/selection-transformers.d.ts +2 -2
  985. package/dist/domain/domain-context/navigation-system/selection-transformers.js +1 -1
  986. package/dist/domain/domain-context/recipe-system/index.d.ts +1 -0
  987. package/dist/domain/domain-context/recipe-system/index.js +1 -0
  988. package/dist/domain/domain-context/recipe-system/recipe-cooker-system.d.ts +2 -4
  989. package/dist/domain/domain-context/recipe-system/recipe-cooker-system.js +1 -1
  990. package/dist/domain/domain-context/relation-transformers/cascade-deletes.d.ts +3 -3
  991. package/dist/domain/domain-context/relation-transformers/cascade-deletes.js +1 -1
  992. package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.d.ts +3 -3
  993. package/dist/domain/domain-context/relation-transformers/cascade-ref-pruning.js +1 -1
  994. package/dist/domain/domain-context/relation-transformers/create-entity-refs.d.ts +3 -3
  995. package/dist/domain/domain-context/relation-transformers/create-entity-refs.js +2 -2
  996. package/dist/domain/domain-context/relation-transformers/index.d.ts +4 -0
  997. package/dist/domain/domain-context/relation-transformers/index.js +1 -0
  998. package/dist/domain/domain-context/relation-transformers/replace-refs.d.ts +3 -3
  999. package/dist/domain/domain-context/relation-transformers/replace-refs.js +1 -1
  1000. package/dist/domain/domain-context/store-system/apply-updates.d.ts +1 -3
  1001. package/dist/domain/domain-context/store-system/apply-updates.js +1 -1
  1002. package/dist/domain/domain-context/store-system/index.d.ts +4 -0
  1003. package/dist/domain/domain-context/store-system/index.js +1 -0
  1004. package/dist/domain/domain-context/store-system/next-domain-entity-id.d.ts +1 -13
  1005. package/dist/domain/domain-context/store-system/next-domain-entity-id.js +1 -1
  1006. package/dist/domain/domain-context/store-system/reconcile-projected-entities.d.ts +1 -2
  1007. package/dist/domain/domain-context/store-system/reconcile-projected-entities.js +1 -1
  1008. package/dist/domain/domain-context/store-system/store-system.d.ts +7 -39
  1009. package/dist/domain/domain-context/store-system/store-system.js +2 -2
  1010. package/dist/domain/domain-context/store-system/system-state.d.ts +2 -4
  1011. package/dist/domain/domain-context/store-system/system-state.js +1 -1
  1012. package/dist/domain/domain-context/transformers/actions-builder.d.ts +1 -2
  1013. package/dist/domain/domain-context/transformers/actions-builder.js +1 -1
  1014. package/dist/domain/domain-context/transformers/auto-snap-transformer.d.ts +6 -10
  1015. package/dist/domain/domain-context/transformers/auto-snap-transformer.js +1 -1
  1016. package/dist/domain/domain-context/transformers/chain-builder.d.ts +3 -3
  1017. package/dist/domain/domain-context/transformers/context.d.ts +2 -7
  1018. package/dist/domain/domain-context/transformers/context.js +1 -1
  1019. package/dist/domain/domain-context/transformers/entity-builder.d.ts +1 -5
  1020. package/dist/domain/domain-context/transformers/entity-builder.js +1 -1
  1021. package/dist/domain/domain-context/transformers/index.d.ts +1 -1
  1022. package/dist/domain/domain-context/transformers/index.js +1 -1
  1023. package/dist/domain/domain-context/transformers/then-builder.d.ts +1 -2
  1024. package/dist/domain/domain-context/transformers/then-builder.js +1 -1
  1025. package/dist/domain/domain-context/transformers/when-builder.d.ts +3 -9
  1026. package/dist/domain/domain-context/transformers/when-builder.js +1 -1
  1027. package/dist/domain/domain-context/undo-system.d.ts +29 -3
  1028. package/dist/domain/domain-context/undo-system.js +1 -1
  1029. package/dist/domain/domain-runtime/access/selectors.d.ts +9 -0
  1030. package/dist/domain/domain-runtime/access/selectors.js +1 -1
  1031. package/dist/domain/domain-runtime/access/types.d.ts +2 -0
  1032. package/dist/domain/domain-runtime/access/types.js +1 -1
  1033. package/dist/domain/domain-runtime/domain-context/action-context.d.ts +11 -0
  1034. package/dist/domain/domain-runtime/domain-context/action-context.js +1 -0
  1035. package/dist/domain/domain-runtime/domain-context/component-reader.d.ts +1 -4
  1036. package/dist/domain/domain-runtime/domain-context/component-reader.js +1 -1
  1037. package/dist/domain/domain-runtime/domain-context/domain-context.js +1 -1
  1038. package/dist/domain/domain-runtime/domain-context/expression-context.d.ts +8 -0
  1039. package/dist/domain/domain-runtime/domain-context/expression-context.js +1 -0
  1040. package/dist/domain/domain-runtime/domain-context/index.d.ts +3 -0
  1041. package/dist/domain/domain-runtime/domain-context/runtime-expression-context.d.ts +18 -0
  1042. package/dist/domain/domain-runtime/domain-context/runtime-expression-context.js +1 -0
  1043. package/dist/domain/domain-runtime/domain-context/selectors.d.ts +20 -25
  1044. package/dist/domain/domain-runtime/domain-context/selectors.js +1 -1
  1045. package/dist/domain/domain-runtime/domain-context/types.d.ts +4 -1
  1046. package/dist/domain/domain-runtime/domain-runtime.d.ts +110 -68
  1047. package/dist/domain/domain-runtime/domain-runtime.js +1 -1
  1048. package/dist/domain/domain-runtime/environment/types.d.ts +1 -1
  1049. package/dist/domain/domain-runtime/errors/implementation-error-collector.d.ts +21 -0
  1050. package/dist/domain/domain-runtime/errors/implementation-error-collector.js +1 -0
  1051. package/dist/domain/domain-runtime/errors/implementation-error.d.ts +46 -0
  1052. package/dist/domain/domain-runtime/errors/implementation-error.js +1 -0
  1053. package/dist/domain/domain-runtime/errors/implementation-errors.d.ts +13 -0
  1054. package/dist/domain/domain-runtime/errors/implementation-errors.js +1 -0
  1055. package/dist/domain/domain-runtime/errors/index.d.ts +4 -0
  1056. package/dist/domain/domain-runtime/errors/index.js +1 -0
  1057. package/dist/domain/domain-runtime/errors/to-implementation-errors.d.ts +10 -0
  1058. package/dist/domain/domain-runtime/errors/to-implementation-errors.js +1 -0
  1059. package/dist/domain/domain-runtime/index.d.ts +1 -0
  1060. package/dist/domain/domain-runtime/index.js +1 -1
  1061. package/dist/domain/domain-runtime/spec/create-violation-expressions.d.ts +24 -0
  1062. package/dist/domain/domain-runtime/spec/create-violation-expressions.js +1 -0
  1063. package/dist/domain/domain-runtime/spec/index.d.ts +5 -0
  1064. package/dist/domain/domain-runtime/spec/index.js +1 -1
  1065. package/dist/domain/domain-runtime/spec/initialize.d.ts +11 -0
  1066. package/dist/domain/domain-runtime/spec/initialize.js +1 -1
  1067. package/dist/domain/domain-runtime/spec/memoize-expression.d.ts +16 -0
  1068. package/dist/domain/domain-runtime/spec/module-checks/element-registration.d.ts +125 -0
  1069. package/dist/domain/domain-runtime/spec/module-checks/element-registration.js +1 -0
  1070. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.d.ts +12 -0
  1071. package/dist/domain/domain-runtime/spec/module-checks/find-assistant-form-element-errors.js +1 -0
  1072. package/dist/domain/domain-runtime/spec/module-checks/handler-registration.d.ts +34 -0
  1073. package/dist/domain/domain-runtime/spec/module-checks/handler-registration.js +1 -0
  1074. package/dist/domain/domain-runtime/spec/module-checks/index.d.ts +10 -0
  1075. package/dist/domain/domain-runtime/spec/module-checks/index.js +1 -0
  1076. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.d.ts +23 -0
  1077. package/dist/domain/domain-runtime/spec/module-checks/merge-expression-modules.js +1 -0
  1078. package/dist/domain/domain-runtime/spec/module-checks/project-modules.d.ts +32 -0
  1079. package/dist/domain/domain-runtime/spec/module-checks/project-modules.js +1 -0
  1080. package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.d.ts +4 -0
  1081. package/dist/domain/domain-runtime/spec/module-checks/resolve-action-modules.js +1 -0
  1082. package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.d.ts +4 -0
  1083. package/dist/domain/domain-runtime/spec/module-checks/resolve-component-optic-modules.js +1 -0
  1084. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.d.ts +14 -0
  1085. package/dist/domain/domain-runtime/spec/module-checks/resolve-expression-modules.js +1 -0
  1086. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.d.ts +22 -0
  1087. package/dist/domain/domain-runtime/spec/module-checks/resolve-imported-transformers.js +1 -0
  1088. package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.d.ts +6 -0
  1089. package/dist/domain/domain-runtime/spec/module-checks/resolve-invariant-modules.js +1 -0
  1090. package/dist/domain/domain-runtime/spec/prepare-action-implementations.d.ts +15 -0
  1091. package/dist/domain/domain-runtime/spec/prepare-action-implementations.js +5 -0
  1092. package/dist/domain/domain-runtime/spec/prepare-domain-expressions.d.ts +16 -0
  1093. package/dist/domain/domain-runtime/spec/selectors.d.ts +8 -7
  1094. package/dist/domain/domain-runtime/spec/selectors.js +1 -1
  1095. package/dist/domain/domain-runtime/spec/types.d.ts +6 -4
  1096. package/dist/domain/domain-runtime/web-component/actions.d.ts +3 -0
  1097. package/dist/domain/domain-runtime/web-component/actions.js +1 -1
  1098. package/dist/domain/domain-runtime/web-component/initialize.d.ts +1 -0
  1099. package/dist/domain/domain-runtime/web-component/initialize.js +1 -1
  1100. package/dist/domain/domain-runtime/web-component/selectors.d.ts +2 -0
  1101. package/dist/domain/domain-runtime/web-component/selectors.js +1 -1
  1102. package/dist/domain/domain-runtime/web-component/types.d.ts +6 -3
  1103. package/dist/domain/extensions/angle-indicator.d.ts +21 -0
  1104. package/dist/domain/extensions/angle-indicator.js +1 -0
  1105. package/dist/domain/extensions/attribute-switch.d.ts +8 -0
  1106. package/dist/domain/extensions/attribute-switch.js +1 -0
  1107. package/dist/domain/extensions/autorotate-camera-component.d.ts +19 -0
  1108. package/dist/domain/extensions/autorotate-camera-component.js +1 -0
  1109. package/dist/domain/extensions/basic-sidebar-footer.d.ts +8 -0
  1110. package/dist/domain/extensions/basic-sidebar-footer.js +1 -0
  1111. package/dist/domain/extensions/camera-based-hidden-entity-object.js +1 -0
  1112. package/dist/domain/extensions/camera-based-hidden-entity.js +1 -0
  1113. package/dist/domain/extensions/canvas-config.d.ts +87 -0
  1114. package/dist/domain/extensions/canvas-config.js +1 -0
  1115. package/dist/domain/extensions/canvas-custom-environment.js +1 -0
  1116. package/dist/domain/extensions/canvas-padding.d.ts +25 -0
  1117. package/dist/domain/extensions/canvas-padding.js +1 -0
  1118. package/dist/domain/extensions/canvas-preset-environment.d.ts +37 -0
  1119. package/dist/domain/extensions/canvas-preset-environment.js +1 -0
  1120. package/dist/domain/extensions/child-entity-recipe-hierarchy.d.ts +21 -0
  1121. package/dist/domain/extensions/child-entity-recipe-hierarchy.js +1 -0
  1122. package/dist/domain/extensions/color-value.js +1 -0
  1123. package/dist/domain/extensions/common/angle-indicator-schema.d.ts +292 -0
  1124. package/dist/domain/extensions/common/angle-indicator-schema.js +1 -0
  1125. package/dist/domain/extensions/common/dimension-indicator-schema.d.ts +607 -0
  1126. package/dist/domain/extensions/common/dimension-indicator-schema.js +1 -0
  1127. package/dist/domain/extensions/common/index.d.ts +4 -0
  1128. package/dist/domain/extensions/common/index.js +1 -0
  1129. package/dist/domain/extensions/custom-header.d.ts +11 -0
  1130. package/dist/domain/extensions/custom-header.js +1 -0
  1131. package/dist/domain/extensions/custom-price-footer.js +1 -0
  1132. package/dist/domain/extensions/custom-sidebar-footer.d.ts +11 -0
  1133. package/dist/domain/extensions/custom-sidebar-footer.js +1 -0
  1134. package/dist/domain/extensions/dimension-indicator.d.ts +31 -0
  1135. package/dist/domain/extensions/dimension-indicator.js +1 -0
  1136. package/dist/domain/extensions/editable-angle-indicator.d.ts +39 -0
  1137. package/dist/domain/extensions/editable-angle-indicator.js +1 -0
  1138. package/dist/domain/extensions/editable-distance-dimension-indicator.d.ts +43 -0
  1139. package/dist/domain/extensions/editable-distance-dimension-indicator.js +1 -0
  1140. package/dist/domain/extensions/editable-offset-indicator.d.ts +42 -0
  1141. package/dist/domain/extensions/editable-offset-indicator.js +1 -0
  1142. package/dist/domain/extensions/editable-size-indicator.d.ts +39 -0
  1143. package/dist/domain/extensions/editable-size-indicator.js +1 -0
  1144. package/dist/domain/extensions/entity-header.d.ts +22 -0
  1145. package/dist/domain/extensions/entity-header.js +1 -0
  1146. package/dist/domain/extensions/exit-tool-mode-fab.d.ts +25 -0
  1147. package/dist/domain/extensions/exit-tool-mode-fab.js +1 -0
  1148. package/dist/domain/extensions/export-images/agent-screenshot.d.ts +24 -0
  1149. package/dist/domain/extensions/export-images/agent-screenshot.js +1 -0
  1150. package/dist/domain/extensions/export-images/client-side-image.d.ts +14 -0
  1151. package/dist/domain/extensions/export-images/client-side-image.js +1 -0
  1152. package/dist/domain/extensions/export-images/index.d.ts +3 -0
  1153. package/dist/domain/extensions/export-images/index.js +1 -0
  1154. package/dist/domain/extensions/export-images/save-template-thumbnail.d.ts +14 -0
  1155. package/dist/domain/extensions/export-images/save-template-thumbnail.js +1 -0
  1156. package/dist/domain/extensions/finalize-action.d.ts +20 -0
  1157. package/dist/domain/extensions/finalize-action.js +1 -0
  1158. package/dist/domain/extensions/finalize-component.js +1 -0
  1159. package/dist/domain/extensions/fit-selection-orthographic-camera-component.js +1 -0
  1160. package/dist/domain/extensions/fit-selection-perspective-camera-component.js +1 -0
  1161. package/dist/domain/extensions/fixed-header.d.ts +10 -0
  1162. package/dist/domain/extensions/fixed-header.js +1 -0
  1163. package/dist/domain/extensions/floating-header.d.ts +10 -0
  1164. package/dist/domain/extensions/floating-header.js +1 -0
  1165. package/dist/domain/extensions/hidden-header.d.ts +8 -0
  1166. package/dist/domain/extensions/hidden-header.js +1 -0
  1167. package/dist/domain/extensions/hidden-sidebar-footer.d.ts +21 -0
  1168. package/dist/domain/extensions/hidden-sidebar-footer.js +1 -0
  1169. package/dist/domain/extensions/horizontal-tabs.d.ts +28 -0
  1170. package/dist/domain/extensions/horizontal-tabs.js +1 -0
  1171. package/dist/domain/extensions/index.d.ts +68 -0
  1172. package/dist/domain/extensions/index.js +1 -0
  1173. package/dist/domain/extensions/list-selector-dimension-indicator.d.ts +31 -0
  1174. package/dist/domain/extensions/list-selector-dimension-indicator.js +1 -0
  1175. package/dist/domain/extensions/multilingual-text-value.js +1 -0
  1176. package/dist/domain/extensions/navigation-steps.d.ts +19 -0
  1177. package/dist/domain/extensions/navigation-steps.js +1 -0
  1178. package/dist/domain/extensions/offset-anchors.d.ts +20 -0
  1179. package/dist/domain/extensions/offset-anchors.js +1 -0
  1180. package/dist/domain/extensions/offset-indicator.d.ts +83 -0
  1181. package/dist/domain/extensions/offset-indicator.js +1 -0
  1182. package/dist/domain/extensions/offset.d.ts +31 -0
  1183. package/dist/domain/extensions/offset.js +1 -0
  1184. package/dist/domain/extensions/other-action.d.ts +14 -0
  1185. package/dist/domain/extensions/other-action.js +1 -0
  1186. package/dist/domain/extensions/property-page.d.ts +16 -0
  1187. package/dist/domain/extensions/property-page.js +1 -0
  1188. package/dist/domain/extensions/read-sidebar-footer.d.ts +8 -0
  1189. package/dist/domain/extensions/read-sidebar-footer.js +1 -0
  1190. package/dist/domain/extensions/replace-entity-recipe-hierarchy.d.ts +21 -0
  1191. package/dist/domain/extensions/replace-entity-recipe-hierarchy.js +1 -0
  1192. package/dist/domain/extensions/rotatable.js +1 -0
  1193. package/dist/domain/extensions/rotation-handle.d.ts +53 -0
  1194. package/dist/domain/extensions/rotation-handle.js +1 -0
  1195. package/dist/domain/extensions/scene-entity-add-fab.d.ts +32 -0
  1196. package/dist/domain/extensions/scene-entity-add-fab.js +1 -0
  1197. package/dist/domain/extensions/scene-entity-animation.js +1 -0
  1198. package/dist/domain/extensions/scene-entity-control.js +1 -0
  1199. package/dist/domain/extensions/scene-entity-delete-fab.d.ts +19 -0
  1200. package/dist/domain/extensions/scene-entity-delete-fab.js +1 -0
  1201. package/dist/domain/extensions/scene-entity-floor-object.js +1 -0
  1202. package/dist/domain/extensions/scene-entity-html-hotspot.d.ts +27 -0
  1203. package/dist/domain/extensions/scene-entity-html-hotspot.js +1 -0
  1204. package/dist/domain/extensions/scene-entity-navigation-hotspot.d.ts +20 -0
  1205. package/dist/domain/extensions/scene-entity-navigation-hotspot.js +1 -0
  1206. package/dist/domain/extensions/scene-entity-object-html-hotspot.d.ts +31 -0
  1207. package/dist/domain/extensions/scene-entity-object-html-hotspot.js +1 -0
  1208. package/dist/domain/extensions/scene-entity-select-hotspot.d.ts +5 -0
  1209. package/dist/domain/extensions/scene-entity-select-hotspot.js +1 -0
  1210. package/dist/domain/extensions/scene-entity-wall-object.js +1 -0
  1211. package/dist/domain/extensions/selectable-component.js +1 -0
  1212. package/dist/domain/extensions/sidebar-tabs.d.ts +29 -0
  1213. package/dist/domain/extensions/sidebar-tabs.js +1 -0
  1214. package/dist/domain/extensions/simple-summary.js +1 -0
  1215. package/dist/domain/extensions/size.d.ts +21 -0
  1216. package/dist/domain/extensions/size.js +1 -0
  1217. package/dist/domain/extensions/sketching-draw.d.ts +17 -0
  1218. package/dist/domain/extensions/sketching-draw.js +1 -0
  1219. package/dist/domain/extensions/sketching-edit.d.ts +28 -0
  1220. package/dist/domain/extensions/sketching-edit.js +1 -0
  1221. package/dist/domain/extensions/summary-component.js +1 -0
  1222. package/dist/domain/extensions/text-value.js +1 -0
  1223. package/dist/domain/extensions/tool-controls.js +1 -0
  1224. package/dist/domain/extensions/tool-menu-fab.d.ts +40 -0
  1225. package/dist/domain/extensions/tool-menu-fab.js +1 -0
  1226. package/dist/domain/extensions/toolbar.d.ts +13 -0
  1227. package/dist/domain/extensions/toolbar.js +1 -0
  1228. package/dist/domain/extensions/universal-sidebar-footer.d.ts +12 -0
  1229. package/dist/domain/extensions/universal-sidebar-footer.js +1 -0
  1230. package/dist/domain/extensions/view-controls.js +1 -0
  1231. package/dist/domain/index.d.ts +2 -32
  1232. package/dist/domain/index.js +1 -1
  1233. package/dist/domain/mocks/create-mock-domain-context.d.ts +1 -1
  1234. package/dist/domain/mocks/create-mock-domain-runtime-services.d.ts +1 -1
  1235. package/dist/domain/mocks/create-mock-domain-runtime.d.ts +37 -19
  1236. package/dist/domain/mocks/create-mock-domain-runtime.js +1 -1
  1237. package/dist/domain/mocks/create-mock-domain.d.ts +1 -1
  1238. package/dist/domain/mocks/create-mock-domain.js +1 -1
  1239. package/dist/domain/mocks/create-mock-state.d.ts +2 -2
  1240. package/dist/domain/mocks/create-test-application-config.d.ts +59 -0
  1241. package/dist/domain/mocks/create-test-application-config.js +1 -0
  1242. package/dist/domain/mocks/index.d.ts +1 -0
  1243. package/dist/domain/mocks/index.js +1 -1
  1244. package/dist/domain/projections/blender-projections/blender-projections.d.ts +2 -3
  1245. package/dist/domain/projections/blender-projections/blender-projections.js +1 -1
  1246. package/dist/domain/projections/blender-projections/camera.d.ts +2 -2
  1247. package/dist/domain/projections/collision-projections.d.ts +1 -1
  1248. package/dist/domain/projections/composition-projections.d.ts +1 -1
  1249. package/dist/domain/projections/composition-projections.js +1 -1
  1250. package/dist/domain/projections/constraint-projections.d.ts +1 -1
  1251. package/dist/domain/projections/index.d.ts +1 -1
  1252. package/dist/domain/projections/position-projections.d.ts +1 -1
  1253. package/dist/domain/projections/projected-entities-projections.d.ts +2 -3
  1254. package/dist/domain/projections/snap-matching.d.ts +1 -2
  1255. package/dist/domain/projections/snap-utils.d.ts +1 -2
  1256. package/dist/domain/projections/snapping-projections.d.ts +1 -1
  1257. package/dist/domain/projections/validation-projections.d.ts +3 -20
  1258. package/dist/domain/projections/validation-projections.js +1 -1
  1259. package/dist/domain/sketching/sketching-projections.d.ts +1 -1
  1260. package/dist/domain/system-components/admin-sidebar.d.ts +1 -1
  1261. package/dist/domain/system-components/admin-sidebar.js +1 -1
  1262. package/dist/domain/system-components/angle-dimension.js +1 -1
  1263. package/dist/domain/system-components/application-config.d.ts +3 -3
  1264. package/dist/domain/system-components/application-config.js +1 -1
  1265. package/dist/domain/system-components/attribute-selection.js +1 -1
  1266. package/dist/domain/system-components/bounding-box-component.d.ts +1 -1
  1267. package/dist/domain/system-components/bounding-box-component.js +1 -1
  1268. package/dist/domain/system-components/bounding-sphere-component.d.ts +1 -1
  1269. package/dist/domain/system-components/bounding-sphere-component.js +1 -1
  1270. package/dist/domain/system-components/child-entity-recipes.d.ts +1 -1
  1271. package/dist/domain/system-components/child-entity-recipes.js +1 -1
  1272. package/dist/domain/system-components/child-entity-selection.d.ts +1 -2
  1273. package/dist/domain/system-components/child-entity-selection.js +1 -1
  1274. package/dist/domain/system-components/collision-box-geometry.d.ts +5 -3
  1275. package/dist/domain/system-components/collision-box-geometry.js +1 -1
  1276. package/dist/domain/system-components/collision-geometries.d.ts +1 -1
  1277. package/dist/domain/system-components/collision-geometry.d.ts +5 -3
  1278. package/dist/domain/system-components/collision-geometry.js +1 -1
  1279. package/dist/domain/system-components/collision-point-geometry.d.ts +5 -3
  1280. package/dist/domain/system-components/collision-point-geometry.js +1 -1
  1281. package/dist/domain/system-components/common/index.d.ts +0 -4
  1282. package/dist/domain/system-components/common/index.js +1 -1
  1283. package/dist/domain/system-components/common/material-override-schema.d.ts +2 -2
  1284. package/dist/domain/system-components/common/recipes.d.ts +21 -4
  1285. package/dist/domain/system-components/common/recipes.js +1 -1
  1286. package/dist/domain/system-components/common/scene-entity-control-schema.d.ts +3 -0
  1287. package/dist/domain/system-components/common/scene-entity-control-schema.js +1 -1
  1288. package/dist/domain/system-components/constraint.d.ts +11 -24
  1289. package/dist/domain/system-components/constraint.js +1 -1
  1290. package/dist/domain/system-components/create-blueprint.d.ts +1 -1
  1291. package/dist/domain/system-components/custom-scene-entity.d.ts +1 -1
  1292. package/dist/domain/system-components/custom-scene-entity.js +1 -1
  1293. package/dist/domain/system-components/detail.js +1 -1
  1294. package/dist/domain/system-components/distance-dimension-select.d.ts +1 -1
  1295. package/dist/domain/system-components/distance-dimension-select.js +1 -1
  1296. package/dist/domain/system-components/distance-dimension.d.ts +1 -1
  1297. package/dist/domain/system-components/distance-dimension.js +1 -1
  1298. package/dist/domain/system-components/drag-handle.d.ts +2 -2
  1299. package/dist/domain/system-components/drag-handle.js +1 -1
  1300. package/dist/domain/system-components/fit-entity-orthographic-camera-component.js +1 -1
  1301. package/dist/domain/system-components/fit-entity-perspective-camera-component.js +1 -1
  1302. package/dist/domain/system-components/fit-root-orthographic-camera-component.js +1 -1
  1303. package/dist/domain/system-components/fit-root-perspective-camera-component.js +1 -1
  1304. package/dist/domain/system-components/generic-dimension.d.ts +1 -1
  1305. package/dist/domain/system-components/generic-dimension.js +1 -1
  1306. package/dist/domain/system-components/hidden-entity.js +1 -1
  1307. package/dist/domain/system-components/hotspot-drag-handle.d.ts +2 -3
  1308. package/dist/domain/system-components/hotspot-drag-handle.js +1 -1
  1309. package/dist/domain/system-components/index.d.ts +0 -68
  1310. package/dist/domain/system-components/index.js +1 -1
  1311. package/dist/domain/system-components/material-override-property-transition.js +1 -1
  1312. package/dist/domain/system-components/material-override-transformer.js +1 -1
  1313. package/dist/domain/system-components/material-swatch.js +1 -1
  1314. package/dist/domain/system-components/navigation-page.js +1 -1
  1315. package/dist/domain/system-components/navigation-panel-list.js +1 -1
  1316. package/dist/domain/system-components/phoenix-entity-elements/admin-data-table-sidebar.d.ts +1 -1
  1317. package/dist/domain/system-components/phoenix-layout-elements/admin-connected-resource-page.d.ts +1 -1
  1318. package/dist/domain/system-components/phoenix-layout-elements/admin-data-table-actions.d.ts +1 -1
  1319. package/dist/domain/system-components/phoenix-layout-elements/admin-data-table-page.d.ts +1 -1
  1320. package/dist/domain/system-components/pivot-point.d.ts +1 -1
  1321. package/dist/domain/system-components/pivot-point.js +1 -1
  1322. package/dist/domain/system-components/price.js +1 -1
  1323. package/dist/domain/system-components/projected-entities.d.ts +1 -1
  1324. package/dist/domain/system-components/projected-entities.js +1 -1
  1325. package/dist/domain/system-components/replace-entity-recipes.d.ts +1 -1
  1326. package/dist/domain/system-components/replace-entity-recipes.js +1 -1
  1327. package/dist/domain/system-components/scene-entity-ambient-light.js +1 -1
  1328. package/dist/domain/system-components/scene-entity-box-object.js +1 -1
  1329. package/dist/domain/system-components/scene-entity-directional-light.js +1 -1
  1330. package/dist/domain/system-components/scene-entity-local-material-override.js +1 -1
  1331. package/dist/domain/system-components/scene-entity-material-override.d.ts +1 -1
  1332. package/dist/domain/system-components/scene-entity-material-override.js +1 -1
  1333. package/dist/domain/system-components/scene-entity-object-clip.js +1 -1
  1334. package/dist/domain/system-components/scene-entity-object-decal.js +1 -1
  1335. package/dist/domain/system-components/scene-entity-object-group.js +1 -1
  1336. package/dist/domain/system-components/scene-entity-object-local-material-override.js +1 -1
  1337. package/dist/domain/system-components/scene-entity-object-material-override.d.ts +1 -1
  1338. package/dist/domain/system-components/scene-entity-object-material-override.js +1 -1
  1339. package/dist/domain/system-components/scene-entity-object-properties.js +1 -1
  1340. package/dist/domain/system-components/scene-entity-object-remote-material-override.js +1 -1
  1341. package/dist/domain/system-components/scene-entity-object-text-decal.d.ts +1 -1
  1342. package/dist/domain/system-components/scene-entity-object-text-decal.js +1 -1
  1343. package/dist/domain/system-components/scene-entity-object-transformer.js +1 -1
  1344. package/dist/domain/system-components/scene-entity-object-transimissive-material-override.d.ts +1 -1
  1345. package/dist/domain/system-components/scene-entity-object-transimissive-material-override.js +1 -1
  1346. package/dist/domain/system-components/scene-entity-object.js +1 -1
  1347. package/dist/domain/system-components/scene-entity-point-light.js +1 -1
  1348. package/dist/domain/system-components/scene-entity-properties.js +1 -1
  1349. package/dist/domain/system-components/scene-entity-rect-area-light.js +1 -1
  1350. package/dist/domain/system-components/scene-entity-remote-material-override.js +1 -1
  1351. package/dist/domain/system-components/scene-entity-remote-object.js +1 -1
  1352. package/dist/domain/system-components/scene-entity-spot-light.js +1 -1
  1353. package/dist/domain/system-components/scene-entity-transimissive-material-override.d.ts +1 -1
  1354. package/dist/domain/system-components/scene-entity-transimissive-material-override.js +1 -1
  1355. package/dist/domain/system-components/sketching-line.d.ts +1 -1
  1356. package/dist/domain/system-components/sketching-line.js +1 -1
  1357. package/dist/domain/system-components/sketching-rectangle.d.ts +1 -1
  1358. package/dist/domain/system-components/sketching-rectangle.js +1 -1
  1359. package/dist/domain/system-components/sketching.d.ts +1 -1
  1360. package/dist/domain/system-components/sketching.js +1 -1
  1361. package/dist/domain/system-components/snap-axis.d.ts +1 -1
  1362. package/dist/domain/system-components/snap-axis.js +1 -1
  1363. package/dist/domain/system-components/snap-edge.d.ts +1 -1
  1364. package/dist/domain/system-components/snap-edge.js +1 -1
  1365. package/dist/domain/system-components/snap-plane.d.ts +1 -1
  1366. package/dist/domain/system-components/snap-plane.js +1 -1
  1367. package/dist/domain/system-components/snap-point.d.ts +1 -1
  1368. package/dist/domain/system-components/snap-point.js +1 -1
  1369. package/dist/domain/system-components/static-orthographic-camera-component.d.ts +1 -1
  1370. package/dist/domain/system-components/static-orthographic-camera-component.js +1 -1
  1371. package/dist/domain/system-components/static-perspective-camera-component.d.ts +1 -1
  1372. package/dist/domain/system-components/static-perspective-camera-component.js +1 -1
  1373. package/dist/domain/utils/eval-cache.d.ts +2 -3
  1374. package/dist/domain/utils/map-nested-object.d.ts +1 -1
  1375. package/dist/domain/utils/memo-eval.d.ts +2 -4
  1376. package/dist/editor/Editor.d.ts +7 -0
  1377. package/dist/editor/Editor.js +1 -1
  1378. package/dist/editor/domain-editors/DomainSpecContext.js +1 -1
  1379. package/dist/editor/domain-editors/apply-spec-update.d.ts +10 -2
  1380. package/dist/editor/domain-editors/apply-spec-update.js +1 -1
  1381. package/dist/editor/domain-editors/use-implementation-files.d.ts +8 -16
  1382. package/dist/editor/domain-editors/use-implementation-files.js +1 -1
  1383. package/dist/editor/mocks/CreateMockYaml.js +2 -2
  1384. package/dist/editor/mocks/EditorMockContext.d.ts +2 -0
  1385. package/dist/editor/mocks/EditorMockContext.js +1 -1
  1386. package/dist/editor/screenshot/ScreenshotHandler.js +1 -1
  1387. package/dist/globals/index.d.ts +2 -0
  1388. package/dist/i18n/locales/cs/messages.js +1 -1
  1389. package/dist/i18n/locales/da/messages.js +1 -1
  1390. package/dist/i18n/locales/de/messages.js +1 -1
  1391. package/dist/i18n/locales/de-AT/messages.js +1 -1
  1392. package/dist/i18n/locales/en/messages.js +1 -1
  1393. package/dist/i18n/locales/en-AU/messages.js +1 -1
  1394. package/dist/i18n/locales/en-GB/messages.js +1 -1
  1395. package/dist/i18n/locales/es/messages.js +1 -1
  1396. package/dist/i18n/locales/fr/messages.js +1 -1
  1397. package/dist/i18n/locales/hu/messages.js +1 -1
  1398. package/dist/i18n/locales/it/messages.js +1 -1
  1399. package/dist/i18n/locales/nl/messages.js +1 -1
  1400. package/dist/i18n/locales/pl/messages.js +1 -1
  1401. package/dist/i18n/locales/pt/messages.js +1 -1
  1402. package/dist/i18n/locales/ro/messages.js +1 -1
  1403. package/dist/i18n/locales/sk/messages.js +1 -1
  1404. package/dist/i18n/locales/tr/messages.js +1 -1
  1405. package/dist/legacy/domain-cli/gen/configurator-builder.js +30 -16
  1406. package/dist/legacy/domain-cli/gen/constant-expressions.js +1 -3
  1407. package/dist/legacy/domain-cli/gen/defaults.js +1 -7
  1408. package/dist/legacy/domain-cli/gen/implementation.js +7 -11
  1409. package/dist/legacy/domain-cli/gen/invariants.js +7 -6
  1410. package/dist/legacy/domain-cli/gen/relations.js +1 -1
  1411. package/dist/legacy/domain-cli/utils/cache.d.ts +1 -1
  1412. package/dist/legacy/domain-cli/utils/cache.js +1 -1
  1413. package/dist/legacy/domain-spec/__generated/domain-schema.d.ts +176 -148
  1414. package/dist/legacy/domain-spec/spec/domain-spec.js +1 -1
  1415. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/claude-md.d.ts +1 -1
  1416. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/cursor-rules.d.ts +1 -1
  1417. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.d.ts +1 -1
  1418. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/agents/shared-sdk-content.js +13 -0
  1419. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/domain-index.js +17 -15
  1420. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/env-example.d.ts +1 -1
  1421. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/env-example.js +4 -0
  1422. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-admin.js +18 -18
  1423. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-configurator.js +16 -15
  1424. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-admin.js +24 -24
  1425. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/frontend-embedded-configurator.js +16 -15
  1426. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/generator-shared.d.ts +7 -2
  1427. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/generator-shared.js +8 -12
  1428. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/index.d.ts +1 -1
  1429. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/index.js +1 -1
  1430. package/dist/legacy/phoenix-cli/project-gen/generators/file-templates/webhook-builders.js +7 -7
  1431. package/dist/phoenix/application-spec/application-spec-builder.d.ts +0 -2
  1432. package/dist/phoenix/application-spec/application-spec-builder.js +1 -1
  1433. package/dist/phoenix/application-spec/generate-application-spec-project.d.ts +0 -2
  1434. package/dist/phoenix/application-spec/generate-application-spec-project.js +2 -2
  1435. package/dist/phoenix/application-spec/generate-application-spec-story.js +2 -2
  1436. package/dist/phoenix/application-spec/generate-project-files.d.ts +0 -2
  1437. package/dist/phoenix/application-spec/project-files.js +1 -1
  1438. package/dist/phoenix/bin.d.ts +2 -0
  1439. package/dist/phoenix/bin.js +2 -0
  1440. package/dist/phoenix/check-configs/built-in-eslint-config.d.ts +9 -0
  1441. package/dist/phoenix/check-configs/built-in-eslint-config.js +1 -0
  1442. package/dist/phoenix/check-configs/eslint-config.d.ts +10 -0
  1443. package/dist/phoenix/check-configs/eslint-config.js +1 -0
  1444. package/dist/phoenix/check-configs/index.d.ts +8 -0
  1445. package/dist/phoenix/check-configs/index.js +1 -0
  1446. package/dist/phoenix/check-configs/typescript-project.d.ts +5 -0
  1447. package/dist/phoenix/check-configs/typescript-project.js +1 -0
  1448. package/dist/phoenix/cli.d.ts +0 -1
  1449. package/dist/phoenix/cli.js +1 -2
  1450. package/dist/phoenix/commands/build.js +1 -1
  1451. package/dist/phoenix/commands/check.js +1 -1
  1452. package/dist/phoenix/commands/clean.js +1 -1
  1453. package/dist/phoenix/commands/deploy.js +2 -2
  1454. package/dist/phoenix/commands/deps/deps.d.ts +73 -0
  1455. package/dist/phoenix/commands/deps/deps.js +3 -0
  1456. package/dist/phoenix/commands/deps/index.d.ts +1 -0
  1457. package/dist/phoenix/commands/deps/index.js +1 -0
  1458. package/dist/phoenix/commands/deps/sdk-manifest.d.ts +12 -0
  1459. package/dist/phoenix/commands/deps/sdk-manifest.js +1 -0
  1460. package/dist/phoenix/commands/dev.js +5 -5
  1461. package/dist/phoenix/commands/fix.js +1 -1
  1462. package/dist/phoenix/commands/index.d.ts +1 -0
  1463. package/dist/phoenix/commands/index.js +1 -1
  1464. package/dist/phoenix/commands/init.d.ts +17 -5
  1465. package/dist/phoenix/commands/init.js +1 -1
  1466. package/dist/phoenix/commands/link.js +1 -1
  1467. package/dist/phoenix/commands/prettier.js +1 -1
  1468. package/dist/phoenix/commands/sync.js +1 -1
  1469. package/dist/phoenix/commands/unlink.js +1 -1
  1470. package/dist/phoenix/scripts/build-admin.js +1 -1
  1471. package/dist/phoenix/services/application-spec-project-watcher.d.ts +2 -2
  1472. package/dist/phoenix/services/application-spec-project-watcher.js +3 -3
  1473. package/dist/phoenix/services/lingui.d.ts +8 -0
  1474. package/dist/phoenix/services/lingui.js +1 -1
  1475. package/dist/phoenix/services/source-archive.d.ts +1 -0
  1476. package/dist/phoenix/services/source-archive.js +1 -1
  1477. package/dist/phoenix/services/swc.js +1 -1
  1478. package/dist/phoenix/services/vite-config.js +1 -1
  1479. package/dist/phoenix/utils/git/index.d.ts +1 -0
  1480. package/dist/phoenix/utils/git/index.js +1 -0
  1481. package/dist/phoenix/utils/git/is-inside-git-repository.d.ts +6 -0
  1482. package/dist/phoenix/utils/git/is-inside-git-repository.js +1 -0
  1483. package/dist/phoenix/utils/index.d.ts +5 -2
  1484. package/dist/phoenix/utils/index.js +1 -1
  1485. package/dist/phoenix/utils/node-version/index.d.ts +1 -0
  1486. package/dist/phoenix/utils/node-version/index.js +1 -0
  1487. package/dist/phoenix/utils/node-version/supported-node-version.d.ts +12 -0
  1488. package/dist/phoenix/utils/node-version/supported-node-version.js +4 -0
  1489. package/dist/phoenix/utils/package-info.d.ts +0 -9
  1490. package/dist/phoenix/utils/package-info.js +1 -1
  1491. package/dist/phoenix/utils/package-manager/index.d.ts +2 -0
  1492. package/dist/phoenix/utils/package-manager/index.js +1 -0
  1493. package/dist/phoenix/utils/package-manager/package-manager-commands.d.ts +19 -0
  1494. package/dist/phoenix/utils/package-manager/package-manager-commands.js +1 -0
  1495. package/dist/phoenix/utils/package-manager/pnpm-project.d.ts +9 -0
  1496. package/dist/phoenix/utils/package-manager/pnpm-project.js +1 -0
  1497. package/dist/phoenix/utils/run-command.d.ts +11 -0
  1498. package/dist/phoenix/utils/run-command.js +1 -1
  1499. package/dist/phoenix/utils/sdk-tool/index.d.ts +1 -0
  1500. package/dist/phoenix/utils/sdk-tool/index.js +1 -0
  1501. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.d.ts +15 -0
  1502. package/dist/phoenix/utils/sdk-tool/resolve-sdk-tool-bin.js +1 -0
  1503. package/dist/react-sdk/application-runtime/common-services/analytics/frontend-analytics.d.ts +52 -0
  1504. package/dist/react-sdk/application-runtime/common-services/analytics/frontend-analytics.js +1 -0
  1505. package/dist/react-sdk/application-runtime/common-services/analytics/index.d.ts +1 -0
  1506. package/dist/react-sdk/application-runtime/common-services/analytics/index.js +1 -1
  1507. package/dist/react-sdk/application-runtime/hooks/index.d.ts +2 -0
  1508. package/dist/react-sdk/application-runtime/hooks/index.js +1 -1
  1509. package/dist/react-sdk/application-runtime/hooks/loading/index.d.ts +5 -0
  1510. package/dist/react-sdk/application-runtime/hooks/loading/index.js +1 -0
  1511. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.d.ts +11 -0
  1512. package/dist/react-sdk/application-runtime/hooks/loading/loader-host-context.js +1 -0
  1513. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.d.ts +8 -0
  1514. package/dist/react-sdk/application-runtime/hooks/loading/use-is-awaiting-loading-phase.js +1 -0
  1515. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.d.ts +7 -0
  1516. package/dist/react-sdk/application-runtime/hooks/loading/use-is-loader-hosted.js +1 -0
  1517. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.d.ts +9 -0
  1518. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-actions.js +1 -0
  1519. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.d.ts +24 -0
  1520. package/dist/react-sdk/application-runtime/hooks/loading/use-loading-application.js +1 -0
  1521. package/dist/react-sdk/application-runtime/hooks/responsive/index.d.ts +3 -0
  1522. package/dist/react-sdk/application-runtime/hooks/responsive/index.js +1 -0
  1523. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.d.ts +9 -0
  1524. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-actions.js +1 -0
  1525. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.d.ts +26 -0
  1526. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-application.js +1 -0
  1527. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.d.ts +10 -0
  1528. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-state.js +1 -0
  1529. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.d.ts +24 -0
  1530. package/dist/react-sdk/application-runtime/hooks/responsive/use-responsive-store.js +1 -0
  1531. package/dist/react-sdk/application-runtime/hooks/use-access-service.d.ts +7 -0
  1532. package/dist/react-sdk/application-runtime/hooks/use-access-service.js +1 -1
  1533. package/dist/react-sdk/application-runtime/hooks/use-domain-application-props.d.ts +5 -2
  1534. package/dist/react-sdk/application-runtime/hooks/use-phoenix-element-slots.d.ts +2 -1
  1535. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.d.ts +4 -11
  1536. package/dist/react-sdk/application-runtime/hooks/use-web-component-readonly-sync.js +1 -1
  1537. package/dist/react-sdk/application-runtime/hooks/use-web-component.d.ts +5 -0
  1538. package/dist/react-sdk/application-runtime/hooks/use-web-component.js +1 -1
  1539. package/dist/react-sdk/application-runtime/host-properties/actions.d.ts +15 -0
  1540. package/dist/react-sdk/application-runtime/host-properties/actions.js +1 -0
  1541. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.d.ts +30 -0
  1542. package/dist/react-sdk/application-runtime/host-properties/connect-host-properties.js +1 -0
  1543. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.d.ts +7 -0
  1544. package/dist/react-sdk/application-runtime/host-properties/domain-host-properties.js +1 -0
  1545. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.d.ts +21 -0
  1546. package/dist/react-sdk/application-runtime/host-properties/host-property-descriptors.js +1 -0
  1547. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.d.ts +42 -0
  1548. package/dist/react-sdk/application-runtime/host-properties/host-property-scopes.js +1 -0
  1549. package/dist/react-sdk/application-runtime/host-properties/index.d.ts +8 -0
  1550. package/dist/react-sdk/application-runtime/host-properties/index.js +1 -0
  1551. package/dist/react-sdk/application-runtime/host-properties/initialize.d.ts +7 -0
  1552. package/dist/react-sdk/application-runtime/host-properties/initialize.js +1 -0
  1553. package/dist/react-sdk/application-runtime/host-properties/selectors.d.ts +54 -0
  1554. package/dist/react-sdk/application-runtime/host-properties/selectors.js +1 -0
  1555. package/dist/react-sdk/application-runtime/host-properties/types.d.ts +18 -0
  1556. package/dist/react-sdk/application-runtime/host-properties/types.js +1 -0
  1557. package/dist/react-sdk/application-runtime/index.d.ts +3 -0
  1558. package/dist/react-sdk/application-runtime/integration/initialize.d.ts +7 -6
  1559. package/dist/react-sdk/application-runtime/integration/initialize.js +1 -1
  1560. package/dist/react-sdk/application-runtime/integration/selectors.d.ts +11 -2
  1561. package/dist/react-sdk/application-runtime/integration/selectors.js +1 -1
  1562. package/dist/react-sdk/application-runtime/integration/types.d.ts +5 -2
  1563. package/dist/react-sdk/application-runtime/loading/actions.d.ts +45 -0
  1564. package/dist/react-sdk/application-runtime/loading/actions.js +1 -0
  1565. package/dist/react-sdk/application-runtime/loading/index.d.ts +4 -0
  1566. package/dist/react-sdk/application-runtime/loading/index.js +1 -0
  1567. package/dist/react-sdk/application-runtime/loading/initialize.d.ts +3 -0
  1568. package/dist/react-sdk/application-runtime/loading/initialize.js +1 -0
  1569. package/dist/react-sdk/application-runtime/loading/selectors.d.ts +18 -0
  1570. package/dist/react-sdk/application-runtime/loading/selectors.js +1 -0
  1571. package/dist/react-sdk/application-runtime/loading/types.d.ts +59 -0
  1572. package/dist/react-sdk/application-runtime/loading/types.js +1 -0
  1573. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.d.ts +1 -1
  1574. package/dist/react-sdk/application-runtime/mocks/create-mock-application-runtime.js +1 -1
  1575. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.d.ts +6 -0
  1576. package/dist/react-sdk/application-runtime/provider/ApplicationRuntime.js +1 -1
  1577. package/dist/react-sdk/application-runtime/provider/ApplicationType.d.ts +7 -0
  1578. package/dist/react-sdk/application-runtime/provider/ApplicationType.js +1 -1
  1579. package/dist/react-sdk/application-runtime/responsive/actions.d.ts +47 -0
  1580. package/dist/react-sdk/application-runtime/responsive/actions.js +1 -0
  1581. package/dist/react-sdk/application-runtime/responsive/index.d.ts +4 -0
  1582. package/dist/react-sdk/application-runtime/responsive/index.js +1 -0
  1583. package/dist/react-sdk/application-runtime/responsive/initialize.d.ts +3 -0
  1584. package/dist/react-sdk/application-runtime/responsive/initialize.js +1 -0
  1585. package/dist/react-sdk/application-runtime/responsive/selectors.d.ts +20 -0
  1586. package/dist/react-sdk/application-runtime/responsive/selectors.js +1 -0
  1587. package/dist/react-sdk/application-runtime/responsive/types.d.ts +104 -0
  1588. package/dist/react-sdk/application-runtime/responsive/types.js +1 -0
  1589. package/dist/react-sdk/application-runtime/routing/access-service.d.ts +1 -0
  1590. package/dist/react-sdk/application-runtime/routing/routing-service.d.ts +34 -2
  1591. package/dist/react-sdk/application-runtime/routing/routing-service.js +1 -1
  1592. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.d.ts +349 -40
  1593. package/dist/react-sdk/application-runtime/runtime/create-application-runtime.js +1 -1
  1594. package/dist/react-sdk/domain-application-context/BackendDataProvider.js +1 -1
  1595. package/dist/react-sdk/domain-application-context/DomainLifecycleBoundary.js +1 -1
  1596. package/dist/react-sdk/domain-application-context/FrontendDataProvider.js +1 -1
  1597. package/dist/react-sdk/domain-application-context/PublishedDataProvider.js +1 -1
  1598. package/dist/react-sdk/domain-context/common-hooks/index.d.ts +9 -0
  1599. package/dist/react-sdk/domain-context/common-hooks/index.js +1 -0
  1600. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.d.ts +23 -0
  1601. package/dist/react-sdk/domain-context/common-hooks/use-configuration-save-state.js +1 -0
  1602. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.d.ts +41 -0
  1603. package/dist/react-sdk/domain-context/common-hooks/use-configurator-messages.js +1 -0
  1604. package/dist/react-sdk/domain-context/common-hooks/use-domain-context.d.ts +10 -9
  1605. package/dist/react-sdk/domain-context/component-hooks/index.d.ts +1 -0
  1606. package/dist/react-sdk/domain-context/component-hooks/index.js +1 -0
  1607. package/dist/react-sdk/domain-context/component-hooks/use-component.js +1 -1
  1608. package/dist/react-sdk/domain-context/entity-hooks/use-domain-entity-state.js +1 -1
  1609. package/dist/react-sdk/domain-context/entity-hooks/use-entity-price.js +1 -1
  1610. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-id.js +1 -1
  1611. package/dist/react-sdk/domain-context/entity-hooks/use-root-entity-state.js +1 -1
  1612. package/dist/react-sdk/domain-context/index.d.ts +9 -1
  1613. package/dist/react-sdk/domain-context/index.js +1 -1
  1614. package/dist/react-sdk/domain-context/system-hooks/composition-hooks.js +1 -1
  1615. package/dist/react-sdk/domain-context/system-hooks/dimension-hooks.js +1 -1
  1616. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.d.ts +8 -0
  1617. package/dist/react-sdk/domain-context/system-hooks/generate-share-link-hooks.js +1 -0
  1618. package/dist/react-sdk/domain-context/system-hooks/hover-hooks.js +1 -1
  1619. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.d.ts +24 -0
  1620. package/dist/react-sdk/domain-context/system-hooks/locale-switch-hooks.js +1 -0
  1621. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.d.ts +11 -0
  1622. package/dist/react-sdk/domain-context/system-hooks/navigation-hooks.js +1 -1
  1623. package/dist/react-sdk/domain-context/system-hooks/selection-hooks.js +1 -1
  1624. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.d.ts +32 -0
  1625. package/dist/react-sdk/domain-context/system-hooks/share-links-hooks.js +1 -0
  1626. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.d.ts +57 -0
  1627. package/dist/react-sdk/domain-context/system-hooks/step-navigation-hooks.js +1 -0
  1628. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.d.ts +61 -0
  1629. package/dist/react-sdk/domain-context/system-hooks/tab-navigation-hooks.js +1 -0
  1630. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.d.ts +20 -0
  1631. package/dist/react-sdk/domain-context/system-hooks/undo-redo-hooks.js +1 -0
  1632. package/dist/react-sdk/domain-controls/hooks/use-angle-dimension.d.ts +1 -1
  1633. package/dist/react-sdk/handlers/FinalizeActionRunner.d.ts +13 -0
  1634. package/dist/react-sdk/handlers/FinalizeActionRunner.js +1 -0
  1635. package/dist/react-sdk/handlers/FinalizeActionsHost.d.ts +10 -0
  1636. package/dist/react-sdk/handlers/FinalizeActionsHost.js +1 -0
  1637. package/dist/react-sdk/handlers/FinalizeActionsProvider.d.ts +11 -0
  1638. package/dist/react-sdk/handlers/FinalizeActionsProvider.js +1 -0
  1639. package/dist/react-sdk/handlers/finalize-actions-context.d.ts +6 -0
  1640. package/dist/react-sdk/handlers/finalize-actions-context.js +1 -0
  1641. package/dist/react-sdk/handlers/finalize-actions-store.d.ts +23 -0
  1642. package/dist/react-sdk/handlers/finalize-actions-store.js +1 -0
  1643. package/dist/react-sdk/handlers/index.d.ts +6 -0
  1644. package/dist/react-sdk/handlers/index.js +1 -1
  1645. package/dist/react-sdk/handlers/use-finalize-action.d.ts +32 -0
  1646. package/dist/react-sdk/handlers/use-finalize-action.js +1 -0
  1647. package/dist/react-sdk/handlers/use-finalize-actions.d.ts +53 -0
  1648. package/dist/react-sdk/handlers/use-finalize-actions.js +1 -0
  1649. package/dist/react-sdk/index.d.ts +2 -0
  1650. package/dist/react-sdk/index.js +1 -1
  1651. package/dist/react-sdk/loading-state/LoaderHost.d.ts +20 -0
  1652. package/dist/react-sdk/loading-state/LoaderHost.js +1 -0
  1653. package/dist/react-sdk/loading-state/built-in-loading-phase.d.ts +9 -0
  1654. package/dist/react-sdk/loading-state/built-in-loading-phase.js +1 -0
  1655. package/dist/react-sdk/loading-state/create-app-loader.d.ts +18 -0
  1656. package/dist/react-sdk/loading-state/create-app-loader.js +1 -0
  1657. package/dist/react-sdk/loading-state/index.d.ts +4 -2
  1658. package/dist/react-sdk/loading-state/index.js +1 -1
  1659. package/dist/react-sdk/loading-state/loading-state-hooks.d.ts +22 -0
  1660. package/dist/react-sdk/loading-state/loading-state-hooks.js +1 -0
  1661. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.d.ts +17 -0
  1662. package/dist/react-sdk/page-elements/ConfigurationNotFoundPagePropsProvider.js +1 -0
  1663. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.d.ts +17 -0
  1664. package/dist/react-sdk/page-elements/ConfiguratorErrorPagePropsProvider.js +1 -0
  1665. package/dist/react-sdk/page-elements/configurator-error-page-props.d.ts +20 -0
  1666. package/dist/react-sdk/page-elements/configurator-error-page-props.js +1 -0
  1667. package/dist/react-sdk/page-elements/create-configuration-not-found-page.d.ts +15 -0
  1668. package/dist/react-sdk/page-elements/create-configuration-not-found-page.js +1 -0
  1669. package/dist/react-sdk/page-elements/create-configurator-error-page.d.ts +14 -0
  1670. package/dist/react-sdk/page-elements/create-configurator-error-page.js +1 -0
  1671. package/dist/react-sdk/page-elements/create-preset-ui.d.ts +9 -0
  1672. package/dist/react-sdk/page-elements/create-preset-ui.js +1 -0
  1673. package/dist/react-sdk/page-elements/index.d.ts +6 -0
  1674. package/dist/react-sdk/page-elements/index.js +1 -0
  1675. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.d.ts +36 -0
  1676. package/dist/react-sdk/scene-control-elements/AddEntityFabElement.js +1 -0
  1677. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.d.ts +44 -0
  1678. package/dist/react-sdk/scene-control-elements/DeleteEntityFabElement.js +1 -0
  1679. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.d.ts +38 -0
  1680. package/dist/react-sdk/scene-control-elements/NavigationHotspotElement.js +1 -0
  1681. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.d.ts +30 -0
  1682. package/dist/react-sdk/scene-control-elements/SelectionHotspotElement.js +1 -0
  1683. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.d.ts +30 -0
  1684. package/dist/react-sdk/scene-control-elements/ToolMenuFabElement.js +1 -0
  1685. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.d.ts +9 -0
  1686. package/dist/react-sdk/scene-control-elements/create-add-entity-fab.js +1 -0
  1687. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.d.ts +9 -0
  1688. package/dist/react-sdk/scene-control-elements/create-delete-entity-fab.js +1 -0
  1689. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.d.ts +10 -0
  1690. package/dist/react-sdk/scene-control-elements/create-navigation-hotspot.js +1 -0
  1691. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.d.ts +9 -0
  1692. package/dist/react-sdk/scene-control-elements/create-selection-hotspot.js +1 -0
  1693. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.d.ts +9 -0
  1694. package/dist/react-sdk/scene-control-elements/create-tool-menu-fab.js +1 -0
  1695. package/dist/react-sdk/scene-control-elements/index.d.ts +11 -0
  1696. package/dist/react-sdk/scene-control-elements/index.js +1 -0
  1697. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.d.ts +5 -0
  1698. package/dist/react-sdk/scene-control-elements/scene-control-tooltip-visibility.js +1 -0
  1699. package/dist/react-sdk/session/NotAuthenticatedPage.d.ts +4 -0
  1700. package/dist/react-sdk/session/NotAuthenticatedPage.js +1 -1
  1701. package/dist/react-sdk/session/SessionServiceProvider.js +1 -1
  1702. package/dist/react-sdk/web-component/create-web-component.js +1 -1
  1703. package/dist/react-sdk/web-component/god-mode/god-mode-registry.d.ts +30 -0
  1704. package/dist/react-sdk/web-component/god-mode/god-mode-registry.js +1 -0
  1705. package/dist/react-sdk/web-component/god-mode/index.d.ts +1 -0
  1706. package/dist/react-sdk/web-component/god-mode/index.js +1 -0
  1707. package/dist/ui-sdk/icons/__generated/Lightbulb.d.ts +3 -0
  1708. package/dist/ui-sdk/icons/__generated/Lightbulb.js +1 -0
  1709. package/dist/ui-sdk/icons/__generated/XCircle.d.ts +3 -0
  1710. package/dist/ui-sdk/icons/__generated/XCircle.js +1 -0
  1711. package/dist/ui-sdk/icons/__generated/index.d.ts +4 -0
  1712. package/dist/ui-sdk/icons/__generated/index.js +1 -1
  1713. package/dist/ui-sdk/icons/icons-registry.js +1 -1
  1714. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.d.ts +9 -0
  1715. package/dist/ui-sdk/responsive-application/ResponsiveApplicationProvider.js +1 -1
  1716. package/dist/ui-sdk/responsive-application/index.d.ts +1 -0
  1717. package/dist/ui-sdk/responsive-application/responsive-state-store.d.ts +59 -0
  1718. package/dist/ui-sdk/responsive-application/responsive-state-store.js +1 -0
  1719. package/dist/ui-sdk/responsive-application/use-store-responsive-info.d.ts +7 -0
  1720. package/dist/ui-sdk/responsive-application/use-store-responsive-info.js +1 -0
  1721. package/dist/ui-sdk/theme/types.d.ts +5 -1
  1722. package/dist/webhook/builders/common.d.ts +5 -0
  1723. package/dist/webhook/builders/webhook-builder.js +1 -1
  1724. package/package.json +58 -36
  1725. package/schema/domain-spec.json +1341 -217
  1726. package/dist/application-spec/core/eval-to-constant.d.ts +0 -14
  1727. package/dist/application-spec/generate-application/code/templates/env-ci.d.ts +0 -1
  1728. package/dist/application-spec/generate-application/code/templates/env-ci.js +0 -25
  1729. package/dist/application-spec/generate-application/code/templates/env-example.d.ts +0 -1
  1730. package/dist/application-spec/generate-application/code/templates/env-example.js +0 -90
  1731. package/dist/application-spec/generate-application/code/templates/nvmrc.d.ts +0 -1
  1732. package/dist/application-spec/generate-application/code/templates/nvmrc.js +0 -2
  1733. package/dist/application-spec/generate-application/code/templates/package-json.d.ts +0 -10
  1734. package/dist/application-spec/generate-application/code/templates/package-json.js +0 -1
  1735. package/dist/application-spec/generate-application/code/templates/prettier-ignore.d.ts +0 -1
  1736. package/dist/application-spec/generate-application/code/templates/prettier-ignore.js +0 -6
  1737. package/dist/application-spec/generate-application/code/templates/private-assets-readme.d.ts +0 -1
  1738. package/dist/application-spec/generate-application/code/templates/private-assets-readme.js +0 -24
  1739. package/dist/application-spec/generate-application/code/templates/public-assets-readme.d.ts +0 -1
  1740. package/dist/application-spec/generate-application/code/templates/public-assets-readme.js +0 -24
  1741. package/dist/application-spec/generate-application/code/templates/readme.d.ts +0 -1
  1742. package/dist/application-spec/generate-application/code/templates/readme.js +0 -23
  1743. package/dist/application-spec/generate-application/code/templates/skills/agents-md.d.ts +0 -1
  1744. package/dist/application-spec/generate-application/code/templates/skills/agents-md.js +0 -2
  1745. package/dist/application-spec/generate-application/code/templates/webhook-implementation.d.ts +0 -1
  1746. package/dist/application-spec/generate-application/code/templates/webhook-implementation.js +0 -7
  1747. package/dist/configurator/common/frontend-analytics.d.ts +0 -46
  1748. package/dist/configurator/common/frontend-analytics.js +0 -1
  1749. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.d.ts +0 -4
  1750. package/dist/configurator/ui/phoenix-layout-elements/language/use-locale-options.js +0 -1
  1751. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.d.ts +0 -4
  1752. package/dist/configurator/ui/phoenix-layout-elements/measurements/use-measurements-visibility.js +0 -1
  1753. package/dist/domain/actions/action-factory.d.ts +0 -10
  1754. package/dist/domain/actions/prepare-action-implementations.d.ts +0 -15
  1755. package/dist/domain/actions/prepare-action-implementations.js +0 -5
  1756. package/dist/domain/application/element-registration.d.ts +0 -105
  1757. package/dist/domain/application/element-registration.js +0 -1
  1758. package/dist/domain/application/handler-registration.d.ts +0 -29
  1759. package/dist/domain/application/handler-registration.js +0 -1
  1760. package/dist/domain/application/resolve-imported-transformers.d.ts +0 -13
  1761. package/dist/domain/application/resolve-imported-transformers.js +0 -1
  1762. package/dist/domain/application/resource-builder.d.ts +0 -13
  1763. package/dist/domain/application/resource-builder.js +0 -1
  1764. package/dist/domain/components/component-reader-types.d.ts +0 -44
  1765. package/dist/domain/components/debug-state-component.d.ts +0 -14
  1766. package/dist/domain/components/debug-state-component.js +0 -1
  1767. package/dist/domain/components/domain-component-optic.d.ts +0 -76
  1768. package/dist/domain/components/domain-component-optic.js +0 -16
  1769. package/dist/domain/components/drag-state-component.d.ts +0 -16
  1770. package/dist/domain/components/drag-state-component.js +0 -1
  1771. package/dist/domain/components/export-state-component.d.ts +0 -15
  1772. package/dist/domain/components/export-state-component.js +0 -1
  1773. package/dist/domain/components/fullscreen-state-component.d.ts +0 -14
  1774. package/dist/domain/components/fullscreen-state-component.js +0 -1
  1775. package/dist/domain/components/group-components-by-entity-id-and-name.d.ts +0 -9
  1776. package/dist/domain/components/group-components-by-entity-id-and-name.js +0 -1
  1777. package/dist/domain/components/hover-state-component.d.ts +0 -14
  1778. package/dist/domain/components/hover-state-component.js +0 -1
  1779. package/dist/domain/components/index.d.ts +0 -2
  1780. package/dist/domain/components/index.js +0 -1
  1781. package/dist/domain/components/legacy-filter.d.ts +0 -513
  1782. package/dist/domain/components/navigation-state-component.d.ts +0 -15
  1783. package/dist/domain/components/navigation-state-component.js +0 -1
  1784. package/dist/domain/components/selection-state-component.d.ts +0 -14
  1785. package/dist/domain/components/selection-state-component.js +0 -1
  1786. package/dist/domain/components/system-component-builder.d.ts +0 -12
  1787. package/dist/domain/components/system-component-builder.js +0 -1
  1788. package/dist/domain/components/system-component-filter.d.ts +0 -793
  1789. package/dist/domain/components/system-virtual-entity.js +0 -1
  1790. package/dist/domain/components/tool-state-component.d.ts +0 -14
  1791. package/dist/domain/components/tool-state-component.js +0 -1
  1792. package/dist/domain/components/updates.d.ts +0 -124
  1793. package/dist/domain/components/view-state-component.d.ts +0 -14
  1794. package/dist/domain/components/view-state-component.js +0 -1
  1795. package/dist/domain/components/viewport-state-component.d.ts +0 -29
  1796. package/dist/domain/components/viewport-state-component.js +0 -1
  1797. package/dist/domain/core/action.d.ts +0 -67
  1798. package/dist/domain/core/component.d.ts +0 -46
  1799. package/dist/domain/core/expression.d.ts +0 -50
  1800. package/dist/domain/core/json-schema.js +0 -1
  1801. package/dist/domain/core/migrations.d.ts +0 -99
  1802. package/dist/domain/core/migrations.js +0 -1
  1803. package/dist/domain/core/model.d.ts +0 -127
  1804. package/dist/domain/core/reflection.d.ts +0 -114
  1805. package/dist/domain/core/reflection.js +0 -1
  1806. package/dist/domain/core/state.d.ts +0 -10
  1807. package/dist/domain/domain-context/recipe-system/recipes.d.ts +0 -57
  1808. package/dist/domain/domain-context/recipe-system/recipes.js +0 -1
  1809. package/dist/domain/expressions/constant-expressions.d.ts +0 -9
  1810. package/dist/domain/expressions/constant-expressions.js +0 -1
  1811. package/dist/domain/expressions/custom-expression.d.ts +0 -13
  1812. package/dist/domain/expressions/custom-expression.js +0 -1
  1813. package/dist/domain/expressions/index.d.ts +0 -1
  1814. package/dist/domain/expressions/index.js +0 -1
  1815. package/dist/domain/expressions/memoize-expression.d.ts +0 -17
  1816. package/dist/domain/expressions/prepare-domain-expressions.d.ts +0 -16
  1817. package/dist/domain/invariants/builtin-invariant.d.ts +0 -5
  1818. package/dist/domain/invariants/custom-invariants.d.ts +0 -22
  1819. package/dist/domain/invariants/custom-invariants.js +0 -1
  1820. package/dist/domain/invariants/invariants.d.ts +0 -68
  1821. package/dist/domain/invariants/invariants.js +0 -1
  1822. package/dist/domain/invariants/violation-component.js +0 -1
  1823. package/dist/domain/invariants/violation.d.ts +0 -85
  1824. package/dist/domain/invariants/violation.js +0 -1
  1825. package/dist/domain/relations/all-of-type-relation.d.ts +0 -33
  1826. package/dist/domain/relations/all-of-type-relation.js +0 -1
  1827. package/dist/domain/relations/component-factories.d.ts +0 -15
  1828. package/dist/domain/relations/component-factories.js +0 -1
  1829. package/dist/domain/relations/composed-of.d.ts +0 -12
  1830. package/dist/domain/relations/composed-of.js +0 -1
  1831. package/dist/domain/relations/direct-relation.d.ts +0 -29
  1832. package/dist/domain/relations/indirect-relation.d.ts +0 -81
  1833. package/dist/domain/relations/indirect-relation.js +0 -1
  1834. package/dist/domain/relations/reference-component.d.ts +0 -18
  1835. package/dist/domain/relations/reference-component.js +0 -1
  1836. package/dist/domain/relations/reference-field.d.ts +0 -7
  1837. package/dist/domain/relations/relation-factory.d.ts +0 -19
  1838. package/dist/domain/relations/relation-factory.js +0 -1
  1839. package/dist/domain/relations/relation-implementation.d.ts +0 -8
  1840. package/dist/domain/system-components/angle-indicator.d.ts +0 -21
  1841. package/dist/domain/system-components/angle-indicator.js +0 -1
  1842. package/dist/domain/system-components/attribute-switch.d.ts +0 -8
  1843. package/dist/domain/system-components/attribute-switch.js +0 -1
  1844. package/dist/domain/system-components/autorotate-camera-component.d.ts +0 -19
  1845. package/dist/domain/system-components/autorotate-camera-component.js +0 -1
  1846. package/dist/domain/system-components/basic-sidebar-footer.d.ts +0 -8
  1847. package/dist/domain/system-components/basic-sidebar-footer.js +0 -1
  1848. package/dist/domain/system-components/camera-based-hidden-entity-object.js +0 -1
  1849. package/dist/domain/system-components/camera-based-hidden-entity.js +0 -1
  1850. package/dist/domain/system-components/canvas-config.d.ts +0 -87
  1851. package/dist/domain/system-components/canvas-config.js +0 -1
  1852. package/dist/domain/system-components/canvas-custom-environment.js +0 -1
  1853. package/dist/domain/system-components/canvas-padding.d.ts +0 -25
  1854. package/dist/domain/system-components/canvas-padding.js +0 -1
  1855. package/dist/domain/system-components/canvas-preset-environment.d.ts +0 -37
  1856. package/dist/domain/system-components/canvas-preset-environment.js +0 -1
  1857. package/dist/domain/system-components/child-entity-recipe-hierarchy.d.ts +0 -21
  1858. package/dist/domain/system-components/child-entity-recipe-hierarchy.js +0 -1
  1859. package/dist/domain/system-components/client-side-image.d.ts +0 -14
  1860. package/dist/domain/system-components/client-side-image.js +0 -1
  1861. package/dist/domain/system-components/color-value.js +0 -1
  1862. package/dist/domain/system-components/common/angle-indicator-schema.d.ts +0 -292
  1863. package/dist/domain/system-components/common/angle-indicator-schema.js +0 -1
  1864. package/dist/domain/system-components/common/dimension-indicator-schema.d.ts +0 -607
  1865. package/dist/domain/system-components/common/dimension-indicator-schema.js +0 -1
  1866. package/dist/domain/system-components/custom-header.d.ts +0 -11
  1867. package/dist/domain/system-components/custom-header.js +0 -1
  1868. package/dist/domain/system-components/custom-price-footer.js +0 -1
  1869. package/dist/domain/system-components/custom-sidebar-footer.d.ts +0 -11
  1870. package/dist/domain/system-components/custom-sidebar-footer.js +0 -1
  1871. package/dist/domain/system-components/dimension-indicator.d.ts +0 -31
  1872. package/dist/domain/system-components/dimension-indicator.js +0 -1
  1873. package/dist/domain/system-components/editable-angle-indicator.d.ts +0 -38
  1874. package/dist/domain/system-components/editable-angle-indicator.js +0 -1
  1875. package/dist/domain/system-components/editable-distance-dimension-indicator.d.ts +0 -42
  1876. package/dist/domain/system-components/editable-distance-dimension-indicator.js +0 -1
  1877. package/dist/domain/system-components/editable-offset-indicator.d.ts +0 -41
  1878. package/dist/domain/system-components/editable-offset-indicator.js +0 -1
  1879. package/dist/domain/system-components/editable-size-indicator.d.ts +0 -38
  1880. package/dist/domain/system-components/editable-size-indicator.js +0 -1
  1881. package/dist/domain/system-components/entity-header.d.ts +0 -22
  1882. package/dist/domain/system-components/entity-header.js +0 -1
  1883. package/dist/domain/system-components/exit-tool-mode-fab.d.ts +0 -25
  1884. package/dist/domain/system-components/exit-tool-mode-fab.js +0 -1
  1885. package/dist/domain/system-components/finalize-action.d.ts +0 -20
  1886. package/dist/domain/system-components/finalize-action.js +0 -1
  1887. package/dist/domain/system-components/finalize-component.js +0 -1
  1888. package/dist/domain/system-components/fit-selection-orthographic-camera-component.js +0 -1
  1889. package/dist/domain/system-components/fit-selection-perspective-camera-component.js +0 -1
  1890. package/dist/domain/system-components/fixed-header.d.ts +0 -10
  1891. package/dist/domain/system-components/fixed-header.js +0 -1
  1892. package/dist/domain/system-components/floating-header.d.ts +0 -10
  1893. package/dist/domain/system-components/floating-header.js +0 -1
  1894. package/dist/domain/system-components/hidden-header.d.ts +0 -8
  1895. package/dist/domain/system-components/hidden-header.js +0 -1
  1896. package/dist/domain/system-components/hidden-sidebar-footer.d.ts +0 -21
  1897. package/dist/domain/system-components/hidden-sidebar-footer.js +0 -1
  1898. package/dist/domain/system-components/horizontal-tabs.d.ts +0 -28
  1899. package/dist/domain/system-components/horizontal-tabs.js +0 -1
  1900. package/dist/domain/system-components/list-selector-dimension-indicator.d.ts +0 -30
  1901. package/dist/domain/system-components/list-selector-dimension-indicator.js +0 -1
  1902. package/dist/domain/system-components/multilingual-text-value.js +0 -1
  1903. package/dist/domain/system-components/navigation-steps.d.ts +0 -19
  1904. package/dist/domain/system-components/navigation-steps.js +0 -1
  1905. package/dist/domain/system-components/offset-anchors.d.ts +0 -20
  1906. package/dist/domain/system-components/offset-anchors.js +0 -1
  1907. package/dist/domain/system-components/offset-indicator.d.ts +0 -84
  1908. package/dist/domain/system-components/offset-indicator.js +0 -1
  1909. package/dist/domain/system-components/offset.d.ts +0 -31
  1910. package/dist/domain/system-components/offset.js +0 -1
  1911. package/dist/domain/system-components/other-action.d.ts +0 -14
  1912. package/dist/domain/system-components/other-action.js +0 -1
  1913. package/dist/domain/system-components/property-page.d.ts +0 -16
  1914. package/dist/domain/system-components/property-page.js +0 -1
  1915. package/dist/domain/system-components/read-sidebar-footer.d.ts +0 -8
  1916. package/dist/domain/system-components/read-sidebar-footer.js +0 -1
  1917. package/dist/domain/system-components/replace-entity-recipe-hierarchy.d.ts +0 -21
  1918. package/dist/domain/system-components/replace-entity-recipe-hierarchy.js +0 -1
  1919. package/dist/domain/system-components/rotatable.js +0 -1
  1920. package/dist/domain/system-components/rotation-handle.d.ts +0 -53
  1921. package/dist/domain/system-components/rotation-handle.js +0 -1
  1922. package/dist/domain/system-components/save-template-thumbnail.d.ts +0 -14
  1923. package/dist/domain/system-components/save-template-thumbnail.js +0 -1
  1924. package/dist/domain/system-components/scene-entity-add-fab.d.ts +0 -32
  1925. package/dist/domain/system-components/scene-entity-add-fab.js +0 -1
  1926. package/dist/domain/system-components/scene-entity-animation.js +0 -1
  1927. package/dist/domain/system-components/scene-entity-control.js +0 -1
  1928. package/dist/domain/system-components/scene-entity-delete-fab.d.ts +0 -19
  1929. package/dist/domain/system-components/scene-entity-delete-fab.js +0 -1
  1930. package/dist/domain/system-components/scene-entity-floor-object.js +0 -1
  1931. package/dist/domain/system-components/scene-entity-html-hotspot.d.ts +0 -27
  1932. package/dist/domain/system-components/scene-entity-html-hotspot.js +0 -1
  1933. package/dist/domain/system-components/scene-entity-navigation-hotspot.d.ts +0 -20
  1934. package/dist/domain/system-components/scene-entity-navigation-hotspot.js +0 -1
  1935. package/dist/domain/system-components/scene-entity-object-html-hotspot.d.ts +0 -31
  1936. package/dist/domain/system-components/scene-entity-object-html-hotspot.js +0 -1
  1937. package/dist/domain/system-components/scene-entity-select-hotspot.d.ts +0 -5
  1938. package/dist/domain/system-components/scene-entity-select-hotspot.js +0 -1
  1939. package/dist/domain/system-components/scene-entity-wall-object.js +0 -1
  1940. package/dist/domain/system-components/selectable-component.js +0 -1
  1941. package/dist/domain/system-components/sidebar-tabs.d.ts +0 -29
  1942. package/dist/domain/system-components/sidebar-tabs.js +0 -1
  1943. package/dist/domain/system-components/simple-summary.js +0 -1
  1944. package/dist/domain/system-components/size.d.ts +0 -21
  1945. package/dist/domain/system-components/size.js +0 -1
  1946. package/dist/domain/system-components/sketching-draw.d.ts +0 -17
  1947. package/dist/domain/system-components/sketching-draw.js +0 -1
  1948. package/dist/domain/system-components/sketching-edit.d.ts +0 -28
  1949. package/dist/domain/system-components/sketching-edit.js +0 -1
  1950. package/dist/domain/system-components/summary-component.js +0 -1
  1951. package/dist/domain/system-components/text-value.js +0 -1
  1952. package/dist/domain/system-components/tool-controls.js +0 -1
  1953. package/dist/domain/system-components/tool-menu-fab.d.ts +0 -40
  1954. package/dist/domain/system-components/tool-menu-fab.js +0 -1
  1955. package/dist/domain/system-components/toolbar.d.ts +0 -13
  1956. package/dist/domain/system-components/toolbar.js +0 -1
  1957. package/dist/domain/system-components/universal-sidebar-footer.d.ts +0 -12
  1958. package/dist/domain/system-components/universal-sidebar-footer.js +0 -1
  1959. package/dist/domain/system-components/view-controls.js +0 -1
  1960. package/dist/phoenix/commands/generate-project-files.d.ts +0 -6
  1961. package/dist/phoenix/commands/generate-project-files.js +0 -1
  1962. package/dist/react-sdk/application-runtime/runtime/god-mode.d.ts +0 -19
  1963. package/dist/react-sdk/application-runtime/runtime/god-mode.js +0 -1
  1964. package/dist/react-sdk/loading-state/LoadingStateProvider.d.ts +0 -31
  1965. package/dist/react-sdk/loading-state/LoadingStateProvider.js +0 -1
  1966. package/dist/react-sdk/loading-state/loading-state-manager.d.ts +0 -32
  1967. package/dist/react-sdk/loading-state/loading-state-manager.js +0 -1
  1968. /package/dist/{domain/components/component-reader-types.js → application-spec/core/expressions/relation-expression-params.js} +0 -0
  1969. /package/dist/application-spec/{core → enhanced-json}/eval-code-uses-self.d.ts +0 -0
  1970. /package/dist/application-spec/{core → enhanced-json}/eval-code-uses-self.js +0 -0
  1971. /package/dist/application-spec/{core → enhanced-json}/eval-to-constant.js +0 -0
  1972. /package/dist/{domain/core/action.js → application-spec/generate-application/runtime/spec-code/spec-code-module.js} +0 -0
  1973. /package/dist/{domain/core/enhanced-json-schema.js → application-spec/parse-application-files/spec/expressions/expression-read.js} +0 -0
  1974. /package/dist/{domain/core/schema-validator.js → configurator/ui/assistant/form/form-model.js} +0 -0
  1975. /package/dist/{domain/relations/reference-field.js → configurator/ui/assistant/form/form-state.js} +0 -0
  1976. /package/dist/{domain/core/expression.js → configurator/ui/assistant/form-elements/form-element-props.js} +0 -0
  1977. /package/dist/domain/{actions → core/action}/action-factory.js +0 -0
  1978. /package/dist/domain/{relations/relation-implementation.js → core/action/action.js} +0 -0
  1979. /package/dist/domain/{components → core/component}/legacy-filter.js +0 -0
  1980. /package/dist/domain/{components → core/component}/system-component-filter.js +0 -0
  1981. /package/dist/domain/{components → core/component}/system-virtual-entity.d.ts +0 -0
  1982. /package/dist/domain/{components → core/component}/updates.js +0 -0
  1983. /package/dist/domain/{invariants → core/invariant}/builtin-invariant.js +0 -0
  1984. /package/dist/domain/{invariants → core/invariant}/violation-component.d.ts +0 -0
  1985. /package/dist/domain/core/{alias.d.ts → model/alias.d.ts} +0 -0
  1986. /package/dist/domain/core/{alias.js → model/alias.js} +0 -0
  1987. /package/dist/domain/core/{common-definitions.d.ts → model/common-definitions.d.ts} +0 -0
  1988. /package/dist/domain/core/{common-definitions.js → model/common-definitions.js} +0 -0
  1989. /package/dist/domain/core/{component.js → model/component.js} +0 -0
  1990. /package/dist/domain/core/{model.js → model/model.js} +0 -0
  1991. /package/dist/domain/core/{preset.d.ts → model/preset.d.ts} +0 -0
  1992. /package/dist/domain/core/{preset.js → model/preset.js} +0 -0
  1993. /package/dist/domain/{relations → core/relation}/direct-relation.js +0 -0
  1994. /package/dist/domain/core/{schema-validator-ajv.d.ts → schema/create-ajv-schema-validator.d.ts} +0 -0
  1995. /package/dist/domain/core/{schema-validator-ajv.js → schema/create-ajv-schema-validator.js} +0 -0
  1996. /package/dist/domain/core/{schema-validator-csp.d.ts → schema/create-csp-schema-validator.d.ts} +0 -0
  1997. /package/dist/domain/core/{schema-validator-csp.js → schema/create-csp-schema-validator.js} +0 -0
  1998. /package/dist/domain/core/{enhanced-json-schema.d.ts → schema/enhanced-json-schema.d.ts} +0 -0
  1999. /package/dist/domain/core/{json-schema.d.ts → schema/extended-schema-validator.d.ts} +0 -0
  2000. /package/dist/domain/core/{schema-validator.d.ts → schema/schema-validator.d.ts} +0 -0
  2001. /package/dist/domain/core/{state.js → state/state.js} +0 -0
  2002. /package/dist/domain/{expressions → domain-runtime/spec}/memoize-expression.js +0 -0
  2003. /package/dist/domain/{expressions → domain-runtime/spec}/prepare-domain-expressions.js +0 -0
  2004. /package/dist/domain/{system-components → extensions}/camera-based-hidden-entity-object.d.ts +0 -0
  2005. /package/dist/domain/{system-components → extensions}/camera-based-hidden-entity.d.ts +0 -0
  2006. /package/dist/domain/{system-components → extensions}/canvas-custom-environment.d.ts +0 -0
  2007. /package/dist/domain/{system-components → extensions}/color-value.d.ts +0 -0
  2008. /package/dist/domain/{system-components → extensions}/common/dimension-indicators.d.ts +0 -0
  2009. /package/dist/domain/{system-components → extensions}/common/dimension-indicators.js +0 -0
  2010. /package/dist/domain/{system-components → extensions}/common/editable-indicator-button-variant.d.ts +0 -0
  2011. /package/dist/domain/{system-components → extensions}/common/editable-indicator-button-variant.js +0 -0
  2012. /package/dist/domain/{system-components → extensions}/custom-price-footer.d.ts +0 -0
  2013. /package/dist/domain/{system-components → extensions}/finalize-component.d.ts +0 -0
  2014. /package/dist/domain/{system-components → extensions}/fit-selection-orthographic-camera-component.d.ts +0 -0
  2015. /package/dist/domain/{system-components → extensions}/fit-selection-perspective-camera-component.d.ts +0 -0
  2016. /package/dist/domain/{system-components → extensions}/multilingual-text-value.d.ts +0 -0
  2017. /package/dist/domain/{system-components → extensions}/rotatable.d.ts +0 -0
  2018. /package/dist/domain/{system-components → extensions}/scene-entity-animation.d.ts +0 -0
  2019. /package/dist/domain/{system-components → extensions}/scene-entity-control.d.ts +0 -0
  2020. /package/dist/domain/{system-components → extensions}/scene-entity-floor-object.d.ts +0 -0
  2021. /package/dist/domain/{system-components → extensions}/scene-entity-wall-object.d.ts +0 -0
  2022. /package/dist/domain/{system-components → extensions}/selectable-component.d.ts +0 -0
  2023. /package/dist/domain/{system-components → extensions}/simple-summary.d.ts +0 -0
  2024. /package/dist/domain/{system-components → extensions}/summary-component.d.ts +0 -0
  2025. /package/dist/domain/{system-components → extensions}/text-value.d.ts +0 -0
  2026. /package/dist/domain/{system-components → extensions}/tool-controls.d.ts +0 -0
  2027. /package/dist/domain/{system-components → extensions}/view-controls.d.ts +0 -0
@@ -2,6 +2,7 @@
2
2
  export declare enum DiagnosticCode {
3
3
  EMPTY_SPEC_FILE = "EMPTY_SPEC_FILE",
4
4
  YAML_PARSE_ERROR = "YAML_PARSE_ERROR",
5
+ NON_FINITE_NUMBER = "NON_FINITE_NUMBER",
5
6
  SCHEMA_PARSE_ERROR = "SCHEMA_PARSE_ERROR",
6
7
  IMPORT_MODULE_NOT_FOUND = "IMPORT_MODULE_NOT_FOUND",
7
8
  IMPORT_MODULE_OUTSIDE_PROJECT = "IMPORT_MODULE_OUTSIDE_PROJECT",
@@ -74,6 +75,9 @@ export declare enum DiagnosticCode {
74
75
  RELATION_UNKNOWN_FIELD_DIRECT = "RELATION_UNKNOWN_FIELD_DIRECT",
75
76
  RELATION_UNKNOWN_FIELD_INDIRECT = "RELATION_UNKNOWN_FIELD_INDIRECT",
76
77
  RELATION_IMMUTABLE_FIELD = "RELATION_IMMUTABLE_FIELD",
78
+ RELATION_FIELD_NOT_REFERENCE = "RELATION_FIELD_NOT_REFERENCE",
79
+ RELATION_FIELD_REFERENCES_OTHER_TYPES = "RELATION_FIELD_REFERENCES_OTHER_TYPES",
80
+ RELATION_FIELD_CARDINALITY_MISMATCH = "RELATION_FIELD_CARDINALITY_MISMATCH",
77
81
  RELATION_MISSING_COUNTERPART = "RELATION_MISSING_COUNTERPART",
78
82
  RELATION_COUNTERPART_COMPOSED_OF_MISMATCH = "RELATION_COUNTERPART_COMPOSED_OF_MISMATCH",
79
83
  RELATION_ENTITY_NOT_IN_COMPOSITION_TREE = "RELATION_ENTITY_NOT_IN_COMPOSITION_TREE",
@@ -93,6 +97,7 @@ export declare enum DiagnosticCode {
93
97
  UNMATCHED_TRANSFORMER = "UNMATCHED_TRANSFORMER",
94
98
  DUPLICATE_APP_METADATA_FIELD = "DUPLICATE_APP_METADATA_FIELD",
95
99
  DUPLICATE_INFRA_FIELD = "DUPLICATE_INFRA_FIELD",
100
+ DUPLICATE_RESOURCE_NAME = "DUPLICATE_RESOURCE_NAME",
96
101
  INVALID_APPLICATION_VERSION = "INVALID_APPLICATION_VERSION",
97
102
  INVALID_ENV_VAR_KEY = "INVALID_ENV_VAR_KEY",
98
103
  DUPLICATE_ADMIN_PAGES = "DUPLICATE_ADMIN_PAGES",
@@ -111,6 +116,11 @@ export declare enum DiagnosticCode {
111
116
  ASSISTANT_UNKNOWN_OPTIONS_COMPONENT = "ASSISTANT_UNKNOWN_OPTIONS_COMPONENT",
112
117
  ASSISTANT_RESERVED_OPTIONS_EDGE_NAME = "ASSISTANT_RESERVED_OPTIONS_EDGE_NAME",
113
118
  ASSISTANT_DUPLICATE_OPTIONS_EDGE = "ASSISTANT_DUPLICATE_OPTIONS_EDGE",
119
+ ASSISTANT_UNKNOWN_SCREENSHOT_VIEW = "ASSISTANT_UNKNOWN_SCREENSHOT_VIEW",
120
+ ASSISTANT_UNKNOWN_SCREENSHOT_EXPORT_STATE = "ASSISTANT_UNKNOWN_SCREENSHOT_EXPORT_STATE",
121
+ ASSISTANT_DUPLICATE_SCREENSHOT_VIEW = "ASSISTANT_DUPLICATE_SCREENSHOT_VIEW",
122
+ ASSISTANT_INVALID_SCREENSHOT_VIEW_NAME = "ASSISTANT_INVALID_SCREENSHOT_VIEW_NAME",
123
+ ASSISTANT_SCREENSHOT_VIEW_TYPE_NAME_CONFLICT = "ASSISTANT_SCREENSHOT_VIEW_TYPE_NAME_CONFLICT",
114
124
  ASSISTANT_RESERVED_FIELD_NAME = "ASSISTANT_RESERVED_FIELD_NAME",
115
125
  ASSISTANT_FIELD_NAME_CONFLICT = "ASSISTANT_FIELD_NAME_CONFLICT",
116
126
  ASSISTANT_RESERVED_TYPE_NAME = "ASSISTANT_RESERVED_TYPE_NAME",
@@ -118,6 +128,14 @@ export declare enum DiagnosticCode {
118
128
  ASSISTANT_UNKNOWN_ACTION = "ASSISTANT_UNKNOWN_ACTION",
119
129
  ASSISTANT_MUTATION_NAME_CONFLICT = "ASSISTANT_MUTATION_NAME_CONFLICT",
120
130
  ASSISTANT_ACTION_RESULT_TYPE_CONFLICT = "ASSISTANT_ACTION_RESULT_TYPE_CONFLICT",
131
+ ASSISTANT_UNKNOWN_LENS = "ASSISTANT_UNKNOWN_LENS",
132
+ ASSISTANT_EMPTY_LENS = "ASSISTANT_EMPTY_LENS",
133
+ ASSISTANT_RESERVED_LENS_NAME = "ASSISTANT_RESERVED_LENS_NAME",
134
+ ASSISTANT_FIELD_SHAPE_CONFLICT = "ASSISTANT_FIELD_SHAPE_CONFLICT",
135
+ ASSISTANT_FORM_ELEMENT_BUILT_IN_NAME = "ASSISTANT_FORM_ELEMENT_BUILT_IN_NAME",
136
+ ASSISTANT_FORM_ELEMENT_HTML_NAME = "ASSISTANT_FORM_ELEMENT_HTML_NAME",
137
+ ASSISTANT_FORM_ATTRIBUTE_RESERVED_NAME = "ASSISTANT_FORM_ATTRIBUTE_RESERVED_NAME",
138
+ ASSISTANT_FORM_ELEMENT_UNKNOWN_REQUIRED = "ASSISTANT_FORM_ELEMENT_UNKNOWN_REQUIRED",
121
139
  INVALID_CHUNK_KEY = "INVALID_CHUNK_KEY",
122
140
  RESERVED_CHUNK_KEY = "RESERVED_CHUNK_KEY",
123
141
  CONFLICTING_DATA_ENTRY = "CONFLICTING_DATA_ENTRY",
@@ -128,6 +146,7 @@ export declare enum DiagnosticCode {
128
146
  DEFAULTS_UNKNOWN_ENTITY_KEY = "DEFAULTS_UNKNOWN_ENTITY_KEY",
129
147
  DEFAULTS_UNKNOWN_PROPERTY = "DEFAULTS_UNKNOWN_PROPERTY",
130
148
  DEFAULTS_SCHEMA_VIOLATION = "DEFAULTS_SCHEMA_VIOLATION",
149
+ DEFAULTS_INCOMPLETE = "DEFAULTS_INCOMPLETE",
131
150
  DEFAULTS_DEPRECATED = "DEFAULTS_DEPRECATED",
132
151
  COMPONENT_INVALID_INSTANCE_NAME = "COMPONENT_INVALID_INSTANCE_NAME",
133
152
  COMPONENT_MERGE_CONFLICT = "COMPONENT_MERGE_CONFLICT",
@@ -135,6 +154,10 @@ export declare enum DiagnosticCode {
135
154
  COMPONENT_IMPORT_REF_UNSUPPORTED = "COMPONENT_IMPORT_REF_UNSUPPORTED",
136
155
  COMPONENT_DATA_REF_UNSUPPORTED = "COMPONENT_DATA_REF_UNSUPPORTED",
137
156
  READ_BINDING_UNKNOWN_FIELD = "READ_BINDING_UNKNOWN_FIELD",
157
+ COMPONENT_BINDING_TYPE_MISMATCH = "COMPONENT_BINDING_TYPE_MISMATCH",
158
+ COMPONENT_STATIC_ENTITY_ID = "COMPONENT_STATIC_ENTITY_ID",
159
+ EXPRESSION_READ_TYPE_CONFLICT = "EXPRESSION_READ_TYPE_CONFLICT",
160
+ EXPRESSION_VALUE_TYPE_MISMATCH = "EXPRESSION_VALUE_TYPE_MISMATCH",
138
161
  WRITE_BINDING_UNKNOWN_FIELD = "WRITE_BINDING_UNKNOWN_FIELD",
139
162
  WRITE_BINDING_IMMUTABLE_FIELD = "WRITE_BINDING_IMMUTABLE_FIELD",
140
163
  WRITE_BINDING_EXPRESSION_TARGET = "WRITE_BINDING_EXPRESSION_TARGET",
@@ -1 +1 @@
1
- var E;export var DiagnosticCode=((E={}).EMPTY_SPEC_FILE="EMPTY_SPEC_FILE",E.YAML_PARSE_ERROR="YAML_PARSE_ERROR",E.SCHEMA_PARSE_ERROR="SCHEMA_PARSE_ERROR",E.IMPORT_MODULE_NOT_FOUND="IMPORT_MODULE_NOT_FOUND",E.IMPORT_MODULE_OUTSIDE_PROJECT="IMPORT_MODULE_OUTSIDE_PROJECT",E.MERGE_CONFLICT="MERGE_CONFLICT",E.MISSING_MODEL="MISSING_MODEL",E.MISSING_LATEST="MISSING_LATEST",E.INVALID_VERSION_KEY="INVALID_VERSION_KEY",E.MISSING_VERSION="MISSING_VERSION",E.NAME_CLASH="NAME_CLASH",E.INVALID_ENTITY_TYPE_NAME="INVALID_ENTITY_TYPE_NAME",E.DUPLICATE_ENTITY_TYPE="DUPLICATE_ENTITY_TYPE",E.INVALID_ALIAS_NAME="INVALID_ALIAS_NAME",E.RESERVED_ALIAS_NAME="RESERVED_ALIAS_NAME",E.MISSING_ROOT_ENTITY="MISSING_ROOT_ENTITY",E.CIRCULAR_ALIAS="CIRCULAR_ALIAS",E.UNKNOWN_ALIAS_MEMBER="UNKNOWN_ALIAS_MEMBER",E.UNKNOWN_SHAPE_KEY="UNKNOWN_SHAPE_KEY",E.UNKNOWN_REFERENCE_TARGET="UNKNOWN_REFERENCE_TARGET",E.RESERVED_PROPERTY="RESERVED_PROPERTY",E.INVALID_SHAPE_PROPERTY_NAME="INVALID_SHAPE_PROPERTY_NAME",E.UNKNOWN_PHX_DEFINITION="UNKNOWN_PHX_DEFINITION",E.UNKNOWN_COMMON_TYPE_REF="UNKNOWN_COMMON_TYPE_REF",E.INVALID_REF="INVALID_REF",E.MISSING_MIGRATION="MISSING_MIGRATION",E.MIGRATION_INVALID_START="MIGRATION_INVALID_START",E.UNKNOWN_MIGRATION="UNKNOWN_MIGRATION",E.PROTECTED_SHAPE="PROTECTED_SHAPE",E.PROTECTED_ALIAS="PROTECTED_ALIAS",E.RESERVED_ALIAS="RESERVED_ALIAS",E.ALIAS_INCLUDES_COMMON="ALIAS_INCLUDES_COMMON",E.PROTECTED_INVARIANT="PROTECTED_INVARIANT",E.PROTECTED_RELATION="PROTECTED_RELATION",E.PROTECTED_EXPRESSION="PROTECTED_EXPRESSION",E.PROTECTED_COMMON_TYPE="PROTECTED_COMMON_TYPE",E.PROTECTED_ENTITY_TYPE="PROTECTED_ENTITY_TYPE",E.PRESET_UNKNOWN_ROOT_ENTITY_TYPE="PRESET_UNKNOWN_ROOT_ENTITY_TYPE",E.PRESET_UNKNOWN_ENTITY_TYPE="PRESET_UNKNOWN_ENTITY_TYPE",E.PRESET_INVALID_ENTITY_ID_FORMAT="PRESET_INVALID_ENTITY_ID_FORMAT",E.PRESET_MISSING_ROOT_ENTITY="PRESET_MISSING_ROOT_ENTITY",E.PRESET_MULTIPLE_ROOT_ENTITIES="PRESET_MULTIPLE_ROOT_ENTITIES",E.PRESET_ENTITY_SCHEMA_VIOLATION="PRESET_ENTITY_SCHEMA_VIOLATION",E.PRESET_DUPLICATE_ENTITY_ID="PRESET_DUPLICATE_ENTITY_ID",E.PRESET_ENTITY_ID_TYPE_MISMATCH="PRESET_ENTITY_ID_TYPE_MISMATCH",E.PRESET_UNKNOWN_REFERENCE="PRESET_UNKNOWN_REFERENCE",E.PRESET_REFERENCE_TYPE_MISMATCH="PRESET_REFERENCE_TYPE_MISMATCH",E.PRESET_RELATION_CARDINALITY_VIOLATION="PRESET_RELATION_CARDINALITY_VIOLATION",E.PRESET_COMPOSITION_MULTIPLE_PARENTS="PRESET_COMPOSITION_MULTIPLE_PARENTS",E.PRESET_COMPOSITION_CYCLE="PRESET_COMPOSITION_CYCLE",E.PRESET_ENTITY_NOT_IN_COMPOSITION_TREE="PRESET_ENTITY_NOT_IN_COMPOSITION_TREE",E.ADMIN_PRESET_MULTIPLE_PER_FILE="ADMIN_PRESET_MULTIPLE_PER_FILE",E.ADMIN_PRESET_ROOT_TYPE_NOT_ADMIN="ADMIN_PRESET_ROOT_TYPE_NOT_ADMIN",E.ACTIONS_IN_ADMIN_FILE="ACTIONS_IN_ADMIN_FILE",E.INVALID_ACTION_NAME="INVALID_ACTION_NAME",E.ACTION_UNKNOWN_REFERENCE_TARGET="ACTION_UNKNOWN_REFERENCE_TARGET",E.EXPRESSION_UNKNOWN_ENTITY_KEY="EXPRESSION_UNKNOWN_ENTITY_KEY",E.INVALID_EXPRESSION_NAME="INVALID_EXPRESSION_NAME",E.DUPLICATE_EXPRESSION="DUPLICATE_EXPRESSION",E.EXPRESSION_RELATION_CONFLICT="EXPRESSION_RELATION_CONFLICT",E.CONSTANTS_EXPRESSION_CONFLICT="CONSTANTS_EXPRESSION_CONFLICT",E.COMPONENT_RELATION_CONFLICT="COMPONENT_RELATION_CONFLICT",E.COMPONENT_ALIAS_CONFLICT="COMPONENT_ALIAS_CONFLICT",E.INVALID_INVARIANT_NAME="INVALID_INVARIANT_NAME",E.INVALID_VIOLATION_TYPE_NAME="INVALID_VIOLATION_TYPE_NAME",E.INVARIANT_UNKNOWN_ENTITY_KEY="INVARIANT_UNKNOWN_ENTITY_KEY",E.INVARIANT_MANUAL_VIOLATIONS_COMPONENT="INVARIANT_MANUAL_VIOLATIONS_COMPONENT",E.INVARIANT_VIOLATIONS_EXPRESSION_CONFLICT="INVARIANT_VIOLATIONS_EXPRESSION_CONFLICT",E.INVALID_RELATION_NAME="INVALID_RELATION_NAME",E.RELATION_UNKNOWN_ENTITY_KEY="RELATION_UNKNOWN_ENTITY_KEY",E.RELATION_UNKNOWN_TARGET="RELATION_UNKNOWN_TARGET",E.RELATION_UNKNOWN_FIELD_DIRECT="RELATION_UNKNOWN_FIELD_DIRECT",E.RELATION_UNKNOWN_FIELD_INDIRECT="RELATION_UNKNOWN_FIELD_INDIRECT",E.RELATION_IMMUTABLE_FIELD="RELATION_IMMUTABLE_FIELD",E.RELATION_MISSING_COUNTERPART="RELATION_MISSING_COUNTERPART",E.RELATION_COUNTERPART_COMPOSED_OF_MISMATCH="RELATION_COUNTERPART_COMPOSED_OF_MISMATCH",E.RELATION_ENTITY_NOT_IN_COMPOSITION_TREE="RELATION_ENTITY_NOT_IN_COMPOSITION_TREE",E.DUPLICATE_DATA_SCHEMA="DUPLICATE_DATA_SCHEMA",E.ADMIN_DATA_SCHEMA="ADMIN_DATA_SCHEMA",E.SESSION_DATA_REQUIRED_PROPERTIES="SESSION_DATA_REQUIRED_PROPERTIES",E.CLERK_SESSION_DATA_INCOMPATIBLE="CLERK_SESSION_DATA_INCOMPATIBLE",E.RESERVED_PUBLISHED_DATA_KEY="RESERVED_PUBLISHED_DATA_KEY",E.DUPLICATE_STATE_FIELD="DUPLICATE_STATE_FIELD",E.INVALID_STATE_KEY="INVALID_STATE_KEY",E.DUPLICATE_STATE_VALUE="DUPLICATE_STATE_VALUE",E.DUPLICATE_THEME_FIELD="DUPLICATE_THEME_FIELD",E.DUPLICATE_UI_FIELD="DUPLICATE_UI_FIELD",E.CONFLICTING_TRANSFORMERS="CONFLICTING_TRANSFORMERS",E.DUPLICATE_TRANSFORMER="DUPLICATE_TRANSFORMER",E.DUPLICATE_TRANSFORMER_FILE="DUPLICATE_TRANSFORMER_FILE",E.UNMATCHED_TRANSFORMER="UNMATCHED_TRANSFORMER",E.DUPLICATE_APP_METADATA_FIELD="DUPLICATE_APP_METADATA_FIELD",E.DUPLICATE_INFRA_FIELD="DUPLICATE_INFRA_FIELD",E.INVALID_APPLICATION_VERSION="INVALID_APPLICATION_VERSION",E.INVALID_ENV_VAR_KEY="INVALID_ENV_VAR_KEY",E.DUPLICATE_ADMIN_PAGES="DUPLICATE_ADMIN_PAGES",E.ADMIN_PAGES_NAV_STATE_CONFLICT="ADMIN_PAGES_NAV_STATE_CONFLICT",E.ADMIN_PAGE_DATA_ENTRY_CONFLICT="ADMIN_PAGE_DATA_ENTRY_CONFLICT",E.CONFLICTING_BUDGETS="CONFLICTING_BUDGETS",E.CONFLICTING_CHUNKS="CONFLICTING_CHUNKS",E.CONFLICTING_ASSISTANT="CONFLICTING_ASSISTANT",E.ASSISTANT_UNKNOWN_TYPE="ASSISTANT_UNKNOWN_TYPE",E.ASSISTANT_UNKNOWN_FIELD="ASSISTANT_UNKNOWN_FIELD",E.ASSISTANT_UNSUPPORTED_EXPRESSION="ASSISTANT_UNSUPPORTED_EXPRESSION",E.ASSISTANT_NOT_WRITABLE="ASSISTANT_NOT_WRITABLE",E.ASSISTANT_UNKNOWN_RECIPE_GROUP="ASSISTANT_UNKNOWN_RECIPE_GROUP",E.ASSISTANT_DUPLICATE_RECIPE_GROUP="ASSISTANT_DUPLICATE_RECIPE_GROUP",E.ASSISTANT_META_TYPE_NAME_CONFLICT="ASSISTANT_META_TYPE_NAME_CONFLICT",E.ASSISTANT_UNKNOWN_OPTIONS_COMPONENT="ASSISTANT_UNKNOWN_OPTIONS_COMPONENT",E.ASSISTANT_RESERVED_OPTIONS_EDGE_NAME="ASSISTANT_RESERVED_OPTIONS_EDGE_NAME",E.ASSISTANT_DUPLICATE_OPTIONS_EDGE="ASSISTANT_DUPLICATE_OPTIONS_EDGE",E.ASSISTANT_RESERVED_FIELD_NAME="ASSISTANT_RESERVED_FIELD_NAME",E.ASSISTANT_FIELD_NAME_CONFLICT="ASSISTANT_FIELD_NAME_CONFLICT",E.ASSISTANT_RESERVED_TYPE_NAME="ASSISTANT_RESERVED_TYPE_NAME",E.ASSISTANT_INVALID_SCHEMA="ASSISTANT_INVALID_SCHEMA",E.ASSISTANT_UNKNOWN_ACTION="ASSISTANT_UNKNOWN_ACTION",E.ASSISTANT_MUTATION_NAME_CONFLICT="ASSISTANT_MUTATION_NAME_CONFLICT",E.ASSISTANT_ACTION_RESULT_TYPE_CONFLICT="ASSISTANT_ACTION_RESULT_TYPE_CONFLICT",E.INVALID_CHUNK_KEY="INVALID_CHUNK_KEY",E.RESERVED_CHUNK_KEY="RESERVED_CHUNK_KEY",E.CONFLICTING_DATA_ENTRY="CONFLICTING_DATA_ENTRY",E.INVALID_DATA_ENTRY_KEY="INVALID_DATA_ENTRY_KEY",E.INVALID_DATA_DEFINITION_FIELD_KEY="INVALID_DATA_DEFINITION_FIELD_KEY",E.UNKNOWN_DATA_CHUNK="UNKNOWN_DATA_CHUNK",E.INVALID_DATA_VALUE="INVALID_DATA_VALUE",E.DEFAULTS_UNKNOWN_ENTITY_KEY="DEFAULTS_UNKNOWN_ENTITY_KEY",E.DEFAULTS_UNKNOWN_PROPERTY="DEFAULTS_UNKNOWN_PROPERTY",E.DEFAULTS_SCHEMA_VIOLATION="DEFAULTS_SCHEMA_VIOLATION",E.DEFAULTS_DEPRECATED="DEFAULTS_DEPRECATED",E.COMPONENT_INVALID_INSTANCE_NAME="COMPONENT_INVALID_INSTANCE_NAME",E.COMPONENT_MERGE_CONFLICT="COMPONENT_MERGE_CONFLICT",E.COMPONENT_UNKNOWN_ENTITY_KEY="COMPONENT_UNKNOWN_ENTITY_KEY",E.COMPONENT_IMPORT_REF_UNSUPPORTED="COMPONENT_IMPORT_REF_UNSUPPORTED",E.COMPONENT_DATA_REF_UNSUPPORTED="COMPONENT_DATA_REF_UNSUPPORTED",E.READ_BINDING_UNKNOWN_FIELD="READ_BINDING_UNKNOWN_FIELD",E.WRITE_BINDING_UNKNOWN_FIELD="WRITE_BINDING_UNKNOWN_FIELD",E.WRITE_BINDING_IMMUTABLE_FIELD="WRITE_BINDING_IMMUTABLE_FIELD",E.WRITE_BINDING_EXPRESSION_TARGET="WRITE_BINDING_EXPRESSION_TARGET",E.WRITE_BINDING_DUPLICATE_TARGET="WRITE_BINDING_DUPLICATE_TARGET",E.UNKNOWN_SRC_PATH="UNKNOWN_SRC_PATH",E.INVALID_SUBDIRECTORY="INVALID_SUBDIRECTORY",E.MISSING_WEBHOOK_INDEX="MISSING_WEBHOOK_INDEX",E.MODULE_ANALYSIS_FAILED="MODULE_ANALYSIS_FAILED",E.WEBHOOK_UNSAFE_IMPORT="WEBHOOK_UNSAFE_IMPORT",E.MOCK_TEMPLATE_PARSE_ERROR="MOCK_TEMPLATE_PARSE_ERROR",E.ENHANCED_JSON_VALUE_EVAL_NOT_ALLOWED="ENHANCED_JSON_VALUE_EVAL_NOT_ALLOWED",E.ENHANCED_JSON_VALUE_MSG_NOT_ALLOWED="ENHANCED_JSON_VALUE_MSG_NOT_ALLOWED",E.ENHANCED_JSON_VALUE_EVAL_NOT_STATICALLY_INFERABLE="ENHANCED_JSON_VALUE_EVAL_NOT_STATICALLY_INFERABLE",E.ENHANCED_JSON_VALUE_CODE_REF_NOT_SUPPORTED="ENHANCED_JSON_VALUE_CODE_REF_NOT_SUPPORTED",E);
1
+ var E;export var DiagnosticCode=((E={}).EMPTY_SPEC_FILE="EMPTY_SPEC_FILE",E.YAML_PARSE_ERROR="YAML_PARSE_ERROR",E.NON_FINITE_NUMBER="NON_FINITE_NUMBER",E.SCHEMA_PARSE_ERROR="SCHEMA_PARSE_ERROR",E.IMPORT_MODULE_NOT_FOUND="IMPORT_MODULE_NOT_FOUND",E.IMPORT_MODULE_OUTSIDE_PROJECT="IMPORT_MODULE_OUTSIDE_PROJECT",E.MERGE_CONFLICT="MERGE_CONFLICT",E.MISSING_MODEL="MISSING_MODEL",E.MISSING_LATEST="MISSING_LATEST",E.INVALID_VERSION_KEY="INVALID_VERSION_KEY",E.MISSING_VERSION="MISSING_VERSION",E.NAME_CLASH="NAME_CLASH",E.INVALID_ENTITY_TYPE_NAME="INVALID_ENTITY_TYPE_NAME",E.DUPLICATE_ENTITY_TYPE="DUPLICATE_ENTITY_TYPE",E.INVALID_ALIAS_NAME="INVALID_ALIAS_NAME",E.RESERVED_ALIAS_NAME="RESERVED_ALIAS_NAME",E.MISSING_ROOT_ENTITY="MISSING_ROOT_ENTITY",E.CIRCULAR_ALIAS="CIRCULAR_ALIAS",E.UNKNOWN_ALIAS_MEMBER="UNKNOWN_ALIAS_MEMBER",E.UNKNOWN_SHAPE_KEY="UNKNOWN_SHAPE_KEY",E.UNKNOWN_REFERENCE_TARGET="UNKNOWN_REFERENCE_TARGET",E.RESERVED_PROPERTY="RESERVED_PROPERTY",E.INVALID_SHAPE_PROPERTY_NAME="INVALID_SHAPE_PROPERTY_NAME",E.UNKNOWN_PHX_DEFINITION="UNKNOWN_PHX_DEFINITION",E.UNKNOWN_COMMON_TYPE_REF="UNKNOWN_COMMON_TYPE_REF",E.INVALID_REF="INVALID_REF",E.MISSING_MIGRATION="MISSING_MIGRATION",E.MIGRATION_INVALID_START="MIGRATION_INVALID_START",E.UNKNOWN_MIGRATION="UNKNOWN_MIGRATION",E.PROTECTED_SHAPE="PROTECTED_SHAPE",E.PROTECTED_ALIAS="PROTECTED_ALIAS",E.RESERVED_ALIAS="RESERVED_ALIAS",E.ALIAS_INCLUDES_COMMON="ALIAS_INCLUDES_COMMON",E.PROTECTED_INVARIANT="PROTECTED_INVARIANT",E.PROTECTED_RELATION="PROTECTED_RELATION",E.PROTECTED_EXPRESSION="PROTECTED_EXPRESSION",E.PROTECTED_COMMON_TYPE="PROTECTED_COMMON_TYPE",E.PROTECTED_ENTITY_TYPE="PROTECTED_ENTITY_TYPE",E.PRESET_UNKNOWN_ROOT_ENTITY_TYPE="PRESET_UNKNOWN_ROOT_ENTITY_TYPE",E.PRESET_UNKNOWN_ENTITY_TYPE="PRESET_UNKNOWN_ENTITY_TYPE",E.PRESET_INVALID_ENTITY_ID_FORMAT="PRESET_INVALID_ENTITY_ID_FORMAT",E.PRESET_MISSING_ROOT_ENTITY="PRESET_MISSING_ROOT_ENTITY",E.PRESET_MULTIPLE_ROOT_ENTITIES="PRESET_MULTIPLE_ROOT_ENTITIES",E.PRESET_ENTITY_SCHEMA_VIOLATION="PRESET_ENTITY_SCHEMA_VIOLATION",E.PRESET_DUPLICATE_ENTITY_ID="PRESET_DUPLICATE_ENTITY_ID",E.PRESET_ENTITY_ID_TYPE_MISMATCH="PRESET_ENTITY_ID_TYPE_MISMATCH",E.PRESET_UNKNOWN_REFERENCE="PRESET_UNKNOWN_REFERENCE",E.PRESET_REFERENCE_TYPE_MISMATCH="PRESET_REFERENCE_TYPE_MISMATCH",E.PRESET_RELATION_CARDINALITY_VIOLATION="PRESET_RELATION_CARDINALITY_VIOLATION",E.PRESET_COMPOSITION_MULTIPLE_PARENTS="PRESET_COMPOSITION_MULTIPLE_PARENTS",E.PRESET_COMPOSITION_CYCLE="PRESET_COMPOSITION_CYCLE",E.PRESET_ENTITY_NOT_IN_COMPOSITION_TREE="PRESET_ENTITY_NOT_IN_COMPOSITION_TREE",E.ADMIN_PRESET_MULTIPLE_PER_FILE="ADMIN_PRESET_MULTIPLE_PER_FILE",E.ADMIN_PRESET_ROOT_TYPE_NOT_ADMIN="ADMIN_PRESET_ROOT_TYPE_NOT_ADMIN",E.ACTIONS_IN_ADMIN_FILE="ACTIONS_IN_ADMIN_FILE",E.INVALID_ACTION_NAME="INVALID_ACTION_NAME",E.ACTION_UNKNOWN_REFERENCE_TARGET="ACTION_UNKNOWN_REFERENCE_TARGET",E.EXPRESSION_UNKNOWN_ENTITY_KEY="EXPRESSION_UNKNOWN_ENTITY_KEY",E.INVALID_EXPRESSION_NAME="INVALID_EXPRESSION_NAME",E.DUPLICATE_EXPRESSION="DUPLICATE_EXPRESSION",E.EXPRESSION_RELATION_CONFLICT="EXPRESSION_RELATION_CONFLICT",E.CONSTANTS_EXPRESSION_CONFLICT="CONSTANTS_EXPRESSION_CONFLICT",E.COMPONENT_RELATION_CONFLICT="COMPONENT_RELATION_CONFLICT",E.COMPONENT_ALIAS_CONFLICT="COMPONENT_ALIAS_CONFLICT",E.INVALID_INVARIANT_NAME="INVALID_INVARIANT_NAME",E.INVALID_VIOLATION_TYPE_NAME="INVALID_VIOLATION_TYPE_NAME",E.INVARIANT_UNKNOWN_ENTITY_KEY="INVARIANT_UNKNOWN_ENTITY_KEY",E.INVARIANT_MANUAL_VIOLATIONS_COMPONENT="INVARIANT_MANUAL_VIOLATIONS_COMPONENT",E.INVARIANT_VIOLATIONS_EXPRESSION_CONFLICT="INVARIANT_VIOLATIONS_EXPRESSION_CONFLICT",E.INVALID_RELATION_NAME="INVALID_RELATION_NAME",E.RELATION_UNKNOWN_ENTITY_KEY="RELATION_UNKNOWN_ENTITY_KEY",E.RELATION_UNKNOWN_TARGET="RELATION_UNKNOWN_TARGET",E.RELATION_UNKNOWN_FIELD_DIRECT="RELATION_UNKNOWN_FIELD_DIRECT",E.RELATION_UNKNOWN_FIELD_INDIRECT="RELATION_UNKNOWN_FIELD_INDIRECT",E.RELATION_IMMUTABLE_FIELD="RELATION_IMMUTABLE_FIELD",E.RELATION_FIELD_NOT_REFERENCE="RELATION_FIELD_NOT_REFERENCE",E.RELATION_FIELD_REFERENCES_OTHER_TYPES="RELATION_FIELD_REFERENCES_OTHER_TYPES",E.RELATION_FIELD_CARDINALITY_MISMATCH="RELATION_FIELD_CARDINALITY_MISMATCH",E.RELATION_MISSING_COUNTERPART="RELATION_MISSING_COUNTERPART",E.RELATION_COUNTERPART_COMPOSED_OF_MISMATCH="RELATION_COUNTERPART_COMPOSED_OF_MISMATCH",E.RELATION_ENTITY_NOT_IN_COMPOSITION_TREE="RELATION_ENTITY_NOT_IN_COMPOSITION_TREE",E.DUPLICATE_DATA_SCHEMA="DUPLICATE_DATA_SCHEMA",E.ADMIN_DATA_SCHEMA="ADMIN_DATA_SCHEMA",E.SESSION_DATA_REQUIRED_PROPERTIES="SESSION_DATA_REQUIRED_PROPERTIES",E.CLERK_SESSION_DATA_INCOMPATIBLE="CLERK_SESSION_DATA_INCOMPATIBLE",E.RESERVED_PUBLISHED_DATA_KEY="RESERVED_PUBLISHED_DATA_KEY",E.DUPLICATE_STATE_FIELD="DUPLICATE_STATE_FIELD",E.INVALID_STATE_KEY="INVALID_STATE_KEY",E.DUPLICATE_STATE_VALUE="DUPLICATE_STATE_VALUE",E.DUPLICATE_THEME_FIELD="DUPLICATE_THEME_FIELD",E.DUPLICATE_UI_FIELD="DUPLICATE_UI_FIELD",E.CONFLICTING_TRANSFORMERS="CONFLICTING_TRANSFORMERS",E.DUPLICATE_TRANSFORMER="DUPLICATE_TRANSFORMER",E.DUPLICATE_TRANSFORMER_FILE="DUPLICATE_TRANSFORMER_FILE",E.UNMATCHED_TRANSFORMER="UNMATCHED_TRANSFORMER",E.DUPLICATE_APP_METADATA_FIELD="DUPLICATE_APP_METADATA_FIELD",E.DUPLICATE_INFRA_FIELD="DUPLICATE_INFRA_FIELD",E.DUPLICATE_RESOURCE_NAME="DUPLICATE_RESOURCE_NAME",E.INVALID_APPLICATION_VERSION="INVALID_APPLICATION_VERSION",E.INVALID_ENV_VAR_KEY="INVALID_ENV_VAR_KEY",E.DUPLICATE_ADMIN_PAGES="DUPLICATE_ADMIN_PAGES",E.ADMIN_PAGES_NAV_STATE_CONFLICT="ADMIN_PAGES_NAV_STATE_CONFLICT",E.ADMIN_PAGE_DATA_ENTRY_CONFLICT="ADMIN_PAGE_DATA_ENTRY_CONFLICT",E.CONFLICTING_BUDGETS="CONFLICTING_BUDGETS",E.CONFLICTING_CHUNKS="CONFLICTING_CHUNKS",E.CONFLICTING_ASSISTANT="CONFLICTING_ASSISTANT",E.ASSISTANT_UNKNOWN_TYPE="ASSISTANT_UNKNOWN_TYPE",E.ASSISTANT_UNKNOWN_FIELD="ASSISTANT_UNKNOWN_FIELD",E.ASSISTANT_UNSUPPORTED_EXPRESSION="ASSISTANT_UNSUPPORTED_EXPRESSION",E.ASSISTANT_NOT_WRITABLE="ASSISTANT_NOT_WRITABLE",E.ASSISTANT_UNKNOWN_RECIPE_GROUP="ASSISTANT_UNKNOWN_RECIPE_GROUP",E.ASSISTANT_DUPLICATE_RECIPE_GROUP="ASSISTANT_DUPLICATE_RECIPE_GROUP",E.ASSISTANT_META_TYPE_NAME_CONFLICT="ASSISTANT_META_TYPE_NAME_CONFLICT",E.ASSISTANT_UNKNOWN_OPTIONS_COMPONENT="ASSISTANT_UNKNOWN_OPTIONS_COMPONENT",E.ASSISTANT_RESERVED_OPTIONS_EDGE_NAME="ASSISTANT_RESERVED_OPTIONS_EDGE_NAME",E.ASSISTANT_DUPLICATE_OPTIONS_EDGE="ASSISTANT_DUPLICATE_OPTIONS_EDGE",E.ASSISTANT_UNKNOWN_SCREENSHOT_VIEW="ASSISTANT_UNKNOWN_SCREENSHOT_VIEW",E.ASSISTANT_UNKNOWN_SCREENSHOT_EXPORT_STATE="ASSISTANT_UNKNOWN_SCREENSHOT_EXPORT_STATE",E.ASSISTANT_DUPLICATE_SCREENSHOT_VIEW="ASSISTANT_DUPLICATE_SCREENSHOT_VIEW",E.ASSISTANT_INVALID_SCREENSHOT_VIEW_NAME="ASSISTANT_INVALID_SCREENSHOT_VIEW_NAME",E.ASSISTANT_SCREENSHOT_VIEW_TYPE_NAME_CONFLICT="ASSISTANT_SCREENSHOT_VIEW_TYPE_NAME_CONFLICT",E.ASSISTANT_RESERVED_FIELD_NAME="ASSISTANT_RESERVED_FIELD_NAME",E.ASSISTANT_FIELD_NAME_CONFLICT="ASSISTANT_FIELD_NAME_CONFLICT",E.ASSISTANT_RESERVED_TYPE_NAME="ASSISTANT_RESERVED_TYPE_NAME",E.ASSISTANT_INVALID_SCHEMA="ASSISTANT_INVALID_SCHEMA",E.ASSISTANT_UNKNOWN_ACTION="ASSISTANT_UNKNOWN_ACTION",E.ASSISTANT_MUTATION_NAME_CONFLICT="ASSISTANT_MUTATION_NAME_CONFLICT",E.ASSISTANT_ACTION_RESULT_TYPE_CONFLICT="ASSISTANT_ACTION_RESULT_TYPE_CONFLICT",E.ASSISTANT_UNKNOWN_LENS="ASSISTANT_UNKNOWN_LENS",E.ASSISTANT_EMPTY_LENS="ASSISTANT_EMPTY_LENS",E.ASSISTANT_RESERVED_LENS_NAME="ASSISTANT_RESERVED_LENS_NAME",E.ASSISTANT_FIELD_SHAPE_CONFLICT="ASSISTANT_FIELD_SHAPE_CONFLICT",E.ASSISTANT_FORM_ELEMENT_BUILT_IN_NAME="ASSISTANT_FORM_ELEMENT_BUILT_IN_NAME",E.ASSISTANT_FORM_ELEMENT_HTML_NAME="ASSISTANT_FORM_ELEMENT_HTML_NAME",E.ASSISTANT_FORM_ATTRIBUTE_RESERVED_NAME="ASSISTANT_FORM_ATTRIBUTE_RESERVED_NAME",E.ASSISTANT_FORM_ELEMENT_UNKNOWN_REQUIRED="ASSISTANT_FORM_ELEMENT_UNKNOWN_REQUIRED",E.INVALID_CHUNK_KEY="INVALID_CHUNK_KEY",E.RESERVED_CHUNK_KEY="RESERVED_CHUNK_KEY",E.CONFLICTING_DATA_ENTRY="CONFLICTING_DATA_ENTRY",E.INVALID_DATA_ENTRY_KEY="INVALID_DATA_ENTRY_KEY",E.INVALID_DATA_DEFINITION_FIELD_KEY="INVALID_DATA_DEFINITION_FIELD_KEY",E.UNKNOWN_DATA_CHUNK="UNKNOWN_DATA_CHUNK",E.INVALID_DATA_VALUE="INVALID_DATA_VALUE",E.DEFAULTS_UNKNOWN_ENTITY_KEY="DEFAULTS_UNKNOWN_ENTITY_KEY",E.DEFAULTS_UNKNOWN_PROPERTY="DEFAULTS_UNKNOWN_PROPERTY",E.DEFAULTS_SCHEMA_VIOLATION="DEFAULTS_SCHEMA_VIOLATION",E.DEFAULTS_INCOMPLETE="DEFAULTS_INCOMPLETE",E.DEFAULTS_DEPRECATED="DEFAULTS_DEPRECATED",E.COMPONENT_INVALID_INSTANCE_NAME="COMPONENT_INVALID_INSTANCE_NAME",E.COMPONENT_MERGE_CONFLICT="COMPONENT_MERGE_CONFLICT",E.COMPONENT_UNKNOWN_ENTITY_KEY="COMPONENT_UNKNOWN_ENTITY_KEY",E.COMPONENT_IMPORT_REF_UNSUPPORTED="COMPONENT_IMPORT_REF_UNSUPPORTED",E.COMPONENT_DATA_REF_UNSUPPORTED="COMPONENT_DATA_REF_UNSUPPORTED",E.READ_BINDING_UNKNOWN_FIELD="READ_BINDING_UNKNOWN_FIELD",E.COMPONENT_BINDING_TYPE_MISMATCH="COMPONENT_BINDING_TYPE_MISMATCH",E.COMPONENT_STATIC_ENTITY_ID="COMPONENT_STATIC_ENTITY_ID",E.EXPRESSION_READ_TYPE_CONFLICT="EXPRESSION_READ_TYPE_CONFLICT",E.EXPRESSION_VALUE_TYPE_MISMATCH="EXPRESSION_VALUE_TYPE_MISMATCH",E.WRITE_BINDING_UNKNOWN_FIELD="WRITE_BINDING_UNKNOWN_FIELD",E.WRITE_BINDING_IMMUTABLE_FIELD="WRITE_BINDING_IMMUTABLE_FIELD",E.WRITE_BINDING_EXPRESSION_TARGET="WRITE_BINDING_EXPRESSION_TARGET",E.WRITE_BINDING_DUPLICATE_TARGET="WRITE_BINDING_DUPLICATE_TARGET",E.UNKNOWN_SRC_PATH="UNKNOWN_SRC_PATH",E.INVALID_SUBDIRECTORY="INVALID_SUBDIRECTORY",E.MISSING_WEBHOOK_INDEX="MISSING_WEBHOOK_INDEX",E.MODULE_ANALYSIS_FAILED="MODULE_ANALYSIS_FAILED",E.WEBHOOK_UNSAFE_IMPORT="WEBHOOK_UNSAFE_IMPORT",E.MOCK_TEMPLATE_PARSE_ERROR="MOCK_TEMPLATE_PARSE_ERROR",E.ENHANCED_JSON_VALUE_EVAL_NOT_ALLOWED="ENHANCED_JSON_VALUE_EVAL_NOT_ALLOWED",E.ENHANCED_JSON_VALUE_MSG_NOT_ALLOWED="ENHANCED_JSON_VALUE_MSG_NOT_ALLOWED",E.ENHANCED_JSON_VALUE_EVAL_NOT_STATICALLY_INFERABLE="ENHANCED_JSON_VALUE_EVAL_NOT_STATICALLY_INFERABLE",E.ENHANCED_JSON_VALUE_CODE_REF_NOT_SUPPORTED="ENHANCED_JSON_VALUE_CODE_REF_NOT_SUPPORTED",E);
@@ -5,6 +5,7 @@
5
5
  export declare const diagnosticMessages: {
6
6
  EMPTY_SPEC_FILE: () => string;
7
7
  YAML_PARSE_ERROR: (detail: string) => string;
8
+ NON_FINITE_NUMBER: (path: string, value: string) => string;
8
9
  SCHEMA_PARSE_ERROR: (path: string, zodMessage: string) => string;
9
10
  IMPORT_MODULE_NOT_FOUND: (module: string, resolvedPath: string) => string;
10
11
  IMPORT_MODULE_OUTSIDE_PROJECT: (module: string, resolvedPath: string) => string;
@@ -80,6 +81,9 @@ export declare const diagnosticMessages: {
80
81
  RELATION_UNKNOWN_FIELD_DIRECT: (from: string, relName: string, field: string) => string;
81
82
  RELATION_UNKNOWN_FIELD_INDIRECT: (from: string, relName: string, field: string, target: string) => string;
82
83
  RELATION_IMMUTABLE_FIELD: (from: string, relName: string, field: string, fieldOwner: string) => string;
84
+ RELATION_FIELD_NOT_REFERENCE: (from: string, relName: string, field: string, fieldOwner: string) => string;
85
+ RELATION_FIELD_REFERENCES_OTHER_TYPES: (from: string, relName: string, field: string, fieldOwner: string, referenced: readonly string[], related: string, relatedEntityTypes: readonly string[]) => string;
86
+ RELATION_FIELD_CARDINALITY_MISMATCH: (from: string, relName: string, field: string, cardinality: string, shape: 'single' | 'nullableSingle' | 'array', required: 'single' | 'nullableSingle' | 'array') => string;
83
87
  RELATION_MISSING_COUNTERPART: (from: string, relName: string, kind: 'direct' | 'indirect' | 'allOfType', target: string, field: string | undefined, composedOf: boolean) => string;
84
88
  RELATION_COUNTERPART_COMPOSED_OF_MISMATCH: (from: string, relName: string, counterpartEntity: string, counterpartName: string) => string;
85
89
  RELATION_ENTITY_NOT_IN_COMPOSITION_TREE: (entityType: string, rootTypes: readonly string[]) => string;
@@ -99,6 +103,7 @@ export declare const diagnosticMessages: {
99
103
  UNMATCHED_TRANSFORMER: (name: string, available: readonly string[]) => string;
100
104
  DUPLICATE_APP_METADATA_FIELD: (field: string, fileA: string, fileB: string) => string;
101
105
  DUPLICATE_INFRA_FIELD: (field: string, fileA: string, fileB: string) => string;
106
+ DUPLICATE_RESOURCE_NAME: (name: string, firstIndex: number, index: number) => string;
102
107
  INVALID_APPLICATION_VERSION: (value: string) => string;
103
108
  INVALID_ENV_VAR_KEY: (section: 'frontend' | 'webhook', key: string) => string;
104
109
  DUPLICATE_ADMIN_PAGES: (fileA: string, fileB: string) => string;
@@ -107,7 +112,7 @@ export declare const diagnosticMessages: {
107
112
  CONFLICTING_BUDGETS: (fileA: string, fileB: string) => string;
108
113
  CONFLICTING_CHUNKS: (fileA: string, fileB: string) => string;
109
114
  CONFLICTING_ASSISTANT: (fileA: string, fileB: string) => string;
110
- ASSISTANT_UNKNOWN_TYPE: (section: 'entities' | 'deletable' | 'writable' | 'childRecipes' | 'replaceRecipes', name: string) => string;
115
+ ASSISTANT_UNKNOWN_TYPE: (section: 'entities' | 'deletable' | 'writable' | 'childRecipes' | 'replaceRecipes' | 'screenshots', name: string) => string;
111
116
  ASSISTANT_UNKNOWN_FIELD: (section: 'entities' | 'writable', typeName: string, field: string) => string;
112
117
  ASSISTANT_UNSUPPORTED_EXPRESSION: (typeName: string, field: string) => string;
113
118
  ASSISTANT_NOT_WRITABLE: (typeName: string, field: string) => string;
@@ -130,9 +135,25 @@ export declare const diagnosticMessages: {
130
135
  } | {
131
136
  readonly field: string;
132
137
  }, entries: readonly string[]) => string;
138
+ ASSISTANT_UNKNOWN_SCREENSHOT_VIEW: (typeName: string, instanceName: string, entityType: string, available: readonly string[]) => string;
139
+ ASSISTANT_UNKNOWN_SCREENSHOT_EXPORT_STATE: (typeName: string, instanceName: string, exportState: string, declared: readonly string[]) => string;
140
+ ASSISTANT_DUPLICATE_SCREENSHOT_VIEW: (entityType: string, view: string, entries: readonly string[]) => string;
141
+ ASSISTANT_INVALID_SCREENSHOT_VIEW_NAME: (typeName: string, instanceName: string, view: string) => string;
142
+ ASSISTANT_SCREENSHOT_VIEW_TYPE_NAME_CONFLICT: (entityType: string, typeName: string) => string;
133
143
  ASSISTANT_UNKNOWN_ACTION: (name: string, declared: readonly string[]) => string;
134
144
  ASSISTANT_MUTATION_NAME_CONFLICT: (entry: string, fieldName: string, takenBy: string) => string;
135
145
  ASSISTANT_ACTION_RESULT_TYPE_CONFLICT: (entry: string, fieldName: string, typeName: string) => string;
146
+ ASSISTANT_UNKNOWN_LENS: (entry: string, lens: string, declared: readonly string[]) => string;
147
+ ASSISTANT_EMPTY_LENS: (lens: string) => string;
148
+ ASSISTANT_RESERVED_LENS_NAME: (lens: string, builtIn: readonly string[]) => string;
149
+ ASSISTANT_FORM_ELEMENT_BUILT_IN_NAME: (name: string, builtIn: readonly string[]) => string;
150
+ ASSISTANT_FORM_ELEMENT_HTML_NAME: (name: string) => string;
151
+ ASSISTANT_FORM_ATTRIBUTE_RESERVED_NAME: (element: string, attribute: string) => string;
152
+ ASSISTANT_FORM_ELEMENT_UNKNOWN_REQUIRED: (element: string, attribute: string, declared: readonly string[]) => string;
153
+ ASSISTANT_FIELD_SHAPE_CONFLICT: (fieldName: string, exposures: ReadonlyArray<{
154
+ readonly typeName: string;
155
+ readonly type: string;
156
+ }>) => string;
136
157
  ASSISTANT_RESERVED_FIELD_NAME: (typeName: string, field: string, graphQLName: string) => string;
137
158
  ASSISTANT_FIELD_NAME_CONFLICT: (typeName: string, graphQLName: string, sources: readonly string[], writableEntry?: string) => string;
138
159
  ASSISTANT_RESERVED_TYPE_NAME: (name: string, reservedNames: readonly string[]) => string;
@@ -147,11 +168,16 @@ export declare const diagnosticMessages: {
147
168
  DEFAULTS_UNKNOWN_ENTITY_KEY: (key: string, knownNames: readonly string[]) => string;
148
169
  DEFAULTS_UNKNOWN_PROPERTY: (entityKey: string, propName: string, knownProps: readonly string[], missingOn?: readonly string[]) => string;
149
170
  DEFAULTS_SCHEMA_VIOLATION: (entityKey: string, propName: string, path: string, ajvMessage: string, memberType?: string) => string;
171
+ DEFAULTS_INCOMPLETE: (entityType: string, missingProps: readonly string[], sourceKeys: readonly string[]) => string;
150
172
  DEFAULTS_DEPRECATED: () => string;
151
173
  COMPONENT_INVALID_INSTANCE_NAME: (entityKey: string, componentName: string, instanceName: string) => string;
152
174
  COMPONENT_MERGE_CONFLICT: (entityKey: string, componentName: string, instanceName: string, fileA: string, fileB: string) => string;
153
175
  COMPONENT_UNKNOWN_ENTITY_KEY: (entityKey: string, knownNames: readonly string[]) => string;
154
176
  READ_BINDING_UNKNOWN_FIELD: (entityKey: string, componentName: string, instanceName: string, propKey: string, target: string) => string;
177
+ COMPONENT_BINDING_TYPE_MISMATCH: (componentPath: string, binding: string, fieldType: string, expectedType: string) => string;
178
+ COMPONENT_STATIC_ENTITY_ID: (componentPath: string, value: string, expectedType: string) => string;
179
+ EXPRESSION_READ_TYPE_CONFLICT: (entityKey: string, name: string, declaredType: string | undefined, readTypes: readonly string[]) => string;
180
+ EXPRESSION_VALUE_TYPE_MISMATCH: (expression: string, valueType: string, declaredType: string) => string;
155
181
  WRITE_BINDING_UNKNOWN_FIELD: (entityKey: string, componentName: string, instanceName: string, propKey: string, entityField: string) => string;
156
182
  WRITE_BINDING_IMMUTABLE_FIELD: (entityKey: string, componentName: string, instanceName: string, propKey: string, entityField: string) => string;
157
183
  WRITE_BINDING_EXPRESSION_TARGET: (entityKey: string, componentName: string, instanceName: string, propKey: string, target: string) => string;
@@ -1 +1 @@
1
- import{DiagnosticCode as e}from"./diagnostic-codes.js";export const diagnosticMessages={[e.EMPTY_SPEC_FILE]:()=>'Spec file is empty. Every spec file must define at least one section ("model:", "components:", or "presets:"). Add content or remove the file.',[e.YAML_PARSE_ERROR]:e=>`YAML parse error: ${e}. Check for indentation issues, missing colons, or unquoted special characters.`,[e.SCHEMA_PARSE_ERROR]:(e,t)=>`Invalid value at "${e}": ${t}. Refer to the spec documentation for the expected structure at this path.`,[e.IMPORT_MODULE_NOT_FOUND]:(e,t)=>`Import module "${e}" resolves to "${t}", but no matching project source file exists. Add the source file or update import.module to a path relative to this spec file.`,[e.IMPORT_MODULE_OUTSIDE_PROJECT]:(e,t)=>`Import module "${e}" resolves outside the project root as "${t}", so its target cannot be verified. Confirm that the external file exists and that the path is intentional.`,[e.MOCK_TEMPLATE_PARSE_ERROR]:e=>`Mock template parse warning: ${e}. The mock template was skipped. Fix the YAML or remove the file.`,[e.MERGE_CONFLICT]:(e,t,n,a)=>`"model.${e}.${t}" is defined in both "${n}" and "${a}". Each subsection (entityTypes, aliases, shapes, commonTypes) can only appear once per version. Move all "${t}" for "${e}" into one file.`,[e.MISSING_MODEL]:e=>`No "${e}" section found. Every application must define at least "${e}.latest" with entity types and aliases. Add a "${e}:" section to a spec file.`,[e.MISSING_LATEST]:e=>`"${e}.latest" is missing. The "latest" version defines the current working model and is always required. Add "latest:" under "${e}:".`,[e.INVALID_VERSION_KEY]:e=>`"${e}" is not a valid version key. Version keys must be "latest" or "v1", "v2", etc. Rename "${e}".`,[e.MISSING_VERSION]:e=>`Model version "v${e}" is missing. Versions must be contiguous (v1, v2, …, latest) with no gaps. Add "v${e}:" or remove higher versions.`,[e.NAME_CLASH]:(e,t,n)=>`Name "${t}" is used as both a ${e} and a ${n}. Names must be unique across entity types, aliases, and commonTypes within a version. Rename one of them.`,[e.INVALID_ENTITY_TYPE_NAME]:e=>`"${e}" is not a valid entity type name. Entity types must be PascalCase (e.g. "Product", "KitchenRange"). Rename it.`,[e.DUPLICATE_ENTITY_TYPE]:e=>`Entity type "${e}" is declared more than once. Entity types must be unique. Remove the duplicate.`,[e.INVALID_ALIAS_NAME]:e=>`"${e}" is not a valid alias name. Aliases must be PascalCase (e.g. "RootEntity", "EditableItems"). Rename it.`,[e.RESERVED_ALIAS_NAME]:e=>`"${e}" is a reserved alias. "AnyDomainEntity" is auto-generated from all entity types and cannot be user-defined. Choose a different name.`,[e.MISSING_ROOT_ENTITY]:()=>'"RootEntity" alias is not defined. Every model must have a "RootEntity" alias that identifies which entity types can be used as configuration roots. Add "RootEntity: [YourType]" to your aliases.',[e.CIRCULAR_ALIAS]:e=>`Circular alias reference: ${e}. An alias cannot reference itself, directly or through other aliases. Remove one reference in the cycle.`,[e.UNKNOWN_ALIAS_MEMBER]:(e,t)=>`Alias "${e}" references "${t}", which is not a declared entity type or alias. Check the spelling or add "${t}" to entityTypes.`,[e.UNKNOWN_SHAPE_KEY]:e=>`Shape "${e}" does not match any declared entity type or alias. Shapes can only be defined for names that appear in entityTypes or aliases. Check the spelling or add "${e}" to entityTypes.`,[e.UNKNOWN_REFERENCE_TARGET]:(e,t,n)=>`"${e}.${t}" references "${n}", which is not a declared entity type or alias. Check the spelling or add "${n}" to entityTypes.`,[e.RESERVED_PROPERTY]:(e,t)=>`Property "${e}" on "${t}" is reserved. "id" and "type" are injected automatically and cannot appear in shapes. Remove "${e}" from the shape.`,[e.INVALID_SHAPE_PROPERTY_NAME]:e=>`"${e}" is not a valid shape property name. Property names must match /^[a-z]\\w*$/ — start with a lowercase letter, then word characters only (e.g. "height", "positionX", "hoodId"). Rename the property.`,[e.UNKNOWN_PHX_DEFINITION]:(e,t)=>`$ref "${e}" references unknown phoenix type "${t}". Available built-in types include DomainEntityId, Localizable, MultilingualString. Check the spelling.`,[e.UNKNOWN_COMMON_TYPE_REF]:(e,t)=>`$ref "${e}" references unknown commonType "${t}". The target must be declared in commonTypes of the same model version. Check the spelling or add "${t}" to commonTypes.`,[e.INVALID_REF]:e=>`$ref "${e}" is not a recognized reference format. Use "phx:TypeName" for built-in types, "common:TypeName" for commonTypes, or "#/model/{version}/commonTypes/{name}" for explicit version refs.`,[e.MISSING_MIGRATION]:e=>`No migration file for v${e}. Every version from v2 onward needs a migration (src/migrations/v${e}.ts) that transforms state from the previous version. Create the file.`,[e.MIGRATION_INVALID_START]:e=>`Migration "${e}" starts below v2. v1 is the initial version with no predecessor to migrate from. Remove this file.`,[e.UNKNOWN_MIGRATION]:(e,t,n)=>`Migration "${e}" targets v${t}, but the latest model version is v${n}. There is no model version for this migration to apply to. Remove the file or add model version v${t}.`,[e.PROTECTED_SHAPE]:e=>`Shape "${e}" cannot be user-defined. This entity type is part of the built-in admin model and its shape is managed by the system. Remove this shape.`,[e.PROTECTED_ALIAS]:e=>`Alias "${e}" cannot be user-defined in admin files. "RootEntity" and "CommonAdminEntity" are managed by the built-in admin model. Choose a different name.`,[e.RESERVED_ALIAS]:e=>`Alias "${e}" is auto-generated and cannot be user-defined. Remove this alias definition.`,[e.ALIAS_INCLUDES_COMMON]:(e,t)=>`Alias "${e}" includes "${t}", which is a built-in admin entity type. User aliases cannot include built-in admin types. Remove "${t}" from the alias.`,[e.PROTECTED_INVARIANT]:(e,t)=>`Invariant "${e}.${t}" is a built-in common admin invariant and cannot be overridden. Remove this declaration; the built-in implementation is always applied.`,[e.PROTECTED_RELATION]:(e,t)=>`Relation "${e}.${t}" is a built-in common admin relation and cannot be overridden. Remove this declaration; the built-in relation is always applied.`,[e.PROTECTED_EXPRESSION]:(e,t)=>`Expression "${e}.${t}" is reserved for the built-in common admin spec and cannot be user-defined. Rename this expression.`,[e.PROTECTED_COMMON_TYPE]:e=>`Common type "${e}" is part of the built-in admin model and cannot be user-defined. Choose a different name.`,[e.PROTECTED_ENTITY_TYPE]:e=>`Entity type "${e}" is part of the built-in admin model and cannot be re-declared. Remove it from entityTypes.`,[e.PRESET_UNKNOWN_ROOT_ENTITY_TYPE]:(e,t)=>`Preset rootEntityType "${e}" is not allowed. Allowed root types: ${t.join(", ")}. Use one of these or update the RootEntity alias.`,[e.PRESET_UNKNOWN_ENTITY_TYPE]:(e,t,n)=>`Preset entity "${e}" has type "${t}", which is not a declared entity type. Declared types: ${n.join(", ")}. Fix the type or add "${t}" to entityTypes.`,[e.PRESET_INVALID_ENTITY_ID_FORMAT]:e=>`Entity ID "${e}" does not follow the required format. IDs must match "TypeName-N" (e.g. "Product-1", "Hood-42"). Rename it.`,[e.PRESET_MISSING_ROOT_ENTITY]:e=>`Preset declares rootEntityType "${e}" but no entity of that type exists in initialDomainEntities. Add an entity with type "${e}".`,[e.PRESET_MULTIPLE_ROOT_ENTITIES]:(e,t)=>`Preset has ${t} entities of type "${e}", but exactly one root entity is required. Remove the extra "${e}" entities.`,[e.PRESET_ENTITY_SCHEMA_VIOLATION]:(e,t,n,a)=>`Preset entity "${e}" (${t}) has invalid data at ${n}: ${a}. Fix the value to match the entity schema.`,[e.PRESET_DUPLICATE_ENTITY_ID]:e=>`Preset entity ID "${e}" is used more than once. Entity IDs must be unique in a preset. Rename or remove the duplicate entity.`,[e.PRESET_ENTITY_ID_TYPE_MISMATCH]:(e,t,n)=>`Preset entity "${e}" has type "${t}", but its ID starts with "${n}". IDs must use the entity type prefix. Rename the ID to start with "${t}-" or change the entity type.`,[e.PRESET_UNKNOWN_REFERENCE]:(e,t,n)=>`Preset entity "${e}" references "${n}" from "${t}", but no entity with that ID exists in the preset. Add the referenced entity or update the reference.`,[e.PRESET_REFERENCE_TYPE_MISMATCH]:(e,t,n,a,i)=>`Preset entity "${e}" references "${n}" from "${t}", but the referenced entity has type "${a}". Allowed target types: ${i.join(", ")}. Use a matching entity ID.`,[e.PRESET_RELATION_CARDINALITY_VIOLATION]:(e,t,n,a)=>`Preset entity "${e}" violates relation "${t}" cardinality "${n}". The relation resolves ${a} entities. Add or remove referenced entities so the relation matches its cardinality.`,[e.PRESET_COMPOSITION_MULTIPLE_PARENTS]:(e,t,n)=>`Preset entity "${e}" is composed by both "${t}" and "${n}". Composition must form one tree. Remove one parent reference.`,[e.PRESET_COMPOSITION_CYCLE]:e=>`Preset composition contains a cycle at "${e}". Composition must form a tree from the root entity. Remove the cyclic reference.`,[e.PRESET_ENTITY_NOT_IN_COMPOSITION_TREE]:(e,t)=>`Preset entity "${e}" is not reachable from root entity "${t}" through composedOf relations. Add a composition relation path from the root or remove the entity.`,[e.ADMIN_PRESET_MULTIPLE_PER_FILE]:(e,t)=>`Admin file "${e}" has ${t} presets. Only 1 preset per admin file is allowed. Split into separate files or merge into one preset.`,[e.ADMIN_PRESET_ROOT_TYPE_NOT_ADMIN]:(e,t)=>`Admin preset in "${e}" has rootEntityType "${t}". Admin presets must always use rootEntityType "Admin". Change it to "Admin".`,[e.ACTIONS_IN_ADMIN_FILE]:e=>`"${e}" is an admin spec file ("$admin: true") but declares "actions". Actions run in the configurator domain only; the admin domain has none. Move the "actions" block to a configurator spec file, or remove it.`,[e.INVALID_ACTION_NAME]:e=>`"${e}" is not a valid action name. Action names are camelCase identifiers without a prefix (e.g. "movePartBy", "swapCabinets"), since they also name the implementation, the generated types and the assistant mutation. Rename it.`,[e.ACTION_UNKNOWN_REFERENCE_TARGET]:(e,t,n)=>`"${e}.${t}" references "${n}", which is not an entity type or alias of the latest model. A "references" target types the entity id or entity the param or result member holds. Check the spelling or add "${n}" to entityTypes.`,[e.EXPRESSION_UNKNOWN_ENTITY_KEY]:(e,t)=>`Expression key "${e}" is not a declared entity type or alias. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.INVALID_EXPRESSION_NAME]:e=>`"${e}" is not a valid expression name. Expression names must start with "$" followed by camelCase (e.g. "$price", "$isValid"). Rename it.`,[e.DUPLICATE_EXPRESSION]:(e,t,n,a)=>`Expression "${e}.${t}" is produced by both "${n}" and "${a}" after alias expansion. Expression names must be unique for each concrete entity type. Remove one declaration or rename it.`,[e.EXPRESSION_RELATION_CONFLICT]:(e,t)=>`Expression "${e}.${t}" is declared in both "expressions:" and generated by a relation. User expressions cannot shadow relation-derived expressions. Remove the user declaration or rename the relation.`,[e.CONSTANTS_EXPRESSION_CONFLICT]:(e,t)=>`Expression "${e}.${t}" is declared in both "constants:" and "expressions:" in the same file. Use only one source of truth and migrate the legacy constant into "expressions:".`,[e.COMPONENT_RELATION_CONFLICT]:(e,t)=>`Component "${e}::${t}" is declared in both "components:" and generated by a relation. User components cannot shadow relation-derived components. Remove the user declaration or rename the relation.`,[e.COMPONENT_ALIAS_CONFLICT]:(e,t,n,a,i)=>`Component instance "${e}.${t}.${n}" is produced by both "${a}" and "${i}". Component instance names must be unique after alias expansion. Rename one instance or move the shared properties to one declaration.`,[e.COMPONENT_IMPORT_REF_UNSUPPORTED]:(e,t,n,a,i,s)=>`Component prop "${e}.${t}.${n}.${a}" uses unsupported $importRef "${i}#${s}". Application-spec component values are part of the webhook-included domain and cannot reference frontend modules. Fix: remove $importRef from the spec and attach the component from a frontend-only file in src/components.`,[e.COMPONENT_DATA_REF_UNSUPPORTED]:(e,t,n,a,i,s)=>`Component prop "${e}.${t}.${n}.${a}" combines "$read: ${i}" with the legacy "$data: ${s}" marker. Application-spec components resolve "$read" against entity fields and declared expressions only, so the combined marker never becomes a binding. Fix: remove "$data" and implement "${i}" with createDataSwatchMap('${s.split(".").at(-1)??s}') in the project's custom expressions.`,[e.INVALID_INVARIANT_NAME]:e=>`"${e}" is not a valid invariant name. Invariant names must start with a lowercase letter and contain only word characters (e.g. "nameNotEmpty"). Rename it.`,[e.INVALID_VIOLATION_TYPE_NAME]:e=>`"${e}" is not a valid violation type. Violation types must start with a lowercase letter and contain only letters, digits, underscores, or hyphens (e.g. "name-empty"). Rename it.`,[e.INVARIANT_UNKNOWN_ENTITY_KEY]:(e,t)=>`Invariants are declared for "${e}", which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.INVARIANT_MANUAL_VIOLATIONS_COMPONENT]:e=>`Component "violations" on "${e}" cannot be declared manually because invariant parsing generates it automatically. Remove the manual component declaration.`,[e.INVARIANT_VIOLATIONS_EXPRESSION_CONFLICT]:(e,t)=>`Expression "${e}.$violations" is declared in "${t}:" but invariant parsing generates it automatically for the same entity type. Remove the declaration or rename it.`,[e.INVALID_RELATION_NAME]:e=>`"${e}" is not a valid relation name. Relation names must start with "$" followed by camelCase (e.g. "$top", "$legs"). Rename it.`,[e.RELATION_UNKNOWN_ENTITY_KEY]:(e,t)=>`Relations declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.RELATION_UNKNOWN_TARGET]:(e,t,n,a)=>`Relation "${e}.${t}" targets "${n}" which is not an entity type or alias in the model. Known names: ${a.join(", ")}. Check the spelling or add "${n}" to entityTypes.`,[e.RELATION_UNKNOWN_FIELD_DIRECT]:(e,t,n)=>`Relation "${e}.${t}" references field "${n}" which does not exist in the shape of "${e}". Add "${n}" to the "${e}" schema or pick a different field.`,[e.RELATION_UNKNOWN_FIELD_INDIRECT]:(e,t,n,a)=>`Relation "${e}.${t}" references field "${n}" which does not exist in the shape of target "${a}". Add "${n}" to the "${a}" schema or pick a different field.`,[e.RELATION_IMMUTABLE_FIELD]:(e,t,n,a)=>`Relation "${e}.${t}" uses implicit field "${n}" on "${a}" as a relation reference holder. Implicit fields "id" and "type" are immutable and cannot hold relation references. Choose a writable shape field on "${a}".`,[e.RELATION_MISSING_COUNTERPART]:(e,t,n,a,i,s)=>{let o=void 0!==i?` with field "${i}"`:"",r=s?`Set "composedOf: false" on the counterpart because "${e}.${t}" already owns the composition.`:'Set "composedOf: false" on the counterpart for a cross-reference, or "composedOf: true" if the counterpart should own the composition.';return`Relation "${e}.${t}" (${n} → "${a}"${void 0!==i?`, field "${i}"`:""}) has no counterpart on "${a}". Every relation must be declared from both sides — add a "${"allOfType"===n?"allOfType":"direct"===n?"indirect":"direct"}" relation on "${a}" targeting "${e}"${o}. ${r}`},[e.RELATION_COUNTERPART_COMPOSED_OF_MISMATCH]:(e,t,n,a)=>`Relation "${e}.${t}" and its counterpart "${n}.${a}" both use "composedOf: true". A relation pair can have at most one composition owner — set "composedOf: false" on one side.`,[e.RELATION_ENTITY_NOT_IN_COMPOSITION_TREE]:(e,t)=>`Entity "${e}" is not reachable from any root entity type (${t.join(", ")}) via "composedOf: true" relations. Every declared entity must be part of the composition tree, otherwise instances of it can never appear in a valid domain state. Add a relation with "composedOf: true" from a reachable parent, or include "${e}" in the RootEntity alias.`,[e.DUPLICATE_DATA_SCHEMA]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each data schema can only be declared in one file. Remove the duplicate.`,[e.ADMIN_DATA_SCHEMA]:(e,t)=>`"${e}" is declared in admin spec "${t}". Data schemas are configurator-only. Move "${e}" to a non-admin spec file.`,[e.SESSION_DATA_REQUIRED_PROPERTIES]:(e,t)=>`sessionData in "${t}" declares required properties (${e.map(e=>`"${e}"`).join(", ")}), but admin and preset sessions do not carry custom session data. Remove these properties from required or set required to an empty array.`,[e.CLERK_SESSION_DATA_INCOMPATIBLE]:e=>`sessionData is not compatible with the built-in Clerk session payload: ${e.join("; ")}. When "useClerk" is true, the SDK's Clerk auth handlers return { id: string, accessToken: string, tags: string[], emailAddress: string, fullName: string | null }, and runtime session parsing rejects any payload the schema does not accept. Declare all five properties with these exact types (the "type" keyword is compared literally, so $ref, anyOf, and oneOf forms are not recognized) and keep them out of "required" so anonymous sessions stay valid. Extra project-defined properties are allowed.`,[e.RESERVED_PUBLISHED_DATA_KEY]:e=>`publishedData property "${e}" is reserved by the admin system. Properties like "presetCategories" and "recipes" are auto-injected. Remove "${e}" from your publishedData properties.`,[e.DUPLICATE_STATE_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each state field can only be declared in one file. Remove the duplicate.`,[e.INVALID_STATE_KEY]:(e,t)=>`State key "${t}" in "${e}" is not a valid identifier. State keys must start with a letter and contain only letters, digits, or underscores (e.g. "overview", "detailView"). Rename it.`,[e.DUPLICATE_STATE_VALUE]:(e,t)=>`State value "${t}" appears more than once in "${e}". Each value within a state array must be unique. Remove the duplicate.`,[e.DUPLICATE_THEME_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each theme field can only be declared in one file. Remove the duplicate.`,[e.DUPLICATE_UI_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each UI field can only be declared in one file. Remove the duplicate.`,[e.CONFLICTING_TRANSFORMERS]:(e,t)=>`Transformers are declared in both "${e}" and "${t}". The "transformers" section can only appear in one spec file. Move all transformers into a single file.`,[e.DUPLICATE_TRANSFORMER]:(e,t)=>`Transformer "${e}" is declared twice in "${t}". Transformer names must be unique within the file. Remove the duplicate entry.`,[e.DUPLICATE_TRANSFORMER_FILE]:(e,t)=>`Transformer files "${e}" and "${t}" resolve to the same transformer name. Transformers are matched by file name, ignoring folders, letter case, and dashes. Rename one of the files so every transformer file name is unique.`,[e.UNMATCHED_TRANSFORMER]:(e,t)=>`Transformer "${e}" has no matching file in "src/transformers/". Every name listed under "transformers:" must correspond to a transformer module. ${t.length>0?`Available transformers: ${t.map(e=>`"${e}"`).join(", ")}. Check the spelling or add "src/transformers/${e}.ts".`:`No transformer files were found in "src/transformers/". Add "src/transformers/${e}.ts" or remove the entry.`}`,[e.DUPLICATE_APP_METADATA_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each metadata field can only be declared in one file. Remove the duplicate.`,[e.DUPLICATE_INFRA_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each infrastructure field can only be declared in one file. Remove the duplicate.`,[e.INVALID_APPLICATION_VERSION]:e=>`"${e}" is not a valid applicationVersion. Version must be semver (x.y.z) using three numeric segments (e.g. "1.0.0", "2.3.12"). Update "applicationVersion" to match.`,[e.INVALID_ENV_VAR_KEY]:(e,t)=>`"${t}" is not a valid env.${e} variable name. Env var names must match /^[A-Z_][A-Z0-9_]*$/ — uppercase letters, digits, and underscores; must not start with a digit (e.g. "API_URL", "_PRIVATE_FLAG"). Rename the variable.`,[e.DUPLICATE_ADMIN_PAGES]:(e,t)=>`"$adminPages" is defined in both "${e}" and "${t}". Admin pages can only be declared in one admin spec file. Move all "$adminPages" settings into one admin file.`,[e.ADMIN_PAGES_NAV_STATE_CONFLICT]:e=>`Admin navigation states [${e.join(", ")}] are declared manually and generated from "$adminPages". Remove the manual entries from "navigationStates" in the admin spec or change the "$adminPages" navigationState values.`,[e.ADMIN_PAGE_DATA_ENTRY_CONFLICT]:(e,t)=>`"$adminPages.pages.${e}.connectedDataEntry" references data entry "${t}". This data entry already creates an inferred admin data page. Remove the explicit admin page connection or change the data entry kind.`,[e.CONFLICTING_BUDGETS]:(e,t)=>`"budgets" is declared in both "${e}" and "${t}". The "budgets" section can only appear in one spec file. Move all bundle-size budgets into a single file.`,[e.CONFLICTING_CHUNKS]:(e,t)=>`"chunks" is declared in both "${e}" and "${t}". The "chunks" section can only appear in one spec file. Move all chunk definitions into a single file.`,[e.CONFLICTING_ASSISTANT]:(e,t)=>`"assistant" is declared in both "${e}" and "${t}". The "assistant" manifest can only appear in one spec file. Move the whole "assistant" section into a single file.`,[e.ASSISTANT_UNKNOWN_TYPE]:(e,t)=>`"assistant.${e}.${t}" does not name an entity type or alias of the latest model, so it has nothing to ${({entities:"expose",deletable:"make deletable",writable:"make writable",childRecipes:"add children to",replaceRecipes:"replace"})[e]}. Use an entity type or alias name from "model.latest", or remove the entry.`,[e.ASSISTANT_UNKNOWN_FIELD]:(e,t,n)=>n.startsWith("$")?`"assistant.entities.${t}.${n}" is not an expression declared on "${t}". The assistant schema exposes expressions declared in "expressions", "constants" or "relations" on the entity type or alias itself, and on an entity type also those of its aliases; an expression only inferred from a component "$read" is not declared. Declare "${n}" in "expressions", "constants" or "relations" on "${t}" (for an entity type, an alias containing it also works), or remove the entry.`:`"assistant.${e}.${t}.${n}" is not a stored field of "${t}". The assistant schema ${"entities"===e?"exposes":"writes"} shape properties of the entity type or alias, including fields every alias member has. Use a property from the "${t}" shape, or remove the entry.`,[e.ASSISTANT_UNSUPPORTED_EXPRESSION]:(e,t)=>`"assistant.entities.${e}.${t}" whitelists the "$violations" expression, which the assistant schema does not expose yet: violations get their own typed edge in CON-2869. Remove the entry.`,[e.ASSISTANT_NOT_WRITABLE]:(e,t)=>`"assistant.writable.${e}.${t}" cannot be written: ${t.startsWith("$")?"an expression is computed from the state, not stored":`"${t}" identifies the entity and never changes`}. Only stored shape properties other than "id" and "type" can be writable. Remove the entry${t.startsWith("$")?", or make the stored fields the expression reads writable instead":""}.`,[e.ASSISTANT_UNKNOWN_RECIPE_GROUP]:({section:e,component:t},n,a,i,s)=>`"assistant.${e}.${n}.groups.${a}" does not name a "${t}" component instance on "${i}", so there are no recipes to expose. ${s.length>0?`"${i}" has these "${t}" instances: ${s.join(", ")}.`:`"${i}" has no "${t}" component.`} Use the instance name of a "${t}" component attached to the entity type or to an alias containing it, or remove the entry.`,[e.ASSISTANT_DUPLICATE_RECIPE_GROUP]:({section:e,mutation:t},n,a,i)=>`"${n}" gets the recipe group id "${a}" from both "assistant.${e}.${i.join(`" and "assistant.${e}.`)}", but "${t}" finds a group of an entity by its id. The entries may come from "${n}" itself or from aliases containing it. Give one of them another id with "as".`,[e.ASSISTANT_META_TYPE_NAME_CONFLICT]:(e,t)=>`This entry exposes a recipe group or the options of a field on "${e}", so the assistant schema generates the type "${t}" for them, but the model already has an entity type or alias named "${t}". Rename that entity type or alias, or remove every "assistant.childRecipes" and "assistant.replaceRecipes" group and every "options" of a writable field of "${e}".`,[e.ASSISTANT_UNKNOWN_OPTIONS_COMPONENT]:(e,{componentType:t,instanceName:n},a,i)=>`"assistant.writable.${e}.options" names the "${t}" instance "${n}", which "${a}" does not have, so there are no choices to list. ${i.length>0?`"${a}" has these "${t}" instances: ${i.join(", ")}.`:`"${a}" has no "${t}" component.`} Use the name of a "${t}" instance attached to the entity type or to an alias containing it, correct "componentType", or remove "options".`,[e.ASSISTANT_RESERVED_OPTIONS_EDGE_NAME]:(e,t,n)=>`"assistant.writable.${e}.options" would add the edge "${t}" to the meta type, but that name is taken by a recipe groups edge. Name the edge differently with "as", e.g. "as: ${n}Choices".`,[e.ASSISTANT_DUPLICATE_OPTIONS_EDGE]:(e,t,n)=>`"${e}" gets ${"edgeName"in t?`the options edge "${t.edgeName}"`:`options for the field "${t.field}"`} from both "assistant.writable.${n.join('.options" and "assistant.writable.')}.options", but ${"edgeName"in t?"one edge lists the choices of one field":"a written value is checked against one list of choices"}. The entries may come from "${e}" itself or from aliases containing it. ${"edgeName"in t?'Give one of them another name with "as", or remove':"Remove"} "options" from one of them.`,[e.ASSISTANT_UNKNOWN_ACTION]:(e,t)=>`"assistant.actions.${e}" does not name an action declared under "actions"${t.length>0?`; the declared actions are: ${t.join(", ")}`:"; the spec declares no actions"}. Declare the action in an "actions" block of a spec file and implement it in src/actions/, or remove the entry.`,[e.ASSISTANT_MUTATION_NAME_CONFLICT]:(e,t,n)=>`"assistant.actions.${e}" exposes the mutation "${t}", which ${n}. One Mutation field runs one change. Expose the action under another name with "as", e.g. "as: ${t}Action".`,[e.ASSISTANT_ACTION_RESULT_TYPE_CONFLICT]:(e,t,n)=>`"assistant.actions.${e}" exposes the mutation "${t}", so the assistant schema generates the type "${n}" for its result, but that name is taken by an entity type, alias, generated meta type, built-in type or another action's result. Expose the action under another name with "as", or rename the conflicting type.`,[e.ASSISTANT_RESERVED_FIELD_NAME]:(e,t,n)=>`"assistant.entities.${e}.${t}" is exposed as "${n}", which the assistant schema reserves ("id", "type" and "meta" are reserved on every type). Expose it under another name with "as", e.g. "as: ${t}Value".`,[e.ASSISTANT_FIELD_NAME_CONFLICT]:(e,t,n,a)=>void 0===a?`"${t}" on "${e}" in the assistant schema maps to both "${n.join('" and "')}", but one GraphQL field can read only one stored field or expression. The entries may come from "${e}" itself or from aliases containing it. Rename one of them with "as".`:`"assistant.writable.${a}" makes "${t}" writable on "${e}" without exposing it, so its delta field would be named "${t}", but "assistant.entities" already exposes "${n[0]}" on "${e}" under that name. One name cannot read one stored field or expression and write another. Expose "${t}" in "assistant.entities" under another name with "as", or rename the entry that exposes "${n[0]}".`,[e.ASSISTANT_RESERVED_TYPE_NAME]:(e,t)=>`"${e}" is an entity type or alias name that the assistant GraphQL schema reserves for its own types (${t.join(", ")}), so the schema cannot be generated. Rename the entity type or alias, or remove the "assistant" section.`,[e.ASSISTANT_INVALID_SCHEMA]:e=>`The GraphQL schema generated from the "assistant" manifest is invalid: ${e.join(" ")} This usually means aliases sharing an entity whitelist the same field with different types. Whitelist the field on one alias only, or rename one entry with "as".`,[e.INVALID_CHUNK_KEY]:e=>`"${e}" is not a valid chunk key. Chunk keys must be lowercase kebab-case matching /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/ (e.g. "main", "swatch-data"). Rename the chunk.`,[e.RESERVED_CHUNK_KEY]:()=>'"system" is a reserved chunk key used for presets and recipes. It cannot be user-defined and is auto-injected after validation. Please use a different key name.',[e.CONFLICTING_DATA_ENTRY]:(e,t,n,a)=>`"$data.${e}.${t}" is defined in both "${n}" and "${a}". Each data entry key can only be declared once per section. Move the entry into one file, delete the duplicate, or rename one entry.`,[e.INVALID_DATA_ENTRY_KEY]:(e,t)=>`"$data.${e}.${t}" is not a valid data entry key. Data entry keys must start with a letter, followed by letters, digits, or underscores (/^[A-Za-z]\\w*$/, e.g. "colorOptions" or "ColorOptions"). Rename the entry.`,[e.INVALID_DATA_DEFINITION_FIELD_KEY]:(e,t)=>`"$data.custom.${e}.definition.${t}" is not a valid field key. Definition field keys must match /^\\$?[a-z][\\w.-]*$/ — start with lowercase or "$", then letters, digits, "_", ".", or "-". Rename the field.`,[e.UNKNOWN_DATA_CHUNK]:(e,t,n)=>`"$data.${e}.${t}" references unknown chunk "${n}". The chunk reference must match a key declared under "chunks:". Add the chunk or update the entry chunk.`,[e.INVALID_DATA_VALUE]:(e,t,n,a)=>`"$data.custom.${e}.values[${t}].${n}" has an invalid value. Expected ${a}. Fix the value or update the field definition.`,[e.DEFAULTS_UNKNOWN_ENTITY_KEY]:(e,t)=>`Defaults declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.DEFAULTS_UNKNOWN_PROPERTY]:(e,t,n,a)=>{let i=n.length>0?n.join(", "):"(none)",s=a&&a.length>0?` Alias member(s) missing "${t}": ${a.join(", ")}.`:"";return`Default "${e}.${t}" refers to a property that does not exist on the shape of "${e}". Known properties: ${i}.${s} Remove the default or add "${t}" to the shape.`},[e.DEFAULTS_SCHEMA_VIOLATION]:(e,t,n,a,i)=>{let s=i?` (alias member "${i}")`:"",o=n&&"(root)"!==n?` at "${n}"`:"";return`Default "${e}.${t}"${s} does not match the entity shape${o}: ${a}. Defaults must be assignable to their shape property. Fix the value or update the shape.`},[e.DEFAULTS_DEPRECATED]:()=>'The "defaults:" section is deprecated. Defaults remain supported for legacy parity, but new specs should model initial values as "$data" entries — see spec/application-specification/parsing/data-chunks.md. Defaults are planned for removal once the $data migration path is documented.',[e.COMPONENT_INVALID_INSTANCE_NAME]:(e,t,n)=>`Component instance name "${n}" in "${e}.${t}" is not a valid identifier. Instance names must start with a letter and contain only letters, digits, or underscores (e.g. "default", "body", "main"). Rename it.`,[e.COMPONENT_MERGE_CONFLICT]:(e,t,n,a,i)=>`Component instance "${e}.${t}.${n}" is defined in both "${a}" and "${i}". Each component instance can only appear in one file. Remove the duplicate.`,[e.COMPONENT_UNKNOWN_ENTITY_KEY]:(e,t)=>`Components declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.READ_BINDING_UNKNOWN_FIELD]:(e,t,n,a,i)=>`$read binding "${a}" in "${e}.${t}.${n}" references field "${i}" which does not exist in the shape of "${e}". Add "${i}" to the shape or fix the $read target.`,[e.WRITE_BINDING_UNKNOWN_FIELD]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets field "${i}" which does not exist in the shape of "${e}". Add "${i}" to the shape or fix the target.`,[e.WRITE_BINDING_IMMUTABLE_FIELD]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets implicit field "${i}". Implicit fields "id" and "type" are immutable and cannot be changed. Use $read to consume the field or choose a writable shape field.`,[e.WRITE_BINDING_EXPRESSION_TARGET]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets "${i}" which is an expression. Write targets must be entity shape fields, not expressions. Use $read for expression bindings, $write/$bind for shape fields.`,[e.WRITE_BINDING_DUPLICATE_TARGET]:(e,t,n,a,i,s)=>`Entity field "${a}" is written by both "${i}" and "${s}" in "${e}.${t}.${n}". Each entity field can only be written by one component property. Remove one of the bindings.`,[e.UNKNOWN_SRC_PATH]:e=>`File "${e}" is in an unknown src/ folder. Only known folders (expressions, actions, invariants, components, transformers, handlers, elements, webhooks, locales, admin/*, migrations) or _-prefixed shared folders are allowed. Move the file or rename the folder with a "_" prefix.`,[e.INVALID_SUBDIRECTORY]:(e,t)=>`File "${e}" is nested inside "${t}", but migrations must be flat. Move the migration file directly into "${t}" or prefix the folder with "_".`,[e.MISSING_WEBHOOK_INDEX]:()=>"Files found in src/webhooks/ but src/webhooks/index.ts is missing. The webhook entry point requires a default export from src/webhooks/index.ts. Create the file with a default export of your webhook handler.",[e.MODULE_ANALYSIS_FAILED]:(e,t)=>`Cannot analyze module "${e}": ${t}. Fix the file's syntax so its imports and webhook membership can be determined.`,[e.WEBHOOK_UNSAFE_IMPORT]:(e,t,n,a)=>`Webhook-included file "${e}" is not server-safe: it is included because ${t}, but "${n}" imports client-only "${a}". Fix: remove or isolate the client-only import, or remove the file's webhook membership.`,[e.ENHANCED_JSON_VALUE_EVAL_NOT_ALLOWED]:()=>'"$eval" is not allowed in this position. "$eval" requires "self", which is only available inside expressions and component props — it is not available in static slots such as defaults. Replace the "$eval" with a literal value, "$msg", or move the dynamic logic into an "expressions:" entry.',[e.ENHANCED_JSON_VALUE_MSG_NOT_ALLOWED]:()=>'"$msg" is not allowed in this position. This slot does not accept localized messages (e.g. component props, which are resolved without an i18n context). Replace "$msg" with a plain string, or move the message into a slot that supports i18n such as defaults or expressions.',[e.ENHANCED_JSON_VALUE_EVAL_NOT_STATICALLY_INFERABLE]:e=>`Could not infer a schema from "$eval: ${e}" because the expression is not statically foldable. Add explicit schema keys to the expression entry, or use only literals, constant operators, and deterministic Math members.`,[e.ENHANCED_JSON_VALUE_CODE_REF_NOT_SUPPORTED]:()=>'"$codeRef" with an inline "code" block is no longer supported by the application spec parser. It was never evaluated — the value was carried through as plain data. Use "$eval" instead, for example "$eval: \'4 * 25.4\'". "$eval" folds literals, constant operators, and deterministic Math members at parse time; anything else needs explicit schema keys.'};
1
+ import{DiagnosticCode as e}from"./diagnostic-codes.js";export const diagnosticMessages={[e.EMPTY_SPEC_FILE]:()=>'Spec file is empty. Every spec file must define at least one section ("model:", "components:", or "presets:"). Add content or remove the file.',[e.YAML_PARSE_ERROR]:e=>`YAML parse error: ${e}. Check for indentation issues, missing colons, or unquoted special characters.`,[e.NON_FINITE_NUMBER]:(e,t)=>`Invalid number at "${e}": ${t} is not a finite number. JSON, the schemas and the stored configuration have no infinite or not-a-number value, so it cannot be checked or saved. Write a finite number, or leave the key out if it sets no limit.`,[e.SCHEMA_PARSE_ERROR]:(e,t)=>`Invalid value at "${e}": ${t}. Refer to the spec documentation for the expected structure at this path.`,[e.IMPORT_MODULE_NOT_FOUND]:(e,t)=>`Import module "${e}" resolves to "${t}", but no matching project source file exists. Add the source file or update import.module to a path relative to this spec file.`,[e.IMPORT_MODULE_OUTSIDE_PROJECT]:(e,t)=>`Import module "${e}" resolves outside the project root as "${t}", so its target cannot be verified. Confirm that the external file exists and that the path is intentional.`,[e.MOCK_TEMPLATE_PARSE_ERROR]:e=>`Mock template parse warning: ${e}. The mock template was skipped. Fix the YAML or remove the file.`,[e.MERGE_CONFLICT]:(e,t,n,a)=>`"model.${e}.${t}" is defined in both "${n}" and "${a}". Each subsection (entityTypes, aliases, shapes, commonTypes) can only appear once per version. Move all "${t}" for "${e}" into one file.`,[e.MISSING_MODEL]:e=>`No "${e}" section found. Every application must define at least "${e}.latest" with entity types and aliases. Add a "${e}:" section to a spec file.`,[e.MISSING_LATEST]:e=>`"${e}.latest" is missing. The "latest" version defines the current working model and is always required. Add "latest:" under "${e}:".`,[e.INVALID_VERSION_KEY]:e=>`"${e}" is not a valid version key. Version keys must be "latest" or "v1", "v2", etc. Rename "${e}".`,[e.MISSING_VERSION]:e=>`Model version "v${e}" is missing. Versions must be contiguous (v1, v2, …, latest) with no gaps. Add "v${e}:" or remove higher versions.`,[e.NAME_CLASH]:(e,t,n)=>`Name "${t}" is used as both a ${e} and a ${n}. Names must be unique across entity types, aliases, and commonTypes within a version. Rename one of them.`,[e.INVALID_ENTITY_TYPE_NAME]:e=>`"${e}" is not a valid entity type name. Entity types must be PascalCase (e.g. "Product", "KitchenRange"). Rename it.`,[e.DUPLICATE_ENTITY_TYPE]:e=>`Entity type "${e}" is declared more than once. Entity types must be unique. Remove the duplicate.`,[e.INVALID_ALIAS_NAME]:e=>`"${e}" is not a valid alias name. Aliases must be PascalCase (e.g. "RootEntity", "EditableItems"). Rename it.`,[e.RESERVED_ALIAS_NAME]:e=>`"${e}" is a reserved alias. "AnyDomainEntity" is auto-generated from all entity types and cannot be user-defined. Choose a different name.`,[e.MISSING_ROOT_ENTITY]:()=>'"RootEntity" alias is not defined. Every model must have a "RootEntity" alias that identifies which entity types can be used as configuration roots. Add "RootEntity: [YourType]" to your aliases.',[e.CIRCULAR_ALIAS]:e=>`Circular alias reference: ${e}. An alias cannot reference itself, directly or through other aliases. Remove one reference in the cycle.`,[e.UNKNOWN_ALIAS_MEMBER]:(e,t)=>`Alias "${e}" references "${t}", which is not a declared entity type or alias. Check the spelling or add "${t}" to entityTypes.`,[e.UNKNOWN_SHAPE_KEY]:e=>`Shape "${e}" does not match any declared entity type or alias. Shapes can only be defined for names that appear in entityTypes or aliases. Check the spelling or add "${e}" to entityTypes.`,[e.UNKNOWN_REFERENCE_TARGET]:(e,t,n)=>`"${e}.${t}" references "${n}", which is not a declared entity type or alias. Check the spelling or add "${n}" to entityTypes.`,[e.RESERVED_PROPERTY]:(e,t)=>`Property "${e}" on "${t}" is reserved. "id" and "type" are injected automatically and cannot appear in shapes. Remove "${e}" from the shape.`,[e.INVALID_SHAPE_PROPERTY_NAME]:e=>`"${e}" is not a valid shape property name. Property names must match /^[a-z]\\w*$/ — start with a lowercase letter, then word characters only (e.g. "height", "positionX", "hoodId"). Rename the property.`,[e.UNKNOWN_PHX_DEFINITION]:(e,t)=>`$ref "${e}" references unknown phoenix type "${t}". Available built-in types include DomainEntityId, Localizable, MultilingualString. Check the spelling.`,[e.UNKNOWN_COMMON_TYPE_REF]:(e,t)=>`$ref "${e}" references unknown commonType "${t}". The target must be declared in commonTypes of the same model version. Check the spelling or add "${t}" to commonTypes.`,[e.INVALID_REF]:e=>`$ref "${e}" is not a recognized reference format. Use "phx:TypeName" for built-in types, "common:TypeName" for commonTypes, or "#/model/{version}/commonTypes/{name}" for explicit version refs.`,[e.MISSING_MIGRATION]:e=>`No migration file for v${e}. Every version from v2 onward needs a migration (src/migrations/v${e}.ts) that transforms state from the previous version. Create the file.`,[e.MIGRATION_INVALID_START]:e=>`Migration "${e}" starts below v2. v1 is the initial version with no predecessor to migrate from. Remove this file.`,[e.UNKNOWN_MIGRATION]:(e,t,n)=>`Migration "${e}" targets v${t}, but the latest model version is v${n}. There is no model version for this migration to apply to. Remove the file or add model version v${t}.`,[e.PROTECTED_SHAPE]:e=>`Shape "${e}" cannot be user-defined. This entity type is part of the built-in admin model and its shape is managed by the system. Remove this shape.`,[e.PROTECTED_ALIAS]:e=>`Alias "${e}" cannot be user-defined in admin files. "RootEntity" and "CommonAdminEntity" are managed by the built-in admin model. Choose a different name.`,[e.RESERVED_ALIAS]:e=>`Alias "${e}" is auto-generated and cannot be user-defined. Remove this alias definition.`,[e.ALIAS_INCLUDES_COMMON]:(e,t)=>`Alias "${e}" includes "${t}", which is a built-in admin entity type. User aliases cannot include built-in admin types. Remove "${t}" from the alias.`,[e.PROTECTED_INVARIANT]:(e,t)=>`Invariant "${e}.${t}" is a built-in common admin invariant and cannot be overridden. Remove this declaration; the built-in implementation is always applied.`,[e.PROTECTED_RELATION]:(e,t)=>`Relation "${e}.${t}" is a built-in common admin relation and cannot be overridden. Remove this declaration; the built-in relation is always applied.`,[e.PROTECTED_EXPRESSION]:(e,t)=>`Expression "${e}.${t}" is reserved for the built-in common admin spec and cannot be user-defined. Rename this expression.`,[e.PROTECTED_COMMON_TYPE]:e=>`Common type "${e}" is part of the built-in admin model and cannot be user-defined. Choose a different name.`,[e.PROTECTED_ENTITY_TYPE]:e=>`Entity type "${e}" is part of the built-in admin model and cannot be re-declared. Remove it from entityTypes.`,[e.PRESET_UNKNOWN_ROOT_ENTITY_TYPE]:(e,t)=>`Preset rootEntityType "${e}" is not allowed. Allowed root types: ${t.join(", ")}. Use one of these or update the RootEntity alias.`,[e.PRESET_UNKNOWN_ENTITY_TYPE]:(e,t,n)=>`Preset entity "${e}" has type "${t}", which is not a declared entity type. Declared types: ${n.join(", ")}. Fix the type or add "${t}" to entityTypes.`,[e.PRESET_INVALID_ENTITY_ID_FORMAT]:e=>`Entity ID "${e}" does not follow the required format. IDs must match "TypeName-N" (e.g. "Product-1", "Hood-42"). Rename it.`,[e.PRESET_MISSING_ROOT_ENTITY]:e=>`Preset declares rootEntityType "${e}" but no entity of that type exists in initialDomainEntities. Add an entity with type "${e}".`,[e.PRESET_MULTIPLE_ROOT_ENTITIES]:(e,t)=>`Preset has ${t} entities of type "${e}", but exactly one root entity is required. Remove the extra "${e}" entities.`,[e.PRESET_ENTITY_SCHEMA_VIOLATION]:(e,t,n,a)=>`Preset entity "${e}" (${t}) has invalid data at ${n}: ${a}. Fix the value to match the entity schema.`,[e.PRESET_DUPLICATE_ENTITY_ID]:e=>`Preset entity ID "${e}" is used more than once. Entity IDs must be unique in a preset. Rename or remove the duplicate entity.`,[e.PRESET_ENTITY_ID_TYPE_MISMATCH]:(e,t,n)=>`Preset entity "${e}" has type "${t}", but its ID starts with "${n}". IDs must use the entity type prefix. Rename the ID to start with "${t}-" or change the entity type.`,[e.PRESET_UNKNOWN_REFERENCE]:(e,t,n)=>`Preset entity "${e}" references "${n}" from "${t}", but no entity with that ID exists in the preset. Add the referenced entity or update the reference.`,[e.PRESET_REFERENCE_TYPE_MISMATCH]:(e,t,n,a,i)=>`Preset entity "${e}" references "${n}" from "${t}", but the referenced entity has type "${a}". Allowed target types: ${i.join(", ")}. Use a matching entity ID.`,[e.PRESET_RELATION_CARDINALITY_VIOLATION]:(e,t,n,a)=>`Preset entity "${e}" violates relation "${t}" cardinality "${n}". The relation resolves ${a} entities. Add or remove referenced entities so the relation matches its cardinality.`,[e.PRESET_COMPOSITION_MULTIPLE_PARENTS]:(e,t,n)=>`Preset entity "${e}" is composed by both "${t}" and "${n}". Composition must form one tree. Remove one parent reference.`,[e.PRESET_COMPOSITION_CYCLE]:e=>`Preset composition contains a cycle at "${e}". Composition must form a tree from the root entity. Remove the cyclic reference.`,[e.PRESET_ENTITY_NOT_IN_COMPOSITION_TREE]:(e,t)=>`Preset entity "${e}" is not reachable from root entity "${t}" through composedOf relations. Add a composition relation path from the root or remove the entity.`,[e.ADMIN_PRESET_MULTIPLE_PER_FILE]:(e,t)=>`Admin file "${e}" has ${t} presets. Only 1 preset per admin file is allowed. Split into separate files or merge into one preset.`,[e.ADMIN_PRESET_ROOT_TYPE_NOT_ADMIN]:(e,t)=>`Admin preset in "${e}" has rootEntityType "${t}". Admin presets must always use rootEntityType "Admin". Change it to "Admin".`,[e.ACTIONS_IN_ADMIN_FILE]:e=>`"${e}" is an admin spec file ("$admin: true") but declares "actions". Actions run in the configurator domain only; the admin domain has none. Move the "actions" block to a configurator spec file, or remove it.`,[e.INVALID_ACTION_NAME]:e=>`"${e}" is not a valid action name. Action names are camelCase identifiers without a prefix (e.g. "movePartBy", "swapCabinets"), since they also name the implementation, the generated types and the assistant mutation. Rename it.`,[e.ACTION_UNKNOWN_REFERENCE_TARGET]:(e,t,n)=>`"${e}.${t}" references "${n}", which is not an entity type or alias of the latest model. A "references" target types the entity id or entity the param or result member holds. Check the spelling or add "${n}" to entityTypes.`,[e.EXPRESSION_UNKNOWN_ENTITY_KEY]:(e,t)=>`Expression key "${e}" is not a declared entity type or alias. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.INVALID_EXPRESSION_NAME]:e=>`"${e}" is not a valid expression name. Expression names must start with "$" followed by camelCase (e.g. "$price", "$isValid"). Rename it.`,[e.DUPLICATE_EXPRESSION]:(e,t,n,a)=>`Expression "${e}.${t}" is produced by both "${n}" and "${a}" after alias expansion. Expression names must be unique for each concrete entity type. Remove one declaration or rename it.`,[e.EXPRESSION_RELATION_CONFLICT]:(e,t)=>`Expression "${e}.${t}" is declared in both "expressions:" and generated by a relation. User expressions cannot shadow relation-derived expressions. Remove the user declaration or rename the relation.`,[e.CONSTANTS_EXPRESSION_CONFLICT]:(e,t)=>`Expression "${e}.${t}" is declared in both "constants:" and "expressions:" in the same file. Use only one source of truth and migrate the legacy constant into "expressions:".`,[e.COMPONENT_RELATION_CONFLICT]:(e,t)=>`Component "${e}::${t}" is declared in both "components:" and generated by a relation. User components cannot shadow relation-derived components. Remove the user declaration or rename the relation.`,[e.COMPONENT_ALIAS_CONFLICT]:(e,t,n,a,i)=>`Component instance "${e}.${t}.${n}" is produced by both "${a}" and "${i}". Component instance names must be unique after alias expansion. Rename one instance or move the shared properties to one declaration.`,[e.COMPONENT_IMPORT_REF_UNSUPPORTED]:(e,t,n,a,i,s)=>`Component prop "${e}.${t}.${n}.${a}" uses unsupported $importRef "${i}#${s}". Application-spec component values are part of the webhook-included domain and cannot reference frontend modules. Fix: remove $importRef from the spec and attach the component from a frontend-only file in src/components.`,[e.COMPONENT_DATA_REF_UNSUPPORTED]:(e,t,n,a,i,s)=>`Component prop "${e}.${t}.${n}.${a}" combines "$read: ${i}" with the legacy "$data: ${s}" marker. Application-spec components resolve "$read" against entity fields and declared expressions only, so the combined marker never becomes a binding. Fix: remove "$data" and implement "${i}" with createDataSwatchMap('${s.split(".").at(-1)??s}') in the project's custom expressions.`,[e.INVALID_INVARIANT_NAME]:e=>`"${e}" is not a valid invariant name. Invariant names must start with a lowercase letter and contain only word characters (e.g. "nameNotEmpty"). Rename it.`,[e.INVALID_VIOLATION_TYPE_NAME]:e=>`"${e}" is not a valid violation type. Violation types must start with a lowercase letter and contain only letters, digits, underscores, or hyphens (e.g. "name-empty"). Rename it.`,[e.INVARIANT_UNKNOWN_ENTITY_KEY]:(e,t)=>`Invariants are declared for "${e}", which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.INVARIANT_MANUAL_VIOLATIONS_COMPONENT]:e=>`Component "violations" on "${e}" cannot be declared manually because invariant parsing generates it automatically. Remove the manual component declaration.`,[e.INVARIANT_VIOLATIONS_EXPRESSION_CONFLICT]:(e,t)=>`Expression "${e}.$violations" is declared in "${t}:" but invariant parsing generates it automatically for the same entity type. Remove the declaration or rename it.`,[e.INVALID_RELATION_NAME]:e=>`"${e}" is not a valid relation name. Relation names must start with "$" followed by camelCase (e.g. "$top", "$legs"). Rename it.`,[e.RELATION_UNKNOWN_ENTITY_KEY]:(e,t)=>`Relations declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.RELATION_UNKNOWN_TARGET]:(e,t,n,a)=>`Relation "${e}.${t}" targets "${n}" which is not an entity type or alias in the model. Known names: ${a.join(", ")}. Check the spelling or add "${n}" to entityTypes.`,[e.RELATION_UNKNOWN_FIELD_DIRECT]:(e,t,n)=>`Relation "${e}.${t}" references field "${n}" which does not exist in the shape of "${e}". Add "${n}" to the "${e}" schema or pick a different field.`,[e.RELATION_UNKNOWN_FIELD_INDIRECT]:(e,t,n,a)=>`Relation "${e}.${t}" references field "${n}" which does not exist in the shape of target "${a}". Add "${n}" to the "${a}" schema or pick a different field.`,[e.RELATION_IMMUTABLE_FIELD]:(e,t,n,a)=>`Relation "${e}.${t}" uses implicit field "${n}" on "${a}" as a relation reference holder. Implicit fields "id" and "type" are immutable and cannot hold relation references. Choose a writable shape field on "${a}".`,[e.RELATION_FIELD_NOT_REFERENCE]:(e,t,n,a)=>`Relation "${e}.${t}" uses field "${n}" of "${a}", which is not a reference field. A relation reads the ids of its related entities from the field, so the field must be a "phx:DomainEntityId" with "references", such a reference or null, or an array of such references. Declare "${n}" that way in the shape of "${a}" or pick a different field.`,[e.RELATION_FIELD_REFERENCES_OTHER_TYPES]:(e,t,n,a,i,s,o)=>{let r=1===o.length&&o[0]===s?"":` (${o.join(", ")})`;return`Relation "${e}.${t}" uses field "${n}" of "${a}", which references ${i.join(", ")}, but the relation relates to "${s}"${r}. The field of a direct relation must reference exactly the entity types of its target, and the field of an indirect relation exactly the entity types the relation is declared on. Make "${a}.${n}" reference "${s}" or pick a different field.`},[e.RELATION_FIELD_CARDINALITY_MISMATCH]:(e,t,n,a,i,s)=>{let o={single:"one reference that is never null",nullableSingle:"one reference or null",array:"an array of references"};return`Relation "${e}.${t}" has cardinality "${a}", which needs a field that holds ${o[s]}, but "${e}.${n}" holds ${o[i]}. A direct relation with cardinality "1-1" reads one reference that is never null, "0-1" one reference or null, and "0-N" or "1-N" an array of references. Change the cardinality or the schema of "${n}".`},[e.RELATION_MISSING_COUNTERPART]:(e,t,n,a,i,s)=>{let o=void 0!==i?` with field "${i}"`:"",r=s?`Set "composedOf: false" on the counterpart because "${e}.${t}" already owns the composition.`:'Set "composedOf: false" on the counterpart for a cross-reference, or "composedOf: true" if the counterpart should own the composition.';return`Relation "${e}.${t}" (${n} → "${a}"${void 0!==i?`, field "${i}"`:""}) has no counterpart on "${a}". Every relation must be declared from both sides — add a "${"allOfType"===n?"allOfType":"direct"===n?"indirect":"direct"}" relation on "${a}" targeting "${e}"${o}. ${r}`},[e.RELATION_COUNTERPART_COMPOSED_OF_MISMATCH]:(e,t,n,a)=>`Relation "${e}.${t}" and its counterpart "${n}.${a}" both use "composedOf: true". A relation pair can have at most one composition owner — set "composedOf: false" on one side.`,[e.RELATION_ENTITY_NOT_IN_COMPOSITION_TREE]:(e,t)=>`Entity "${e}" is not reachable from any root entity type (${t.join(", ")}) via "composedOf: true" relations. Every declared entity must be part of the composition tree, otherwise instances of it can never appear in a valid domain state. Add a relation with "composedOf: true" from a reachable parent, or include "${e}" in the RootEntity alias.`,[e.DUPLICATE_DATA_SCHEMA]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each data schema can only be declared in one file. Remove the duplicate.`,[e.ADMIN_DATA_SCHEMA]:(e,t)=>`"${e}" is declared in admin spec "${t}". Data schemas are configurator-only. Move "${e}" to a non-admin spec file.`,[e.SESSION_DATA_REQUIRED_PROPERTIES]:(e,t)=>`sessionData in "${t}" declares required properties (${e.map(e=>`"${e}"`).join(", ")}), but admin and preset sessions do not carry custom session data. Remove these properties from required or set required to an empty array.`,[e.CLERK_SESSION_DATA_INCOMPATIBLE]:e=>`sessionData is not compatible with the built-in Clerk session payload: ${e.join("; ")}. When "useClerk" is true, the SDK's Clerk auth handlers return { id: string, accessToken: string, tags: string[], emailAddress: string, fullName: string | null }, and runtime session parsing rejects any payload the schema does not accept. Declare all five properties with these exact types (the "type" keyword is compared literally, so $ref, anyOf, and oneOf forms are not recognized) and keep them out of "required" so anonymous sessions stay valid. Extra project-defined properties are allowed.`,[e.RESERVED_PUBLISHED_DATA_KEY]:e=>`publishedData property "${e}" is reserved by the admin system. Properties like "presetCategories" and "recipes" are auto-injected. Remove "${e}" from your publishedData properties.`,[e.DUPLICATE_STATE_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each state field can only be declared in one file. Remove the duplicate.`,[e.INVALID_STATE_KEY]:(e,t)=>`State key "${t}" in "${e}" is not a valid identifier. State keys must start with a letter and contain only letters, digits, or underscores (e.g. "overview", "detailView"). Rename it.`,[e.DUPLICATE_STATE_VALUE]:(e,t)=>`State value "${t}" appears more than once in "${e}". Each value within a state array must be unique. Remove the duplicate.`,[e.DUPLICATE_THEME_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each theme field can only be declared in one file. Remove the duplicate.`,[e.DUPLICATE_UI_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each UI field can only be declared in one file. Remove the duplicate.`,[e.CONFLICTING_TRANSFORMERS]:(e,t)=>`Transformers are declared in both "${e}" and "${t}". The "transformers" section can only appear in one spec file. Move all transformers into a single file.`,[e.DUPLICATE_TRANSFORMER]:(e,t)=>`Transformer "${e}" is declared twice in "${t}". Transformer names must be unique within the file. Remove the duplicate entry.`,[e.DUPLICATE_TRANSFORMER_FILE]:(e,t)=>`Transformer files "${e}" and "${t}" resolve to the same transformer name. Transformers are matched by file name, ignoring folders, letter case, and dashes. Rename one of the files so every transformer file name is unique.`,[e.UNMATCHED_TRANSFORMER]:(e,t)=>`Transformer "${e}" has no matching file in "src/transformers/". Every name listed under "transformers:" must correspond to a transformer module. ${t.length>0?`Available transformers: ${t.map(e=>`"${e}"`).join(", ")}. Check the spelling or add "src/transformers/${e}.ts".`:`No transformer files were found in "src/transformers/". Add "src/transformers/${e}.ts" or remove the entry.`}`,[e.DUPLICATE_APP_METADATA_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each metadata field can only be declared in one file. Remove the duplicate.`,[e.DUPLICATE_INFRA_FIELD]:(e,t,n)=>`"${e}" is defined in both "${t}" and "${n}". Each infrastructure field can only be declared in one file. Remove the duplicate.`,[e.DUPLICATE_RESOURCE_NAME]:(e,t,n)=>`Resource name "${e}" is used by the entries at index ${t} and ${n} of "resources". A resource name identifies one resource. Rename one of the two entries or remove the duplicate.`,[e.INVALID_APPLICATION_VERSION]:e=>`"${e}" is not a valid applicationVersion. Version must be semver (x.y.z) using three numeric segments (e.g. "1.0.0", "2.3.12"). Update "applicationVersion" to match.`,[e.INVALID_ENV_VAR_KEY]:(e,t)=>`"${t}" is not a valid env.${e} variable name. Env var names must match /^[A-Z_][A-Z0-9_]*$/ — uppercase letters, digits, and underscores; must not start with a digit (e.g. "API_URL", "_PRIVATE_FLAG"). Rename the variable.`,[e.DUPLICATE_ADMIN_PAGES]:(e,t)=>`"$adminPages" is defined in both "${e}" and "${t}". Admin pages can only be declared in one admin spec file. Move all "$adminPages" settings into one admin file.`,[e.ADMIN_PAGES_NAV_STATE_CONFLICT]:e=>`Admin navigation states [${e.join(", ")}] are declared manually and generated from "$adminPages". Remove the manual entries from "navigationStates" in the admin spec or change the "$adminPages" navigationState values.`,[e.ADMIN_PAGE_DATA_ENTRY_CONFLICT]:(e,t)=>`"$adminPages.pages.${e}.connectedDataEntry" references data entry "${t}". This data entry already creates an inferred admin data page. Remove the explicit admin page connection or change the data entry kind.`,[e.CONFLICTING_BUDGETS]:(e,t)=>`"budgets" is declared in both "${e}" and "${t}". The "budgets" section can only appear in one spec file. Move all bundle-size budgets into a single file.`,[e.CONFLICTING_CHUNKS]:(e,t)=>`"chunks" is declared in both "${e}" and "${t}". The "chunks" section can only appear in one spec file. Move all chunk definitions into a single file.`,[e.CONFLICTING_ASSISTANT]:(e,t)=>`"assistant" is declared in both "${e}" and "${t}". The "assistant" manifest can only appear in one spec file. Move the whole "assistant" section into a single file.`,[e.ASSISTANT_UNKNOWN_TYPE]:(e,t)=>`"assistant.${e}.${t}" does not name an entity type or alias of the latest model, so it has nothing to ${({entities:"expose",deletable:"make deletable",writable:"make writable",childRecipes:"add children to",replaceRecipes:"replace",screenshots:"take screenshots of"})[e]}. Use an entity type or alias name from "model.latest", or remove the entry.`,[e.ASSISTANT_UNKNOWN_FIELD]:(e,t,n)=>n.startsWith("$")?`"assistant.entities.${t}.${n}" is not an expression declared on "${t}". The assistant schema exposes expressions declared in "expressions", "constants" or "relations" on the entity type or alias itself, and on an entity type also those of its aliases; an expression only inferred from a component "$read" is not declared. Declare "${n}" in "expressions", "constants" or "relations" on "${t}" (for an entity type, an alias containing it also works), or remove the entry.`:`"assistant.${e}.${t}.${n}" is not a stored field of "${t}". The assistant schema ${"entities"===e?"exposes":"writes"} shape properties of the entity type or alias, including fields every alias member has. Use a property from the "${t}" shape, or remove the entry.`,[e.ASSISTANT_UNSUPPORTED_EXPRESSION]:(e,t)=>`"assistant.entities.${e}.${t}" whitelists the "$violations" expression, which the assistant schema does not expose yet: violations get their own typed edge in CON-2869. Remove the entry.`,[e.ASSISTANT_NOT_WRITABLE]:(e,t)=>`"assistant.writable.${e}.${t}" cannot be written: ${t.startsWith("$")?"an expression is computed from the state, not stored":`"${t}" identifies the entity and never changes`}. Only stored shape properties other than "id" and "type" can be writable. Remove the entry${t.startsWith("$")?", or make the stored fields the expression reads writable instead":""}.`,[e.ASSISTANT_UNKNOWN_RECIPE_GROUP]:({section:e,component:t},n,a,i,s)=>`"assistant.${e}.${n}.groups.${a}" does not name a "${t}" component instance on "${i}", so there are no recipes to expose. ${s.length>0?`"${i}" has these "${t}" instances: ${s.join(", ")}.`:`"${i}" has no "${t}" component.`} Use the instance name of a "${t}" component attached to the entity type or to an alias containing it, or remove the entry.`,[e.ASSISTANT_DUPLICATE_RECIPE_GROUP]:({section:e,mutation:t},n,a,i)=>`"${n}" gets the recipe group id "${a}" from both "assistant.${e}.${i.join(`" and "assistant.${e}.`)}", but "${t}" finds a group of an entity by its id. The entries may come from "${n}" itself or from aliases containing it. Give one of them another id with "as".`,[e.ASSISTANT_META_TYPE_NAME_CONFLICT]:(e,t)=>`This entry exposes a recipe group, the options of a field or a screenshot view on "${e}", so the assistant schema generates the type "${t}" for them, but the model already has an entity type or alias named "${t}". Rename that entity type or alias, or remove every "assistant.childRecipes" and "assistant.replaceRecipes" group, every "options" of a writable field and every "assistant.screenshots" view of "${e}".`,[e.ASSISTANT_UNKNOWN_OPTIONS_COMPONENT]:(e,{componentType:t,instanceName:n},a,i)=>`"assistant.writable.${e}.options" names the "${t}" instance "${n}", which "${a}" does not have, so there are no choices to list. ${i.length>0?`"${a}" has these "${t}" instances: ${i.join(", ")}.`:`"${a}" has no "${t}" component.`} Use the name of a "${t}" instance attached to the entity type or to an alias containing it, correct "componentType", or remove "options".`,[e.ASSISTANT_RESERVED_OPTIONS_EDGE_NAME]:(e,t,n)=>`"assistant.writable.${e}.options" would add the edge "${t}" to the meta type, but that name is taken by a built-in of the meta type: the recipe groups edges or the screenshot field. Name the edge differently with "as", e.g. "as: ${n}Choices".`,[e.ASSISTANT_DUPLICATE_OPTIONS_EDGE]:(e,t,n)=>`"${e}" gets ${"edgeName"in t?`the options edge "${t.edgeName}"`:`options for the field "${t.field}"`} from both "assistant.writable.${n.join('.options" and "assistant.writable.')}.options", but ${"edgeName"in t?"one edge lists the choices of one field":"a written value is checked against one list of choices"}. The entries may come from "${e}" itself or from aliases containing it. ${"edgeName"in t?'Give one of them another name with "as", or remove':"Remove"} "options" from one of them.`,[e.ASSISTANT_UNKNOWN_SCREENSHOT_VIEW]:(e,t,n,a)=>`"assistant.screenshots.${e}.${t}" does not name an "agentScreenshot" component instance on "${n}", so there is no view to take a screenshot from. ${a.length>0?`"${n}" has these "agentScreenshot" instances: ${a.join(", ")}.`:`"${n}" has no "agentScreenshot" component.`} Use the instance name of an "agentScreenshot" component attached to the entity type or to an alias containing it, or remove the entry.`,[e.ASSISTANT_UNKNOWN_SCREENSHOT_EXPORT_STATE]:(e,t,n,a)=>`"assistant.screenshots.${e}.${t}" exposes the view "${t}", whose "agentScreenshot" component renders in the export state "${n}", but the spec declares no such export state, so the screenshot could never be taken. The declared export states are: ${a.join(", ")}. Set "exportState" of the component to one of them, or declare "${n}" under "exportStates".`,[e.ASSISTANT_DUPLICATE_SCREENSHOT_VIEW]:(e,t,n)=>`"${e}" gets the screenshot view "${t}" from both "assistant.screenshots.${n.join('" and "assistant.screenshots.')}", but the agent asks for a view of an entity by its name. The entries may come from "${e}" itself or from aliases containing it. Give one of them another name with "as", or remove it.`,[e.ASSISTANT_INVALID_SCREENSHOT_VIEW_NAME]:(e,t,n)=>`"assistant.screenshots.${e}.${t}" exposes the view "${n}", but the agent asks for a view by a GraphQL enum value, which is letters, digits and "_", does not start with a digit and is not "true", "false" or "null". Give the view a valid name with "as".`,[e.ASSISTANT_SCREENSHOT_VIEW_TYPE_NAME_CONFLICT]:(e,t)=>`This entry exposes a screenshot view on "${e}", so the assistant schema generates the enum "${t}" of its views, but the model already has an entity type or alias named "${t}". Rename that entity type or alias, or remove every "assistant.screenshots" view of "${e}".`,[e.ASSISTANT_UNKNOWN_ACTION]:(e,t)=>`"assistant.actions.${e}" does not name an action declared under "actions"${t.length>0?`; the declared actions are: ${t.join(", ")}`:"; the spec declares no actions"}. Declare the action in an "actions" block of a spec file and implement it in src/actions/, or remove the entry.`,[e.ASSISTANT_MUTATION_NAME_CONFLICT]:(e,t,n)=>`"assistant.actions.${e}" exposes the mutation "${t}", which ${n}. One Mutation field runs one change. Expose the action under another name with "as", e.g. "as: ${t}Action".`,[e.ASSISTANT_ACTION_RESULT_TYPE_CONFLICT]:(e,t,n)=>`"assistant.actions.${e}" exposes the mutation "${t}", so the assistant schema generates the type "${n}" for its result, but that name is taken by an entity type, alias, generated meta type, built-in type or another action's result. Expose the action under another name with "as", or rename the conflicting type.`,[e.ASSISTANT_UNKNOWN_LENS]:(e,t,n)=>`"assistant.entities.${e}" is tagged with the lens "${t}", which is not declared under "assistant.lenses"${n.length>0?`; the declared lenses are: ${n.join(", ")}`:"; the manifest declares no lenses"}. Declare "${t}" under "assistant.lenses" with a "description", or remove the tag.`,[e.ASSISTANT_EMPTY_LENS]:e=>`"assistant.lenses.${e}" is declared, but no entry under "assistant.entities" is tagged with it, so the agent would be offered a lens that selects nothing. Tag the fields and expressions of the lens with "lenses: [${e}]", or remove the lens.`,[e.ASSISTANT_RESERVED_LENS_NAME]:(e,t)=>`"assistant.lenses.${e}" has the name of a built-in lens (${t.join(", ")}), which the assistant schema defines itself. Rename the lens and the tags that name it.`,[e.ASSISTANT_FORM_ELEMENT_BUILT_IN_NAME]:(e,t)=>`"assistant.formElements.${e}" has the name of a built-in form element (${t.join(", ")}), and a project element cannot replace one; restyle a built-in through the theme instead. Rename the element and the name its implementation registers.`,[e.ASSISTANT_FORM_ELEMENT_HTML_NAME]:e=>`"assistant.formElements.${e}" has the name of an HTML element, so form markup that uses it could be read as HTML. Rename the element and the name its implementation registers, e.g. "${e}-field".`,[e.ASSISTANT_FORM_ATTRIBUTE_RESERVED_NAME]:(e,t)=>`"assistant.formElements.${e}.attributes.${t}" declares the built-in attribute "${t}", which every form element takes already as the text the user sees and the name of its answer. Remove the declaration, or rename the attribute if it means something else.`,[e.ASSISTANT_FORM_ELEMENT_UNKNOWN_REQUIRED]:(e,t,n)=>`"assistant.formElements.${e}.required" lists "${t}", which is not one of its declared attributes${n.length>0?` (${n.join(", ")})`:"; the element declares none"}. Declare the attribute under "attributes", or remove it from "required".`,[e.ASSISTANT_FIELD_SHAPE_CONFLICT]:(e,t)=>`The assistant schema exposes "${e}" in shapes that cannot be read together: ${t.map(({typeName:e,type:t})=>`${t} on "${e}"`).join(", ")}. A query that reaches entities of several types, such as "entities" or a lens, selects the field on all of them at once, and in GraphQL a single entity, a list of entities and a plain value cannot share a name. One name meaning different kinds of thing is an unusual model and confuses the assistant as well. Expose one of the entries under another name with "as".`,[e.ASSISTANT_RESERVED_FIELD_NAME]:(e,t,n)=>`"assistant.entities.${e}.${t}" is exposed as "${n}", which the assistant schema reserves ("id", "type" and "meta" are reserved on every type). Expose it under another name with "as", e.g. "as: ${t}Value".`,[e.ASSISTANT_FIELD_NAME_CONFLICT]:(e,t,n,a)=>void 0===a?`"${t}" on "${e}" in the assistant schema maps to both "${n.join('" and "')}", but one GraphQL field can read only one stored field or expression. The entries may come from "${e}" itself or from aliases containing it. Rename one of them with "as".`:`"assistant.writable.${a}" makes "${t}" writable on "${e}" without exposing it, so its delta field would be named "${t}", but "assistant.entities" already exposes "${n[0]}" on "${e}" under that name. One name cannot read one stored field or expression and write another. Expose "${t}" in "assistant.entities" under another name with "as", or rename the entry that exposes "${n[0]}".`,[e.ASSISTANT_RESERVED_TYPE_NAME]:(e,t)=>`"${e}" is an entity type or alias name that the assistant GraphQL schema reserves for its own types (${t.join(", ")}), so the schema cannot be generated. Rename the entity type or alias, or remove the "assistant" section.`,[e.ASSISTANT_INVALID_SCHEMA]:e=>`The GraphQL schema generated from the "assistant" manifest is invalid: ${e.join(" ")} This usually means aliases sharing an entity whitelist the same field with different types. Whitelist the field on one alias only, or rename one entry with "as".`,[e.INVALID_CHUNK_KEY]:e=>`"${e}" is not a valid chunk key. Chunk keys must be lowercase kebab-case matching /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/ (e.g. "main", "swatch-data"). Rename the chunk.`,[e.RESERVED_CHUNK_KEY]:()=>'"system" is a reserved chunk key used for presets and recipes. It cannot be user-defined and is auto-injected after validation. Please use a different key name.',[e.CONFLICTING_DATA_ENTRY]:(e,t,n,a)=>`"$data.${e}.${t}" is defined in both "${n}" and "${a}". Each data entry key can only be declared once per section. Move the entry into one file, delete the duplicate, or rename one entry.`,[e.INVALID_DATA_ENTRY_KEY]:(e,t)=>`"$data.${e}.${t}" is not a valid data entry key. Data entry keys must start with a letter, followed by letters, digits, or underscores (/^[A-Za-z]\\w*$/, e.g. "colorOptions" or "ColorOptions"). Rename the entry.`,[e.INVALID_DATA_DEFINITION_FIELD_KEY]:(e,t)=>`"$data.custom.${e}.definition.${t}" is not a valid field key. Definition field keys must match /^\\$?[a-z][\\w.-]*$/ — start with lowercase or "$", then letters, digits, "_", ".", or "-". Rename the field.`,[e.UNKNOWN_DATA_CHUNK]:(e,t,n)=>`"$data.${e}.${t}" references unknown chunk "${n}". The chunk reference must match a key declared under "chunks:". Add the chunk or update the entry chunk.`,[e.INVALID_DATA_VALUE]:(e,t,n,a)=>`"$data.custom.${e}.values[${t}].${n}" has an invalid value. Expected ${a}. Fix the value or update the field definition.`,[e.DEFAULTS_UNKNOWN_ENTITY_KEY]:(e,t)=>`Defaults declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.DEFAULTS_UNKNOWN_PROPERTY]:(e,t,n,a)=>{let i=n.length>0?n.join(", "):"(none)",s=a&&a.length>0?` Alias member(s) missing "${t}": ${a.join(", ")}.`:"";return`Default "${e}.${t}" refers to a property that does not exist on the shape of "${e}". Known properties: ${i}.${s} Remove the default or add "${t}" to the shape.`},[e.DEFAULTS_SCHEMA_VIOLATION]:(e,t,n,a,i)=>{let s=i?` (alias member "${i}")`:"",o=n&&"(root)"!==n?` at "${n}"`:"";return`Default "${e}.${t}"${s} does not match the entity shape${o}: ${a}. Defaults must be assignable to their shape property. Fix the value or update the shape.`},[e.DEFAULTS_INCOMPLETE]:(e,t,n)=>{let a=n.some(t=>t!==e)?` (declared under ${n.map(e=>`"${e}"`).join(", ")})`:"";return`Defaults for "${e}"${a} are incomplete: missing ${t.join(", ")}. Defaults for an entity type must state every property of its shape, because the recipe factory validates them as a whole entity when the application loads. Add the missing properties under "${e}" or under an alias that contains it, or remove the defaults for "${e}".`},[e.DEFAULTS_DEPRECATED]:()=>'The "defaults:" section is deprecated. Defaults remain supported for legacy parity, but new specs should model initial values as "$data" entries — see spec/application-specification/parsing/data-chunks.md. Defaults are planned for removal once the $data migration path is documented.',[e.COMPONENT_INVALID_INSTANCE_NAME]:(e,t,n)=>`Component instance name "${n}" in "${e}.${t}" is not a valid identifier. Instance names must start with a letter and contain only letters, digits, or underscores (e.g. "default", "body", "main"). Rename it.`,[e.COMPONENT_MERGE_CONFLICT]:(e,t,n,a,i)=>`Component instance "${e}.${t}.${n}" is defined in both "${a}" and "${i}". Each component instance can only appear in one file. Remove the duplicate.`,[e.COMPONENT_UNKNOWN_ENTITY_KEY]:(e,t)=>`Components declared for "${e}" which is not an entity type or alias in the model. Known names: ${t.join(", ")}. Check the spelling or add "${e}" to entityTypes.`,[e.READ_BINDING_UNKNOWN_FIELD]:(e,t,n,a,i)=>`$read binding "${a}" in "${e}.${t}.${n}" references field "${i}" which does not exist in the shape of "${e}". Add "${i}" to the shape or fix the $read target.`,[e.COMPONENT_BINDING_TYPE_MISMATCH]:(e,t,n,a)=>`"${t}" at "${e}" reads a value of type ${n}, but the component expects ${a} there, so the generated code would not type-check. Read a field whose type fits, change the field's type, or compute the value in an expression.`,[e.COMPONENT_STATIC_ENTITY_ID]:(e,t,n)=>`"${e}" holds the value ${t} written in the spec, but the component expects ${n} there. An entity id is a branded type, so no value written in YAML is one and the generated code would not type-check. Read the id from the domain state with "$read" or "$bind" of a field or expression that holds it.`,[e.EXPRESSION_READ_TYPE_CONFLICT]:(e,t,n,a)=>`Expression "${t}" of "${e}" ${void 0===n?"":`is declared as ${n} and `}is read where components expect ${a.join(", and ")}. No value is of all these types, so its implementation cannot type-check. Read the expression only where its type fits, declare the type the components expect, or read another expression there.`,[e.EXPRESSION_VALUE_TYPE_MISMATCH]:(e,t,n)=>`Expression "${e}" holds a value of type ${t}, but its schema declares ${n}, so the generated code would not type-check. A "$msg" is a message descriptor: declare the expression as "$ref: phx:Localizable" or "$ref: phx:MessageDescriptor", or change the value.`,[e.WRITE_BINDING_UNKNOWN_FIELD]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets field "${i}" which does not exist in the shape of "${e}". Add "${i}" to the shape or fix the target.`,[e.WRITE_BINDING_IMMUTABLE_FIELD]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets implicit field "${i}". Implicit fields "id" and "type" are immutable and cannot be changed. Use $read to consume the field or choose a writable shape field.`,[e.WRITE_BINDING_EXPRESSION_TARGET]:(e,t,n,a,i)=>`$write/$bind "${a}" in "${e}.${t}.${n}" targets "${i}" which is an expression. Write targets must be entity shape fields, not expressions. Use $read for expression bindings, $write/$bind for shape fields.`,[e.WRITE_BINDING_DUPLICATE_TARGET]:(e,t,n,a,i,s)=>`Entity field "${a}" is written by both "${i}" and "${s}" in "${e}.${t}.${n}". Each entity field can only be written by one component property. Remove one of the bindings.`,[e.UNKNOWN_SRC_PATH]:e=>`File "${e}" is in an unknown src/ folder. Only known folders (expressions, actions, invariants, components, transformers, handlers, elements, webhooks, locales, admin/*, migrations) or _-prefixed shared folders are allowed. Move the file or rename the folder with a "_" prefix.`,[e.INVALID_SUBDIRECTORY]:(e,t)=>`File "${e}" is nested inside "${t}", but migrations must be flat. Move the migration file directly into "${t}" or prefix the folder with "_".`,[e.MISSING_WEBHOOK_INDEX]:()=>"Files found in src/webhooks/ but src/webhooks/index.ts is missing. The webhook entry point requires a default export from src/webhooks/index.ts. Create the file with a default export of your webhook handler.",[e.MODULE_ANALYSIS_FAILED]:(e,t)=>`Cannot analyze module "${e}": ${t}. Fix the file's syntax so its imports and webhook membership can be determined.`,[e.WEBHOOK_UNSAFE_IMPORT]:(e,t,n,a)=>`Webhook-included file "${e}" is not server-safe: it is included because ${t}, but "${n}" imports client-only "${a}". Fix: remove or isolate the client-only import, or remove the file's webhook membership.`,[e.ENHANCED_JSON_VALUE_EVAL_NOT_ALLOWED]:()=>'"$eval" is not allowed in this position. "$eval" requires "self", which is only available inside expressions and component props — it is not available in static slots such as defaults. Replace the "$eval" with a literal value, "$msg", or move the dynamic logic into an "expressions:" entry.',[e.ENHANCED_JSON_VALUE_MSG_NOT_ALLOWED]:()=>'"$msg" is not allowed in this position. This slot does not accept localized messages (e.g. component props, which are resolved without an i18n context). Replace "$msg" with a plain string, or move the message into a slot that supports i18n such as defaults or expressions.',[e.ENHANCED_JSON_VALUE_EVAL_NOT_STATICALLY_INFERABLE]:e=>`Could not infer a schema from "$eval: ${e}" because the expression is not statically foldable. Add explicit schema keys to the expression entry, or use only literals, constant operators, and deterministic Math members.`,[e.ENHANCED_JSON_VALUE_CODE_REF_NOT_SUPPORTED]:()=>'"$codeRef" with an inline "code" block is no longer supported by the application spec parser. It was never evaluated — the value was carried through as plain data. Use "$eval" instead, for example "$eval: \'4 * 25.4\'". "$eval" folds literals, constant operators, and deterministic Math members at parse time; anything else needs explicit schema keys.'};
@@ -1 +1 @@
1
- import{rebaseProjectModule as t}from"../../../core/index.js";export class CodeImports{imports=new Map;typeImports=new Map;addImport(t,e){let o=this.imports.get(t)??new Set;this.imports.set(t,o),o.add(e)}addTypeImport(t,e){let o=this.typeImports.get(t)??new Set;this.typeImports.set(t,o),o.add(e)}toTypeOnlyString(e){let o=new Map;for(let[t,e]of this.imports){let r=o.get(t)??new Set;for(let s of(o.set(t,r),e))r.add(s)}for(let[t,e]of this.typeImports){let r=o.get(t)??new Set;for(let s of(o.set(t,r),e))r.add(s)}return[...o.entries()].map(([o,r])=>{let s=e?t(o,e):o;return`import type { ${[...r].sort().join(", ")} } from '${s}'`}).join("\n")}toString(){let t=[];for(let[e,o]of this.imports){let r=this.typeImports.get(e),s=[...o].filter(t=>!r?.has(t)).sort(),p=r?[...r].filter(t=>!o.has(t)).sort():[];s.length>0&&t.push(`import { ${s.join(", ")} } from '${e}'`),p.length>0&&t.push(`import type { ${p.join(", ")} } from '${e}'`)}for(let[e,o]of this.typeImports)this.imports.has(e)||t.push(`import type { ${[...o].sort().join(", ")} } from '${e}'`);return t.join("\n")}}
1
+ import{rebaseProjectModule as t}from"../../../core/index.js";import{toSingleQuotedString as e}from"./single-quoted-string.js";export class CodeImports{imports=new Map;typeImports=new Map;addImport(t,e){let o=this.imports.get(t)??new Set;this.imports.set(t,o),o.add(e)}addTypeImport(t,e){let o=this.typeImports.get(t)??new Set;this.typeImports.set(t,o),o.add(e)}toTypeOnlyString(o){let r=new Map;for(let[t,e]of this.imports){let o=r.get(t)??new Set;for(let s of(r.set(t,o),e))o.add(s)}for(let[t,e]of this.typeImports){let o=r.get(t)??new Set;for(let s of(r.set(t,o),e))o.add(s)}return[...r.entries()].map(([r,s])=>{let p=o?t(r,o):r;return`import type { ${[...s].sort().join(", ")} } from ${e(p)}`}).join("\n")}toString(){let t=[];for(let[o,r]of this.imports){let s=this.typeImports.get(o),p=[...r].filter(t=>!s?.has(t)).sort(),i=s?[...s].filter(t=>!r.has(t)).sort():[];p.length>0&&t.push(`import { ${p.join(", ")} } from ${e(o)}`),i.length>0&&t.push(`import type { ${i.join(", ")} } from ${e(o)}`)}for(let[o,r]of this.typeImports)this.imports.has(o)||t.push(`import type { ${[...r].sort().join(", ")} } from ${e(o)}`);return t.join("\n")}}
@@ -1,3 +1,3 @@
1
- export const generateEnvReader=e=>{let t=Object.keys(e);if(0===t.length)return{imports:[],config:"{}"};let l=new Set,f=t.map(t=>{let f=e[t];l.add(f.type);let n=[];if("default"in f){let e="string"==typeof f.default?`'${f.default}'`:f.default;n.push(`default: ${e}`)}else!0!==f.required&&n.push("default: undefined");if("devDefault"in f){let e="string"==typeof f.devDefault?`'${f.devDefault}'`:f.devDefault;n.push(`devDefault: ${e}`)}if(f.choices){let e=`[${f.choices.map(e=>`'${e}'`).join(", ")}]`;n.push(`choices: ${e}`)}let i=n.length>0?`{ ${n.join(", ")} }`:"{}";return` ${t}: ${f.type}(${i}),`});return{imports:Array.from(l).sort(),config:`{
2
- ${f.join("\n")}
1
+ import{toSingleQuotedString as e}from"./single-quoted-string.js";export const generateEnvReader=t=>{let i=Object.keys(t);if(0===i.length)return{imports:[],config:"{}"};let l=new Set,n=i.map(i=>{let n=t[i];l.add(n.type);let f=[];if("default"in n){let t="string"==typeof n.default?e(n.default):n.default;f.push(`default: ${t}`)}else!0!==n.required&&f.push("default: undefined");if("devDefault"in n){let t="string"==typeof n.devDefault?e(n.devDefault):n.devDefault;f.push(`devDefault: ${t}`)}if(n.choices){let t=`[${n.choices.map(e).join(", ")}]`;f.push(`choices: ${t}`)}let r=f.length>0?`{ ${f.join(", ")} }`:"{}";return` ${i}: ${n.type}(${r}),`});return{imports:Array.from(l).sort(),config:`{
2
+ ${n.join("\n")}
3
3
  }`}};
@@ -3,3 +3,5 @@ export * from './code-imports.js';
3
3
  export * from './exported-type-declarations.js';
4
4
  export * from './env-reader.js';
5
5
  export * from './file-headers.js';
6
+ export * from './project-module-list.js';
7
+ export * from './single-quoted-string.js';
@@ -1 +1 @@
1
- export*from"./application-type-imports.js";export*from"./code-imports.js";export*from"./exported-type-declarations.js";export*from"./env-reader.js";export*from"./file-headers.js";
1
+ export*from"./application-type-imports.js";export*from"./code-imports.js";export*from"./exported-type-declarations.js";export*from"./env-reader.js";export*from"./file-headers.js";export*from"./project-module-list.js";export*from"./single-quoted-string.js";
@@ -0,0 +1,8 @@
1
+ /** The default imports of one convention folder's files, as a generated barrel lists them. */
2
+ export declare const generateProjectModuleImports: (files: readonly string[], prefix: string) => readonly string[];
3
+ /**
4
+ * The origin-tagged module list a generated barrel exports for one convention folder. The barrel only
5
+ * pairs each default export with its project path; the SDK validates and merges the exports, so that an
6
+ * invalid file is reported by name and the built app and the editor's hot reload share one implementation.
7
+ */
8
+ export declare const generateProjectModuleList: (files: readonly string[], prefix: string) => string;
@@ -0,0 +1,3 @@
1
+ export const generateProjectModuleImports=(e,t)=>e.map((e,r)=>`import ${t}${r} from '../${e.replace(/\.tsx?$/,".js")}'`);export const generateProjectModuleList=(e,t)=>{if(0===e.length)return"[]";let r=e.map((e,r)=>` { origin: '${e}', exports: ${t}${r} },`);return`[
2
+ ${r.join("\n")}
3
+ ]`};
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Writes a string as a single-quoted TypeScript string literal. Backslashes, single quotes and line
3
+ * terminators are escaped, so any string gives a valid literal; a string without them comes out as
4
+ * `'value'`, as the templates write it.
5
+ */
6
+ export declare const toSingleQuotedString: (value: string) => string;
@@ -0,0 +1 @@
1
+ let u={"\\":"\\\\","'":"\\'","\n":"\\n","\r":"\\r","\u2028":"\\u2028","\u2029":"\\u2029"};export const toSingleQuotedString=e=>`'${e.replace(/[\\'\n\r\u2028\u2029]/g,e=>u[e])}'`;
@@ -1 +1 @@
1
- import{GeneratedApplicationFile as n}from"../../core/index.js";import{createApplicationTypeImportRegistrar as e}from"./common/index.js";import{generateAdminGlobalBindingBlock as i,generateApplicationSpecAdminCode as o,generateApplicationSpecAdminFrontendCode as t,generateApplicationSpecAdminGlobals as a,generateApplicationSpecConfiguratorCode as r,generateApplicationSpecConfiguratorConfig as s,generateApplicationSpecConfiguratorFrontendCode as d,generateApplicationSpecConfiguratorGlobals as c,generateApplicationSpecDomainFile as g,generateApplicationSpecDomainSpecFile as m,generateApplicationSpecGlobals as p,generateApplicationSpecTypesModule as l,generateConfiguratorGlobalBindingBlock as f,generateImportedStateConstants as B,generatePhxExportsBlock as u,generatePhxGlobalsBlock as x,generateStateConstants as h}from"./templates/index.js";import{splitWebhookMembership as k}from"./webhook-safe-files.js";let y=()=>"";export const globalPhxBindingStrategy={generateApplicationTypesFile:(e,i)=>n("globals.d.ts",p(e,i)),generateDomainBindingBlock:x,generateStateConstants:h,generateConfiguratorBindingBlock:f,configuratorBindingDescription:"Creates the configurator interface and sets phx.frontend — must run before any user code imports.",generateAdminBindingBlock:i,adminBindingDescription:"Creates the admin interface and sets phx.frontend.admin — must run before admin user code imports."};export const modulePhxBindingStrategy={applicationTypeImportSource:"./application-types.js",generateApplicationTypesFile:(e,i)=>n("application-types.ts",l(e,i)),generateDomainBindingBlock:u,generateStateConstants:B,generateConfiguratorBindingBlock:y,configuratorBindingDescription:"Creates and exports the configurator interface for a module-scoped phx binding.",generateAdminBindingBlock:y,adminBindingDescription:"Creates and exports the admin interface for a module-scoped phx binding."};let C=n=>n.map(n=>n.file.name);export const generateDomainRuntimeFiles=(i,p)=>{let{applicationSpec:l,categorizedFiles:f,phxDefinitions:B,includeDefaultEnvs:u}=i,x=e(p.applicationTypeImportSource),h=C(f.expressions),y=C(f.actions),b=C(f.handlers),D=C(f.elements),S=C(f.transformers),A=C(f.invariants),F=C(f.adminInvariants),j=C(f.adminExpressions),I=C(f.adminElements),T=k(f.components),w=C(T.webhookIncluded),v=C(T.frontendOnly),E=k(f.adminComponents),O=C(E.webhookIncluded),P=C(E.frontendOnly);return[n("domain-spec.ts",m(l,{generateBindingBlock:p.generateDomainBindingBlock,generateStateConstants:p.generateStateConstants,registerApplicationTypeImports:x})),n("configurator-globals.ts",c(p.generateConfiguratorBindingBlock,p.configuratorBindingDescription)),n("configurator-domain-code.ts",r({expressionFiles:h,actionFiles:y,invariantFiles:A,componentFiles:w},x)),n("configurator-frontend-code.ts",d({transformerFiles:S,handlerFiles:b,elementFiles:D,componentFiles:v},x)),n("admin-domain-code.ts",o({adminExpressionFiles:j,adminInvariantFiles:F,adminComponentFiles:O},x)),n("admin-frontend-code.ts",t({adminElementFiles:I,adminComponentFiles:P},x)),n("domain.ts",g(l)),n("configurator-config.ts",s(l,{includeDefaultEnvs:u})),p.generateApplicationTypesFile(l,B),n("admin-globals.ts",a(p.generateAdminBindingBlock,p.adminBindingDescription))]};
1
+ import{GeneratedApplicationFile as n}from"../../core/index.js";import{encodeRuntimeSpec as e,toRuntimeSpec as i}from"../runtime-spec/index.js";import{createApplicationTypeImportRegistrar as o}from"./common/index.js";import{generateAdminGlobalBindingBlock as t,generateApplicationSpecAdminCode as a,generateApplicationSpecAdminFrontendCode as r,generateApplicationSpecAdminGlobals as s,generateApplicationSpecCodeFile as d,generateApplicationSpecConfiguratorCode as c,generateApplicationSpecConfiguratorConfig as p,generateApplicationSpecConfiguratorFrontendCode as m,generateApplicationSpecConfiguratorGlobals as g,generateApplicationSpecDomainFile as l,generateApplicationSpecDomainSpecFile as f,generateApplicationSpecGlobals as u,generateApplicationSpecMessagesFile as B,generateApplicationSpecTypesModule as x,generateConfiguratorGlobalBindingBlock as h,generateImportedStateConstants as k,generatePhxExportsBlock as y,generatePhxGlobalsBlock as C,generateStateConstants as b}from"./templates/index.js";import{splitWebhookMembership as D}from"./webhook-safe-files.js";let j=()=>"";export const globalPhxBindingStrategy={generateApplicationTypesFile:(e,i)=>n("globals.d.ts",u(e,i)),generateDomainBindingBlock:C,generateStateConstants:b,generateConfiguratorBindingBlock:h,configuratorBindingDescription:"Creates the configurator interface and sets phx.frontend — must run before any user code imports.",generateAdminBindingBlock:t,adminBindingDescription:"Creates the admin interface and sets phx.frontend.admin — must run before admin user code imports."};export const modulePhxBindingStrategy={applicationTypeImportSource:"./application-types.js",generateApplicationTypesFile:(e,i)=>n("application-types.ts",x(e,i)),generateDomainBindingBlock:y,generateStateConstants:k,generateConfiguratorBindingBlock:j,configuratorBindingDescription:"Creates and exports the configurator interface for a module-scoped phx binding.",generateAdminBindingBlock:j,adminBindingDescription:"Creates and exports the admin interface for a module-scoped phx binding."};let S=n=>n.map(n=>n.file.name);export const generateDomainRuntimeFiles=(t,u)=>{let{applicationSpec:x,categorizedFiles:h,phxDefinitions:k,includeDefaultEnvs:y}=t,C=o(u.applicationTypeImportSource),b=S(h.expressions),j=S(h.actions),A=S(h.handlers),F=S(h.elements),I=S(h.transformers),T=S(h.invariants),w=S(h.adminInvariants),v=S(h.adminExpressions),E=S(h.adminElements),O=D(h.components),P=S(O.webhookIncluded),R=S(O.frontendOnly),q=D(h.adminComponents),z=S(q.webhookIncluded),G=S(q.frontendOnly);return[n("domain-spec.ts",f(x,{generateBindingBlock:u.generateDomainBindingBlock,generateStateConstants:u.generateStateConstants,registerApplicationTypeImports:C})),n("configurator-globals.ts",g(u.generateConfiguratorBindingBlock,u.configuratorBindingDescription,C)),n("configurator-domain-code.ts",c({expressionFiles:b,actionFiles:j,invariantFiles:T,componentFiles:P})),n("configurator-frontend-code.ts",m({transformerFiles:I,handlerFiles:A,elementFiles:F,componentFiles:R})),n("admin-domain-code.ts",a({adminExpressionFiles:v,adminInvariantFiles:w,adminComponentFiles:z})),n("admin-frontend-code.ts",r({adminElementFiles:E,adminComponentFiles:G})),n("spec-code.ts",d(x,C)),n("spec-messages.ts",B(x)),n("domain.ts",l(x)),n("configurator-config.ts",p(x,{includeDefaultEnvs:y})),u.generateApplicationTypesFile(x,k),n("admin-globals.ts",s(u.generateAdminBindingBlock,u.adminBindingDescription)),n("application-spec.json",e(i(x)),{format:!1})]};
@@ -10,8 +10,9 @@
10
10
  *
11
11
  * Each group module documents the criterion that decides its membership, so a new template
12
12
  * self-classifies into exactly one of them. This module owns only the aggregate and adds no files of
13
- * its own: it concatenates the two application-file groups, in that order, into the `.phoenix`
14
- * output, and spreads the scaffolding group's project-root buckets alongside them.
13
+ * its own: it concatenates the two application-file groups and the scaffolding group's `.phoenix`
14
+ * files, in that order, into the `.phoenix` output, and spreads the scaffolding group's project-root
15
+ * buckets alongside them.
15
16
  *
16
17
  * Generated projects always bind phx globally, so the aggregate selects `globalPhxBindingStrategy`.
17
18
  * A module-scoped binding is only meaningful to a consumer calling the domain-runtime group on its
@@ -1 +1 @@
1
- import{GeneratedApplication as o}from"../../core/index.js";import{generateDomainRuntimeFiles as e,globalPhxBindingStrategy as i}from"./domain-runtime-files.js";import{generateProjectScaffolding as r}from"./project-scaffolding.js";import{generateStandaloneAppFiles as t}from"./standalone-app-files.js";export const generateApplicationCode=m=>o({files:[...e(m,i),...t(m)],...r(m)});
1
+ import{GeneratedApplication as o}from"../../core/index.js";import{generateDomainRuntimeFiles as e,globalPhxBindingStrategy as r}from"./domain-runtime-files.js";import{generateProjectScaffolding as i}from"./project-scaffolding.js";import{generateStandaloneAppFiles as t}from"./standalone-app-files.js";export const generateApplicationCode=m=>{let{phoenixFiles:n,...p}=i(m);return o({files:[...e(m,r),...t(m),...n],...p})};
@@ -2,7 +2,7 @@
2
2
  * Generates the files that configure the generated project itself.
3
3
  *
4
4
  * Membership criterion: a file belongs to this group when it describes the project rather than the
5
- * application — dependency and toolchain configuration, formatting rules, agent instructions, and
5
+ * application — toolchain configuration, formatting rules, agent skills, and
6
6
  * the initial content a fresh project starts with. Nothing here is imported by the running
7
7
  * configurator or served by the deployed application.
8
8
  *
@@ -24,35 +24,43 @@ export declare const agentSkillRoots: readonly ['.claude/skills', '.agents/skill
24
24
  /**
25
25
  * Inputs required by generated-project configuration and initial project files.
26
26
  *
27
- * The SDK version pins the generated `package.json` dependency, `cliUseWorkspace` lets an explicit
28
- * CLI flag override the spec's workspace mode, and the optional name and description populate the
29
- * project metadata. The categorized files carry the project's existing `package.json` and `.gitignore`
30
- * so those templates can merge rather than clobber, and the legacy cursor rules and `CLAUDE.md` so the
31
- * SDK block can be stripped from them.
27
+ * The SDK version and the workspace mode decide whether the agent skills tell the agent to follow the
28
+ * canary builds; `cliUseWorkspace` lets an explicit CLI flag override the spec's workspace mode. The
29
+ * categorized files carry the project's existing `.gitignore` so its template can merge rather than
30
+ * clobber, the legacy cursor rules and `CLAUDE.md` so the
31
+ * SDK block can be stripped from them, and whether the root `tsconfig.json`, `eslint.config.js` and
32
+ * `prettier.config.js` are the ones earlier SDK versions generated, so they can be replaced.
33
+ *
34
+ * `projectInGitRepository` says whether the project folder is inside a git work tree. `.gitignore` is
35
+ * generated only then: a project that is not under git has no use for the file, and one it already
36
+ * has is left as it is. The caller finds this out, because generation reads no file system. The
37
+ * option defaults to `true`: these options are public through the `application-spec` entry, and a
38
+ * caller that does not pass it keeps getting `.gitignore`, as every caller did before the option existed.
32
39
  */
33
40
  export interface GenerateProjectScaffoldingOptions {
34
41
  readonly applicationSpec: ApplicationSpec;
35
42
  readonly categorizedFiles: CategorizedFiles;
36
43
  readonly sdkVersion: string;
44
+ readonly projectInGitRepository?: boolean;
37
45
  readonly cliUseWorkspace?: boolean;
38
- readonly name?: string;
39
- readonly description?: string;
40
46
  }
41
47
  /**
42
- * Project-root file buckets produced independently from the application runtime files.
48
+ * Project-root file buckets produced independently from the application runtime files, and the
49
+ * project configuration that lives in `.phoenix/`.
43
50
  *
44
51
  * The buckets are kept apart because they carry different write intent, which the caching layer
45
- * acts on: `generatedProjectFiles` are content-diffed and rewritten whenever they differ,
46
- * `initialProjectFiles` are written only when absent and are the project's to edit afterwards, and
47
- * `prettierFiles` are separated so a writer can emit the formatting configuration ahead of the
48
- * output it formats. `removedProjectFiles` lists project-relative paths of files earlier SDK versions
52
+ * acts on: `phoenixFiles` are paths relative to `.phoenix/` and join the application files there,
53
+ * rewritten whenever they differ and removed with the rest of the folder's stale output;
54
+ * `generatedProjectFiles` are content-diffed and rewritten whenever they differ, and
55
+ * `initialProjectFiles` are written only when absent and are the project's to edit afterwards.
56
+ * `removedProjectFiles` lists project-relative paths of files earlier SDK versions
49
57
  * generated that must no longer exist. As in the generated application bundle these buckets flow
50
58
  * into, they express that intent without implementing the write behavior themselves.
51
59
  */
52
60
  export interface GeneratedProjectScaffolding {
61
+ readonly phoenixFiles: readonly GeneratedApplicationFile[];
53
62
  readonly generatedProjectFiles: readonly GeneratedApplicationFile[];
54
63
  readonly initialProjectFiles: readonly GeneratedApplicationFile[];
55
- readonly prettierFiles: readonly GeneratedApplicationFile[];
56
64
  readonly removedProjectFiles: readonly string[];
57
65
  }
58
66
  export declare const generateProjectScaffolding: (options: GenerateProjectScaffoldingOptions) => GeneratedProjectScaffolding;