~/bend-docscommunity

ordinary_app_optional_resource.bend checks

raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_optional_resource.bend as Ordinary_app_optional_resource

15 imports
import Base
import ./ordinary_query_declaration.bend as Query
import ./ordinary_app_composer.bend as Build
import ./ordinary_app_registration_fields.bend as Records
import ./ordinary_app_records.bend as Leaf
import ./ordinary_app_recipe.bend as Tree
import ./ordinary_optional_resource_observation.bend as Leaves
import ./world.bend as W
import ./system.bend as Sys
import ./transaction.bend as T
import ./ordinary_optional_resource_system.bend as P
import ./ordinary_resource_field_system.bend as Field
import ./check.bend as K
import ./ordinary_optional_resource_declaration.bend as D
import ./ordinary_app_observation_data.bend as DTO

Templates

template field_owner source · line 17 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Args:Data -> @-Out:Type -> @-runner:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> @_:Args -> 0x67fd5084c1da4adc13317822045bb11f/system.Outcome<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out>) -> @-clauses:List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_query_declaration.Clause<S>> -> @slot:String -> @owner:0x67fd5084c1da4adc13317822045bb11f/ordinary_resource_field_system.Owner<S, 0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, runner>, clauses> -> Pair(0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, runner>>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>)

template extracted source · line 22 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-Ops:(@_:Type -> Type) -> @-Args:Data -> @-Out:Type -> @-Value:Data -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_declaration.Declaration<S, C, R, E, Ops, Value> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Args -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/check.Error>, Out))) -> @-Output:Type -> @done:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.Record<S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>>), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Product<Rows, Value>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_recipe.observe_pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Rows, Value, observe, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_observation.resource_observe(S, C, R, E, Ops, Value, declaration)), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.fold_pair(S, Owners, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.Record<S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>>, fold, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.observed(S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>))> -> Output) -> @failed:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, observe, fold> -> Output) -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> @owners:Owners -> @debug:Bool -> @result:Pair(0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>) -> Output

The same ordinary resource declaration drives registration, observation and metadata.

template defined source · line 25 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-Ops:(@_:Type -> Type) -> @-Args:Data -> @-Out:Type -> @-Value:Data -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_declaration.Declaration<S, C, R, E, Ops, Value> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Args -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/check.Error>, Out))) -> @-Output:Type -> @done:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.Record<S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>>), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Product<Rows, Value>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_recipe.observe_pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Rows, Value, observe, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_observation.resource_observe(S, C, R, E, Ops, Value, declaration)), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.fold_pair(S, Owners, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.Record<S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>>, fold, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.observed(S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>))> -> Output) -> @failed:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, observe, fold> -> Output) -> @owners:Owners -> @recipe:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_recipe.Recipe<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Rows, observe> -> @debug:Bool -> @slot:String -> @result:0x67fd5084c1da4adc13317822045bb11f/ordinary_resource_field_system.Defined<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_resource_field_system.clauses(S, 0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, E>, Ops(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, E>), 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_declaration.ordinary(S, C, R, E, Ops, Value, declaration))> -> Output

template register source · line 29 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Fields<S>>)) -> @-Ops:(@_:Type -> Type) -> @-Args:Data -> @-Out:Type -> @-Value:Data -> @-declaration:0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_declaration.Declaration<S, C, R, E, Ops, Value> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:Args -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/check.Error>, Out))) -> @-Output:Type -> @done:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Pair(Owners, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.Record<S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>>), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_observation_data.Product<Rows, Value>, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_recipe.observe_pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Rows, Value, observe, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_observation.resource_observe(S, C, R, E, Ops, Value, declaration)), 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.fold_pair(S, Owners, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.Record<S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>>, fold, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_records.observed(S, 0x67fd5084c1da4adc13317822045bb11f/ordinary_app_registration_fields.Token<0x67fd5084c1da4adc13317822045bb11f/system.Registry<S, C, R, E, Args, 0x67fd5084c1da4adc13317822045bb11f/check.Error, Out, 0x67fd5084c1da4adc13317822045bb11f/ordinary_optional_resource_system.runner(S, C, R, E, Ops, Args, Out, Value, declaration, body)>>))> -> Output) -> @failed:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, observe, fold> -> Output) -> @app:0x67fd5084c1da4adc13317822045bb11f/ordinary_app_composer.Registered<S, 0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, Owners, Rows, observe, fold> -> @name:String -> @slot:String -> Output