RestoreGraphSchema.save_components: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend as RestoreGraphSchema Lines 30-32 of bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend&start_line=30&end_line=32 import Base import bendvy-ecs-core@0.1.0.4/relation_commands.bend as Relation import bendvy-ecs-core@0.1.0.4/decode_data.bend as D def save_components(~S:Data,~C:Type,~components:U32 -> C -> C & List<&2,D.Field>,id:U32,store:Relation.Store) -> Relation.Store & List<&2,D.Field>: match store: case Relation.Store{owner,graph}:component_saved(~S,~C,graph,components(id,owner)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/decode_data.bend&name=Field https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/relation_commands.bend&name=Store https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend&name=component_saved