@dialecte/scl 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/dist/hooks-Cw9fAx-L.js +53454 -0
  2. package/dist/v2019C1/config/dialecte.config.d.ts +27746 -20645
  3. package/dist/v2019C1/config/dialecte.config.d.ts.map +1 -1
  4. package/dist/v2019C1/constants/index.d.ts +1 -0
  5. package/dist/v2019C1/constants/index.d.ts.map +1 -1
  6. package/dist/v2019C1/constants/lnode-spec-naming.d.ts +8 -0
  7. package/dist/v2019C1/constants/lnode-spec-naming.d.ts.map +1 -0
  8. package/dist/v2019C1/constants/naming.d.ts +2 -0
  9. package/dist/v2019C1/constants/naming.d.ts.map +1 -1
  10. package/dist/v2019C1/constants/reference-pairs.d.ts +12 -4
  11. package/dist/v2019C1/constants/reference-pairs.d.ts.map +1 -1
  12. package/dist/v2019C1/definition/constants.generated.d.ts.map +1 -1
  13. package/dist/v2019C1/definition/definition.generated.d.ts +27746 -20645
  14. package/dist/v2019C1/definition/definition.generated.d.ts.map +1 -1
  15. package/dist/v2019C1/definition/types.generated.d.ts +5 -153
  16. package/dist/v2019C1/definition/types.generated.d.ts.map +1 -1
  17. package/dist/v2019C1/errors/errors.d.ts +60 -0
  18. package/dist/v2019C1/errors/errors.d.ts.map +1 -0
  19. package/dist/v2019C1/errors/index.d.ts +6 -0
  20. package/dist/v2019C1/errors/index.d.ts.map +1 -0
  21. package/dist/v2019C1/errors/warnings.d.ts +30 -0
  22. package/dist/v2019C1/errors/warnings.d.ts.map +1 -0
  23. package/dist/v2019C1/extensions/clean-up/transaction/orphan-lnode-bindings.d.ts.map +1 -1
  24. package/dist/v2019C1/extensions/data-model/naming/lnode-naming.d.ts +19 -0
  25. package/dist/v2019C1/extensions/data-model/naming/lnode-naming.d.ts.map +1 -0
  26. package/dist/v2019C1/extensions/data-model/naming/lnode-naming.types.d.ts +12 -0
  27. package/dist/v2019C1/extensions/data-model/naming/lnode-naming.types.d.ts.map +1 -0
  28. package/dist/v2019C1/extensions/data-model/query/is-lnode-locked.d.ts.map +1 -1
  29. package/dist/v2019C1/extensions/data-model/transaction/index.d.ts +1 -0
  30. package/dist/v2019C1/extensions/data-model/transaction/index.d.ts.map +1 -1
  31. package/dist/v2019C1/extensions/data-model/transaction/unlock-lnode.constants.d.ts +5 -0
  32. package/dist/v2019C1/extensions/data-model/transaction/unlock-lnode.constants.d.ts.map +1 -0
  33. package/dist/v2019C1/extensions/data-model/transaction/unlock-lnode.d.ts +14 -0
  34. package/dist/v2019C1/extensions/data-model/transaction/unlock-lnode.d.ts.map +1 -0
  35. package/dist/v2019C1/extensions/identity/transaction/restore-cloned-uuids.d.ts +1 -1
  36. package/dist/v2019C1/extensions/identity/transaction/restore-cloned-uuids.d.ts.map +1 -1
  37. package/dist/v2019C1/extensions/identity/transaction/write-identity.d.ts +1 -1
  38. package/dist/v2019C1/extensions/identity/transaction/write-identity.d.ts.map +1 -1
  39. package/dist/v2019C1/extensions/index.d.ts +4 -2
  40. package/dist/v2019C1/extensions/index.d.ts.map +1 -1
  41. package/dist/v2019C1/extensions/info/constants/state.d.ts +5 -0
  42. package/dist/v2019C1/extensions/info/constants/state.d.ts.map +1 -0
  43. package/dist/v2019C1/extensions/info/constants/state.types.d.ts +38 -0
  44. package/dist/v2019C1/extensions/info/constants/state.types.d.ts.map +1 -0
  45. package/dist/v2019C1/extensions/info/constants/title.d.ts.map +1 -0
  46. package/dist/v2019C1/extensions/info/constants/title.types.d.ts.map +1 -0
  47. package/dist/v2019C1/extensions/info/index.d.ts +5 -0
  48. package/dist/v2019C1/extensions/info/index.d.ts.map +1 -0
  49. package/dist/v2019C1/extensions/info/public.d.ts +3 -0
  50. package/dist/v2019C1/extensions/info/public.d.ts.map +1 -0
  51. package/dist/v2019C1/extensions/info/query/index.d.ts +4 -0
  52. package/dist/v2019C1/extensions/info/query/index.d.ts.map +1 -0
  53. package/dist/v2019C1/extensions/info/query/info-context.d.ts +6 -0
  54. package/dist/v2019C1/extensions/info/query/info-context.d.ts.map +1 -0
  55. package/dist/v2019C1/extensions/info/query/info-context.types.d.ts +11 -0
  56. package/dist/v2019C1/extensions/info/query/info-context.types.d.ts.map +1 -0
  57. package/dist/v2019C1/extensions/info/query/of-each.d.ts +10 -0
  58. package/dist/v2019C1/extensions/info/query/of-each.d.ts.map +1 -0
  59. package/dist/v2019C1/extensions/info/query/of.d.ts +28 -0
  60. package/dist/v2019C1/extensions/info/query/of.d.ts.map +1 -0
  61. package/dist/v2019C1/extensions/info/query/of.types.d.ts +27 -0
  62. package/dist/v2019C1/extensions/info/query/of.types.d.ts.map +1 -0
  63. package/dist/v2019C1/extensions/lifecycle/apply/apply.d.ts.map +1 -1
  64. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.d.ts +4 -2
  65. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.d.ts.map +1 -1
  66. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.d.ts +0 -7
  67. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.d.ts.map +1 -1
  68. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.d.ts +19 -3
  69. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.d.ts.map +1 -1
  70. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.types.d.ts +6 -16
  71. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.types.d.ts.map +1 -1
  72. package/dist/v2019C1/extensions/lifecycle/constraints/index.d.ts +3 -2
  73. package/dist/v2019C1/extensions/lifecycle/constraints/index.d.ts.map +1 -1
  74. package/dist/v2019C1/extensions/lifecycle/constraints/make-unique.d.ts +16 -0
  75. package/dist/v2019C1/extensions/lifecycle/constraints/make-unique.d.ts.map +1 -0
  76. package/dist/v2019C1/extensions/lifecycle/constraints/make-unique.types.d.ts +6 -0
  77. package/dist/v2019C1/extensions/lifecycle/constraints/make-unique.types.d.ts.map +1 -0
  78. package/dist/v2019C1/extensions/lifecycle/constraints/public.d.ts +3 -0
  79. package/dist/v2019C1/extensions/lifecycle/constraints/public.d.ts.map +1 -1
  80. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-placement-collision.d.ts +2 -4
  81. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-placement-collision.d.ts.map +1 -1
  82. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.d.ts +18 -6
  83. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.d.ts.map +1 -1
  84. package/dist/v2019C1/extensions/lifecycle/contract.types.d.ts +47 -10
  85. package/dist/v2019C1/extensions/lifecycle/contract.types.d.ts.map +1 -1
  86. package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.d.ts +2 -0
  87. package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.d.ts.map +1 -1
  88. package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.d.ts +14 -18
  89. package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.d.ts.map +1 -1
  90. package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.types.d.ts +19 -0
  91. package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.types.d.ts.map +1 -0
  92. package/dist/v2019C1/extensions/lifecycle/cross-cutting/finalize-cloned-identity.d.ts +8 -1
  93. package/dist/v2019C1/extensions/lifecycle/cross-cutting/finalize-cloned-identity.d.ts.map +1 -1
  94. package/dist/v2019C1/extensions/lifecycle/cross-cutting/mapping.constants.d.ts +15 -0
  95. package/dist/v2019C1/extensions/lifecycle/cross-cutting/mapping.constants.d.ts.map +1 -0
  96. package/dist/v2019C1/extensions/lifecycle/engine/correlate.d.ts +16 -8
  97. package/dist/v2019C1/extensions/lifecycle/engine/correlate.d.ts.map +1 -1
  98. package/dist/v2019C1/extensions/lifecycle/engine/decide.d.ts +30 -2
  99. package/dist/v2019C1/extensions/lifecycle/engine/decide.d.ts.map +1 -1
  100. package/dist/v2019C1/extensions/lifecycle/engine/decide.types.d.ts +2 -2
  101. package/dist/v2019C1/extensions/lifecycle/engine/diff.d.ts +35 -1
  102. package/dist/v2019C1/extensions/lifecycle/engine/diff.d.ts.map +1 -1
  103. package/dist/v2019C1/extensions/lifecycle/engine/diff.types.d.ts +29 -22
  104. package/dist/v2019C1/extensions/lifecycle/engine/diff.types.d.ts.map +1 -1
  105. package/dist/v2019C1/extensions/lifecycle/engine/group.d.ts +15 -1
  106. package/dist/v2019C1/extensions/lifecycle/engine/group.d.ts.map +1 -1
  107. package/dist/v2019C1/extensions/lifecycle/engine/index.d.ts +3 -2
  108. package/dist/v2019C1/extensions/lifecycle/engine/index.d.ts.map +1 -1
  109. package/dist/v2019C1/extensions/lifecycle/engine/instance-tag.d.ts +16 -0
  110. package/dist/v2019C1/extensions/lifecycle/engine/instance-tag.d.ts.map +1 -0
  111. package/dist/v2019C1/extensions/lifecycle/engine/link-placement-dependencies.d.ts +19 -0
  112. package/dist/v2019C1/extensions/lifecycle/engine/link-placement-dependencies.d.ts.map +1 -0
  113. package/dist/v2019C1/extensions/lifecycle/engine/match-child.d.ts +24 -1
  114. package/dist/v2019C1/extensions/lifecycle/engine/match-child.d.ts.map +1 -1
  115. package/dist/v2019C1/extensions/lifecycle/engine/public.d.ts +1 -1
  116. package/dist/v2019C1/extensions/lifecycle/engine/public.d.ts.map +1 -1
  117. package/dist/v2019C1/extensions/lifecycle/engine/reconcile.d.ts +33 -2
  118. package/dist/v2019C1/extensions/lifecycle/engine/reconcile.d.ts.map +1 -1
  119. package/dist/v2019C1/extensions/lifecycle/engine/reference-match.d.ts +18 -3
  120. package/dist/v2019C1/extensions/lifecycle/engine/reference-match.d.ts.map +1 -1
  121. package/dist/v2019C1/extensions/lifecycle/engine/repoint-added-references.d.ts +20 -0
  122. package/dist/v2019C1/extensions/lifecycle/engine/repoint-added-references.d.ts.map +1 -0
  123. package/dist/v2019C1/extensions/lifecycle/engine/repoint-added-references.types.d.ts +31 -0
  124. package/dist/v2019C1/extensions/lifecycle/engine/repoint-added-references.types.d.ts.map +1 -0
  125. package/dist/v2019C1/extensions/lifecycle/engine/standing/describe-standing-choice.d.ts +16 -0
  126. package/dist/v2019C1/extensions/lifecycle/engine/standing/describe-standing-choice.d.ts.map +1 -0
  127. package/dist/v2019C1/extensions/lifecycle/engine/standing/index.d.ts +4 -0
  128. package/dist/v2019C1/extensions/lifecycle/engine/standing/index.d.ts.map +1 -0
  129. package/dist/v2019C1/extensions/lifecycle/engine/standing/resolve-standings.d.ts +24 -0
  130. package/dist/v2019C1/extensions/lifecycle/engine/standing/resolve-standings.d.ts.map +1 -0
  131. package/dist/v2019C1/extensions/lifecycle/engine/standing/standing.types.d.ts +96 -0
  132. package/dist/v2019C1/extensions/lifecycle/engine/standing/standing.types.d.ts.map +1 -0
  133. package/dist/v2019C1/extensions/lifecycle/extract/transaction/fsd.d.ts.map +1 -1
  134. package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.constants.d.ts +5 -0
  135. package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.constants.d.ts.map +1 -0
  136. package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.d.ts +11 -0
  137. package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.d.ts.map +1 -0
  138. package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.types.d.ts +21 -0
  139. package/dist/v2019C1/extensions/lifecycle/ied/classify-ieds.types.d.ts.map +1 -0
  140. package/dist/v2019C1/extensions/lifecycle/ied/index.d.ts +2 -0
  141. package/dist/v2019C1/extensions/lifecycle/ied/index.d.ts.map +1 -0
  142. package/dist/v2019C1/extensions/lifecycle/ied/public.d.ts +2 -0
  143. package/dist/v2019C1/extensions/lifecycle/ied/public.d.ts.map +1 -0
  144. package/dist/v2019C1/extensions/lifecycle/index.d.ts +8 -0
  145. package/dist/v2019C1/extensions/lifecycle/index.d.ts.map +1 -1
  146. package/dist/v2019C1/extensions/lifecycle/instance/composed-functions.d.ts +2 -0
  147. package/dist/v2019C1/extensions/lifecycle/instance/composed-functions.d.ts.map +1 -1
  148. package/dist/v2019C1/extensions/lifecycle/instance/foreign-scope.d.ts +31 -0
  149. package/dist/v2019C1/extensions/lifecycle/instance/foreign-scope.d.ts.map +1 -0
  150. package/dist/v2019C1/extensions/lifecycle/instance/foreign-scope.types.d.ts +31 -0
  151. package/dist/v2019C1/extensions/lifecycle/instance/foreign-scope.types.d.ts.map +1 -0
  152. package/dist/v2019C1/extensions/lifecycle/instance/index.d.ts +4 -1
  153. package/dist/v2019C1/extensions/lifecycle/instance/index.d.ts.map +1 -1
  154. package/dist/v2019C1/extensions/lifecycle/instance/instance-scope.d.ts +13 -0
  155. package/dist/v2019C1/extensions/lifecycle/instance/instance-scope.d.ts.map +1 -0
  156. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.d.ts +9 -3
  157. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.d.ts.map +1 -1
  158. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.types.d.ts +31 -6
  159. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.types.d.ts.map +1 -1
  160. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.d.ts +2 -2
  161. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.d.ts.map +1 -1
  162. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.types.d.ts +21 -8
  163. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.types.d.ts.map +1 -1
  164. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.d.ts +10 -0
  165. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.d.ts.map +1 -0
  166. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.types.d.ts +14 -0
  167. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/name-created-shared-elements.types.d.ts.map +1 -0
  168. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.d.ts +1 -1
  169. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.d.ts.map +1 -1
  170. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.d.ts.map +1 -1
  171. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.types.d.ts +13 -2
  172. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/ssd.types.d.ts.map +1 -1
  173. package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.d.ts +14 -3
  174. package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.d.ts.map +1 -1
  175. package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.types.d.ts +17 -0
  176. package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.types.d.ts.map +1 -0
  177. package/dist/v2019C1/extensions/lifecycle/layers/application/index.d.ts +4 -0
  178. package/dist/v2019C1/extensions/lifecycle/layers/application/index.d.ts.map +1 -1
  179. package/dist/v2019C1/extensions/lifecycle/layers/application/mapping.constants.d.ts +10 -0
  180. package/dist/v2019C1/extensions/lifecycle/layers/application/mapping.constants.d.ts.map +1 -0
  181. package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.d.ts +14 -0
  182. package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.d.ts.map +1 -0
  183. package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.types.d.ts +17 -0
  184. package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-composed-functions.types.d.ts.map +1 -0
  185. package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.d.ts +6 -0
  186. package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.d.ts.map +1 -0
  187. package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.types.d.ts +21 -0
  188. package/dist/v2019C1/extensions/lifecycle/layers/application/resolve-instance-holdings.types.d.ts.map +1 -0
  189. package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.d.ts +13 -10
  190. package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.d.ts.map +1 -1
  191. package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.types.d.ts +26 -0
  192. package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.types.d.ts.map +1 -0
  193. package/dist/v2019C1/extensions/lifecycle/layers/function/index.d.ts +1 -0
  194. package/dist/v2019C1/extensions/lifecycle/layers/function/index.d.ts.map +1 -1
  195. package/dist/v2019C1/extensions/lifecycle/layers/function/mapping.constants.d.ts +10 -0
  196. package/dist/v2019C1/extensions/lifecycle/layers/function/mapping.constants.d.ts.map +1 -0
  197. package/dist/v2019C1/extensions/lifecycle/layers/function/placed-function-tag.d.ts +9 -0
  198. package/dist/v2019C1/extensions/lifecycle/layers/function/placed-function-tag.d.ts.map +1 -0
  199. package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.d.ts +2 -1
  200. package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.d.ts.map +1 -1
  201. package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.d.ts +12 -0
  202. package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.d.ts.map +1 -1
  203. package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.types.d.ts +4 -1
  204. package/dist/v2019C1/extensions/lifecycle/layers/topology/clone-topology-content.types.d.ts.map +1 -1
  205. package/dist/v2019C1/extensions/lifecycle/layers/topology/describe-placement-mappings.d.ts +37 -0
  206. package/dist/v2019C1/extensions/lifecycle/layers/topology/describe-placement-mappings.d.ts.map +1 -0
  207. package/dist/v2019C1/extensions/lifecycle/layers/topology/ensure-topology-frame.d.ts +13 -5
  208. package/dist/v2019C1/extensions/lifecycle/layers/topology/ensure-topology-frame.d.ts.map +1 -1
  209. package/dist/v2019C1/extensions/lifecycle/layers/topology/ensure-topology-frame.types.d.ts +18 -1
  210. package/dist/v2019C1/extensions/lifecycle/layers/topology/ensure-topology-frame.types.d.ts.map +1 -1
  211. package/dist/v2019C1/extensions/lifecycle/layers/topology/find-frame-instances.d.ts +13 -0
  212. package/dist/v2019C1/extensions/lifecycle/layers/topology/find-frame-instances.d.ts.map +1 -0
  213. package/dist/v2019C1/extensions/lifecycle/layers/topology/find-frame-instances.types.d.ts +22 -0
  214. package/dist/v2019C1/extensions/lifecycle/layers/topology/find-frame-instances.types.d.ts.map +1 -0
  215. package/dist/v2019C1/extensions/lifecycle/layers/topology/index.d.ts +18 -1
  216. package/dist/v2019C1/extensions/lifecycle/layers/topology/index.d.ts.map +1 -1
  217. package/dist/v2019C1/extensions/lifecycle/layers/topology/land-primaries.d.ts +12 -0
  218. package/dist/v2019C1/extensions/lifecycle/layers/topology/land-primaries.d.ts.map +1 -0
  219. package/dist/v2019C1/extensions/lifecycle/layers/topology/land-primaries.types.d.ts +12 -0
  220. package/dist/v2019C1/extensions/lifecycle/layers/topology/land-primaries.types.d.ts.map +1 -0
  221. package/dist/v2019C1/extensions/lifecycle/layers/topology/placement-landing.d.ts +18 -0
  222. package/dist/v2019C1/extensions/lifecycle/layers/topology/placement-landing.d.ts.map +1 -0
  223. package/dist/v2019C1/extensions/lifecycle/layers/topology/reconcile-topology-frame.d.ts +9 -3
  224. package/dist/v2019C1/extensions/lifecycle/layers/topology/reconcile-topology-frame.d.ts.map +1 -1
  225. package/dist/v2019C1/extensions/lifecycle/layers/topology/reconcile-topology-frame.types.d.ts +13 -0
  226. package/dist/v2019C1/extensions/lifecycle/layers/topology/reconcile-topology-frame.types.d.ts.map +1 -0
  227. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-held-levels.d.ts +18 -0
  228. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-held-levels.d.ts.map +1 -0
  229. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-held-levels.types.d.ts +23 -0
  230. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-held-levels.types.d.ts.map +1 -0
  231. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-instance-levels.d.ts +28 -0
  232. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-instance-levels.d.ts.map +1 -0
  233. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-instance-levels.types.d.ts +78 -0
  234. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-instance-levels.types.d.ts.map +1 -0
  235. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-placement-mappings.d.ts +20 -0
  236. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-placement-mappings.d.ts.map +1 -0
  237. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-placement-mappings.types.d.ts +31 -0
  238. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-placement-mappings.types.d.ts.map +1 -0
  239. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-parents.d.ts +16 -0
  240. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-parents.d.ts.map +1 -0
  241. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-parents.types.d.ts +36 -0
  242. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-parents.types.d.ts.map +1 -0
  243. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-placement.d.ts +15 -0
  244. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-placement.d.ts.map +1 -0
  245. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-placement.types.d.ts +30 -0
  246. package/dist/v2019C1/extensions/lifecycle/layers/topology/resolve-primary-placement.types.d.ts.map +1 -0
  247. package/dist/v2019C1/extensions/lifecycle/layers/topology/scope-content.d.ts +11 -0
  248. package/dist/v2019C1/extensions/lifecycle/layers/topology/scope-content.d.ts.map +1 -1
  249. package/dist/v2019C1/extensions/lifecycle/mapping/assert-mapping-decided.d.ts +17 -0
  250. package/dist/v2019C1/extensions/lifecycle/mapping/assert-mapping-decided.d.ts.map +1 -0
  251. package/dist/v2019C1/extensions/lifecycle/mapping/assert-mappings-coherent.d.ts +10 -0
  252. package/dist/v2019C1/extensions/lifecycle/mapping/assert-mappings-coherent.d.ts.map +1 -0
  253. package/dist/v2019C1/extensions/lifecycle/mapping/describe-mapping.d.ts +28 -0
  254. package/dist/v2019C1/extensions/lifecycle/mapping/describe-mapping.d.ts.map +1 -0
  255. package/dist/v2019C1/extensions/lifecycle/mapping/find-withdrawn-contributions.d.ts +16 -0
  256. package/dist/v2019C1/extensions/lifecycle/mapping/find-withdrawn-contributions.d.ts.map +1 -0
  257. package/dist/v2019C1/extensions/lifecycle/mapping/index.d.ts +9 -0
  258. package/dist/v2019C1/extensions/lifecycle/mapping/index.d.ts.map +1 -0
  259. package/dist/v2019C1/extensions/lifecycle/mapping/mapping-policies.d.ts +4 -0
  260. package/dist/v2019C1/extensions/lifecycle/mapping/mapping-policies.d.ts.map +1 -0
  261. package/dist/v2019C1/extensions/lifecycle/mapping/mapping.types.d.ts +204 -0
  262. package/dist/v2019C1/extensions/lifecycle/mapping/mapping.types.d.ts.map +1 -0
  263. package/dist/v2019C1/extensions/lifecycle/mapping/pair-instance-satellites.d.ts +16 -0
  264. package/dist/v2019C1/extensions/lifecycle/mapping/pair-instance-satellites.d.ts.map +1 -0
  265. package/dist/v2019C1/extensions/lifecycle/mapping/resolve-mapping.d.ts +15 -0
  266. package/dist/v2019C1/extensions/lifecycle/mapping/resolve-mapping.d.ts.map +1 -0
  267. package/dist/v2019C1/extensions/lifecycle/mapping/resolve-satellite-mappings.d.ts +26 -0
  268. package/dist/v2019C1/extensions/lifecycle/mapping/resolve-satellite-mappings.d.ts.map +1 -0
  269. package/dist/v2019C1/extensions/lifecycle/public.d.ts +5 -3
  270. package/dist/v2019C1/extensions/lifecycle/public.d.ts.map +1 -1
  271. package/dist/v2019C1/extensions/lifecycle/report/index.d.ts +0 -1
  272. package/dist/v2019C1/extensions/lifecycle/report/index.d.ts.map +1 -1
  273. package/dist/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.d.ts +11 -0
  274. package/dist/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.d.ts.map +1 -1
  275. package/dist/v2019C1/extensions/lifecycle/report/query/report-asd.d.ts +14 -0
  276. package/dist/v2019C1/extensions/lifecycle/report/query/report-asd.d.ts.map +1 -1
  277. package/dist/v2019C1/extensions/lifecycle/report/query/report-fsd.d.ts +13 -2
  278. package/dist/v2019C1/extensions/lifecycle/report/query/report-fsd.d.ts.map +1 -1
  279. package/dist/v2019C1/extensions/lifecycle/report/query/report-function-satellites.d.ts +15 -1
  280. package/dist/v2019C1/extensions/lifecycle/report/query/report-function-satellites.d.ts.map +1 -1
  281. package/dist/v2019C1/extensions/lifecycle/report/query/report-function.d.ts +9 -1
  282. package/dist/v2019C1/extensions/lifecycle/report/query/report-function.d.ts.map +1 -1
  283. package/dist/v2019C1/extensions/lifecycle/report/query/report-instance.d.ts.map +1 -1
  284. package/dist/v2019C1/extensions/lifecycle/report/query/report-ssd.d.ts +5 -0
  285. package/dist/v2019C1/extensions/lifecycle/report/query/report-ssd.d.ts.map +1 -1
  286. package/dist/v2019C1/extensions/lifecycle/report/query/report-topology-frame.d.ts +24 -4
  287. package/dist/v2019C1/extensions/lifecycle/report/query/report-topology-frame.d.ts.map +1 -1
  288. package/dist/v2019C1/extensions/lifecycle/report/query/satellite-companions.d.ts +27 -2
  289. package/dist/v2019C1/extensions/lifecycle/report/query/satellite-companions.d.ts.map +1 -1
  290. package/dist/v2019C1/extensions/lifecycle/report/report.d.ts +2 -2
  291. package/dist/v2019C1/extensions/lifecycle/report/report.d.ts.map +1 -1
  292. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.d.ts +1 -1
  293. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.d.ts.map +1 -1
  294. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.types.d.ts +2 -2
  295. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.types.d.ts.map +1 -1
  296. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-tree.d.ts +2 -1
  297. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-tree.d.ts.map +1 -1
  298. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.d.ts +14 -4
  299. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.d.ts.map +1 -1
  300. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.types.d.ts +9 -0
  301. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/merge-children-into.types.d.ts.map +1 -0
  302. package/dist/v2019C1/extensions/lifecycle/update/transaction/asd.d.ts +16 -3
  303. package/dist/v2019C1/extensions/lifecycle/update/transaction/asd.d.ts.map +1 -1
  304. package/dist/v2019C1/extensions/lifecycle/update/transaction/cascade-composed-functions.d.ts +22 -0
  305. package/dist/v2019C1/extensions/lifecycle/update/transaction/cascade-composed-functions.d.ts.map +1 -0
  306. package/dist/v2019C1/extensions/lifecycle/update/transaction/cascade-composed-functions.types.d.ts +38 -0
  307. package/dist/v2019C1/extensions/lifecycle/update/transaction/cascade-composed-functions.types.d.ts.map +1 -0
  308. package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts +13 -5
  309. package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts.map +1 -1
  310. package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.types.d.ts +9 -0
  311. package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.types.d.ts.map +1 -0
  312. package/dist/v2019C1/extensions/lifecycle/update/transaction/fsd.d.ts +15 -2
  313. package/dist/v2019C1/extensions/lifecycle/update/transaction/fsd.d.ts.map +1 -1
  314. package/dist/v2019C1/extensions/lifecycle/update/transaction/function-satellites.d.ts +20 -19
  315. package/dist/v2019C1/extensions/lifecycle/update/transaction/function-satellites.d.ts.map +1 -1
  316. package/dist/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.d.ts +18 -5
  317. package/dist/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.d.ts.map +1 -1
  318. package/dist/v2019C1/extensions/lifecycle/update/transaction/ssd.d.ts +3 -0
  319. package/dist/v2019C1/extensions/lifecycle/update/transaction/ssd.d.ts.map +1 -1
  320. package/dist/v2019C1/extensions/lifecycle/validate/template-uuid-check.info.d.ts +2 -1
  321. package/dist/v2019C1/extensions/lifecycle/validate/template-uuid-check.info.d.ts.map +1 -1
  322. package/dist/v2019C1/extensions/public.d.ts +1 -1
  323. package/dist/v2019C1/extensions/public.d.ts.map +1 -1
  324. package/dist/v2019C1/extensions/reference/constants/derived.d.ts +4 -4
  325. package/dist/v2019C1/extensions/reference/constants/derived.d.ts.map +1 -1
  326. package/dist/v2019C1/extensions/reference/constants/index.d.ts +1 -1
  327. package/dist/v2019C1/extensions/reference/constants/index.d.ts.map +1 -1
  328. package/dist/v2019C1/extensions/reference/constants/path-extraction.d.ts +3 -22
  329. package/dist/v2019C1/extensions/reference/constants/path-extraction.d.ts.map +1 -1
  330. package/dist/v2019C1/extensions/reference/constants/path-extraction.types.d.ts +37 -0
  331. package/dist/v2019C1/extensions/reference/constants/path-extraction.types.d.ts.map +1 -0
  332. package/dist/v2019C1/extensions/reference/constants/resolution-types.d.ts +3 -1
  333. package/dist/v2019C1/extensions/reference/constants/resolution-types.d.ts.map +1 -1
  334. package/dist/v2019C1/extensions/reference/public.d.ts +2 -0
  335. package/dist/v2019C1/extensions/reference/public.d.ts.map +1 -1
  336. package/dist/v2019C1/extensions/reference/query/build/build-element-path.d.ts.map +1 -1
  337. package/dist/v2019C1/extensions/reference/query/build/build-mapped-lnode-path.d.ts +1 -7
  338. package/dist/v2019C1/extensions/reference/query/build/build-mapped-lnode-path.d.ts.map +1 -1
  339. package/dist/v2019C1/extensions/reference/query/build/build-mapped-lnode-path.types.d.ts +9 -0
  340. package/dist/v2019C1/extensions/reference/query/build/build-mapped-lnode-path.types.d.ts.map +1 -0
  341. package/dist/v2019C1/extensions/reference/query/build/build-reference-path.d.ts +3 -2
  342. package/dist/v2019C1/extensions/reference/query/build/build-reference-path.d.ts.map +1 -1
  343. package/dist/v2019C1/extensions/reference/query/build/compose-reference-path.d.ts +17 -0
  344. package/dist/v2019C1/extensions/reference/query/build/compose-reference-path.d.ts.map +1 -0
  345. package/dist/v2019C1/extensions/reference/query/build/compose-reference-path.types.d.ts +20 -0
  346. package/dist/v2019C1/extensions/reference/query/build/compose-reference-path.types.d.ts.map +1 -0
  347. package/dist/v2019C1/extensions/reference/query/build/function-scope.d.ts +16 -0
  348. package/dist/v2019C1/extensions/reference/query/build/function-scope.d.ts.map +1 -0
  349. package/dist/v2019C1/extensions/reference/query/build/index.d.ts +1 -1
  350. package/dist/v2019C1/extensions/reference/query/build/index.d.ts.map +1 -1
  351. package/dist/v2019C1/extensions/reference/query/build/path-segment.d.ts +6 -2
  352. package/dist/v2019C1/extensions/reference/query/build/path-segment.d.ts.map +1 -1
  353. package/dist/v2019C1/extensions/reference/query/build/path-segment.types.d.ts +12 -1
  354. package/dist/v2019C1/extensions/reference/query/build/path-segment.types.d.ts.map +1 -1
  355. package/dist/v2019C1/extensions/reference/query/build/signal-name.d.ts +7 -0
  356. package/dist/v2019C1/extensions/reference/query/build/signal-name.d.ts.map +1 -0
  357. package/dist/v2019C1/extensions/reference/query/build/spec-namings.d.ts +10 -0
  358. package/dist/v2019C1/extensions/reference/query/build/spec-namings.d.ts.map +1 -0
  359. package/dist/v2019C1/extensions/reference/query/resolve/parse-path.d.ts +15 -10
  360. package/dist/v2019C1/extensions/reference/query/resolve/parse-path.d.ts.map +1 -1
  361. package/dist/v2019C1/extensions/reference/query/resolve/resolve-element-path.d.ts.map +1 -1
  362. package/dist/v2019C1/extensions/reference/query/resolve/resolve-mapped-lnode.constants.d.ts +3 -0
  363. package/dist/v2019C1/extensions/reference/query/resolve/resolve-mapped-lnode.constants.d.ts.map +1 -0
  364. package/dist/v2019C1/extensions/reference/query/resolve/resolve-mapped-lnode.d.ts +1 -3
  365. package/dist/v2019C1/extensions/reference/query/resolve/resolve-mapped-lnode.d.ts.map +1 -1
  366. package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.constants.d.ts +11 -0
  367. package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.constants.d.ts.map +1 -0
  368. package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.d.ts +1 -4
  369. package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.d.ts.map +1 -1
  370. package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.types.d.ts +6 -0
  371. package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.types.d.ts.map +1 -0
  372. package/dist/v2019C1/extensions/reference/query/resolve/types.d.ts +2 -2
  373. package/dist/v2019C1/extensions/reference/query/resolve/types.d.ts.map +1 -1
  374. package/dist/v2019C1/extensions/reference/transaction/apply-uuid-remap.d.ts +8 -4
  375. package/dist/v2019C1/extensions/reference/transaction/apply-uuid-remap.d.ts.map +1 -1
  376. package/dist/v2019C1/extensions/reference/transaction/apply-uuid-remap.types.d.ts +12 -0
  377. package/dist/v2019C1/extensions/reference/transaction/apply-uuid-remap.types.d.ts.map +1 -0
  378. package/dist/v2019C1/extensions/reference/transaction/write-provenance.d.ts.map +1 -1
  379. package/dist/v2019C1/hooks/after-created/after-created.d.ts.map +1 -1
  380. package/dist/v2019C1/hooks/after-created/ref-paths.d.ts.map +1 -1
  381. package/dist/v2019C1/hooks/after-delete/after-delete.d.ts +10 -0
  382. package/dist/v2019C1/hooks/after-delete/after-delete.d.ts.map +1 -0
  383. package/dist/v2019C1/hooks/after-delete/index.d.ts +2 -0
  384. package/dist/v2019C1/hooks/after-delete/index.d.ts.map +1 -0
  385. package/dist/v2019C1/hooks/after-updated/after-updated.d.ts.map +1 -1
  386. package/dist/v2019C1/hooks/after-updated/ref-paths.d.ts.map +1 -1
  387. package/dist/v2019C1/hooks/before-commit/before-commit.d.ts +13 -0
  388. package/dist/v2019C1/hooks/before-commit/before-commit.d.ts.map +1 -0
  389. package/dist/v2019C1/hooks/before-commit/index.d.ts +2 -0
  390. package/dist/v2019C1/hooks/before-commit/index.d.ts.map +1 -0
  391. package/dist/v2019C1/hooks/index.d.ts.map +1 -1
  392. package/dist/v2019C1/hooks/io/import-path-index.d.ts +15 -0
  393. package/dist/v2019C1/hooks/io/import-path-index.d.ts.map +1 -0
  394. package/dist/v2019C1/hooks/io/io-hooks.constants.d.ts +3 -0
  395. package/dist/v2019C1/hooks/io/io-hooks.constants.d.ts.map +1 -0
  396. package/dist/v2019C1/hooks/io/io-hooks.d.ts +6 -6
  397. package/dist/v2019C1/hooks/io/io-hooks.d.ts.map +1 -1
  398. package/dist/v2019C1/hooks/io/io-hooks.types.d.ts +82 -4
  399. package/dist/v2019C1/hooks/io/io-hooks.types.d.ts.map +1 -1
  400. package/dist/v2019C1/hooks/io/lnode-spec-naming-import.d.ts +8 -0
  401. package/dist/v2019C1/hooks/io/lnode-spec-naming-import.d.ts.map +1 -0
  402. package/dist/v2019C1/hooks/io/lnode-spec-naming-import.types.d.ts +21 -0
  403. package/dist/v2019C1/hooks/io/lnode-spec-naming-import.types.d.ts.map +1 -0
  404. package/dist/v2019C1/hooks/shared/index.d.ts +3 -0
  405. package/dist/v2019C1/hooks/shared/index.d.ts.map +1 -1
  406. package/dist/v2019C1/hooks/shared/lnode-binding.d.ts +5 -2
  407. package/dist/v2019C1/hooks/shared/lnode-binding.d.ts.map +1 -1
  408. package/dist/v2019C1/hooks/shared/lnode-spec-naming.d.ts +34 -0
  409. package/dist/v2019C1/hooks/shared/lnode-spec-naming.d.ts.map +1 -0
  410. package/dist/v2019C1/hooks/shared/ref-entry-ops.d.ts.map +1 -1
  411. package/dist/v2019C1/hooks/shared/ref-path-rebuild.d.ts +2 -1
  412. package/dist/v2019C1/hooks/shared/ref-path-rebuild.d.ts.map +1 -1
  413. package/dist/v2019C1/hooks/shared/references-through.d.ts +14 -0
  414. package/dist/v2019C1/hooks/shared/references-through.d.ts.map +1 -0
  415. package/dist/v2019C1/hooks/shared/signal-sibling-paths.d.ts +17 -0
  416. package/dist/v2019C1/hooks/shared/signal-sibling-paths.d.ts.map +1 -0
  417. package/dist/v2019C1/index.d.ts +1 -0
  418. package/dist/v2019C1/index.d.ts.map +1 -1
  419. package/dist/v2019C1/index.js +13 -13
  420. package/dist/v2019C1/test/assert-coherent-scl-references.d.ts +19 -0
  421. package/dist/v2019C1/test/assert-coherent-scl-references.d.ts.map +1 -0
  422. package/dist/v2019C1/test/assert-coherent-scl-references.types.d.ts +50 -0
  423. package/dist/v2019C1/test/assert-coherent-scl-references.types.d.ts.map +1 -0
  424. package/dist/v2019C1/test/assert-valid-scl-xml.d.ts.map +1 -1
  425. package/dist/v2019C1/test/hydrated-test.d.ts +14 -6
  426. package/dist/v2019C1/test/hydrated-test.d.ts.map +1 -1
  427. package/dist/v2019C1/test/hydrated-test.types.d.ts +8 -1
  428. package/dist/v2019C1/test/hydrated-test.types.d.ts.map +1 -1
  429. package/dist/v2019C1/test.js +174 -27
  430. package/package.json +3 -3
  431. package/dist/hooks-2Y_WzKF4.js +0 -43213
  432. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.types.d.ts +0 -16
  433. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.types.d.ts.map +0 -1
  434. package/dist/v2019C1/extensions/lifecycle/report/mark-placement-conflicts.d.ts +0 -22
  435. package/dist/v2019C1/extensions/lifecycle/report/mark-placement-conflicts.d.ts.map +0 -1
  436. package/dist/v2019C1/extensions/presentation/constants/title.d.ts.map +0 -1
  437. package/dist/v2019C1/extensions/presentation/constants/title.types.d.ts.map +0 -1
  438. package/dist/v2019C1/extensions/presentation/index.d.ts +0 -5
  439. package/dist/v2019C1/extensions/presentation/index.d.ts.map +0 -1
  440. package/dist/v2019C1/extensions/presentation/public.d.ts +0 -3
  441. package/dist/v2019C1/extensions/presentation/public.d.ts.map +0 -1
  442. package/dist/v2019C1/extensions/presentation/query/extract-element-title.d.ts +0 -20
  443. package/dist/v2019C1/extensions/presentation/query/extract-element-title.d.ts.map +0 -1
  444. package/dist/v2019C1/extensions/presentation/query/extract-element-title.types.d.ts +0 -24
  445. package/dist/v2019C1/extensions/presentation/query/extract-element-title.types.d.ts.map +0 -1
  446. package/dist/v2019C1/extensions/presentation/query/index.d.ts +0 -3
  447. package/dist/v2019C1/extensions/presentation/query/index.d.ts.map +0 -1
  448. /package/dist/v2019C1/extensions/{presentation → info}/constants/title.d.ts +0 -0
  449. /package/dist/v2019C1/extensions/{presentation → info}/constants/title.types.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { CollisionDecorator } from './resolve-unique-value.types';
