~/bend-docscommunity

restore_graph_validation.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.6/restore_graph_validation.bend as Restore_graph_validation

7 imports
import Base
import ./restore_graph_data.bend as R
import ./entity_key.bend as Key
import ./snapshot_data.bend as Basic
import ./relation_types.bend as G
import ./relation_graph.bend as Graph
import ./relation_failure_reader.bend as Ordinary

Definitions

def contains source · line 9 · raw

@+key:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @entities:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/snapshot_data.Entity> -> Bool

Templates

template descriptor_found source · line 13 · raw

@-S:Data -> @found:Bool -> @descriptor:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S> -> @next:(@_:Unit -> Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S>>) -> Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S>>

template descriptor source · line 17 · raw

@-S:Data -> @+name:String -> @declarations:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_failure_reader.Declaration<S>> -> Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S>>

template absent source · line 21 · raw

@-S:Data -> @value:Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key> -> Bool

template added source · line 25 · raw

@-S:Data -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @descriptor:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S> -> @source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> 0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S>

template source_checked source · line 28 · raw

@-S:Data -> @valid:Bool -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @descriptor:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S> -> @source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @next:(@_:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>) -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>

template sources source · line 32 · raw

@-S:Data -> @values:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key> -> @+target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @+descriptor:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S> -> @+entities:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/snapshot_data.Entity> -> @+graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @next:(@_:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>) -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>

template groups source · line 36 · raw

@-S:Data -> @values:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.Group> -> @+descriptor:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S> -> @+entities:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/snapshot_data.Entity> -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @next:(@_:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>) -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>

template cycle_checked source · line 40 · raw

@-S:Data -> @cyclic:Bool -> @descriptor:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S> -> @source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @next:(@_:Unit -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>) -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>

template cycles source · line 44 · raw

@-S:Data -> @edges:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Edge<S>> -> @+graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @next:(@_:Unit -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>) -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>

template acyclic source · line 48 · raw

@-S:Data -> @+graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @next:(@_:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>) -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>

template declared source · line 51 · raw

@-S:Data -> @name:String -> @values:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.Group> -> @entities:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/snapshot_data.Entity> -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> @next:(@_:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>) -> @found:Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Descriptor<S>> -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>

template relations source · line 55 · raw

@-S:Data -> @values:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.Relation> -> @+entities:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/snapshot_data.Entity> -> @+declarations:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_failure_reader.Declaration<S>> -> @graph:0x14a72e1c180a5ab1f8a056d43822425c/relation_types.Graph<S> -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>

template validate source · line 59 · raw

@-S:Data -> @values:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.Relation> -> @entities:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/snapshot_data.Entity> -> @declarations:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/relation_failure_reader.Declaration<S>> -> 0x14a72e1c180a5ab1f8a056d43822425c/restore_graph_data.GraphResult<S>