~/bend-docscommunity

ordinary_service_request.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.2/ordinary_service_request.bend as Ordinary_service_request

11 imports
import Base
import ./clock_state.bend as Clock
import ./capabilities.bend as Cap
import ./ordinary_service_declaration.bend as Service
import ./schema_fragments.bend as Fragment
import ./schedule_provision.bend as Provision
import ./world.bend as W
import ./transaction.bend as T
import ./trace_facts.bend as Trace
import ./deferred_command.bend as Deferred
import ./entity_allocator.bend as Alloc

Types

type Identity source · line 13 · raw

@-S:Data -> @-Input:Type -> @-Output:Type -> Data

type Declaration source · line 15 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> Data

type RequestResult source · line 17 · raw

@-Input:Type -> @-Output:Type -> Type

type Grant source · line 20 · raw

@-S:Data -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-H:Type -> Type

Templates

template declare source · line 22 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> Declaration<S, R, P, Rest, Input, Output, identity, take, put, call>

template key source · line 24 · raw

@-S:Data -> @-Input:Type -> @-Output:Type -> @identity:Identity<S, Input, Output> -> String

template requirement source · line 27 · raw

@-S:Data -> @-Input:Type -> @-Output:Type -> @identity:Identity<S, Input, Output> -> 0xb2b0f04555daca474f0f77d0966945c9/schedule_provision.Requirement<S>

template entry source · line 30 · raw

@-S:Data -> @-Input:Type -> @-Output:Type -> @identity:Identity<S, Input, Output> -> 0xb2b0f04555daca474f0f77d0966945c9/schema_fragments.Entry<S>

template called source · line 33 · raw

@-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @rest:Rest -> @value:Pair(P, Output) -> Pair(R, RequestResult<Input, Output>)

template slot_called source · line 36 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @input:Input -> @value:Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>) -> Pair(R, RequestResult<Input, Output>)

template world_called source · line 40 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Input:Type -> @-Output:Type -> @+namespace:U32 -> @allocator:0xb2b0f04555daca474f0f77d0966945c9/entity_allocator.Allocator -> @store:C -> @+events:List<&2, E> -> @pending:List<&1, 0xb2b0f04555daca474f0f77d0966945c9/deferred_command.Command<0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>>> -> @+registrations:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.RegistrationMeta> -> @+nextSystem:U32 -> @+clock:0xb2b0f04555daca474f0f77d0966945c9/clock_state.State -> @value:Pair(R, RequestResult<Input, Output>) -> Pair(0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, RequestResult<Input, Output>)

template request_world source · line 43 · raw

@-C:Type -> @-E:Data -> @-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @world:0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E> -> @input:Input -> Pair(0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, RequestResult<Input, Output>)

template transaction_called source · line 46 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-Input:Type -> @-Output:Type -> @undo:List<&1, @_:0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E> -> 0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>> -> @commands:List<&1, 0xb2b0f04555daca474f0f77d0966945c9/deferred_command.Command<0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>>> -> @events:List<&2, E> -> @trace:0xb2b0f04555daca474f0f77d0966945c9/trace_facts.State -> @value:Pair(0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, RequestResult<Input, Output>) -> Pair(0xb2b0f04555daca474f0f77d0966945c9/transaction.Tx<0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, E>, RequestResult<Input, Output>)

template request_transaction source · line 49 · raw

@-C:Type -> @-E:Data -> @-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @transaction:0xb2b0f04555daca474f0f77d0966945c9/transaction.Tx<0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, E> -> @input:Input -> Pair(0xb2b0f04555daca474f0f77d0966945c9/transaction.Tx<0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, E>, RequestResult<Input, Output>)

template grant source · line 52 · raw

@-C:Type -> @-E:Data -> @-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @-declaration:Declaration<S, R, P, Rest, Input, Output, identity, take, put, call> -> Grant<S, Input, Output, identity, 0xb2b0f04555daca474f0f77d0966945c9/transaction.Tx<0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, E>>

template request_field source · line 54 · raw

@-S:Data -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-H:Type -> @value:Grant<S, Input, Output, identity, H> -> @_:H -> @_:Input -> Pair(H, RequestResult<Input, Output>)

template request source · line 57 · raw

@-S:Data -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-H:Type -> @-operation:Grant<S, Input, Output, identity, H> -> @owner:H -> @input:Input -> Pair(H, RequestResult<Input, Output>)

template declaration_key source · line 60 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @_:Declaration<S, R, P, Rest, Input, Output, identity, take, put, call> -> String

template declaration_requirement source · line 62 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @_:Declaration<S, R, P, Rest, Input, Output, identity, take, put, call> -> 0xb2b0f04555daca474f0f77d0966945c9/schedule_provision.Requirement<S>

template declaration_entry source · line 64 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @_:Declaration<S, R, P, Rest, Input, Output, identity, take, put, call> -> 0xb2b0f04555daca474f0f77d0966945c9/schema_fragments.Entry<S>

template status source · line 66 · raw

@-S:Data -> @-Input:Type -> @-Output:Type -> @identity:Identity<S, Input, Output> -> @provided:Bool -> 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Status<S>

template slot_observed source · line 69 · raw

@-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @value:Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>) -> Pair(R, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Status<S>>)

template world_observed_join source · line 73 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @+namespace:U32 -> @allocator:0xb2b0f04555daca474f0f77d0966945c9/entity_allocator.Allocator -> @store:C -> @+events:List<&2, E> -> @pending:List<&1, 0xb2b0f04555daca474f0f77d0966945c9/deferred_command.Command<0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>>> -> @+registrations:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.RegistrationMeta> -> @+nextSystem:U32 -> @+clock:0xb2b0f04555daca474f0f77d0966945c9/clock_state.State -> @value:Pair(R, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Status<S>>) -> Pair(0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Status<S>>)

template world_observed source · line 76 · raw

@-C:Type -> @-E:Data -> @-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @-declaration:Declaration<S, R, P, Rest, Input, Output, identity, take, put, call> -> @world:0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/world.World<S, C, R, E>, List<&2, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Status<S>>)

template setup source · line 79 · raw

@-C:Type -> @-E:Data -> @-S:Data -> @-R:Type -> @-P:Type -> @-Rest:Type -> @-Input:Type -> @-Output:Type -> @-identity:Identity<S, Input, Output> -> @-take:(@_:R -> Pair(Rest, 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P>)) -> @-put:(@_:Rest -> @_:0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Slot<P> -> R) -> @-call:(@_:P -> @_:Input -> Pair(P, Output)) -> @-declaration:Declaration<S, R, P, Rest, Input, Output, identity, take, put, call> -> 0xb2b0f04555daca474f0f77d0966945c9/ordinary_service_declaration.Setup<S, C, R, E, world_observed(C, E, S, R, P, Rest, Input, Output, identity, take, put, call, declaration)>