def components_published

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

import near-v-framework@0.4.0.0/domain/architecture/system/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/type.bend as S
import near-v-framework@0.4.0.0/domain/architecture/system/release/ops.bend as RlO
import near-v-framework@0.4.0.0/domain/architecture/ops.bend as O

12# Everything the system is made of ships in a declared package or plugin: what is not published cannot
13# be used.
14def components_published(+s: S.System) -> Bool:
15  match s:
16    case S.System{_, _, _, cs, _, +r}:
17      O.all_listed(O.all_component_keys(cs), List.append(&2, String, RlO.shipped_components(RlO.packages(r)), RlO.plugin_components(RlO.plugins(r))))

Uses (10)

Used by (0)

No other definition uses this definition.