type Tree
import bendvy-ecs-core@0.1.0.3/feature.bend as Featureimport Base
import bendvy-ecs-core@0.1.0.3/schema_fragments.bend as SF
12# Recursive author metadata contains no payload owners or gameplay authority.
13# Detached feature selection metadata with named dependencies and schema
14# entries. A dependency reference does not automatically select/build it;
15# selected features must include required names. Owns no live world or payload.
16type Tree<S:Data> is Data:
17 Empty{}
18 Feature{name:String,entries:List<&2,SF.Entry<S>>,dependencies:Tree<S>}
19 Sequence{left:Tree<S>,right:Tree<S>}