def kind
import bendvy-ecs-core@0.1.0.4/ordinary_check_relation.bend as OrdinaryCheckRelationimport Base
import bendvy-ecs-core@0.1.0.4/ordinary_check_declaration.bend as D
import bendvy-ecs-core@0.1.0.4/relation_types.bend as G
12# All metadata comes from the same closed operational declaration.
13def kind(value:G.RelationKind) -> D.RelationKind:
14 match value:
15 case G.Ordinary{}:D.Ordinary{}
16 case G.Hierarchy{}:D.Hierarchy{}