@dialecte/scl 0.3.2 → 0.3.4

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 (276) hide show
  1. package/dist/{hooks-BaLMAs9W.js → hooks-abaf9148.js} +2615 -897
  2. package/dist/v2019C1/constants/index.d.ts +2 -0
  3. package/dist/v2019C1/constants/index.d.ts.map +1 -0
  4. package/dist/v2019C1/{extensions/reference/constants/pairs.d.ts → constants/reference-pairs.d.ts} +2 -13
  5. package/dist/v2019C1/constants/reference-pairs.d.ts.map +1 -0
  6. package/dist/v2019C1/extensions/clean-up/transaction/orphan-lnode-bindings.d.ts +3 -1
  7. package/dist/v2019C1/extensions/clean-up/transaction/orphan-lnode-bindings.d.ts.map +1 -1
  8. package/dist/v2019C1/extensions/clean-up/transaction/orphan-uuid-refs.d.ts.map +1 -1
  9. package/dist/v2019C1/extensions/data-model/query/resolve.d.ts +1 -1
  10. package/dist/v2019C1/extensions/data-model/query/resolve.d.ts.map +1 -1
  11. package/dist/v2019C1/extensions/data-model/transaction/import-types.types.d.ts +1 -1
  12. package/dist/v2019C1/extensions/data-model/transaction/import-types.types.d.ts.map +1 -1
  13. package/dist/v2019C1/extensions/identity/index.d.ts +5 -0
  14. package/dist/v2019C1/extensions/identity/index.d.ts.map +1 -0
  15. package/dist/v2019C1/extensions/identity/transaction/index.d.ts +3 -0
  16. package/dist/v2019C1/extensions/identity/transaction/index.d.ts.map +1 -0
  17. package/dist/v2019C1/extensions/identity/transaction/write-identity.d.ts +21 -0
  18. package/dist/v2019C1/extensions/identity/transaction/write-identity.d.ts.map +1 -0
  19. package/dist/v2019C1/extensions/identity/transaction/write-identity.types.d.ts +3 -0
  20. package/dist/v2019C1/extensions/identity/transaction/write-identity.types.d.ts.map +1 -0
  21. package/dist/v2019C1/extensions/index.d.ts +17 -3
  22. package/dist/v2019C1/extensions/index.d.ts.map +1 -1
  23. package/dist/v2019C1/extensions/lifecycle/apply/apply.d.ts +29 -0
  24. package/dist/v2019C1/extensions/lifecycle/apply/apply.d.ts.map +1 -0
  25. package/dist/v2019C1/extensions/lifecycle/apply/apply.types.d.ts +26 -0
  26. package/dist/v2019C1/extensions/lifecycle/apply/apply.types.d.ts.map +1 -0
  27. package/dist/v2019C1/extensions/lifecycle/apply/index.d.ts +3 -0
  28. package/dist/v2019C1/extensions/lifecycle/apply/index.d.ts.map +1 -0
  29. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.constants.d.ts +5 -0
  30. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.constants.d.ts.map +1 -0
  31. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.d.ts +25 -0
  32. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.d.ts.map +1 -0
  33. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.d.ts +23 -0
  34. package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.d.ts.map +1 -0
  35. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.d.ts +21 -0
  36. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.d.ts.map +1 -0
  37. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.types.d.ts +26 -0
  38. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violation.types.d.ts.map +1 -0
  39. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violations.d.ts +17 -0
  40. package/dist/v2019C1/extensions/lifecycle/constraints/find-constraint-violations.d.ts.map +1 -0
  41. package/dist/v2019C1/extensions/lifecycle/constraints/identity-fields.d.ts +2 -0
  42. package/dist/v2019C1/extensions/lifecycle/constraints/identity-fields.d.ts.map +1 -0
  43. package/dist/v2019C1/extensions/lifecycle/constraints/index.d.ts +12 -0
  44. package/dist/v2019C1/extensions/lifecycle/constraints/index.d.ts.map +1 -0
  45. package/dist/v2019C1/extensions/lifecycle/constraints/public.d.ts +2 -0
  46. package/dist/v2019C1/extensions/lifecycle/constraints/public.d.ts.map +1 -0
  47. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-placement-collision.d.ts +29 -0
  48. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-placement-collision.d.ts.map +1 -0
  49. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-placement-collision.types.d.ts +20 -0
  50. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-placement-collision.types.d.ts.map +1 -0
  51. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.d.ts +23 -0
  52. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.d.ts.map +1 -0
  53. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.types.d.ts +16 -0
  54. package/dist/v2019C1/extensions/lifecycle/constraints/resolve-unique-value.types.d.ts.map +1 -0
  55. package/dist/v2019C1/extensions/lifecycle/contract.types.d.ts +53 -0
  56. package/dist/v2019C1/extensions/lifecycle/contract.types.d.ts.map +1 -0
  57. package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.constants.d.ts +12 -0
  58. package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.constants.d.ts.map +1 -0
  59. package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.d.ts +13 -0
  60. package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.d.ts.map +1 -0
  61. package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.d.ts +24 -0
  62. package/dist/v2019C1/extensions/lifecycle/cross-cutting/clone-applied-satellites.d.ts.map +1 -0
  63. package/dist/v2019C1/extensions/lifecycle/cross-cutting/index.d.ts +4 -0
  64. package/dist/v2019C1/extensions/lifecycle/cross-cutting/index.d.ts.map +1 -0
  65. package/dist/v2019C1/extensions/lifecycle/engine/decide.d.ts +31 -0
  66. package/dist/v2019C1/extensions/lifecycle/engine/decide.d.ts.map +1 -0
  67. package/dist/v2019C1/extensions/lifecycle/engine/decide.types.d.ts +12 -0
  68. package/dist/v2019C1/extensions/lifecycle/engine/decide.types.d.ts.map +1 -0
  69. package/dist/v2019C1/extensions/lifecycle/engine/diff.d.ts +30 -0
  70. package/dist/v2019C1/extensions/lifecycle/engine/diff.d.ts.map +1 -0
  71. package/dist/v2019C1/extensions/lifecycle/engine/diff.types.d.ts +121 -0
  72. package/dist/v2019C1/extensions/lifecycle/engine/diff.types.d.ts.map +1 -0
  73. package/dist/v2019C1/extensions/lifecycle/engine/group.d.ts +16 -0
  74. package/dist/v2019C1/extensions/lifecycle/engine/group.d.ts.map +1 -0
  75. package/dist/v2019C1/extensions/lifecycle/engine/index.d.ts +8 -0
  76. package/dist/v2019C1/extensions/lifecycle/engine/index.d.ts.map +1 -0
  77. package/dist/v2019C1/extensions/lifecycle/engine/public.d.ts +2 -0
  78. package/dist/v2019C1/extensions/lifecycle/engine/public.d.ts.map +1 -0
  79. package/dist/v2019C1/extensions/lifecycle/engine/reconcile.d.ts +37 -0
  80. package/dist/v2019C1/extensions/lifecycle/engine/reconcile.d.ts.map +1 -0
  81. package/dist/v2019C1/extensions/lifecycle/engine/visible-attributes.d.ts +7 -0
  82. package/dist/v2019C1/extensions/lifecycle/engine/visible-attributes.d.ts.map +1 -0
  83. package/dist/v2019C1/extensions/lifecycle/extract/index.d.ts +2 -0
  84. package/dist/v2019C1/extensions/lifecycle/extract/index.d.ts.map +1 -0
  85. package/dist/v2019C1/extensions/{extraction/transaction/recipes/asd/to-asd.d.ts → lifecycle/extract/transaction/asd.d.ts} +3 -3
  86. package/dist/v2019C1/extensions/lifecycle/extract/transaction/asd.d.ts.map +1 -0
  87. package/dist/v2019C1/extensions/{extraction/transaction/recipes/shared → lifecycle/extract/transaction}/ensure-substation-structure.d.ts +1 -1
  88. package/dist/v2019C1/extensions/lifecycle/extract/transaction/ensure-substation-structure.d.ts.map +1 -0
  89. package/dist/v2019C1/extensions/{extraction/transaction/recipes/fsd/to-fsd.d.ts → lifecycle/extract/transaction/fsd.d.ts} +3 -3
  90. package/dist/v2019C1/extensions/lifecycle/extract/transaction/fsd.d.ts.map +1 -0
  91. package/dist/v2019C1/extensions/lifecycle/extract/transaction/index.d.ts +4 -0
  92. package/dist/v2019C1/extensions/lifecycle/extract/transaction/index.d.ts.map +1 -0
  93. package/dist/v2019C1/extensions/{extraction/transaction/recipes/fsd → lifecycle/extract/transaction}/omit.d.ts +1 -1
  94. package/dist/v2019C1/extensions/lifecycle/extract/transaction/omit.d.ts.map +1 -0
  95. package/dist/v2019C1/extensions/{extraction/transaction/recipes/shared → lifecycle/extract/transaction}/post-extraction-cleanup.d.ts +1 -1
  96. package/dist/v2019C1/extensions/lifecycle/extract/transaction/post-extraction-cleanup.d.ts.map +1 -0
  97. package/dist/v2019C1/extensions/lifecycle/index.d.ts +44 -0
  98. package/dist/v2019C1/extensions/lifecycle/index.d.ts.map +1 -0
  99. package/dist/v2019C1/extensions/lifecycle/instance/composed-functions.d.ts +10 -0
  100. package/dist/v2019C1/extensions/lifecycle/instance/composed-functions.d.ts.map +1 -0
  101. package/dist/v2019C1/extensions/lifecycle/instance/find-instance.d.ts +50 -0
  102. package/dist/v2019C1/extensions/lifecycle/instance/find-instance.d.ts.map +1 -0
  103. package/dist/v2019C1/extensions/lifecycle/instance/index.d.ts +3 -0
  104. package/dist/v2019C1/extensions/lifecycle/instance/index.d.ts.map +1 -0
  105. package/dist/v2019C1/extensions/lifecycle/instantiate/index.d.ts +2 -0
  106. package/dist/v2019C1/extensions/lifecycle/instantiate/index.d.ts.map +1 -0
  107. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.d.ts +22 -0
  108. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.d.ts.map +1 -0
  109. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.types.d.ts +21 -0
  110. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/asd.types.d.ts.map +1 -0
  111. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.d.ts +27 -0
  112. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.d.ts.map +1 -0
  113. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.types.d.ts +22 -0
  114. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/fsd.types.d.ts.map +1 -0
  115. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/index.d.ts +6 -0
  116. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/index.d.ts.map +1 -0
  117. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.d.ts +20 -0
  118. package/dist/v2019C1/extensions/lifecycle/instantiate/transaction/resolve-target-structure.d.ts.map +1 -0
  119. package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.d.ts +20 -0
  120. package/dist/v2019C1/extensions/lifecycle/layers/application/clone-application.d.ts.map +1 -0
  121. package/dist/v2019C1/extensions/lifecycle/layers/application/index.d.ts +3 -0
  122. package/dist/v2019C1/extensions/lifecycle/layers/application/index.d.ts.map +1 -0
  123. package/dist/v2019C1/extensions/lifecycle/layers/application/satellites.constants.d.ts +15 -0
  124. package/dist/v2019C1/extensions/lifecycle/layers/application/satellites.constants.d.ts.map +1 -0
  125. package/dist/v2019C1/extensions/lifecycle/layers/application/satellites.d.ts +12 -0
  126. package/dist/v2019C1/extensions/lifecycle/layers/application/satellites.d.ts.map +1 -0
  127. package/dist/v2019C1/extensions/{extraction/transaction/recipes/shared → lifecycle/layers/function}/clone-function.d.ts +4 -4
  128. package/dist/v2019C1/extensions/lifecycle/layers/function/clone-function.d.ts.map +1 -0
  129. package/dist/v2019C1/extensions/lifecycle/layers/function/index.d.ts +3 -0
  130. package/dist/v2019C1/extensions/lifecycle/layers/function/index.d.ts.map +1 -0
  131. package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.constants.d.ts +12 -0
  132. package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.constants.d.ts.map +1 -0
  133. package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.d.ts +12 -0
  134. package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.d.ts.map +1 -0
  135. package/dist/v2019C1/extensions/lifecycle/layers/index.d.ts +4 -0
  136. package/dist/v2019C1/extensions/lifecycle/layers/index.d.ts.map +1 -0
  137. package/dist/v2019C1/extensions/lifecycle/layers/omit-filters.d.ts +9 -0
  138. package/dist/v2019C1/extensions/lifecycle/layers/omit-filters.d.ts.map +1 -0
  139. package/dist/v2019C1/extensions/lifecycle/public.d.ts +7 -0
  140. package/dist/v2019C1/extensions/lifecycle/public.d.ts.map +1 -0
  141. package/dist/v2019C1/extensions/lifecycle/report/index.d.ts +4 -0
  142. package/dist/v2019C1/extensions/lifecycle/report/index.d.ts.map +1 -0
  143. package/dist/v2019C1/extensions/lifecycle/report/mark-placement-conflicts.d.ts +22 -0
  144. package/dist/v2019C1/extensions/lifecycle/report/mark-placement-conflicts.d.ts.map +1 -0
  145. package/dist/v2019C1/extensions/lifecycle/report/presentation-scope.d.ts +13 -0
  146. package/dist/v2019C1/extensions/lifecycle/report/presentation-scope.d.ts.map +1 -0
  147. package/dist/v2019C1/extensions/lifecycle/report/presentation-scope.types.d.ts +12 -0
  148. package/dist/v2019C1/extensions/lifecycle/report/presentation-scope.types.d.ts.map +1 -0
  149. package/dist/v2019C1/extensions/lifecycle/report/public.d.ts +3 -0
  150. package/dist/v2019C1/extensions/lifecycle/report/public.d.ts.map +1 -0
  151. package/dist/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.d.ts +21 -0
  152. package/dist/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.d.ts.map +1 -0
  153. package/dist/v2019C1/extensions/lifecycle/report/query/index.d.ts +3 -0
  154. package/dist/v2019C1/extensions/lifecycle/report/query/index.d.ts.map +1 -0
  155. package/dist/v2019C1/extensions/lifecycle/report/query/report-asd.d.ts +22 -0
  156. package/dist/v2019C1/extensions/lifecycle/report/query/report-asd.d.ts.map +1 -0
  157. package/dist/v2019C1/extensions/lifecycle/report/query/report-fsd.d.ts +23 -0
  158. package/dist/v2019C1/extensions/lifecycle/report/query/report-fsd.d.ts.map +1 -0
  159. package/dist/v2019C1/extensions/lifecycle/report/query/report-function-satellites.d.ts +21 -0
  160. package/dist/v2019C1/extensions/lifecycle/report/query/report-function-satellites.d.ts.map +1 -0
  161. package/dist/v2019C1/extensions/lifecycle/report/query/report-function.d.ts +21 -0
  162. package/dist/v2019C1/extensions/lifecycle/report/query/report-function.d.ts.map +1 -0
  163. package/dist/v2019C1/extensions/lifecycle/report/query/satellite-companions.d.ts +29 -0
  164. package/dist/v2019C1/extensions/lifecycle/report/query/satellite-companions.d.ts.map +1 -0
  165. package/dist/v2019C1/extensions/lifecycle/report/report.d.ts +17 -0
  166. package/dist/v2019C1/extensions/lifecycle/report/report.d.ts.map +1 -0
  167. package/dist/v2019C1/extensions/lifecycle/transplant/index.d.ts +2 -0
  168. package/dist/v2019C1/extensions/lifecycle/transplant/index.d.ts.map +1 -0
  169. package/dist/v2019C1/extensions/lifecycle/transplant/public.d.ts +3 -0
  170. package/dist/v2019C1/extensions/lifecycle/transplant/public.d.ts.map +1 -0
  171. package/dist/v2019C1/extensions/{extraction → lifecycle/transplant}/transaction/deep.d.ts +8 -2
  172. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.d.ts.map +1 -0
  173. package/dist/v2019C1/extensions/{extraction → lifecycle/transplant}/transaction/deep.types.d.ts +3 -3
  174. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/deep.types.d.ts.map +1 -0
  175. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/index.d.ts +8 -0
  176. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/index.d.ts.map +1 -0
  177. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/add-children-to.d.ts +23 -0
  178. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/add-children-to.d.ts.map +1 -0
  179. package/dist/v2019C1/extensions/{extraction → lifecycle/transplant}/transaction/primitives/clone-referenced.d.ts +5 -6
  180. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-referenced.d.ts.map +1 -0
  181. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-referenced.types.d.ts +4 -0
  182. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-referenced.types.d.ts.map +1 -0
  183. package/dist/v2019C1/extensions/{extraction → lifecycle/transplant}/transaction/primitives/clone-tree.d.ts +4 -5
  184. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-tree.d.ts.map +1 -0
  185. package/dist/v2019C1/extensions/{extraction → lifecycle/transplant}/transaction/primitives/clone-tree.types.d.ts +2 -2
  186. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-tree.types.d.ts.map +1 -0
  187. package/dist/v2019C1/extensions/{extraction/transaction/recipes/shared → lifecycle/transplant/transaction}/resolve-structure-ref.d.ts +6 -6
  188. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/resolve-structure-ref.d.ts.map +1 -0
  189. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/structure.types.d.ts +13 -0
  190. package/dist/v2019C1/extensions/lifecycle/transplant/transaction/structure.types.d.ts.map +1 -0
  191. package/dist/v2019C1/extensions/lifecycle/update/index.d.ts +2 -0
  192. package/dist/v2019C1/extensions/lifecycle/update/index.d.ts.map +1 -0
  193. package/dist/v2019C1/extensions/lifecycle/update/transaction/asd.d.ts +38 -0
  194. package/dist/v2019C1/extensions/lifecycle/update/transaction/asd.d.ts.map +1 -0
  195. package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts +23 -0
  196. package/dist/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.d.ts.map +1 -0
  197. package/dist/v2019C1/extensions/lifecycle/update/transaction/fsd.d.ts +29 -0
  198. package/dist/v2019C1/extensions/lifecycle/update/transaction/fsd.d.ts.map +1 -0
  199. package/dist/v2019C1/extensions/lifecycle/update/transaction/function-satellites.d.ts +33 -0
  200. package/dist/v2019C1/extensions/lifecycle/update/transaction/function-satellites.d.ts.map +1 -0
  201. package/dist/v2019C1/extensions/lifecycle/update/transaction/index.d.ts +3 -0
  202. package/dist/v2019C1/extensions/lifecycle/update/transaction/index.d.ts.map +1 -0
  203. package/dist/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.d.ts +29 -0
  204. package/dist/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.d.ts.map +1 -0
  205. package/dist/v2019C1/extensions/public.d.ts +2 -1
  206. package/dist/v2019C1/extensions/public.d.ts.map +1 -1
  207. package/dist/v2019C1/extensions/reference/constants/derived.d.ts +7 -0
  208. package/dist/v2019C1/extensions/reference/constants/derived.d.ts.map +1 -1
  209. package/dist/v2019C1/extensions/reference/constants/index.d.ts +1 -2
  210. package/dist/v2019C1/extensions/reference/constants/index.d.ts.map +1 -1
  211. package/dist/v2019C1/extensions/reference/constants/orphan-rules.d.ts +1 -1
  212. package/dist/v2019C1/extensions/reference/constants/orphan-rules.d.ts.map +1 -1
  213. package/dist/v2019C1/extensions/reference/constants/types.d.ts +2 -1
  214. package/dist/v2019C1/extensions/reference/constants/types.d.ts.map +1 -1
  215. package/dist/v2019C1/extensions/reference/query/build/build-element-path.d.ts.map +1 -1
  216. package/dist/v2019C1/extensions/reference/query/build/build-reference-path.d.ts +6 -0
  217. package/dist/v2019C1/extensions/reference/query/build/build-reference-path.d.ts.map +1 -1
  218. package/dist/v2019C1/extensions/reference/query/index.d.ts +1 -0
  219. package/dist/v2019C1/extensions/reference/query/index.d.ts.map +1 -1
  220. package/dist/v2019C1/extensions/reference/query/provenance/get-provenance.constants.d.ts +8 -0
  221. package/dist/v2019C1/extensions/reference/query/provenance/get-provenance.constants.d.ts.map +1 -0
  222. package/dist/v2019C1/extensions/reference/query/provenance/get-provenance.d.ts +12 -0
  223. package/dist/v2019C1/extensions/reference/query/provenance/get-provenance.d.ts.map +1 -0
  224. package/dist/v2019C1/extensions/reference/query/provenance/get-provenance.types.d.ts +19 -0
  225. package/dist/v2019C1/extensions/reference/query/provenance/get-provenance.types.d.ts.map +1 -0
  226. package/dist/v2019C1/extensions/reference/query/provenance/index.d.ts +3 -0
  227. package/dist/v2019C1/extensions/reference/query/provenance/index.d.ts.map +1 -0
  228. package/dist/v2019C1/extensions/reference/query/resolve/parse-path.d.ts.map +1 -1
  229. package/dist/v2019C1/extensions/reference/query/resolve/resolve-reference-path.d.ts.map +1 -1
  230. package/dist/v2019C1/extensions/reference/transaction/index.d.ts +2 -0
  231. package/dist/v2019C1/extensions/reference/transaction/index.d.ts.map +1 -1
  232. package/dist/v2019C1/extensions/reference/transaction/write-provenance.d.ts +18 -0
  233. package/dist/v2019C1/extensions/reference/transaction/write-provenance.d.ts.map +1 -0
  234. package/dist/v2019C1/extensions/reference/transaction/write-provenance.types.d.ts +13 -0
  235. package/dist/v2019C1/extensions/reference/transaction/write-provenance.types.d.ts.map +1 -0
  236. package/dist/v2019C1/extensions/signature/query/element-signature.d.ts.map +1 -1
  237. package/dist/v2019C1/hooks/after-deep-clone/ref-paths.d.ts.map +1 -1
  238. package/dist/v2019C1/hooks/before-delete/orphaned-refs.d.ts.map +1 -1
  239. package/dist/v2019C1/hooks/io/io-hooks.d.ts.map +1 -1
  240. package/dist/v2019C1/hooks/shared/ref-entry-ops.d.ts.map +1 -1
  241. package/dist/v2019C1/index.d.ts +1 -0
  242. package/dist/v2019C1/index.d.ts.map +1 -1
  243. package/dist/v2019C1/index.js +12 -12
  244. package/dist/v2019C1/test/hydrated-test.d.ts +34 -6
  245. package/dist/v2019C1/test/hydrated-test.d.ts.map +1 -1
  246. package/dist/v2019C1/test.js +11 -11
  247. package/package.json +4 -3
  248. package/dist/v2019C1/extensions/extraction/index.d.ts +0 -12
  249. package/dist/v2019C1/extensions/extraction/index.d.ts.map +0 -1
  250. package/dist/v2019C1/extensions/extraction/public.d.ts +0 -3
  251. package/dist/v2019C1/extensions/extraction/public.d.ts.map +0 -1
  252. package/dist/v2019C1/extensions/extraction/transaction/deep.d.ts.map +0 -1
  253. package/dist/v2019C1/extensions/extraction/transaction/deep.types.d.ts.map +0 -1
  254. package/dist/v2019C1/extensions/extraction/transaction/index.d.ts +0 -6
  255. package/dist/v2019C1/extensions/extraction/transaction/index.d.ts.map +0 -1
  256. package/dist/v2019C1/extensions/extraction/transaction/primitives/clone-referenced.d.ts.map +0 -1
  257. package/dist/v2019C1/extensions/extraction/transaction/primitives/clone-tree.d.ts.map +0 -1
  258. package/dist/v2019C1/extensions/extraction/transaction/primitives/clone-tree.types.d.ts.map +0 -1
  259. package/dist/v2019C1/extensions/extraction/transaction/recipes/asd/clone-application.d.ts +0 -16
  260. package/dist/v2019C1/extensions/extraction/transaction/recipes/asd/clone-application.d.ts.map +0 -1
  261. package/dist/v2019C1/extensions/extraction/transaction/recipes/asd/index.d.ts +0 -2
  262. package/dist/v2019C1/extensions/extraction/transaction/recipes/asd/index.d.ts.map +0 -1
  263. package/dist/v2019C1/extensions/extraction/transaction/recipes/asd/to-asd.d.ts.map +0 -1
  264. package/dist/v2019C1/extensions/extraction/transaction/recipes/fsd/index.d.ts +0 -2
  265. package/dist/v2019C1/extensions/extraction/transaction/recipes/fsd/index.d.ts.map +0 -1
  266. package/dist/v2019C1/extensions/extraction/transaction/recipes/fsd/omit.d.ts.map +0 -1
  267. package/dist/v2019C1/extensions/extraction/transaction/recipes/fsd/to-fsd.d.ts.map +0 -1
  268. package/dist/v2019C1/extensions/extraction/transaction/recipes/shared/clone-function.d.ts.map +0 -1
  269. package/dist/v2019C1/extensions/extraction/transaction/recipes/shared/ensure-substation-structure.d.ts.map +0 -1
  270. package/dist/v2019C1/extensions/extraction/transaction/recipes/shared/omit-filters.d.ts +0 -4
  271. package/dist/v2019C1/extensions/extraction/transaction/recipes/shared/omit-filters.d.ts.map +0 -1
  272. package/dist/v2019C1/extensions/extraction/transaction/recipes/shared/post-extraction-cleanup.d.ts.map +0 -1
  273. package/dist/v2019C1/extensions/extraction/transaction/recipes/shared/resolve-structure-ref.d.ts.map +0 -1
  274. package/dist/v2019C1/extensions/extraction/transaction/recipes/shared/shared.types.d.ts +0 -7
  275. package/dist/v2019C1/extensions/extraction/transaction/recipes/shared/shared.types.d.ts.map +0 -1
  276. package/dist/v2019C1/extensions/reference/constants/pairs.d.ts.map +0 -1
