def declaration
import bendvy-ecs-core@0.1.0.4/ordinary_recovery_resource.bend as OrdinaryRecoveryResourceimport Base
import bendvy-ecs-core@0.1.0.4/recovery_use.bend as Use
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/owner_product.bend as Product
import bendvy-ecs-core@0.1.0.4/ordinary_recovery_declaration.bend as D
import bendvy-ecs-core@0.1.0.4/recoverable_array.bend as A
import bendvy-ecs-core@0.1.0.4/ordinary_schema.bend as Schema
47# Declare recoverable Array<P> resource operations using its ordinary
48# resource identity. Supplies complete access/use metadata and generated
49# recovery path; performs no resource mutation or allocation of payload values.
50# Supported domain and receipts: docs/parity/recovery.md.
51def declaration(~S:Data,~C:Type,~E:Data,~Capture:Type,~P:Type,~identity:Schema.Resource<S,Array<P>>) -> D.Declaration<S,Product.Owner<W.World<S,C,Array<P>,E>,Capture>,List<A.Record<P>>,Ops(~S,~P,~identity),grant(~S,~C,~E,~Capture,~P,~identity)>:
52 D.Described{empty(~Capture,~P),[Schema.resource_key(~S,~Array<P>,identity)],Use.known([Use.Use{Use.Resource{Schema.resource_key(~S,~Array<P>,identity)},Use.Write{}}])}
Uses (15)
Used by (0)
No other definition uses this definition.