1
+ import { ConstraintScope } from './find-constraint-violation.types';
2
2
  import { Config, Scl } from '../../../config';
3
3
  import type * as Core from '@dialecte/core';
4
4
  /**
@@ -6,18 +6,30 @@ import type * as Core from '@dialecte/core';
6
6
  * being placed under `parentRef`, generic over `attr` (not hardcoded to `name`).
7
7
  *
8
8
  * - candidate unique as-is -> returns its current `attr` value unchanged;
9
- * - otherwise proposes `${base}_${attempt}` (or a consumer-decorated variant) and
10
- * increments `attempt` until the whole candidate is collision-free.
9
+ * - otherwise numbers it: `<value>_1`, `<value>_2`, … — and a value that already ends with
10
+ * a number gets the next free number instead of a second one (`Prot_1` taken -> `Prot_2`,
11
+ * never `Prot_1_1`). The first value free where the element sits is the one returned.
11
12
  *
12
- * The engine owns uniqueness (the loop); the {@link CollisionDecorator} only shapes
13
- * the scheme. `excludeId` skips the element itself when re-checking an in-place value.
13
+ * One format, owned by the engine. `excludeId` skips the element itself when re-checking an
14
+ * in-place value.
14
15
  */
15
16
  export declare function resolveUniqueValue(query: Core.Query<Config>, params: {
16
17
  parentRef: Scl.Ref<Scl.ElementsOf>;
17
18
  childTag: string;
18
19
  candidate: Record<string, string | undefined>;
19
20
  attr: string;
20
- decorate?: CollisionDecorator;
21
21
  excludeId?: string;
22
22
  }): Promise<string>;
