def plain_resource

bendvy-ecs-core@0.1.0.4 · snapshot_schema.bend:36

import bendvy-ecs-core@0.1.0.4/snapshot_schema.bend as SnapshotSchema
import Base
import bendvy-ecs-core@0.1.0.4/schema_fragments.bend as Fragment
import bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend as Canonical
import bendvy-ecs-core@0.1.0.4/ordinary_schema.bend as Ordinary

36def plain_resource(~S:Data,~P:Type,~identity:Canonical.Declaration<S,P>) -> Schema<S,Unit,P,False{},unit_component,plain_resource_fields(~P)>:
37  Schema{Ordinary.Schema{[entry(~S,~P,~identity,Fragment.Resource{})]}}

Uses (10)

Used by (0)

No other definition uses this definition.