@@ -0,0 +1,21 @@
1
+ import { Config, Scl } from '../../../../config';
2
+ import { DiffReport } from '../../engine/diff.types';
3
+ import { AnyRefOrRecord } from '@dialecte/core';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * Fold a function's carried `FunctionCategory` satellites into its decision group
7
+ * as read-only companions (ENGINE.md §16, G6). The function layer resolves its own
8
+ * satellites (reverse-ref) from the SOURCE; the generic fold attaches them.
9
+ *
10
+ * When an `instance` exists, the SAME reverse-ref finder is run against it so a
11
+ * `FunctionCategory` the template RETIRED (no longer in the source) is folded as a
12
+ * `removed` companion — accepting the function group then deletes it (matching the
13
+ * application-layer satellite behaviour).
14
+ */
15
+ export declare function foldCarriedSatellites(query: Core.Query<Config>, params: {
16
+ sourceQuery: Core.Query<Config>;
17
+ functionRef: Scl.Ref<'Function'>;
18
+ instance: AnyRefOrRecord | undefined;
19
+ report: DiffReport;
20
+ }): Promise<DiffReport>;
21
+ //# sourceMappingURL=report-function-satellites.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-function-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-function-satellites.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CAC1C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,MAAM,EAAE,UAAU,CAAA;CAClB,GACC,OAAO,CAAC,UAAU,CAAC,CAerB"}
@@ -0,0 +1,21 @@
1
+ import { Config, Scl } from '../../../../config';
2
+ import { DiffReport } from '../../engine/diff.types';
3
+ import { AnyRefOrRecord } from '@dialecte/core';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * Function-layer report core (ENGINE.md §16, D-SAT-6): diff the function subtree,
7
+ * then fold its satellites as companions of the function's decision group — both
8
+ * the layer-owned `FunctionCategory` AND the CROSS-CUTTING satellites (e.g. a
9
+ * `Variable`) that apply to any element in the subtree.
10
+ *
11
+ * The `instance` is resolved by the caller — SCOPED (`findInstanceUnder`, the
12
+ * anchored `reportFsd`) or GLOBAL (`findInstanceByTemplateUuid`, the ASD
13
+ * composed-function cascade which has no anchor). Funnelling both entry points
14
+ * through here is what makes satellites travel on every function-layer report.
15
+ */
16
+ export declare function reportFunction(query: Core.Query<Config>, params: {
17
+ sourceQuery: Core.Query<Config>;
18
+ functionRef: Scl.Ref<'Function'>;
19
+ instance: AnyRefOrRecord | undefined;
20
+ }): Promise<DiffReport>;
21
+ //# sourceMappingURL=report-function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-function.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CACnC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;CACpC,GACC,OAAO,CAAC,UAAU,CAAC,CAwBrB"}
@@ -0,0 +1,29 @@
1
+ import { Config, Scl } from '../../../../config';
2
+ import { DiffReport } from '../../engine/diff.types';
3
+ import type * as Core from '@dialecte/core';
4
+ /**
5
+ * Fold each satellite's changes into the primary's decision group as read-only
6
+ * COMPANIONS (ENGINE.md §16, G6). Generic over the layer: the caller resolves the
7
+ * satellite refs from the SOURCE (reverse-ref for the function's FunctionCategory,
8
+ * outward-ref for the application's AllocationRole) and, for removal detection, the
9
+ * matching refs from the TARGET instance (`instanceSatelliteRefs`, resolved with the
10
+ * same finder against the instance primary).
11
+ *
12
+ * Three companion kinds, all riding the primary's group (coupling invariant - never
13
+ * independently decidable):
14
+ * - added / modified: a source satellite diffed against its instance (matched by
15
+ * `templateUuid`); a not-yet-instantiated one surfaces all-added;
16
+ * - removed: a TARGET instance satellite whose `templateUuid` the source no longer
17
+ * references -> folded as a `removed` companion so accepting the primary deletes it.
18
+ *
19
+ * Folds only when the primary itself is a changed group (satellite-only change with
20
+ * an unchanged primary is deferred).
21
+ */
22
+ export declare function foldSatelliteCompanions(query: Core.Query<Config>, params: {
23
+ sourceQuery: Core.Query<Config>;
24
+ primaryRef: Scl.Ref<Scl.ElementsOf>;
25
+ satelliteRefs: Scl.Ref<Scl.ElementsOf>[];
26
+ instanceSatelliteRefs?: Scl.Ref<Scl.ElementsOf>[];
27
+ report: DiffReport;
28
+ }): Promise<DiffReport>;
29
+ //# sourceMappingURL=satellite-companions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"satellite-companions.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/satellite-companions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,uBAAuB,CAC5C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,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,aAAa,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACxC,qBAAqB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACjD,MAAM,EAAE,UAAU,CAAA;CAClB,GACC,OAAO,CAAC,UAAU,CAAC,CA0CrB"}
@@ -0,0 +1,17 @@
1
+ import { Config } from '../../../config';
2
+ import { LifecycleTarget } from '../contract.types';
3
+ import { DiffReport } from '../engine/diff.types';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * `query.lifecycle.report` — the generic read-only classify surface (ENGINE.md §6).
7
+ *
8
+ * Dispatches on `verb` to the per-layer report and returns a {@link DiffReport}.
9
+ * `report.needsDecisions` tells the consumer the track: `false` = fast (apply
10
+ * headless), `true` = full (resolve decisions first). The consumer never picks
11
+ * the track — dialecte decides it here.
12
+ *
13
+ * Tags each decision group with its primary's editable attributes (schema-derived)
14
+ * so the UI renders inputs straight from the report without re-deriving them.
15
+ */
16
+ export declare function report(query: Core.Query<Config>, target: LifecycleTarget): Promise<DiffReport>;
17
+ //# sourceMappingURL=report.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/report/report.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAA;AACpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;GAUG;AACH,wBAAsB,MAAM,CAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE,eAAe,GACrB,OAAO,CAAC,UAAU,CAAC,CAuBrB"}
@@ -0,0 +1,2 @@
1
+ export * from './transaction';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/transplant/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type { ImportDeepParams, ImportDeepResult } from './transaction/deep.types';
2
+ export type { StripConfig, RetagRootConfig } from './transaction/primitives/clone-tree.types';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/transplant/public.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAClF,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA"}
@@ -1,15 +1,21 @@
1
1
  import { ImportDeepParams, ImportDeepResult } from './deep.types';
