~/bend-docscommunity

restore_storage.bend checks

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

11 imports
import Base
import ./change_tick.bend as Tick
import ./restore_data.bend as R
import ./restore_leaf.bend as Stage
import ./snapshot_leaf.bend as Leaf
import ./ordinary_declaration.bend as Identity
import ./decode_data.bend as D
import ./column.bend as Col
import ./world.bend as W
import ./entity_key.bend as Key
import ./persistence_declaration.bend as Decl

Templates

template inserted source · line 13 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @+position:0xb2b0f04555daca474f0f77d0966945c9/restore_data.Position -> @undo:(@_:P -> I) -> @context:Context -> @records:List<&1, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.Record<I, P>> -> @returned:List<&1, I> -> @removed:List<&1, P> -> @applied:List<&1, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.Applied<I, P>> -> @+target:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> @tick:0xb2b0f04555daca474f0f77d0966945c9/change_tick.Tick -> @result:0xb2b0f04555daca474f0f77d0966945c9/column.SwapOutcome<S, P> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template mapped source · line 19 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @+saved:0xb2b0f04555daca474f0f77d0966945c9/entity_key.Key -> @owner:P -> @undo:(@_:P -> I) -> @state:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> @column:0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P> -> @tick:0xb2b0f04555daca474f0f77d0966945c9/change_tick.Tick -> @target:Maybe<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S>> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template component_record source · line 23 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @record:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.Record<I, P> -> @state:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> @column:0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P> -> @+bindings:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Binding<S>> -> @tick:0xb2b0f04555daca474f0f77d0966945c9/change_tick.Tick -> Pair(0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template components_next source · line 27 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @next:(@_:0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P> -> @_:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)) -> @observed:Pair(0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>) -> Pair(0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template component_records source · line 30 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @records:List<&1, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.Record<I, P>> -> @state:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> @column:0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P> -> @+bindings:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Binding<S>> -> @+tick:0xb2b0f04555daca474f0f77d0966945c9/change_tick.Tick -> Pair(0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template component_join source · line 34 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/decode_data.Raw)) -> @declaration:0xb2b0f04555daca474f0f77d0966945c9/persistence_declaration.Constructed<S, P, identity, project> -> @observed:Pair(0xb2b0f04555daca474f0f77d0966945c9/column.Column<S, P>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>) -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Component<S, P, identity, project>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template components source · line 37 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/decode_data.Raw)) -> @owner:0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Component<S, P, identity, project> -> @state:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> @bindings:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Binding<S>> -> @tick:0xb2b0f04555daca474f0f77d0966945c9/change_tick.Tick -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Component<S, P, identity, project>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template resource_record source · line 40 · raw

@-Context:Type -> @-I:Type -> @-P:Type -> @record:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.Record<I, P> -> @state:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> @previous:P -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template resource_next source · line 44 · raw

@-Context:Type -> @-I:Type -> @-P:Type -> @next:(@_:P -> @_:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)) -> @observed:Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>) -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template resource_records source · line 47 · raw

@-Context:Type -> @-I:Type -> @-P:Type -> @records:List<&1, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.Record<I, P>> -> @state:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> @owner:P -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template resource_join source · line 51 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/decode_data.Raw)) -> @declaration:0xb2b0f04555daca474f0f77d0966945c9/persistence_declaration.Constructed<S, P, identity, project> -> @observed:Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>) -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Resource<S, P, identity, project>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)

template resources source · line 54 · raw

@-S:Data -> @-Context:Type -> @-I:Type -> @-P:Type -> @-identity:0xb2b0f04555daca474f0f77d0966945c9/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0xb2b0f04555daca474f0f77d0966945c9/decode_data.Raw)) -> @owner:0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Resource<S, P, identity, project> -> @state:0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P> -> Pair(0xb2b0f04555daca474f0f77d0966945c9/snapshot_leaf.Resource<S, P, identity, project>, 0xb2b0f04555daca474f0f77d0966945c9/restore_leaf.State<Context, I, P>)