ordinary_optional_resource_declaration.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/ordinary_optional_resource_declaration.bend as Ordinary_optional_resource_declaration
11 imports
import Base import ./ordinary_optional_resource.bend as O import ./optional_resource_binding.bend as B import ./ordinary_schema.bend as Schema import ./owner_product.bend as Product import ./ordinary_resource_field_system.bend as Field import ./ordinary_query_declaration.bend as Q import ./world.bend as W import ./resource.bend as Resource import ./transaction.bend as T import ./capabilities.bend as Cap
Types
type Declaration source · line 13 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-V:Data -> Type
One declaration carries actual operation, preflight and owner-return observer.
Declaration@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-V:Data -> @ordinary:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_field_system.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> @required:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, String>)) -> @observe:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, V)) -> @render:(@_:V -> String) -> Declaration<S, C, R, E, Ops, V>
Templates
template Ops source · line 15 · raw
@-S:Data -> @-P:Type -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_schema.Resource<S, P> -> @-V:Data -> @H:Type -> Type
template provided source · line 17 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, String>)
template built source · line 19 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Rest:Type -> @-V:Data -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_schema.Resource<S, P> -> @-lens:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_optional_resource.Slot<S, P, identity>, Rest> -> @-binding:0x14a72e1c180a5ab1f8a056d43822425c/optional_resource_binding.Binding<S, R, P, Rest, identity, lens> -> @-view:(@_:P -> Pair(P, V)) -> @required:(@_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, String>)) -> @render:(@_:Maybe<&2, V> -> String) -> Declaration<S, C, R, E, Ops(S, P, identity, V), Maybe<&2, V>>
template optional source · line 21 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Rest:Type -> @-V:Data -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_schema.Resource<S, P> -> @-lens:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_optional_resource.Slot<S, P, identity>, Rest> -> @-binding:0x14a72e1c180a5ab1f8a056d43822425c/optional_resource_binding.Binding<S, R, P, Rest, identity, lens> -> @-view:(@_:P -> Pair(P, V)) -> @render:(@_:Maybe<&2, V> -> String) -> Declaration<S, C, R, E, Ops(S, P, identity, V), Maybe<&2, V>>
template required source · line 23 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Rest:Type -> @-V:Data -> @-identity:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_schema.Resource<S, P> -> @-lens:0x14a72e1c180a5ab1f8a056d43822425c/owner_product.Lens<R, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_optional_resource.Slot<S, P, identity>, Rest> -> @-binding:0x14a72e1c180a5ab1f8a056d43822425c/optional_resource_binding.Binding<S, R, P, Rest, identity, lens> -> @-view:(@_:P -> Pair(P, V)) -> @render:(@_:Maybe<&2, V> -> String) -> Declaration<S, C, R, E, Ops(S, P, identity, V), Maybe<&2, V>>
template PairOps source · line 25 · raw
@-L:(@_:Type -> Type) -> @-Right:(@_:Type -> Type) -> @H:Type -> Type
template with source · line 28 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:(@_:Type -> Type) -> @-Right:(@_:Type -> Type) -> @-V:Data -> @left:Declaration<S, C, R, E, L, V> -> @right:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_field_system.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Right(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)> -> Declaration<S, C, R, E, PairOps(L, Right), V>
Extra operational grants describe distinct actual fields, not a metadata mirror.
template ordinary source · line 31 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-V:Data -> @declaration:Declaration<S, C, R, E, Ops, V> -> 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_resource_field_system.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>, Ops(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, E>)>
template preflight source · line 34 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-V:Data -> @declaration:Declaration<S, C, R, E, Ops, V> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, List<&2, String>)
template observer source · line 37 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-V:Data -> @declaration:Declaration<S, C, R, E, Ops, V> -> @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, C, R, E>, V)
template presenter source · line 40 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-V:Data -> @declaration:Declaration<S, C, R, E, Ops, V> -> @_:V -> String
template names source · line 43 · raw
@-S:Data -> @clauses:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Clause<S>> -> String
template name source · line 48 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-V:Data -> @declaration:Declaration<S, C, R, E, Ops, V> -> String