2
- import { Config } from '../../../config';
2
+ import { Config } from '../../../../config';
3
3
  import type * as Core from '@dialecte/core';
4
4
  /**
5
5
  * Import an element subtree into a target document together with its type closure:
6
6
  *
7
7
  * 1. clone the subtree under `targetParent` (with optional `omit` / `strip` /
8
- * `promoteRoot`);
8
+ * `retagRoot`);
9
9
  * 2. `withTypes` (default `true`) — content-addressed **type** closure: reconcile
10
10
  * the LN/LNode type closure (reuse / preserve / fork) and repoint the cloned
11
11
  * instances' `lnType` through the clone mappings.
12
12
  *
13
+ * When the root being cloned is a `Private` and `targetParent` already holds a
14
+ * `Private` of the same `type`, the source Private's children are ADDED to the
15
+ * existing one instead of creating a duplicate wrapper (one Private per type per
16
+ * parent is a structural invariant, also enforced on single creates by the
17
+ * after-created private-wrapper hook).
18
+ *
13
19
  * `deep` is a faithful subtree copy: it does **not** follow forward uuid references.
14
20
  * Reference rewiring is the caller's responsibility (recipes place same-domain
15
21
  * satellites by ancestry; cross-domain/lineage rewiring is plan-driven). Uuid
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deep.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/deep.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AACtE,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,IAAI,CACzB,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE,gBAAgB,GACtB,OAAO,CAAC,gBAAgB,CAAC,CAoD3B"}
@@ -1,5 +1,5 @@
1
- import { PromoteRootConfig, StripConfig } from './primitives/clone-tree.types';
2
- import { Scl, Config } from '../../../config';
1
+ import { RetagRootConfig, StripConfig } from './primitives/clone-tree.types';
2
+ import { Scl, Config } from '../../../../config';
3
3
  import { OmitEntry } from '@dialecte/core';
4
4
  import type * as Core from '@dialecte/core';
5
5
  export type ImportDeepParams = {
@@ -18,7 +18,7 @@ export type ImportDeepParams = {
18
18
  */