23
+ /**
24
+ * {@link resolveUniqueValue} on a scope already read: the scope does not change between
25
+ * attempts, so the values are tried in memory. Pure, apart from the error when none is free.
26
+ */
27
+ export declare function findUniqueValueInScope(params: {
28
+ scope: ConstraintScope;
29
+ parentRef: Scl.Ref<Scl.ElementsOf>;
30
+ childTag: string;
31
+ candidate: Record<string, string | undefined>;
32
+ attr: string;
33
+ excludeId?: string;
34
+ }): string;
23
35
  //# sourceMappingURL=resolve-unique-value.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-unique-value.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAI3C;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CACvC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,SAAS,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAClC,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,GACC,OAAO,CAAC,MAAM,CAAC,CAsBjB"}
1
+ {"version":3,"file":"resolve-unique-value.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAA;AACxE,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAI3C;;;;;;;;;;;GAWG;AACH,wBAAsB,kBAAkB,CACvC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,SAAS,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAClC,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,GACC,OAAO,CAAC,MAAM,CAAC,CAIjB;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE;IAC9C,KAAK,EAAE,eAAe,CAAA;IACtB,SAAS,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAClC,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,GAAG,MAAM,CAiBT"}
@@ -1,7 +1,9 @@
1
1
  import { Scl, Config } from '../../config';
