execution_save_recipe.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_save_recipe.bend as Execution_save_recipe
5 imports
import Base import ./ordinary_declaration.bend as C import ./persistence_declaration.bend as Decl import ./decode_data.bend as D import ./decode.bend as Decode
Types
type Leaf source · line 7 · raw
@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> Type
Plain@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> Leaf<S, P, identity, project>
Transient@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> Leaf<S, P, identity, project>
Constructed@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> @declaration:0x704c77730661eff4309838fc738ef615/persistence_declaration.Constructed<S, P, identity, project> -> Leaf<S, P, identity, project>
type Refusal source · line 11 · raw
Data
PlainUnserializable@key:String -> Refusal
InvalidProjection@key:String -> @error:0x704c77730661eff4309838fc738ef615/decode_data.Error -> Refusal
MalformedColumn@key:String -> Refusal
DescriptorMismatch@expected:String -> @actual:String -> Refusal
type Field source · line 16 · raw
Data
OmittedField
Saved@field:0x704c77730661eff4309838fc738ef615/decode_data.Field -> Field
Refused@reason:Refusal -> Field
Templates
template plain source · line 21 · raw
@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> @declaration:0x704c77730661eff4309838fc738ef615/persistence_declaration.Plain<S, P, identity> -> Leaf<S, P, identity, project>
template transient source · line 22 · raw
@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> @declaration:0x704c77730661eff4309838fc738ef615/persistence_declaration.Transient<S, P, identity> -> Leaf<S, P, identity, project>
template constructed source · line 23 · raw
@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> @declaration:0x704c77730661eff4309838fc738ef615/persistence_declaration.Constructed<S, P, identity, project> -> Leaf<S, P, identity, project>
template eligibility source · line 24 · raw
@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> @recipe:Leaf<S, P, identity, project> -> Pair(Leaf<S, P, identity, project>, Maybe<&2, Refusal>)
template projected source · line 29 · raw
@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> @declaration:0x704c77730661eff4309838fc738ef615/persistence_declaration.Constructed<S, P, identity, project> -> @result:0x704c77730661eff4309838fc738ef615/decode_data.Receipt<P> -> Pair(Leaf<S, P, identity, project>, Pair(P, Field))
template export source · line 35 · raw
@-S:Data -> @-P:Type -> @-identity:0x704c77730661eff4309838fc738ef615/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x704c77730661eff4309838fc738ef615/decode_data.Raw)) -> @recipe:Leaf<S, P, identity, project> -> @owner:P -> Pair(Leaf<S, P, identity, project>, Pair(P, Field))
The same retained ordinary declaration supplies codec and actual-owner projection. Transient and Plain never evaluate the projection.