19
19
  strip?: StripConfig | false;
20
20
  /** Replace the root tagName when it matches `from` (e.g. SubFunction -> Function). */
21
- promoteRoot?: PromoteRootConfig;
21
+ retagRoot?: RetagRootConfig;
22
22
  };
23
23
  export type ImportDeepResult = {
24
24
  /** The cloned root record in the target. */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deep.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/deep.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AACjF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,MAAM,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,qCAAqC;IACrC,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC5B,iDAAiD;IACjD,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,kFAAkF;IAClF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAA;IAC1B;;;OAGG;IACH,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;IAC3B,sFAAsF;IACtF,SAAS,CAAC,EAAE,eAAe,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC9B,4CAA4C;IAC5C,MAAM,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,4FAA4F;IAC5F,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,qFAAqF;IACrF,cAAc,EAAE,GAAG,CAAC,YAAY,EAAE,CAAA;CAClC,CAAA"}
@@ -0,0 +1,8 @@
1
+ export { deep } from './deep';
2
+ export type { ImportDeepParams, ImportDeepResult } from './deep.types';
3
+ export * from './primitives/clone-tree';
4
+ export * from './primitives/clone-referenced';
5
+ export { addChildrenTo } from './primitives/add-children-to';
6
+ export { resolveStructureRef, createAncestryResolver } from './resolve-structure-ref';
7
+ export type { TemplateStructure, TargetStructure } from './structure.types';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAEtE,cAAc,yBAAyB,CAAA;AACvC,cAAc,+BAA+B,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAE5D,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AACrF,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { StripConfig } from './clone-tree.types';
2
+ import { Config, Scl } from '../../../../../config';
3
+ import { OmitEntry } from '@dialecte/core';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * Add the CHILDREN of a source element under an EXISTING target element, instead
7
+ * of cloning the source element itself.
8
+ *
9
+ * Used to reuse a singleton/shared target element (e.g. a `Private` grouping of a
10
+ * given `type`, or a same-name catalog entry) and pour the incoming content into
11
+ * it, rather than producing a duplicate wrapper/entity. Each child is cloned via
12
+ * `cloneTree`, so uuid remapping and reference-path rebuilding still fire.
13
+ */
14
+ export declare function addChildrenTo(tx: Core.Transaction<Config>, params: {
15
+ sourceQuery: Core.Query<Config>;
16
+ /** The source element whose children are copied over. */
17
+ source: Scl.Ref<Scl.ElementsOf>;
18
+ /** The existing target element the children are added under. */
19
+ target: Scl.Ref<Scl.ElementsOf>;
20
+ omit?: OmitEntry<Config>[];
21
+ strip?: StripConfig | false;
22
+ }): Promise<Scl.CloneMapping[]>;
23
+ //# sourceMappingURL=add-children-to.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-children-to.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/primitives/add-children-to.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C;;;;;;;;GAQG;AACH,wBAAsB,aAAa,CAClC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,yDAAyD;IACzD,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC/B,gEAAgE;IAChE,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC/B,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAA;IAC1B,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;CAC3B,GACC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAkB7B"}
@@ -1,5 +1,6 @@
1
- import { Config, Scl } from '../../../../config';
2
- import { RefTagName, TargetOf } from '../../../reference';
1
+ import { ResolveTargetParent } from './clone-referenced.types';
2
+ import { Config, Scl } from '../../../../../config';
3
+ import { RefTagName, TargetOf } from '../../../../reference';
3
4
  import { OmitEntry } from '@dialecte/core';
4
5
  import type * as Core from '@dialecte/core';
5
6
  /**
@@ -21,8 +22,6 @@ export declare function findMissingReferencedRecords<Ref extends RefTagName, Tar
21
22
  */
22
23
  alreadyCloned?: ReadonlySet<string>;
23
24
  }): Promise<Scl.Ref<Target>[]>;
