def descriptor

bendvy-ecs-core@0.1.0.4 · ordinary_app_relation.bend:20

import bendvy-ecs-core@0.1.0.4/ordinary_app_relation.bend as OrdinaryAppRelation
import Base
import bendvy-ecs-core@0.1.0.4/relation_failure_reader.bend as Ord
import bendvy-ecs-core@0.1.0.4/relation_types.bend as G

20# One trusted ordinary relation declaration drives operational grants and view.
21# Trusted setup projection of the retained relation declaration. The descriptor
22# selects operational authority; presentation strings do not create another grant.
23def descriptor(~S:Data,declaration:Ord.Declaration<S>) -> G.Descriptor<S>:
24  match declaration:
25    case Ord.Declaration{value}:value

Uses (2)

Used by (6)