Ops.shared_ok: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Ops Lines 551-555 of near-v-framework@0.4.0.0/domain/architecture/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&start_line=551&end_line=555 import Base import near-v-framework@0.4.0.0/domain/architecture/system/container/type.bend as Ct import near-v-framework@0.4.0.0/domain/architecture/category/type.bend as K2 # A data API may also host the app only while it is private. def shared_ok(c: Ct.Container) -> Bool: match c: case Ct.Container{_, _, _, cat, _, +e, +caps, _, _, _, _, _, _, _, _}: Bool.not(is_data_api(cat) && has_cap(K2.Hosting{}, caps)) || is_tailnet(e) || is_local(e) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/category/type.bend&name=Capability https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&name=has_cap https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&name=is_data_api https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&name=is_local https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/ops.bend&name=is_tailnet https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/container/type.bend&name=Container