24
- /** Resolves the target parent each missing satellite is cloned under. */
25
- export type ResolveTargetParent = (ref: Scl.Ref<Scl.ElementsOf>) => Promise<Scl.Ref<Scl.ElementsOf>>;
26
25
  /**
27
26
  * Generic satellite-clone helper.
28
27
  *
@@ -40,7 +39,7 @@ export declare function cloneReferencedRecords<Ref extends RefTagName, Target ex
40
39
  resolveTargetParent: ResolveTargetParent;
41
40
  alreadyCloned?: ReadonlySet<string>;
42
41
  omit?: OmitEntry<Config>[];
43
- }): Promise<void>;
42
+ }): Promise<Scl.CloneMapping[]>;
44
43
  /**
45
44
  * Clones all referenced targets for ref types derived from
46
45
  * `DESCENDANTS[scopeTagName] ∩ UUID_REFERENCE_PAIRS`, skipping those in `skip`.
@@ -60,5 +59,5 @@ export declare function cloneAllReferencedTargets(tx: Core.Transaction<Config>,
60
59
  alreadyCloned?: ReadonlySet<string>;
61
60
  skip?: ReadonlySet<string>;
62
61
  omit?: OmitEntry<Config>[];
63
- }): Promise<void>;
62
+ }): Promise<Scl.CloneMapping[]>;
64
63
  //# sourceMappingURL=clone-referenced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-referenced.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-referenced.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAI/C;;;;;GAKG;AACH,wBAAsB,4BAA4B,CACjD,GAAG,SAAS,UAAU,EACtB,MAAM,SAAS,QAAQ,CAAC,GAAG,CAAC,EAE5B,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;IACvC,UAAU,EAAE,GAAG,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACnC,GACC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAmC5B;AAED;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAAC,GAAG,SAAS,UAAU,EAAE,MAAM,SAAS,QAAQ,CAAC,GAAG,CAAC,EAChG,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;IACvC,UAAU,EAAE,GAAG,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,aAAa,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IACnC,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAA;CAC1B,GACC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CA0B7B;AAmBD;;;;;;;;;;GAUG;AACH,wBAAsB,yBAAyB,CAC9C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,YAAY,EAAE,GAAG,CAAC,UAAU,CAAA;IAC5B,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACjC,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,aAAa,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IACnC,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAA;CAC1B,GACC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAmC7B"}
@@ -0,0 +1,4 @@
1
+ import { Scl } from '../../../../../config';
2
+ /** Resolves the target-side parent ref an element should be cloned under. */
3
+ export type ResolveTargetParent = (ref: Scl.Ref<Scl.ElementsOf>) => Promise<Scl.Ref<Scl.ElementsOf>>;
4
+ //# sourceMappingURL=clone-referenced.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-referenced.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-referenced.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAE3C,6EAA6E;AAC7E,MAAM,MAAM,mBAAmB,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAA"}
@@ -1,10 +1,9 @@
1
- import { StripConfig, PromoteRootConfig } from './clone-tree.types';
2
- import { Scl, Config } from '../../../../config';
1
+ import { StripConfig, RetagRootConfig } from './clone-tree.types';
2
+ import { Scl, Config } from '../../../../../config';
3
3
  import { OmitEntry } from '@dialecte/core';
