def inventory

near-v-framework@0.4.0.0 · domain/architecture/ops.bend:590

import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/environment/type.bend as En
import near-v-framework@0.4.0.0/domain/architecture/environment/inventory/type.bend as I
import near-v-framework@0.4.0.0/domain/architecture/type.bend as A

590# ---- the environment's inventory and agreement ----
591def inventory(a: A.Architecture) -> I.Inventory:
592  match a:
593    case A.Architecture{_, env}:
594      match env:
595        case En.Environment{_, _, _, inv, _}:
596          inv

Uses (3)

Used by (1)