SnapshotLeaf.resource_restored: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/snapshot_leaf.bend as SnapshotLeaf Lines 39-41 of bendvy-ecs-core@0.1.0.4/snapshot_leaf.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/snapshot_leaf.bend&start_line=39&end_line=41 import Base import bendvy-ecs-core@0.1.0.4/persistence_declaration.bend as Decl import bendvy-ecs-core@0.1.0.4/snapshot_gate.bend as Gate import bendvy-ecs-core@0.1.0.4/decode_data.bend as D import bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend as Canonical def resource_restored(~S:Data,~P:Type,~identity:Canonical.Declaration,~project:P -> P & D.Raw,declaration:Decl.Constructed,observed:P & Gate.Field) -> Resource & List<&2,D.Field>: match observed: case (owner,field):(Resource{owner,declaration},fields(field)) Uses (10): 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=Sigma 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/decode_data.bend&name=Raw https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/persistence_declaration.bend&name=Constructed https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/snapshot_gate.bend&name=Field https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/snapshot_leaf.bend&name=Resource https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/snapshot_leaf.bend&name=fields