def save_schema
import bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend as RestoreGraphSchemaimport Base
import bendvy-ecs-core@0.1.0.4/snapshot_schema.bend as Save
import bendvy-ecs-core@0.1.0.4/relation_commands.bend as Relation
import bendvy-ecs-core@0.1.0.4/owner_product.bend as Product
import bendvy-ecs-core@0.1.0.4/ordinary_schema.bend as Ordinary
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D
39def save_schema(~S:Data,~C:Type,~Resources:Type,~Machines:Type,~components:U32 -> C -> C & List<&2,D.Field>,~resources:Resources -> Resources & List<&2,D.Field>,schema:Save.Schema<S,C,Resources,True{},components,resources>) -> Save.Schema<S,Relation.Store<S,C>,Product.Owner<Resources,Machines>,True{},save_components(~S,~C,~components),save_resources(~Resources,~Machines,~resources)>:
40 match schema:
41 case Save.Schema{Ordinary.Schema{entries}}:Save.Schema{Ordinary.Schema{entries}}
Uses (11)
Used by (0)
No other definition uses this definition.