4
4
  import type * as Core from '@dialecte/core';
5
- export type { StripConfig, PromoteRootConfig };
6
5
  /**
7
- * Clone pipeline: getTree -> optional promote root tagName -> strip -> deepClone.
6
+ * Clone pipeline: getTree -> optional retag root tagName -> strip -> deepClone.
8
7
  * UUID remapping is handled by afterDeepClone hook via cumulativeCloneMappings.
9
8
  *
10
9
  * By default strips `templateUuid` and `originUuid` from the entire tree.
@@ -19,7 +18,7 @@ export declare function cloneTree(tx: Core.Transaction<Config>, params: {
19
18
  ref: Scl.Ref<Scl.ElementsOf>;
20
19
  targetParent: Scl.Ref<Scl.ElementsOf>;
21
20
  omit?: OmitEntry<Config>[];
22
- promoteRoot?: PromoteRootConfig;
21
+ retagRoot?: RetagRootConfig;
23
22
  strip?: StripConfig | false;
24
23
  }): Promise<Core.CloneResult<Config, Exclude<Scl.ElementsOf, 'SCL'>> | undefined>;
25
24
  //# sourceMappingURL=clone-tree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-tree.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-tree.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACtE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAO/C;;;;;;;;;;GAUG;AACH,wBAAsB,SAAS,CAC9B,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC5B,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE,CAAA;IAC1B,SAAS,CAAC,EAAE,eAAe,CAAA;IAC3B,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,CAAA;CAC3B,GACC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,GAAG,SAAS,CAAC,CAuB/E"}
@@ -1,11 +1,11 @@
1
- import { Scl } from '../../../../config';
1
+ import { Scl } from '../../../../../config';
2
2
  export type StripConfig = {
3
3
  /** 'root': remove attributes from root element only (shallow).
4
4
  * 'tree': remove attributes recursively from root and all descendants. */
5
5
  scope: 'root' | 'tree';
6
6
  attributes: string[];
7
7
  };
