relation_types.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/relation_types.bend as Relation_types
2 imports
import Base import entity_key.bend as K
Types
type RelationKind source · line 4 · raw
Data
OrdinaryRelationKind
HierarchyRelationKind
type Descriptor source · line 7 · raw
@S:Data -> Data
Descriptor@S:Data -> @key:U32 -> @name:String -> @inverseName:String -> @kind:RelationKind -> Descriptor<S>
type Edge source · line 9 · raw
@S:Data -> Data
Edge@S:Data -> @relation:Descriptor<S> -> @source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> Edge<S>
type Error source · line 11 · raw
Data
MissingEntity@source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> Error
MissingTargetEntity@source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @relation:String -> Error
SelfRelationNotAllowed@source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @relation:String -> Error
HierarchyCycle@source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @relation:String -> Error
MissingChildEntity@source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @child:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @relation:String -> Error
DuplicateChild@source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @child:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @relation:String -> Error
ChildNotRelatedToParent@source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @child:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @relation:String -> Error
ChildSetMismatch@source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @relation:String -> Error
type Operation source · line 20 · raw
Data
RelateOperation
ReorderChildrenOperation
type Failure source · line 23 · raw
@S:Data -> Data
Failure@S:Data -> @relation:Descriptor<S> -> @operation:Operation -> @source:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @error:Error -> Failure<S>
type Inverse source · line 25 · raw
@S:Data -> Data
Inverse@S:Data -> @relation:Descriptor<S> -> @target:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @sources:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key> -> Inverse<S>
type SpecGraph source · line 27 · raw
@S:Data -> Data
SpecGraph@S:Data -> @edges:List<&2, Edge<S>> -> SpecGraph<S>
type Graph source · line 29 · raw
@S:Data -> Data
Graph@S:Data -> @edges:List<&2, Edge<S>> -> @inverses:List<&2, Inverse<S>> -> Graph<S>
type SpecResult source · line 31 · raw
@S:Data -> Data
SpecResult@S:Data -> @graph:SpecGraph<S> -> @error:Maybe<&2, Error> -> SpecResult<S>
type CoreResult source · line 33 · raw
@S:Data -> Data
CoreResult@S:Data -> @graph:Graph<S> -> @error:Maybe<&2, Error> -> CoreResult<S>
type ChildStatus source · line 35 · raw
Data
ChildStatus@id:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @live:Bool -> ChildStatus
type CleanupFrame source · line 39 · raw
@S:Data -> Data
Diagnostic continuation, not a new relation rejection policy.
CleanupEnter@S:Data -> @id:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> CleanupFrame<S>
CleanupDescriptors@S:Data -> @id:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @remaining:List<&2, Descriptor<S>> -> CleanupFrame<S>
CleanupChildren@S:Data -> @id:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @descriptor:Descriptor<S> -> @remainingDescriptors:List<&2, Descriptor<S>> -> @remainingChildren:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key> -> CleanupFrame<S>
CleanupFinish@S:Data -> @id:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> CleanupFrame<S>
type HierarchyDescriptor source · line 45 · raw
@S:Data -> Data
Public reorder provisioning accepts this nominal hierarchy family only.
HierarchyDescriptor@S:Data -> @key:U32 -> @name:String -> @inverseName:String -> HierarchyDescriptor<S>