2
2
  import { TopologyStructuralTag } from '../../constants';
3
3
  import { KeepNameTypesFrom } from '../data-model/transaction';
4
+ import { AppliedInstances } from './apply/apply.types';
4
5
  import { DecisionMap, DiffReport } from './engine/diff.types';
6
+ import { DecisionMappings } from './mapping/mapping.types';
5
7
  import type * as Core from '@dialecte/core';
6
8
  /** Which template layer the lifecycle surface operates on. */
7
9
  export type LifecycleVerb = 'fsd' | 'asd' | 'ssd';
@@ -28,6 +30,13 @@ export type UpdateMode = 'template' | 'fork';
28
30
  * valid duplicate). Defaults to `template` for back-compat.
29
31
  */
30
32
  export type LifecycleScenario = 'instantiate' | UpdateMode;
33
+ /**
34
+ * The function an FSD carries: a `Function` placed at a level of the template, or a
35
+ * `FunctionTemplate` — a function with no parent level, which is instantiated as a function too.
36
+ */
37
+ export type FsdFunctionRef = Scl.Ref<'Function'> | Scl.Ref<'FunctionTemplate'>;
38
+ /** A function of a source file the function layer reads: any of the forms a template gives it. */
39
+ export type SourceFunctionRef = FsdFunctionRef | Scl.Ref<'SubFunction'>;
31
40
  /**
32
41
  * What to reconcile and where — the uniform `{ verb, sourceQuery, ref, anchor }`
33
42
  * descriptor shared by `report` (read-only classify) and `apply` (write).
@@ -36,8 +45,8 @@ export type LifecycleScenario = 'instantiate' | UpdateMode;
36
45
  export type LifecycleTarget = {
37
46
  verb: 'fsd';
38
47
  sourceQuery: Core.Query<Config>;
39
- /** The source (template) Function to reconcile. */
40
- ref: Scl.Ref<'Function'>;
48
+ /** The source (template) function to reconcile. */
49
+ ref: FsdFunctionRef;
41
50
  /** Target parent the instance lives under / is placed into. */
