def restored_resource
bendvy-ecs-core@0.1.0.4 · ordinary_app_registration_fields.bend:59
import bendvy-ecs-core@0.1.0.4/ordinary_app_registration_fields.bend as OrdinaryAppRegistrationFields
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/system.bend as Sys
import bendvy-ecs-core@0.1.0.4/ordinary_resource_system.bend as Resource
import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as Query
59def restored_resource(~S:Data,~C:Type,~R:Type,~E:Data,~Args:Type,~Error:Data,~Out:Type,~runner:W.World<S,C,R,E> -> Args -> Sys.Outcome<W.World<S,C,R,E>,Error,Out>,~mode:Query.Mode,fields:Fields<S>) -> Resource.Owner<S,Sys.Registry<S,C,R,E,Args,Error,Out,runner>,mode>:
60 match fields:
61 case Fields{namespace,id,name,access,cursor,slot,_,_}:Resource.Owner{Sys.Registry{namespace,id,name,access,cursor},slot}