def binding
bendvy-ecs-core@0.1.0.4 · ordinary_app_description.bend:22
import bendvy-ecs-core@0.1.0.4/ordinary_app_description.bend as OrdinaryAppDescription
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_app_registration_fields.bend as Records
import bendvy-ecs-core@0.1.0.4/ordinary_app_observation_data.bend as DTO
22def binding(~S:Data,fields:Records.Fields<S>) -> DTO.Binding<S>:
23 match fields:
24 case Records.Fields{+namespace,+id,+name,+access,+cursor,+slot,retained,kind}:DTO.Binding{namespace,id,name,access,cursor,slot,clauses(~S,kind,access,retained)}