42
51
  anchor: Scl.Ref<Scl.ElementsOf>;
43
52
  /** Operation to perform. Defaults to `template`. */
@@ -70,21 +79,49 @@ export type LifecycleTarget = {
70
79
  */
71
80
  targetInstance?: Scl.Ref<Scl.ElementsOf>;
72
81
  };
82
+ /**
83
+ * What the consumer resolved, handed to the lifecycle surface as ONE object:
84
+ * - `decisions` — accept / skip (and edited values) per decision group;
85
+ * - `mappings` — where a shared source element lands, per source element, when the consumer
86
+ * chose otherwise than the report resolved;
87
+ * - `keepNameTypesFrom` — on a type dedup, which side's id/name the surviving type keeps
88
+ * (forwarded to `importTypes`; default `'target'`, the destination authority);
89
+ * - `afterApply` — the consumer's own step, run by `apply` once it wrote (see {@link AfterApplyHook}).
90
+ */
91
+ export type Resolution = {
92
+ decisions?: DecisionMap;
93
+ mappings?: DecisionMappings;
94
+ keepNameTypesFrom?: KeepNameTypesFrom;
95
+ afterApply?: AfterApplyHook;
96
+ };
97
+ /**
98
+ * A consumer's own step after the whole apply, in the same transaction: what it writes is
99
+ * applied, previewed and committed with the rest (a preview run with `doc.prepare` shows it). It
100
+ * receives what the apply placed or reconciled — only the instances it wrote — and decides by
101
+ * itself what to do with them (how to name them, what to wire them to). The engine knows nothing
102
+ * of it; to tell a name apart from a taken one it calls `tx.lifecycle.makeUnique`. Not run when
103
+ * nothing is written (decisions still to take).
104
+ */
105
+ export type AfterApplyHook = (tx: Scl.Transaction, params: {
106
+ instances: AppliedInstances;
107
+ }) => Promise<void>;
108
+ /**
109
+ * `report` inputs: the target, and what the consumer already resolved. The report is
110
+ * re-derived from it, so it shows the consequence of each choice.
111
+ */
112
+ export type LifecycleReportParams = LifecycleTarget & {
113
+ resolution?: Resolution;
114
+ };
73
115
  /**
74
116
  * `apply` inputs: the target plus the `report` produced by `report` (the
75
117
  * consumer classifies first, then applies). The report gates the track.
76
118
  *
77
- * `decisions` drives the full track: absent -> the caller has not decided yet
78
- * (apply writes nothing and returns the report); present -> apply the accepted
119
+ * `resolution.decisions` drives the full track: absent -> the caller has not decided
120
+ * yet (apply writes nothing and returns the report); present -> apply the accepted
79
121
  * groups only (a group absent from the map defaults to accept).
80
122
  */
