def component_saved
bendvy-ecs-core@0.1.0.4 · restore_graph_schema.bend:27
import bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend as RestoreGraphSchema
import Base
import bendvy-ecs-core@0.1.0.4/relation_commands.bend as Relation
import bendvy-ecs-core@0.1.0.4/relation_types.bend as G
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D
27def component_saved(~S:Data,~C:Type,graph:G.Graph<S>,result:C & List<&2,D.Field>) -> Relation.Store<S,C> & List<&2,D.Field>:
28 match result:
29 case (components,fields):(Relation.Store{components,graph},fields)