Class: CompositionEngine¶
Constructors¶
Constructor¶
Parameters¶
| Parameter | Type |
|---|---|
host |
ManifestInstance |
Returns¶
CompositionEngine
Methods¶
consumersOf()¶
Walk the manifest and return every doc that references this one.
Equivalent to mi.consumersOf(kind, name).
Parameters¶
| Parameter | Type |
|---|---|
kind |
string |
name |
string |
Returns¶
{
kind: string;
name: string;
}[]
dependencyTree()¶
Build a dependency tree for the manifest.
Equivalent to mi.dependencyTree().
Returns¶
Record\<string, unknown>
iterDocDeps()¶
Iterate a document's declared dep_filters dynamically.
Equivalent to mi.iterDocDeps(doc).
Parameters¶
| Parameter | Type |
|---|---|
doc |
Document |
Returns¶
{
label: string;
names: string[];
targetKind: string;
}[]
validate()¶
Validate all composition references over the MI plane.
Equivalent to mi.compositionResult. Delegates to validateRefs —
records are excluded from the MI materialization, so record-target
refs land in deferred (they resolve lazily via the kernel record
plane at read time).