81
123
  export type LifecycleApplyParams = LifecycleTarget & {
82
124
  report: DiffReport;
83
- decisions?: DecisionMap;
84
- /**
85
- * On a type dedup during apply, which side's id/name the surviving type keeps.
86
- * Forwarded to `importTypes`. Default `'target'` (destination authority).
87
- */
88
- keepNameTypesFrom?: KeepNameTypesFrom;
125
+ resolution?: Resolution;
89
126
  };
90
127
  //# sourceMappingURL=contract.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.types.d.ts","sourceRoot":"","sources":["../../../../src/v2019C1/extensions/lifecycle/contract.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,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Ac,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;CACvC,GACD;IACA,IAAI,EAAE,KAAK,CAAA;IACX,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,2EAA2E;IAC3E,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;IACnC,0EAA0E;IAC1E,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC/B,oDAAoD;IACpD,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B;;;OAGG;IACH,cAAc,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;CACvC,CAAA;AAEJ;;;;;;;;GAQG;AACH,MAAM,MAAM,UAAU,GAAG;IACxB,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,QAAQ,CAAC,EAAE,gBAAgB,CAAA;IAC3B,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,UAAU,CAAC,EAAE,cAAc,CAAA;CAC3B,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GAAG,CAC5B,EAAE,EAAE,GAAG,CAAC,WAAW,EACnB,MAAM,EAAE;IAAE,SAAS,EAAE,gBAAgB,CAAA;CAAE,KACnC,OAAO,CAAC,IAAI,CAAC,CAAA;AAElB;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,eAAe,GAAG;IACrD,UAAU,CAAC,EAAE,UAAU,CAAA;CACvB,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACpD,MAAM,EAAE,UAAU,CAAA;IAClB,UAAU,CAAC,EAAE,UAAU,CAAA;CACvB,CAAA"}
@@ -9,5 +9,7 @@ import type * as Core from '@dialecte/core';
9
9
  */
10
10
  export declare function resolveAppliedSatellites(query: Core.Query<Config>, params: {
11
11
  primaryRef: Scl.Ref<Scl.ElementsOf>;
12
+ /** Elements left out of the subtree (record ids): a satellite applying to them only is not resolved. */
13
+ leftOut?: ReadonlySet<string>;
12
14
  }): Promise<Scl.Ref<Scl.ElementsOf>[]>;
13
15
  //# sourceMappingURL=applied-satellites.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applied-satellites.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAG3C;;;;;;GAMG;AACH,wBAAsB,wBAAwB,CAC7C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IAAE,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;CAAE,GAC7C,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CA4BpC"}
1
+ {"version":3,"file":"applied-satellites.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAG3C;;;;;;GAMG;AACH,wBAAsB,wBAAwB,CAC7C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACnC,wGAAwG;IACxG,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAC7B,GACC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CA6BpC"}
@@ -1,24 +1,20 @@
1
- import { Config, Scl } from '../../../config';
2
- import { TargetStructure } from '../transplant/transaction';
1
+ import { CloneAppliedSatellitesParams, CloneAppliedSatellitesResult } from './clone-applied-satellites.types';
2
+ import { Config } from '../../../config';
3
3
  import type * as Core from '@dialecte/core';
4
4
  /**
5
- * Clones the external CROSS-CUTTING satellites (e.g. `Variable`,
6
- * `BehaviorDescription`) that apply to any element in the primary subtree, each
7
- * placed at its source structural level. Tag-agnostic: whatever
8
- * `resolveAppliedSatellites` returns is cloned by its own tag. Satellites living
5
+ * Places the external CROSS-CUTTING satellites (e.g. `Variable`,
6
+ * `BehaviorDescription`) that apply to any element in the primary subtree. Tag-agnostic: whatever
7
+ * `resolveAppliedSatellites` returns is placed by its own tag. Satellites living
9
8
  * inside the subtree are cloned by `deep`, not here (the resolver excludes them).
10
- * UUID remapping is the caller's responsibility via `reference.applyUuidRemap`; the caller stamps lineage
11
- * via `writeIdentity`.
12
9
  *
13
- * A satellite whose same-tag/same-name twin already exists in the target IS that
14
- * shared entity: its referencing children (`VariableApplyTo`, `InputVar`/`OutputVar`,
15
- * ...) are ADDED to the existing satellite rather than the whole thing being skipped -
16
- * skipping would drop the application to the newly-instantiated element.
10
+ * Each is a SHARED element: where it lands is the answer of its mapping (`resolveMapping`, the one
11
+ * the report reads too). Mapped onto an element the target already holds, it is not cloned: its
12
+ * referencing children (`VariableApplyTo`, `InputVar`/`OutputVar`, ...) are merged into that
13
+ * element - skipping it would drop the application to the newly-placed element. With nothing to
14
+ * map onto, it is cloned at its source structural level.
15
+ *
16
+ * UUID remapping is the caller's responsibility via `reference.applyUuidRemap`, over the returned
17
+ * clone mappings and redirect mappings; the caller stamps lineage via `writeIdentity`.
17
18
  */
18
- export declare function cloneAppliedSatellites(tx: Core.Transaction<Config>, params: {
19
- sourceQuery: Core.Query<Config>;
20
- primaryRef: Scl.Ref<Scl.ElementsOf>;
21
- structure: TargetStructure;
22
- strip?: boolean;
23
- }): Promise<Scl.CloneMapping[]>;
19
+ export declare function cloneAppliedSatellites(tx: Core.Transaction<Config>, params: CloneAppliedSatellitesParams): Promise<CloneAppliedSatellitesResult>;
24
20
  //# sourceMappingURL=clone-applied-satellites.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"clone-applied-satellites.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;GAaG;AACH,wBAAsB,sBAAsB,CAC3C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACnC,SAAS,EAAE,eAAe,CAAA;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,GACC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CA6B7B"}
1
+ {"version":3,"file":"clone-applied-satellites.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACX,4BAA4B,EAC5B,4BAA4B,EAC5B,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,MAAM,EAAO,MAAM,kBAAkB,CAAA;AAEnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,sBAAsB,CAC3C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE,4BAA4B,GAClC,OAAO,CAAC,4BAA4B,CAAC,CAiCvC"}
@@ -0,0 +1,19 @@
1
+ import { Config, Scl } from '../../../config';
2
+ import { TargetStructure } from '../transplant/transaction';
3
+ import { RedirectMapping } from '../../reference/transaction/apply-uuid-remap.types';
4
+ import type * as Core from '@dialecte/core';
5
+ export type CloneAppliedSatellitesParams = {
6
+ sourceQuery: Core.Query<Config>;
7
+ primaryRef: Scl.Ref<Scl.ElementsOf>;
8
+ structure: TargetStructure;
9
+ strip?: boolean;
10
+ /** The source elements the consumer left out (record ids): a satellite applying to them only is not placed. */
11
+ leftOut?: ReadonlySet<string>;
12
+ };
13
+ export type CloneAppliedSatellitesResult = {
14
+ /** Each source record that was cloned and the copy made of it. */
15
+ cloneMappings: Scl.CloneMapping[];
16
+ /** The satellites (and their named containers) that landed on one the target already holds. */
17
+ redirectMappings: RedirectMapping[];
18
+ };
19
+ //# sourceMappingURL=clone-applied-satellites.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-applied-satellites.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mEAAmE,CAAA;AACxG,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,MAAM,MAAM,4BAA4B,GAAG;IAC1C,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACnC,SAAS,EAAE,eAAe,CAAA;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,+GAA+G;IAC/G,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IAC1C,kEAAkE;IAClE,aAAa,EAAE,GAAG,CAAC,YAAY,EAAE,CAAA;IACjC,+FAA+F;IAC/F,gBAAgB,EAAE,eAAe,EAAE,CAAA;CACnC,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import { Config, Scl } from '../../../config';
2
2
  import { IdentityMode } from '../../identity/transaction';
3
+ import { RedirectMapping } from '../../reference/transaction/apply-uuid-remap.types';
3
4
  import type * as Core from '@dialecte/core';
4
5
  /**
5
6
  * Finalize the identity of a freshly cloned subtree in ONE place: write the lineage
@@ -18,7 +19,13 @@ import type * as Core from '@dialecte/core';
18
19
  * the fresh element uuids and writes only reference attributes), so the order is free.
19
20
  */
20
21
  export declare function finalizeClonedIdentity(tx: Core.Transaction<Config>, params: {
21
- mappings: readonly Scl.CloneMapping[];
22
+ cloneMappings: readonly Scl.CloneMapping[];
22
23
  mode: IdentityMode;
24
+ /**
25
+ * Source elements mapped onto elements the target already holds (nothing cloned for them):
26
+ * references to them are repointed, but no lineage is written on the target element — it
27
+ * is the target's own, not an instance of the source.
28
+ */
29
+ redirectMappings?: readonly RedirectMapping[];
23
30
  }): Promise<void>;
24
31
  //# sourceMappingURL=finalize-cloned-identity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"finalize-cloned-identity.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/finalize-cloned-identity.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAA;AAC7E,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,sBAAsB,CAC3C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IAAE,QAAQ,EAAE,SAAS,GAAG,CAAC,YAAY,EAAE,CAAC;IAAC,IAAI,EAAE,YAAY,CAAA;CAAE,GACnE,OAAO,CAAC,IAAI,CAAC,CAiBf"}
