def relations

bendvy-ecs-core@0.1.0.4 · inspector_relation_projection.bend:48

import bendvy-ecs-core@0.1.0.4/inspector_relation_projection.bend as InspectorRelationProjection
import Base
import inspector_query_projection.bend as Select
import inspector.bend as I
import relation_commands.bend as A
import relation_query.bend as RQ

48# Closed relation requirement list supports both directions, required/optional,
49# presence/absence filters and every declared projection key/order unchanged.
50def relations(~S:Data,~C:Type,~R:Type,~E:Data,~spec:RQ.Spec<S>) -> Select.DeclaredSelection<I.Frame<S,A.Store<S,C>,R,A.Notice<S,E>>,S,List<&2,RQ.Cell<S>>>:
51  Select.DeclaredSelection{matches(~S,~C,~R,~E,~spec),project(~S,~C,~R,~E,~spec)}

Uses (9)

Used by (0)

No other definition uses this definition.