8
- export type PromoteRootConfig = {
8
+ export type RetagRootConfig = {
9
9
  /** Replace the root tagName when it matches `from`. */
10
10
  from: Scl.ElementsOf;
11
11
  to: Scl.ElementsOf;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-tree.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/primitives/clone-tree.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,MAAM,MAAM,WAAW,GAAG;IACzB;+EAC2E;IAC3E,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC7B,uDAAuD;IACvD,IAAI,EAAE,GAAG,CAAC,UAAU,CAAA;IACpB,EAAE,EAAE,GAAG,CAAC,UAAU,CAAA;CAClB,CAAA"}
@@ -1,12 +1,12 @@
1
- import { ResolveTargetParent } from '../../primitives/clone-referenced';
2
- import { TemplateStructure } from './shared.types';
3
- import { Scl, Config } from '../../../../../config';
1
+ import { ResolveTargetParent } from './primitives/clone-referenced.types';
2
+ import { TargetStructure } from './structure.types';
3
+ import { Scl, Config } from '../../../../config';
4
4
  import type * as Core from '@dialecte/core';
5
5
  /**
6
6
  * Finds the nearest Substation/VoltageLevel/Bay ancestor of a source-side ref
7
- * and returns the matching target-side structural ref from the template structure.
7
+ * and returns the matching target-side structural ref from the target structure.
8
8
  */
9
- export declare function resolveStructureRef(sourceQuery: Core.Query<Config>, ref: Scl.Ref<Scl.ElementsOf>, structure: TemplateStructure): Promise<Scl.Ref<'Substation'> | Scl.Ref<'VoltageLevel'> | Scl.Ref<'Bay'>>;
9
+ export declare function resolveStructureRef(sourceQuery: Core.Query<Config>, ref: Scl.Ref<Scl.ElementsOf>, structure: TargetStructure): Promise<Scl.Ref<'Substation'> | Scl.Ref<'VoltageLevel'> | Scl.Ref<'Bay'>>;
10
10
  /**
11
11
  * Builds a {@link ResolveTargetParent} that places each satellite by **mirroring
12
12
  * the source ancestor chain** into the target.
@@ -19,7 +19,7 @@ export declare function resolveStructureRef(sourceQuery: Core.Query<Config>, ref
19
19
  */
20
20
  export declare function createAncestryResolver(context: {
21
21
  sourceQuery: Core.Query<Config>;
22
- structure: TemplateStructure;
22
+ structure: TargetStructure;
23
23
  cloneIndex: ReadonlyMap<string, Scl.Ref<Scl.ElementsOf>>;
24
24
  }): ResolveTargetParent;
25
25
  //# sourceMappingURL=resolve-structure-ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-structure-ref.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/resolve-structure-ref.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;GAGG;AACH,wBAAsB,mBAAmB,CACxC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAC/B,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAC5B,SAAS,EAAE,eAAe,GACxB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAkB3E;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE;IAC/C,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,SAAS,EAAE,eAAe,CAAA;IAC1B,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAA;CACxD,GAAG,mBAAmB,CAqBtB"}
@@ -0,0 +1,13 @@
1
+ import { Scl } from '../../../../config';
2
+ export type TemplateStructure = {
3
+ Substation: Scl.RawRecord<'Substation'>;
4
+ VoltageLevel: Scl.RawRecord<'VoltageLevel'>;
5
+ Bay: Scl.RawRecord<'Bay'>;
6
+ };
7
+ /**
8
+ * A structure resolved from an *existing* target (instantiation direction). Which
9
+ * levels are present depends on the instantiation parent, so every level is
10
+ * optional (unlike the always-complete TEMPLATE {@link TemplateStructure}).
11
+ */
12
+ export type TargetStructure = Partial<TemplateStructure>;
13
+ //# sourceMappingURL=structure.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structure.types.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/transplant/transaction/structure.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,MAAM,MAAM,iBAAiB,GAAG;IAC/B,UAAU,EAAE,GAAG,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;IACvC,YAAY,EAAE,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA;IAC3C,GAAG,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;CACzB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './transaction';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/update/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { Scl, Config } from '../../../../config';
2
+ import { LifecycleScenario } from '../../contract.types';
3
+ import { DecisionMap, DiffReport } from '../../engine/diff.types';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * `update.fromAsd` — reconcile a project against a (possibly newer) ASD.
7
+ *
8
+ * Same engine as `update.fromFsd`, one layer up (proves `engine.reconcile` is
9
+ * layer-agnostic): the standard permits several instances of one ASD template
10
+ * under one anchor, so EVERY matching `Application` instance is reconciled; if
11
+ * none exists yet, the application is instantiated fresh.
12
+ *
13
+ * Two layers, in order:
14
+ * 1. application layer — reconcile each `Application` subtree (roles, allocation
15
+ * refs, attributes);
16
+ * 2. function-layer cascade (G2) — treat every composed Function the ASD
17
+ * references as an FSD to update and delegate to `update.fromFsd`
18
+ * (instantiate-or-reconcile), which fans out per composed-function instance.
19
+ * Verbs compose verbs: a function added by the newer ASD is instantiated, an
20
+ * existing one is reconciled.
21
+ *
22
+ * `report` + `decisions` gate every write: each Application instance is gated by
23
+ * ONLY its own groups (partitioned by `instanceScopeId`) so the user can update a
24
+ * subset of instances across both layers.
25
+ */
26
+ export declare function asd(tx: Core.Transaction<Config>, params: {
27
+ sourceQuery: Core.Query<Config>;
28
+ applicationRef: Scl.Ref<'Application'>;
29
+ targetParent: Scl.Ref<Scl.ElementsOf>;
30
+ /** `instantiate` forces a fresh instance; `update` (default) reconciles. */
31
+ scenario?: LifecycleScenario;
32
+ report?: DiffReport;
33
+ decisions?: DecisionMap;
34
+ }): Promise<{
35
+ applications: Scl.Ref<'Application'>[];
36
+ functions: (Scl.Ref<'Function'> | Scl.Ref<'SubFunction'>)[];
37
+ }>;
38
+ //# sourceMappingURL=asd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/asd.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAC/F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,GAAG,CACxB,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,SAAS,CAAC,EAAE,WAAW,CAAA;CACvB,GACC,OAAO,CAAC;IACV,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAA;IACtC,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,EAAE,CAAA;CAC3D,CAAC,CAqFD"}
@@ -0,0 +1,23 @@
1
+ import { Config, Scl } from '../../../../config';
2
+ import { AcceptedIds } from '../../engine/decide.types';
3
+ import { TargetStructure } from '../../transplant/transaction';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * Carry the CROSS-CUTTING satellites (Variable / BehaviorDescription — 90-30
7
+ * §12.1/§13.1) that apply to ANY element in the primary subtree, gated by
8
+ * `accepted`. The single apply-side entry point every layer calls with its own
9
+ * `primaryRef` (function, application, and future IED / topology) so the 3-way
10
+ * add / reconcile-in-place / delete is uniform and impossible to forget.
11
+ *
12
+ * `instancePrimaryRef` is the target-side primary (for removal detection); pass it
13
+ * when an instance exists. Layer-owned satellites (FunctionCategory, AllocationRole)
14
+ * are reconciled separately by their own layer finder.
15
+ */
16
+ export declare function reconcileCrossCuttingSatellites(tx: Core.Transaction<Config>, params: {
17
+ sourceQuery: Core.Query<Config>;
18
+ primaryRef: Scl.Ref<Scl.ElementsOf>;
19
+ instancePrimaryRef?: Scl.Ref<Scl.ElementsOf>;
20
+ structure: TargetStructure;
21
+ accepted?: AcceptedIds;
22
+ }): Promise<void>;
23
+ //# sourceMappingURL=cross-cutting-satellites.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cross-cutting-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/cross-cutting-satellites.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;GAUG;AACH,wBAAsB,+BAA+B,CACpD,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,kBAAkB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC5C,SAAS,EAAE,eAAe,CAAA;IAC1B,QAAQ,CAAC,EAAE,WAAW,CAAA;CACtB,GACC,OAAO,CAAC,IAAI,CAAC,CAef"}
@@ -0,0 +1,29 @@
1
+ import { Scl, Config } from '../../../../config';
2
+ import { LifecycleScenario } from '../../contract.types';
3
+ import { DecisionMap, DiffReport } from '../../engine/diff.types';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * `update.fromFsd` — reconcile a project against a (possibly newer) FSD.
7
+ *
8
+ * Unifies instantiate and update (ENGINE.md §4, doc 02 §4: instantiate is the
9
+ * first-time case of update):
10
+ * - no instance under `targetParent` -> instantiate fresh (`instantiate.fsd`);
11
+ * - one or more instances (elements whose `templateUuid` equals the source
12
+ * function's `uuid`) -> reconcile the updated template ONTO EACH.
13
+ *
14
+ * The standard allows several instances of one template under one anchor. The
15
+ * `report` + `decisions` are passed through, and each instance is gated by ONLY
16
+ * its own groups (partitioned by `instanceScopeId`) so the user can update a
17
+ * SUBSET. Both the FSD surface and the ASD composed-function cascade drive it this way.
18
+ */
19
+ export declare function fsd(tx: Core.Transaction<Config>, params: {
20
+ sourceQuery: Core.Query<Config>;
21
+ functionRef: Scl.Ref<'Function'>;
22
+ targetParent: Scl.Ref<Scl.ElementsOf>;
23
+ /** `instantiate` forces a fresh instance; `update` (default) reconciles. */
24
+ scenario?: LifecycleScenario;
25
+ /** Multi-instance gate: partitioned per instance by `instanceScopeId`. */
26
+ report?: DiffReport;
27
+ decisions?: DecisionMap;
28
+ }): Promise<(Scl.Ref<'Function'> | Scl.Ref<'SubFunction'>)[]>;
29
+ //# sourceMappingURL=fsd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fsd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/fsd.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AAKtF,OAAO,KAAK,EAEX,WAAW,EACX,UAAU,EACV,MAAM,kDAAkD,CAAA;AACzD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;GAaG;AACH,wBAAsB,GAAG,CACxB,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,SAAS,CAAC,EAAE,WAAW,CAAA;CACvB,GACC,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CA8D3D"}
@@ -0,0 +1,33 @@
1
+ import { Config, Scl } from '../../../../config';
2
+ import { AcceptedIds } from '../../engine/decide.types';
3
+ import { AnyRefOrRecord } from '@dialecte/core';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * Reconcile each carried satellite (e.g. a `FunctionCategory`) of a function ONTO
7
+ * its existing instance, gated by `accepted` (ENGINE.md §16). The satellite lives
8
+ * OUTSIDE the function subtree, so the function reconcile never reaches it; here
9
+ * it is matched globally by `templateUuid` and reconciled in place. The write is
10
+ * gated exactly like the function's: `reconcile` only touches records whose source
11
+ * id is in `accepted`, so the satellite travels iff its function group is accepted
12
+ * (its report companion contributed that id).
13
+ *
14
+ * A satellite the updated template ADDS (no instance yet — a newly-classified
15
+ * function) is added via the clone path (`cloneFunctionCategories` +
16
+ * `writeIdentity`, mirroring `instantiate.fsd`), gated by the function group's
17
+ * acceptance.
18
+ *
19
+ * A satellite the template RETIRED (its element no longer in the source, matched
20
+ * against the `instance`'s satellites) is DELETED — the coupling invariant: it
21
+ * rides the function group (gated by `accepted.instanceIds`), guarded by a
22
+ * whole-target-doc last-referrer check so a category still referenced by ANOTHER
23
+ * function is kept (shared-satellite safety). Catalog persistence (90-30 §11.3):
24
+ * the trigger is source-element non-existence, NOT a dropped link.
25
+ */
26
+ export declare function reconcileCarriedSatellites(tx: Core.Transaction<Config>, params: {
27
+ sourceQuery: Core.Query<Config>;
28
+ functionRef: Scl.Ref<'Function'>;
29
+ instanceRef: AnyRefOrRecord;
30
+ targetParent: Scl.Ref<Scl.ElementsOf>;
31
+ accepted?: AcceptedIds;
32
+ }): Promise<void>;
33
+ //# sourceMappingURL=function-satellites.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/function-satellites.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,0BAA0B,CAC/C,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,WAAW,EAAE,cAAc,CAAA;IAC3B,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,QAAQ,CAAC,EAAE,WAAW,CAAA;CACtB,GACC,OAAO,CAAC,IAAI,CAAC,CA+Df"}
@@ -0,0 +1,3 @@
1
+ export { asd } from './asd';
2
+ export { fsd } from './fsd';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { Config, Scl } from '../../../../config';
2
+ import { AcceptedIds } from '../../engine/decide.types';
3
+ import { TargetStructure } from '../../transplant/transaction';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * Reconcile each satellite against the target, gated by `accepted`. Generic over
7
+ * the layer: the caller resolves the SOURCE satellite refs and, for removal
8
+ * detection, the TARGET instance refs (`instanceSatelliteRefs`, resolved with the
9
+ * same finder against the instance primary BEFORE the primary reconcile runs, since
10
+ * that reconcile may drop the referring ref). Three cases, matched by `templateUuid`:
11
+ * - an EXISTING instance -> reconcile-in-place (`engine.reconcile`);
12
+ * - NO instance yet -> ADD it (clone at source structural level + stamp lineage),
13
+ * so a newly-referenced satellite travels on update, not only first-time instantiate;
14
+ * - a TARGET instance the source no longer references -> DELETE it (the coupling
15
+ * invariant: it rides the primary group), guarded by a whole-target-doc
16
+ * last-referrer check so a satellite still referenced by ANOTHER primary is kept.
17
+ *
18
+ * Gating: reconcile-in-place + add on `accepted.sourceIds` (the satellite's report
19
+ * companion contributed its source id); delete on `accepted.instanceIds` (its removed
20
+ * companion contributed the instance id).
21
+ */
22
+ export declare function reconcileSatellites(tx: Core.Transaction<Config>, params: {
23
+ sourceQuery: Core.Query<Config>;
24
+ satelliteRefs: Scl.Ref<Scl.ElementsOf>[];
25
+ instanceSatelliteRefs?: Scl.Ref<Scl.ElementsOf>[];
26
+ structure: TargetStructure;
27
+ accepted?: AcceptedIds;
28
+ }): Promise<void>;
29
+ //# sourceMappingURL=satellite-reconcile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"satellite-reconcile.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/satellite-reconcile.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAA;AAC5F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,mBAAmB,CACxC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,aAAa,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACxC,qBAAqB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACjD,SAAS,EAAE,eAAe,CAAA;IAC1B,QAAQ,CAAC,EAAE,WAAW,CAAA;CACtB,GACC,OAAO,CAAC,IAAI,CAAC,CA0Df"}
@@ -1,5 +1,6 @@
1
1
  export * from './data-model/public';
2
- export * from './extraction/public';
2
+ export * from './lifecycle/public';
3
+ export * from './lifecycle/transplant/public';
3
4
  export * from './reference/public';
4
5
  export * from './signature/public';
5
6
  //# sourceMappingURL=public.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/extensions/public.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/extensions/public.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}