@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,53 @@
1
+ import { Scl, Config } from '../../config';
2
+ import { DecisionMap, DiffReport } from './engine/diff.types';
3
+ import type * as Core from '@dialecte/core';
4
+ /** Which template layer the lifecycle surface operates on. */
5
+ export type LifecycleVerb = 'fsd' | 'asd';
6
+ /**
7
+ * Which lifecycle operation the user chose:
8
+ * - `instantiate` — place a NEW instance of the template (duplicates allowed;
9
+ * a sibling name collision is resolved). Re-applying the same template yields
10
+ * another instance, never a silent no-op.
11
+ * - `update` — reconcile the template onto its EXISTING instance(s).
12
+ *
13
+ * Picked explicitly by the consumer — it cannot be inferred reliably (a same-
14
+ * version re-upload is a valid duplicate). Defaults to `update` for back-compat.
15
+ */
16
+ export type LifecycleScenario = 'instantiate' | 'update';
17
+ /**
18
+ * What to reconcile and where — the uniform `{ verb, sourceQuery, ref, anchor }`
19
+ * descriptor shared by `report` (read-only classify) and `apply` (write).
20
+ * Discriminated on `verb` so `ref` narrows to the right element type.
21
+ */
22
+ export type LifecycleTarget = {
23
+ verb: 'fsd';
24
+ sourceQuery: Core.Query<Config>;
25
+ /** The source (template) Function to reconcile. */
26
+ ref: Scl.Ref<'Function'>;
27
+ /** Target parent the instance lives under / is placed into. */
28
+ anchor: Scl.Ref<Scl.ElementsOf>;
29
+ /** Operation to perform. Defaults to `update`. */
30
+ scenario?: LifecycleScenario;
31
+ } | {
32
+ verb: 'asd';
33
+ sourceQuery: Core.Query<Config>;
34
+ /** The source (template) Application to reconcile. */
35
+ ref: Scl.Ref<'Application'>;
36
+ /** Target parent the composed functions are placed into. */
37
+ anchor: Scl.Ref<Scl.ElementsOf>;
38
+ /** Operation to perform. Defaults to `update`. */
39
+ scenario?: LifecycleScenario;
40
+ };
41
+ /**
42
+ * `apply` inputs: the target plus the `report` produced by `report` (the
43
+ * consumer classifies first, then applies). The report gates the track.
44
+ *
45
+ * `decisions` drives the full track: absent -> the caller has not decided yet
46
+ * (apply writes nothing and returns the report); present -> apply the accepted
47
+ * groups only (a group absent from the map defaults to accept).
48
+ */
49
+ export type LifecycleApplyParams = LifecycleTarget & {
50
+ report: DiffReport;
51
+ decisions?: DecisionMap;
52
+ };
53
+ //# sourceMappingURL=contract.types.d.ts.map
@@ -0,0 +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,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAC/F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,8DAA8D;AAC9D,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,KAAK,CAAA;AAEzC;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,QAAQ,CAAA;AAExD;;;;GAIG;AACH,MAAM,MAAM,eAAe,GACxB;IACA,IAAI,EAAE,KAAK,CAAA;IACX,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,mDAAmD;IACnD,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACxB,+DAA+D;IAC/D,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC/B,kDAAkD;IAClD,QAAQ,CAAC,EAAE,iBAAiB,CAAA;CAC3B,GACD;IACA,IAAI,EAAE,KAAK,CAAA;IACX,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,sDAAsD;IACtD,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IAC3B,4DAA4D;IAC5D,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC/B,kDAAkD;IAClD,QAAQ,CAAC,EAAE,iBAAiB,CAAA;CAC3B,CAAA;AAEJ;;;;;;;GAOG;AACH,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,SAAS,CAAC,EAAE,WAAW,CAAA;CAAE,CAAA"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * CROSS-CUTTING satellite containers: elements that apply to ANY SCL element
3
+ * (via a uuid reference into it) and therefore travel with WHATEVER subtree
4
+ * contains their target — not owned by a single layer (90-30 §12.1 / §13.1).
5
+ *
6
+ * v1 = `Variable` (via `VariableApplyTo.elementUuid`) and `BehaviorDescription`
7
+ * (via `InputVar`/`OutputVar.lnodeUuid`). Only uuid-bound targets are covered;
8
+ * XPath-selector variables (no `elementUuid`) need XPath resolution (see TO_DO.md)
9
+ * and are deferred.
10
+ */
11
+ export declare const CROSS_CUTTING_SATELLITE_CONTAINERS: readonly ["Variable", "BehaviorDescription"];
12
+ //# sourceMappingURL=applied-satellites.constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applied-satellites.constants.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,kCAAkC,8CAA+C,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { Config, Scl } from '../../../config';
2
+ import type * as Core from '@dialecte/core';
3
+ /**
4
+ * Resolve the cross-cutting satellites that apply to ANY element within the
5
+ * primary's subtree: for every uuid-bearing element under `primaryRef`, find the
6
+ * containers (e.g. `Variable`) referencing it. Excludes containers that live
7
+ * INSIDE the subtree (internal — already carried by the primary clone/diff). This
8
+ * is layer-agnostic: any verb passes its primary and gets the applied satellites.
9
+ */
10
+ export declare function resolveAppliedSatellites(query: Core.Query<Config>, params: {
11
+ primaryRef: Scl.Ref<Scl.ElementsOf>;
12
+ }): Promise<Scl.Ref<Scl.ElementsOf>[]>;
13
+ //# sourceMappingURL=applied-satellites.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,24 @@
1
+ import { Config, Scl } from '../../../config';
2
+ import { TargetStructure } from '../transplant/transaction';
3
+ import type * as Core from '@dialecte/core';
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
9
+ * inside the subtree are cloned by `deep`, not here (the resolver excludes them).
10
+ * UUID remapping is handled by the afterDeepClone hook; the caller stamps lineage
11
+ * via `writeIdentity`.
12
+ *
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.
17
+ */
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[]>;
24
+ //# sourceMappingURL=clone-applied-satellites.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,4 @@
1
+ export { resolveAppliedSatellites } from './applied-satellites';
2
+ export { CROSS_CUTTING_SATELLITE_CONTAINERS } from './applied-satellites.constants';
3
+ export { cloneAppliedSatellites } from './clone-applied-satellites';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/cross-cutting/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EAAE,kCAAkC,EAAE,MAAM,gCAAgC,CAAA;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { AcceptedIds, CollisionOverrides } from './decide.types';
2
+ import { DecisionGroup, DecisionMap, GroupDecision } from './diff.types';
3
+ /** The action of a decision (absent -> accept; string or object form). */
4
+ export declare function decisionAction(decision: GroupDecision | undefined): 'accept' | 'skip';
5
+ /**
6
+ * The user-edited values for each accepted group, keyed by the primary's SOURCE id
7
+ * (the placed element is matched by its source at instantiate time). Skipped groups
8
+ * and groups with no edits are omitted.
9
+ */
10
+ export declare function collisionOverrides(params: {
11
+ groups: DecisionGroup[];
12
+ decisions: DecisionMap;
13
+ }): CollisionOverrides;
14
+ /**
15
+ * Dependency guard (07 §4): reject a decision set that accepts a group whose
16
+ * `dependsOn` parent is skipped. Runs before any write.
17
+ */
18
+ export declare function assertDecisionsCoherent(params: {
19
+ groups: DecisionGroup[];
20
+ decisions: DecisionMap;
21
+ }): void;
22
+ /**
23
+ * Collect the record ids reconcile may write, from every accepted group's
24
+ * primary + companions. Added/modified nodes contribute their `sourceRef`
25
+ * (reconcile matches/adds by source); removed nodes contribute `instanceRef`.
26
+ */
27
+ export declare function acceptedRefIds(params: {
28
+ groups: DecisionGroup[];
29
+ decisions: DecisionMap;
30
+ }): AcceptedIds;
31
+ //# sourceMappingURL=decide.d.ts.map
@@ -0,0 +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,EAAE,aAAa,EAAE,WAAW,EAAY,aAAa,EAAE,MAAM,cAAc,CAAA;AAEvF,0EAA0E;AAC1E,wBAAgB,cAAc,CAAC,QAAQ,EAAE,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAIrF;AAYD;;;;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;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE;IACtC,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,WAAW,CAad"}
@@ -0,0 +1,12 @@
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);
4
+ * `instanceIds` gate deletes (matched by the instance element).
5
+ */
6
+ export type AcceptedIds = {
7
+ sourceIds: ReadonlySet<string>;
8
+ instanceIds: ReadonlySet<string>;
9
+ };
10
+ /** source-element id -> user-edited values for that element's editable attributes. */
11
+ export type CollisionOverrides = ReadonlyMap<string, Record<string, string>>;
12
+ //# sourceMappingURL=decide.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decide.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/decide.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACzB,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC9B,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAChC,CAAA;AAED,sFAAsF;AACtF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA"}
@@ -0,0 +1,30 @@
1
+ import { DiffReport } from './diff.types';
2
+ import { Config } from '../../../config';
3
+ import { AnyRefOrRecord } from '@dialecte/core';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * Engine diff (ENGINE.md §3): compares an (updated) template subtree against the
7
+ * existing instance, matched by `templateUuid` (= the source element's `uuid`),
8
+ * and produces a structured `DiffReport`. This is the read-only "project then
9
+ * diff" report — the same-space comparison the apply/reconcile step consumes.
10
+ *
11
+ * Classification (fast vs full): a missing instance = first-time instantiate =
12
+ * fast (headless); an existing instance with any change = full (needs decisions).
13
+ * Deliberately scoped: one subtree, matched by `templateUuid`, no reference
14
+ * reconciliation or multi-instance disambiguation.
15
+ */
16
+ export declare function diff(params: {
17
+ sourceQuery: Core.Query<Config>;
18
+ targetQuery: Core.Query<Config>;
19
+ sourceRootRef: AnyRefOrRecord;
20
+ /** Omit (or pass a ref that resolves to nothing) for a first-time instantiate. */
21
+ instanceRootRef?: AnyRefOrRecord;
22
+ }): Promise<DiffReport>;
23
+ /**
24
+ * Combine several reports into one (e.g. an ASD's application-layer report plus
25
+ * one per composed function). `root` keeps the first report's tree; `groups` is
26
+ * the concatenation (the full-track decision surface); `summary` sums; and
27
+ * `needsDecisions` is true if any part needs a decision.
28
+ */
29
+ export declare function mergeReports(reports: [DiffReport, ...DiffReport[]]): DiffReport;
30
+ //# sourceMappingURL=diff.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/diff.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAA6B,UAAU,EAAe,MAAM,cAAc,CAAA;AACtF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,gBAAgB,CAAA;AAKnE;;;;;;;;;;GAUG;AACH,wBAAsB,IAAI,CAAC,MAAM,EAAE;IAClC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,aAAa,EAAE,cAAc,CAAA;IAC7B,kFAAkF;IAClF,eAAe,CAAC,EAAE,cAAc,CAAA;CAChC,GAAG,OAAO,CAAC,UAAU,CAAC,CA0CtB;AA+HD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,EAAE,CAAC,GAAG,UAAU,CAmB/E"}
@@ -0,0 +1,121 @@
1
+ import { EditableAttribute } from '../constraints';
2
+ import { AnyRefOrRecord } from '@dialecte/core';
3
+ /** How a diffed element changed between the (updated) template and the instance. */
4
+ export type DiffChange = 'added' | 'removed' | 'modified' | 'unchanged';
5
+ export type AttributeChange = {
6
+ name: string;
7
+ before?: string;
8
+ after?: string;
9
+ };
10
+ export type DiffNode = {
11
+ change: DiffChange;
12
+ tagName: string;
13
+ /** Source (template) element — present for `added` / `modified` / `unchanged`. */
14
+ sourceRef?: AnyRefOrRecord;
15
+ /** Instance element — present for `removed` / `modified` / `unchanged`. */
16
+ instanceRef?: AnyRefOrRecord;
17
+ /** Attribute deltas — present for `modified`. */
18
+ attributeChanges?: AttributeChange[];
19
+ children: DiffNode[];
20
+ };
21
+ export type DiffSummary = {
22
+ added: number;
23
+ removed: number;
24
+ modified: number;
25
+ };
26
+ /**
27
+ * An identity-locked placement collision on a decision group's primary: every field
28
+ * of the violated uniqueness constraint is identity (none editable), so the engine
29
+ * cannot differentiate a copy. `adoptTargetId` is the existing element the primary is
30
+ * identity-equal to (the reconcile target when the user chooses to adopt).
31
+ */
32
+ export type GroupConflict = {
33
+ fields: string[];
34
+ adoptTargetId: string;
35
+ };
36
+ /**
37
+ * A decision unit for the full track (ENGINE.md §8, 07 §3.1). The user decides
38
+ * on a GROUP, never on an individual element.
39
+ *
40
+ * - `primary` is the recognizable change ("add Function X").
41
+ * - `companions` are its dependent changes that TRAVEL with it (structural
42
+ * content now; reference-linked satellites / type-closure / provenance are a
43
+ * follow-up). They are display-only — never independently toggled.
44
+ * - `dependsOn` are group ids this group requires (skip a parent → its
45
+ * dependents are disabled). Empty in the first slice.
46
+ */
47
+ export type DecisionGroup = {
48
+ /** Stable key of the primary; also the key in the `decisions` map. */
49
+ id: string;
50
+ change: Exclude<DiffChange, 'unchanged'>;
51
+ /** Coarse label (`"<change> <tag>"`); the UI enriches it via `extractElementTitle(primary.sourceRef ?? instanceRef)`. */
52
+ title: string;
53
+ primary: DiffNode;
54
+ companions: DiffNode[];
55
+ dependsOn: string[];
56
+ suggestedAction: 'accept';
57
+ /**
58
+ * The primary element's user-editable attributes with their edit mode
59
+ * (schema-derived via the attribute classifier), tagged at report time so the UI
60
+ * renders inputs directly from the report without re-deriving. Omitted until the
61
+ * report surface tags it.
62
+ */
63
+ editableAttributes?: EditableAttribute[];
64
+ /**
65
+ * Set at report time when placing the primary would violate a scoped-uniqueness
66
+ * constraint whose fields are ALL identity (non-editable) — the engine cannot make
67
+ * a distinct copy, so `instantiate` cannot duplicate it. The group then needs a
68
+ * decision: `skip` (leave the existing element) or `accept` = **adopt** (reconcile
69
+ * the template onto `adoptTargetId`, i.e. update that existing element in place).
70
+ * Omitted when there is no collision or the collision is resolvable (an editable
71
+ * field is bumped instead — see {@link EditableAttribute.conflict}).
72
+ */
73
+ conflict?: GroupConflict;
74
+ /**
75
+ * The id of the instance root this group belongs to, when several instances of one
76
+ * template are reported together (multi-instance). Lets the decision layer target a
77
+ * SUBSET of instances and lets apply partition groups per instance. Omitted for a
78
+ * first-time instantiate (no instance yet).
79
+ */
80
+ instanceScopeId?: string;
81
+ /**
82
+ * Human-readable title of the instance root (`extractElementTitle`), tagged at the
83
+ * report surface so a multi-instance UI can label each instance section (e.g. `Prot`
84
+ * vs `Prot_1`) without resolving the element itself. Omitted for a first-time
85
+ * instantiate.
86
+ */
87
+ instanceScopeTitle?: string;
88
+ };
89
+ export type DiffReport = {
90
+ root: DiffNode;
91
+ /**
92
+ * One root per instance in the report. A single diff carries `[root]`; a merged
93
+ * multi-instance report carries every instance's root (both layers for an ASD), so
94
+ * a UI can render each instance's full tree (unchanged context included) directly.
95
+ */
96
+ roots: DiffNode[];
97
+ /** The change tree folded into accept/skip units — the full-track surface. */
98
+ groups: DecisionGroup[];
99
+ /**
100
+ * `false` = fast track (apply headless): either a first-time instantiate (no
101
+ * existing instance) or nothing changed. `true` = full track: the instance
102
+ * exists and something changed, so the caller must resolve decisions.
103
+ */
104
+ needsDecisions: boolean;
105
+ summary: DiffSummary;
106
+ };
107
+ /**
108
+ * A user's choice on one decision group. Either a plain accept/skip, or an object
109
+ * carrying edited `values` for the primary's editable attributes (applied on accept —
110
+ * e.g. a user-chosen name that overrides the auto-resolved collision value).
111
+ */
112
+ export type GroupDecision = 'accept' | 'skip' | {
113
+ action: 'accept' | 'skip';
114
+ values?: Record<string, string>;
115
+ };
116
+ /**
117
+ * The consumer's decisions, keyed by `DecisionGroup.id`. A group absent from the
118
+ * map takes its `suggestedAction` (accept). So an empty map = accept everything.
119
+ */
120
+ export type DecisionMap = Map<string, GroupDecision>;
121
+ //# sourceMappingURL=diff.types.d.ts.map
@@ -0,0 +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;AACpF,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,CAAA;AAEvE,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,MAAM,EAAE,UAAU,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,kFAAkF;IAClF,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,2EAA2E;IAC3E,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAA;IACpC,QAAQ,EAAE,QAAQ,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9E;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;CACrB,CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,aAAa,GAAG;IAC3B,sEAAsE;IACtE,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,OAAO,CAAC,UAAU,EAAE,WAAW,CAAC,CAAA;IACxC,yHAAyH;IACzH,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,QAAQ,CAAA;IACjB,UAAU,EAAE,QAAQ,EAAE,CAAA;IACtB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,eAAe,EAAE,QAAQ,CAAA;IACzB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACxC;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ,CAAA;IACd;;;;OAIG;IACH,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,8EAA8E;IAC9E,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAA;IACvB,OAAO,EAAE,WAAW,CAAA;CACpB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACtB,QAAQ,GACR,MAAM,GACN;IAAE,MAAM,EAAE,QAAQ,GAAG,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAAA;AAEjE;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { DecisionGroup, DiffNode } from './diff.types';
2
+ /**
3
+ * Group stage (ENGINE.md §8, 07 §3.1): fold the `DiffNode` change tree into
4
+ * accept/skip decision units.
5
+ *
6
+ * v1 rule (structural): each **topmost** changed node (its ancestors are all
7
+ * unchanged) becomes a group `primary`; every changed node beneath it becomes a
8
+ * `companion` that travels with it (untoggleable). Separate top-level changed
9
+ * regions become separate groups.
10
+ *
11
+ * Deliberately deferred (follow-ups, kept out of the frozen shape's meaning):
12
+ * reference-linked companions (satellites via the ownership map + ref pairs),
13
+ * and `dependsOn` edges for nested-independent changes — both currently empty.
14
+ */
15
+ export declare function groupChanges(root: DiffNode, instanceScopeId?: string): DecisionGroup[];
16
+ //# sourceMappingURL=group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE3D;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,aAAa,EAAE,CAItF"}
@@ -0,0 +1,8 @@
1
+ export { diff, mergeReports } from './diff';
2
+ export { groupChanges } from './group';
3
+ export { reconcile } from './reconcile';
4
+ export { acceptedRefIds, assertDecisionsCoherent, collisionOverrides, decisionAction, } from './decide';
5
+ export { visibleAttributes } from './visible-attributes';
6
+ export type { AcceptedIds, CollisionOverrides } from './decide.types';
7
+ export type * from './diff.types';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EACN,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,cAAc,GACd,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAExD,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,mBAAmB,cAAc,CAAA"}
@@ -0,0 +1,2 @@
1
+ export type { AttributeChange, DecisionGroup, DecisionMap, DiffChange, DiffNode, DiffReport, DiffSummary, GroupConflict, GroupDecision, } from './diff.types';
2
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/public.ts"],"names":[],"mappings":"AAGA,YAAY,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,UAAU,EACV,QAAQ,EACR,UAAU,EACV,WAAW,EACX,aAAa,EACb,aAAa,GACb,MAAM,cAAc,CAAA"}
@@ -0,0 +1,37 @@
1
+ import { AcceptedIds, CollisionOverrides } from './decide.types';
2
+ import { Config } from '../../../config';
3
+ import { AnyRefOrRecord } from '@dialecte/core';
4
+ import type * as Core from '@dialecte/core';
5
+ /**
6
+ * Engine apply-core (ENGINE.md §3/§8): reconcile an updated template subtree
7
+ * (`sourceRootRef`) ONTO an existing instance (`instanceRootRef`) instead of
8
+ * duplicating it. Elements match by `templateUuid` (= the source element's
9
+ * `uuid`, immutable across template versions):
10
+ *
11
+ * - matched element -> update its user-visible attributes in place
12
+ * - new source element -> add its subtree under the matched parent
13
+ * (`transplant.deep` + `writeIdentity` stamp)
14
+ * - instance element whose template lineage no longer exists in the source
15
+ * -> delete
16
+ *
17
+ * This is the "project then diff" apply half: because the instance is already
18
+ * in instance-space, comparing source (template) to instance is clean once
19
+ * identity + the project-owned `name` are excluded. Deliberately scoped: no
20
+ * reference reconciliation and no multi-instance anchor disambiguation yet.
21
+ */
22
+ export declare function reconcile(tx: Core.Transaction<Config>, params: {
23
+ sourceQuery: Core.Query<Config>;
24
+ sourceRootRef: AnyRefOrRecord;
25
+ instanceRootRef: AnyRefOrRecord;
26
+ /**
27
+ * When present, only elements in these accepted record-id sets are written
28
+ * (full-track decision gating). Omit to apply every change (fast track).
29
+ */
30
+ accepted?: AcceptedIds;
31
+ /**
32
+ * User-edited values per source element id (full track). Applied to a added
33
+ * element before its placement collision is resolved. Omit for auto-resolve only.
34
+ */
35
+ overrides?: CollisionOverrides;
36
+ }): Promise<void>;
37
+ //# sourceMappingURL=reconcile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reconcile.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/reconcile.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,gBAAgB,CAAA;AAKnE;;;;;;;;;;;;;;;;GAgBG;AAEH,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,aAAa,EAAE,cAAc,CAAA;IAC7B,eAAe,EAAE,cAAc,CAAA;IAC/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE,kBAAkB,CAAA;CAC9B,GACC,OAAO,CAAC,IAAI,CAAC,CAgCf"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The attributes that take part in the same-space content diff/reconcile:
3
+ * everything except identity (`uuid`/`templateUuid`/`originUuid`), the
4
+ * project-owned `name`, and reference attributes.
5
+ */
6
+ export declare function visibleAttributes(attributes: Record<string, string>): Record<string, string>;
7
+ //# sourceMappingURL=visible-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visible-attributes.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/visible-attributes.ts"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAO5F"}
@@ -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/extract/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -1,10 +1,10 @@
1
- import { Scl, Config } from '../../../../../config';
1
+ import { Scl, Config } from '../../../../config';
2
2
  import type * as Core from '@dialecte/core';
3
- export declare function toAsd(tx: Core.Transaction<Config>, params: {
3
+ export declare function asd(tx: Core.Transaction<Config>, params: {
4
4
  sourceQuery: Core.Query<Config>;
5
5
  applicationRef: Scl.Ref<'Application'>;
6
6
  tool: Scl.AttributesValueObjectOf<'Header'>['toolID'];
7
7
  who: Scl.AttributesValueObjectOf<'Hitem'>['who'];
8
8
  nameStructure?: Scl.AttributesValueObjectOf<'Header'>['nameStructure'];
9
9
  }): Promise<void>;
10
- //# sourceMappingURL=to-asd.d.ts.map
10
+ //# sourceMappingURL=asd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/asd.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,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,IAAI,EAAE,GAAG,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAA;IACrD,GAAG,EAAE,GAAG,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAA;IAChD,aAAa,CAAC,EAAE,GAAG,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,CAAA;CACtE,GACC,OAAO,CAAC,IAAI,CAAC,CAyBf"}
@@ -1,4 +1,4 @@
1
- import { Scl, Config } from '../../../../../config';
1
+ import { Scl, Config } from '../../../../config';
2
2
  import type * as Core from '@dialecte/core';
3
3
  export declare function ensureSubstationTemplateStructure(tx: Core.Transaction<Config>): Promise<{
4
4
  Substation: Scl.RawRecord<'Substation'>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensure-substation-structure.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/ensure-substation-structure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,wBAAsB,iCAAiC,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;IAC9F,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,CAAC,CAuBD"}
@@ -1,10 +1,10 @@
1
- import { Scl, Config } from '../../../../../config';
1
+ import { Scl, Config } from '../../../../config';
2
2
  import type * as Core from '@dialecte/core';
3
- export declare function toFsd(tx: Core.Transaction<Config>, params: {
3
+ export declare function fsd(tx: Core.Transaction<Config>, params: {
4
4
  sourceQuery: Core.Query<Config>;
5
5
  functionRef: Scl.Ref<'Function'> | Scl.Ref<'SubFunction'>;
6
6
  tool: Scl.AttributesValueObjectOf<'Header'>['toolID'];
7
7
  who: Scl.AttributesValueObjectOf<'Hitem'>['who'];
8
8
  nameStructure?: Scl.AttributesValueObjectOf<'Header'>['nameStructure'];
9
9
  }): Promise<void>;
10
- //# sourceMappingURL=to-fsd.d.ts.map
10
+ //# sourceMappingURL=fsd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fsd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/fsd.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,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,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACzD,IAAI,EAAE,GAAG,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAA;IACrD,GAAG,EAAE,GAAG,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAA;IAChD,aAAa,CAAC,EAAE,GAAG,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,CAAA;CACtE,GACC,OAAO,CAAC,IAAI,CAAC,CAyCf"}
@@ -0,0 +1,4 @@
1
+ export { ensureSubstationTemplateStructure } from './ensure-substation-structure';
2
+ export { asd } from './asd';
3
+ export { fsd } from './fsd';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAA;AACjF,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Config } from '../../../../../config';
1
+ import { Config } from '../../../../config';
2
2
  import { OmitEntry } from '@dialecte/core';
3
3
  export declare const FSD_OMIT: OmitEntry<Config>[];
4
4
  //# sourceMappingURL=omit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omit.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/omit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,eAAO,MAAM,QAAQ,EAAE,SAAS,CAAC,MAAM,CAAC,EAUvC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Config } from '../../../../../config';
1
+ import { Config } from '../../../../config';
2
2
  import type * as Core from '@dialecte/core';
3
3
  /**
4
4
  * Universal post-extraction cleanup run after cloning records into a target DB.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-extraction-cleanup.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/extract/transaction/post-extraction-cleanup.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAIvF"}
@@ -0,0 +1,44 @@
1
+ import { apply } from './apply';
2
+ import { report } from './report';
3
+ import { deep } from './transplant';
4
+ import * as extractTransaction from './extract';
5
+ import * as instantiateTransaction from './instantiate';
6
+ import * as updateTransaction from './update';
7
+ /**
8
+ * SCL content lifecycle — the verbs that move template/instance content across
9
+ * documents, grouped under a single `lifecycle` module so consumers get one
10
+ * stable, discoverable surface: `tx.lifecycle.<verb>.<recipe>` /
11
+ * `query.lifecycle.<verb>.<recipe>`.
12
+ *
13
+ * - `extract` — pull an element out into a template FSD/ASD
14
+ * (`tx.lifecycle.extract.fsd` / `.asd` /
15
+ * `.ensureSubstationTemplateStructure`).
16
+ * - `instantiate` — instantiate template content into a project
17
+ * (`tx.lifecycle.instantiate.fsd` / `.asd`).
18
+ * - `transplant` — generic clone engine (`tx.lifecycle.transplant.deep`).
19
+ * - `update` — instantiate-or-reconcile a project against a newer template
20
+ * (`tx.lifecycle.update.fsd` / `.asd` apply the change).
21
+ * - `report` — read-only classify: `query.lifecycle.report({ verb,
22
+ * sourceQuery, ref, anchor })` returns a `DiffReport`
23
+ * (fast/full classification) — nothing is written.
24
+ *
25
+ * Two-track surface (verb-agnostic, ENGINE.md §6): `query.lifecycle.report(...)`
26
+ * classifies, then `tx.lifecycle.apply(tx, { ..., report })` applies the fast
27
+ * track headless (full track returns the report for decision review — nothing is
28
+ * written until decisions come back).
29
+ */
30
+ export declare const lifecycle: {
31
+ query: {
32
+ report: typeof report;
33
+ };
34
+ transaction: {
35
+ extract: typeof extractTransaction;
36
+ instantiate: typeof instantiateTransaction;
37
+ transplant: {
38
+ deep: typeof deep;
39
+ };
40
+ update: typeof updateTransaction;
41
+ apply: typeof apply;
42
+ };
43
+ };
44
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2019C1/extensions/lifecycle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAA;AAC/C,OAAO,KAAK,sBAAsB,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAA;AAE7C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAWrB,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { Scl, Config } from '../../../config';
2
+ import type * as Core from '@dialecte/core';
3
+ /**
4
+ * The `uuid`s of every Function an Application composes — collected from the
5
+ * `functionUuid` of each `FunctionRef` in the Application subtree. Shared by the
6
+ * `update.fromAsd` apply cascade and the `reportAsd` report cascade so both walk
7
+ * the composed-function set identically.
8
+ */
9
+ export declare function collectComposedFunctionUuids(sourceQuery: Core.Query<Config>, applicationRef: Scl.Ref<'Application'>): Promise<Set<string>>;
10
+ //# sourceMappingURL=composed-functions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composed-functions.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/instance/composed-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAG3C;;;;;GAKG;AACH,wBAAsB,4BAA4B,CACjD,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,GACpC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAKtB"}