DecodeDeclaration.grants: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/decode_declaration.bend as DecodeDeclaration Lines 25-26 of bendvy-ecs-core@0.1.0.4/decode_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/decode_declaration.bend&start_line=25&end_line=26 import Base import bendvy-ecs-core@0.1.0.4/decode_frame.bend as F import bendvy-ecs-core@0.1.0.4/decode_owned_component.bend as OwnedWrite import bendvy-ecs-core@0.1.0.4/decode_requests.bend as Request import bendvy-ecs-core@0.1.0.4/world.bend as W import bendvy-ecs-core@0.1.0.4/column.bend as Col import bendvy-ecs-core@0.1.0.4/component.bend as Cmp import bendvy-ecs-core@0.1.0.4/bundle_install.bend as Install import bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend as Identity import bendvy-ecs-core@0.1.0.4/decode_data.bend as D def grants(~S:Data,~Store:Type,~R:Type,~E:Data,~P:Type,~Q:Type,~V:Data,~Rest:Type,~Token:Data,~identity:Identity.Declaration,~project:P -> P & D.Raw,~view:P -> P & V,~take:Store -> Rest & Col.Column,~put:Rest -> Col.Column -> Store,~install:W.World -> W.Handle -> Request.Packet

-> Install.Attempt,Request.Packet

,Q>) -> Ops>: Ops{F.read_grant(~S,~Store,~R,~E,~P,~Q,~V,~identity,~project,~read_grant(~S,~Store,~R,~E,~P,~Q,~V,~Rest,~Token,~identity,~project,~view,~take,~put,~install)),OwnedWrite.grant(~S,~Store,~R,~E,~P,~Q,~identity,~project,~Rest,~V,~Token,~take,~put,~view,~Cmp.Family{Identity.key(~S,~P,identity)}),F.spawn_grant(~S,~Store,~R,~E,~P,~Q,~identity,~project,~install),F.request_grant(~S,~Store,~R,~E,~P,~Q,~identity,~project),F.resource_grant(~S,~Store,~R,~E,~P,~Q,~identity,~project)} Uses (18): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/bundle_install.bend&name=Attempt https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/column.bend&name=Column https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&name=Family https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_data.bend&name=Raw https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_declaration.bend&name=Ops https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_declaration.bend&name=read_grant https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_frame.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_frame.bend&name=read_grant https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_frame.bend&name=request_grant https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_frame.bend&name=resource_grant https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_frame.bend&name=spawn_grant https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_owned_component.bend&name=grant https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_requests.bend&name=Packet https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend&name=key https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World