def grant

bendvy-ecs-core@0.1.0.3 · decode_construction.bend:24

import bendvy-ecs-core@0.1.0.3/decode_construction.bend as DecodeConstruction
import Base
import ordinary_declaration.bend as Identity
import decode_data.bend as D
import bundle_construction.bend as Build
import capabilities.bend as Cap

24# Constructed output or exact refused raw owner crosses only an owned grant.
25def grant(~S:Data,~I:Type,~P:Type,~identity:Identity.Declaration<S,P>,~project:P -> P & D.Raw,~incoming:I -> I & D.Raw,~build:I -> D.Raw -> Build.Construction<I,P,D.Error>) -> Cap.OwnedRequest<Factory<S,I,P,identity,project,incoming,build>,I,Build.Construction<I,P,D.Error>>:
26  Cap.OwnedRequest{factory => input => request(~S,~I,~P,~identity,~project,~incoming,~build,factory,input)}

Uses (8)

Used by (1)