1
+ {"version":3,"file":"finalize-cloned-identity.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/finalize-cloned-identity.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAA;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mEAAmE,CAAA;AACxG,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,sBAAsB,CAC3C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,aAAa,EAAE,SAAS,GAAG,CAAC,YAAY,EAAE,CAAA;IAC1C,IAAI,EAAE,YAAY,CAAA;IAClB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,SAAS,eAAe,EAAE,CAAA;CAC7C,GACC,OAAO,CAAC,IAAI,CAAC,CAmBf"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The CROSS-CUTTING shared elements: a variable or a behaviour description is held once by the
3
+ * project and applies to several elements. A source one maps onto the project's rather than being
4
+ * copied. Where it lands is resolved, listed, and not the consumer's to choose.
5
+ */
6
+ export declare const CROSS_CUTTING_MAPPING_POLICIES: readonly [{
7
+ readonly tagName: "Variable";
8
+ readonly key: "name";
9
+ readonly selectable: false;
10
+ }, {
11
+ readonly tagName: "BehaviorDescription";
12
+ readonly key: "name";
13
+ readonly selectable: false;
14
+ }];
15
+ //# sourceMappingURL=mapping.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping.constants.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/mapping.constants.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;EAGE,CAAA"}
@@ -1,16 +1,15 @@
1
- import { ReportInstance } from './diff.types';
1
+ import { DiffReport, ReportInstance } from './diff.types';
2
2
  import { Scl } from '../../../config';
3
3
  import { AnyRefOrRecord } from '@dialecte/core';
4
4
  /** A source record id → the element it became in the applied document. */
5
5
  export type AppliedTargets = ReadonlyMap<string, AnyRefOrRecord>;
6
- /** Merge several `source.id → applied ref` maps (later wins) into one. */
7
- export declare function mergeApplied(...maps: ReadonlyMap<string, AnyRefOrRecord>[]): Map<string, AnyRefOrRecord>;
8
6
  /**
9
- * Build a `source.id → target ref` map from one clone's mappings. Within a single clone each source
10
- * element is cloned once, so the map is unambiguous; the per-instance assembly (one map per instance)
11
- * is what keeps two instances of the same template distinct.
7
+ * Build a `source.id → target ref` map from the clone mappings of ONE instance (a first-time clone,
8
+ * or everything an update added to it). Within one instance each source element is cloned once, so
9
+ * the map is unambiguous; the per-instance assembly (one map per instance) is what keeps two
10
+ * instances of the same template distinct.
12
11
  */
13
- export declare function sourceToTargetMap(mappings: readonly Scl.CloneMapping[]): Map<string, AnyRefOrRecord>;
12
+ export declare function sourceToTargetMap(cloneMappings: readonly Scl.CloneMapping[]): Map<string, AnyRefOrRecord>;
14
13
  /**
15
14
  * Fill `appliedRef` on every realized node of ONE report instance, so the report itself carries the
16
15
  * report→applied correlation (the consumer never re-derives it). Per node:
@@ -20,11 +19,20 @@ export declare function sourceToTargetMap(mappings: readonly Scl.CloneMapping[])
20
19
  * - otherwise an `added` node → its freshly-cloned element via `added` (keyed by `sourceRef.id`).
21
20
  *
22
21
  * External satellite companions live OUTSIDE `tree`, so each group's companion subtrees are walked
23
- * too. Distinct `DiffNode` objects mean two instances of one template annotate independently — the
22
+ * too. Each mapping the instance carries gets its `appliedRef` the same way. Distinct `DiffNode` objects mean two instances of one template annotate independently — the
24
23
  * disambiguation a global `source.id` map could not provide.
25
24
  */
26
25
  export declare function annotateInstance(params: {
27
26
  reportInstance: ReportInstance;
28
27
  added: AppliedTargets;
29
28
  }): void;
29
+ /**
30
+ * Forget what an earlier run of the same report placed: every node and every mapping loses its
31
+ * `appliedRef`. A report is applied more than once (a preview with everything accepted, a dry run
32
+ * with the decisions, the commit), and a run fills `appliedRef` only where it places something, so
33
+ * what one run leaves out would otherwise keep the element an earlier run placed for it.
34
+ */
35
+ export declare function clearAnnotations(params: {
36
+ report: DiffReport;
37
+ }): void;
30
38
  //# sourceMappingURL=correlate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"correlate.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/correlate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,cAAc,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,0EAA0E;AAC1E,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAEhE,0EAA0E;AAC1E,wBAAgB,YAAY,CAC3B,GAAG,IAAI,EAAE,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,EAAE,GAC5C,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAI7B;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAChC,QAAQ,EAAE,SAAS,GAAG,CAAC,YAAY,EAAE,GACnC,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAM7B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE;IACxC,cAAc,EAAE,cAAc,CAAA;IAC9B,KAAK,EAAE,cAAc,CAAA;CACrB,GAAG,IAAI,CAMP"}
1
+ {"version":3,"file":"correlate.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/correlate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AACxE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,0EAA0E;AAC1E,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAEhE;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAChC,aAAa,EAAE,SAAS,GAAG,CAAC,YAAY,EAAE,GACxC,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAM7B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE;IACxC,cAAc,EAAE,cAAc,CAAA;IAC9B,KAAK,EAAE,cAAc,CAAA;CACrB,GAAG,IAAI,CAeP;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE;IAAE,MAAM,EAAE,UAAU,CAAA;CAAE,GAAG,IAAI,CAUrE"}
@@ -1,14 +1,33 @@
1
1
  import { AcceptedIds, CollisionOverrides } from './decide.types';
2
2
  import { DecisionGroup, DecisionMap, DiffReport, GroupDecision, ReportInstance } from './diff.types';
3
+ import { AnyRefOrRecord } from '@dialecte/core';
3
4
  /** The decision groups scoped to one instance root (empty when the instance is absent/up-to-date). */
4
5
  export declare function groupsForInstance(report: DiffReport | undefined, instanceId: string): DecisionGroup[];
5
6
  /** The report instance anchored to an EXISTING instance root (reconcile path). */
6
7
  export declare function reportInstanceById(report: DiffReport | undefined, instanceId: string): ReportInstance | undefined;
8
+ /**
9
+ * The report instances of a FIRST placement made for `placedFor`: those the report lists for it
10
+ * when it lists the placement several times, else those it lists once.
11
+ */
12
+ export declare function firstTimeReportInstances(report: DiffReport | undefined, params: {
13
+ placedFor?: AnyRefOrRecord;
14
+ }): ReportInstance[];
7
15
  /**
8
16
  * The report instance for a FIRST-TIME instantiate: no `rootRef` yet, its diff tree rooted at the
9
- * source element `sourceRootId`. Lets a verb annotate the added instance's nodes after the write.
17
+ * source element `sourceRootId` — the one for `placedFor` when the placement is listed several times.
18
+ * Lets a verb annotate the added instance's nodes after the write.
10
19
  */
11
- export declare function firstTimeReportInstance(report: DiffReport | undefined, sourceRootId: string): ReportInstance | undefined;
20
+ export declare function firstTimeReportInstance(report: DiffReport | undefined, params: {
21
+ sourceRootId: string;
22
+ placedFor?: AnyRefOrRecord;
23
+ }): ReportInstance | undefined;
24
+ /**
25
+ * The groups that gate a FIRST placement made for `placedFor`: its own when the placement is listed
26
+ * several times, else every group of the report.
27
+ */
28
+ export declare function firstTimeGroups(report: DiffReport | undefined, params: {
29
+ placedFor?: AnyRefOrRecord;
30
+ }): DecisionGroup[];
12
31
  /** The action of a decision (absent -> accept; string or object form). */
13
32
  export declare function decisionAction(decision: GroupDecision | undefined): 'accept' | 'skip';
14
33
  /**
@@ -42,4 +61,13 @@ export declare function acceptedRefIds(params: {
42
61
  groups: DecisionGroup[];
43
62
  decisions: DecisionMap;
44
63
  }): AcceptedIds;
64
+ /**
65
+ * The record ids of what the consumer left out: those of every skipped group's primary and
66
+ * companions, as {@link acceptedRefIds} reads them. A first placement writes everything else —
67
+ * including what the report does not list.
68
+ */
69
+ export declare function leftOutRefIds(params: {
70
+ groups: DecisionGroup[];
71
+ decisions: DecisionMap;
72
+ }): AcceptedIds;
45
73
  //# sourceMappingURL=decide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"decide.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/decide.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,KAAK,EACX,aAAa,EACb,WAAW,EAEX,UAAU,EACV,aAAa,EACb,cAAc,EACd,MAAM,cAAc,CAAA;AAErB,sGAAsG;AACtG,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,UAAU,GAAG,SAAS,EAC9B,UAAU,EAAE,MAAM,GAChB,aAAa,EAAE,CAEjB;AAED,kFAAkF;AAClF,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,UAAU,GAAG,SAAS,EAC9B,UAAU,EAAE,MAAM,GAChB,cAAc,GAAG,SAAS,CAE5B;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CACtC,MAAM,EAAE,UAAU,GAAG,SAAS,EAC9B,YAAY,EAAE,MAAM,GAClB,cAAc,GAAG,SAAS,CAI5B;AAED,0EAA0E;AAC1E,wBAAgB,cAAc,CAAC,QAAQ,EAAE,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAIrF;AAsBD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAC1C,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,kBAAkB,CAWrB;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE;IAC/C,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,IAAI,CAUP;AAMD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE;IACtC,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,WAAW,CAad"}
1
+ {"version":3,"file":"decide.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/decide.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,KAAK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a,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,IAAI,CAYP;AAMD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE;IACtC,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,WAAW,CAGd;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE;IACrC,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,WAAW,CAGd"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * The record ids reconcile is allowed to touch, derived from the accepted
3
- * groups. `sourceIds` gate updates/adds (matched by the source element);
2
+ * The record ids of a set of groups — the accepted ones: those reconcile is allowed to touch; the
3
+ * skipped ones: those a first placement leaves out. `sourceIds` gate updates/adds (matched by the source element);
4
4
  * `instanceIds` gate deletes (matched by the instance element).
5
5
  */
6
6
  export type AcceptedIds = {
@@ -1,6 +1,8 @@
1
1
  import { DecisionGroup, DiffNode, DiffReport, InstanceDiff, ReportInstance } from './diff.types';
2
+ import { PinnedMatches } from './match-child';
2
3
  import { Config } from '../../../config';
3
4
  import { MatchKey } from '../scenario';
5
+ import { RedirectMapping } from '../../reference/transaction/apply-uuid-remap.types';
4
6
  import { AnyRefOrRecord, AnyTreeRecord } from '@dialecte/core';
5
7
  import type * as Core from '@dialecte/core';
6
8
  /**
@@ -51,6 +53,34 @@ export declare function diff(params: {
51
53
  refsAlwaysAdded?: boolean;
52
54
  /** How instance elements match source. `templateUuid` (default) or `uuid` (fork). */
53
55
  matchKey?: MatchKey;
56
+ /**
57
+ * The instance root is an element of the PROJECT that the source root is mapped onto (a shared
58
+ * element such as an `AllocationRole`), not an instance of it: its own attributes belong to the
59
+ * project and are not compared. Only what the source contributes below it is diffed: a named
60
+ * container lands on the project's container of the same name (whose attributes are the
61
+ * project's too), and what the element holds besides is neither a removal nor an addition.
62
+ */
63
+ instanceRootIsProjectOwned?: boolean;
64
+ /**
65
+ * A FIRST placement onto an element the project already holds: nothing it holds is rewritten,
66
+ * whoever created it — the attributes of every container below it are left uncompared too.
67
+ */
68
+ contributeOnly?: boolean;
69
+ /**
70
+ * Source elements mapped onto elements the project already holds: a reference of the instance to
71
+ * such a project element is the template's reference to the source element.
72
+ */
73
+ redirectMappings?: readonly RedirectMapping[];
74
+ /**
75
+ * Source elements below the root whose counterpart is decided elsewhere (a structural level lands
76
+ * where its placement mapping says): matched to that element, or new, whatever the instance holds.
77
+ */
78
+ pinnedMatches?: PinnedMatches;
79
+ /**
80
+ * Reference children of the instance root's subtree that belong to ANOTHER instance of the same
81
+ * template (a shared element holds one reference per instance): never matched to a source child.
82
+ */
83
+ foreignInstanceIds?: ReadonlySet<string>;
54
84
  /**
55
85
  * Child tags to treat as BOUNDARIES: their subtrees are excluded from the diff because another
56
86
  * report covers them (e.g. the topology frame report delegates Application/Function to the fn/app
@@ -63,7 +93,11 @@ export declare function diff(params: {
63
93
  * {@link DiffReport}: `summary` sums every instance's primary tree and
64
94
  * `needsDecisions` is true when any instance has a decision group.
65
95
  */
66
- export declare function assembleReport(instances: ReportInstance[]): DiffReport;
96
+ export declare function assembleReport(params: {
97
+ instances: ReportInstance[];
98
+ /** Among `instances`, those of the template itself — not the functions an application composes. */
99
+ templateRoots: ReportInstance[];
100
+ }): DiffReport;
67
101
  /** Every decision group across all instances — the flat surface the decision engine consumes. */
68
102
  export declare function allGroups(report: DiffReport): DecisionGroup[];
69
103
  /** All element ids in a diff tree, by side (`instanceRef` for staged/existing, `sourceRef` for added). */
@@ -1 +1 @@
1
- {"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/diff.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAEX,aAAa,EACb,QAAQ,EACR,UAAU,EAEV,YAAY,EACZ,cAAc,EACd,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EAAE,MAAM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A;IACxB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,SAAS,eAAe,EAAE,CAAA;IAC7C;;;OAGG;IACH,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IACxC;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CACxB,GAAG,OAAO,CAAC,YAAY,CAAC,CAoDxB;AAwPD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE;IACtC,SAAS,EAAE,cAAc,EAAE,CAAA;IAC3B,mGAAmG;IACnG,aAAa,EAAE,cAAc,EAAE,CAAA;CAC/B,GAAG,UAAU,CA2Bb;AAoCD,iGAAiG;AACjG,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,GAAG,aAAa,EAAE,CAE7D;AAED,0GAA0G;AAC1G,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,GAAG,WAAW,GAAG,MAAM,EAAE,CAS1F"}
@@ -1,4 +1,6 @@
1
1
  import { EditableAttribute } from '../constraints';
2
+ import { OffLevel } from '../layers/topology/resolve-primary-placement.types';
3
+ import { ReportMapping } from '../mapping/mapping.types';
2
4
  import { AnyRefOrRecord } from '@dialecte/core';
3
5
  /** How a diffed element changed between the (updated) template and the instance. */
4
6
  export type DiffChange = 'added' | 'removed' | 'modified' | 'unchanged' | 'target-only';
@@ -41,16 +43,8 @@ export type InstanceDiff = {
41
43
  root: DiffNode;
42
44
  groups: DecisionGroup[];
43
45
  summary: DiffSummary;
44
- };
45
- /**
46
- * An identity-locked placement collision on a decision group's primary: every field
47
- * of the violated uniqueness constraint is identity (none editable), so the engine
48
- * cannot differentiate a copy. `adoptTargetId` is the existing element the primary is
49
- * identity-equal to (the reconcile target when the user chooses to adopt).
50
- */
51
- export type GroupConflict = {
52
- fields: string[];
53
- adoptTargetId: string;
46
+ /** Where the shared source elements this instance refers to land in the project. */
47
+ mappings?: ReportMapping[];
54
48
  };
55
49
  /**
56
50
  * A decision unit for the full track. The user decides
@@ -67,7 +61,7 @@ export type DecisionGroup = {
67
61
  /** Stable key of the primary; also the key in the `decisions` map. */
68
62
  id: string;
69
63
  change: Exclude<DiffChange, 'unchanged'>;
70
- /** Coarse label (`"<change> <tag>"`); the UI enriches it via `extractElementTitle(primary.sourceRef ?? instanceRef)`. */
64
+ /** Coarse label (`"<change> <tag>"`); the UI enriches it via `info.of(primary.sourceRef ?? instanceRef)`. */
71
65
  title: string;
72
66
  primary: DiffNode;
73
67
  companions: DiffNode[];
@@ -80,16 +74,6 @@ export type DecisionGroup = {
80
74
  * report surface tags it.
81
75
  */
82
76
  editableAttributes?: EditableAttribute[];
83
- /**
84
- * Set at report time when placing the primary would violate a scoped-uniqueness
85
- * constraint whose fields are ALL identity (non-editable) — the engine cannot make
86
- * a distinct copy, so `instantiate` cannot duplicate it. The group then needs a
87
- * decision: `skip` (leave the existing element) or `accept` = **adopt** (reconcile
88
- * the template onto `adoptTargetId`, i.e. update that existing element in place).
89
- * Omitted when there is no collision or the collision is resolvable (an editable
90
- * field is bumped instead — see {@link EditableAttribute.conflict}).
91
- */
92
- conflict?: GroupConflict;
93
77
  };
94
78
  /**
95
79
  * One instance in a report: a linked template instance (`Application`/`Function`) with
@@ -100,7 +84,15 @@ export type DecisionGroup = {
100
84
  export type ReportInstance = {
101
85
  /** The instance root record (`Application`/`Function`). Omitted for a first-time instantiate. */
102
86
  rootRef?: AnyRefOrRecord;
103
- /** Human-readable title of the instance root (`extractElementTitle`). */
87
+ /**
88
+ * A first placement made several times (a primary the template gained, placed for each instance of
89
+ * the template): the project element this one is made for — the level it lands under (a primary of
90
+ * a substation template), or the instance of the application it is placed for (a function the
91
+ * application gained). Its groups are scoped to it, so each is decided on its own. Absent when the
92
+ * placement is made once.
93
+ */
94
+ placedFor?: AnyRefOrRecord;
95
+ /** Human-readable title of the instance root (`info.of`). */
104
96
  title: string;
105
97
  /** Recognised as an instantiation of the loaded template (provenance or `templateUuid` lineage). */
106
98
  linked: boolean;
@@ -110,6 +102,8 @@ export type ReportInstance = {
110
102
  tree: DiffNode;
111
103
  /** The change tree folded into accept/skip units for this instance. */
112
104
  groups: DecisionGroup[];
105
+ /** Where the shared source elements this instance refers to land in the project. */
106
+ mappings: ReportMapping[];
113
107
  };
114
108
  export type DiffReport = {
115
109
  /** One entry per reported instance (`Application`/`Function`). */
@@ -120,6 +114,19 @@ export type DiffReport = {
120
114
  */
121
115
  needsDecisions: boolean;
122
116
  summary: DiffSummary;
117
+ /** Where each shared source element lands in the project — one entry per source element. */
118
+ mappings: ReportMapping[];
119
+ /**
120
+ * The instances of the template already in the project that the report covers: what an update
121
+ * reaches (an application, a function, a placed unit), not the functions an application composes.
122
+ * None on a first placement.
123
+ */
124
+ templateInstances: AnyRefOrRecord[];
125
+ /**
126
+ * Set when the consumer started from a level ABOVE the one the template was made for: its content
127
+ * cannot stay there and lands below, on the levels its placement mappings say.
128
+ */
129
+ offLevel?: OffLevel;
123
130
  };
124
131
  /**
125
132
  * A user's choice on one decision group. Either a plain accept/skip, or an object
@@ -1 +1 @@
1
- {"version":3,"file":"diff.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/diff.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,oFAAoF;AAGpF,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,aAAa,CAAA;AAEvF,MAAM,MAAM,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/E,MAAM,MAAM,QAAQ,GAAG;IACtB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