def cap_eq
near-v-framework@0.4.0.0 · domain/architecture/ops.bend:458
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/category/type.bend as K2
458
459def cap_eq(a: K2.Capability, b: K2.Capability) -> Bool:
460 match a b:
461 case K2.Hosting{} K2.Hosting{}:
462 True{}
463 case K2.Realtime{} K2.Realtime{}:
464 True{}
465 case K2.BlobStore{} K2.BlobStore{}:
466 True{}
467 case K2.Observability{} K2.Observability{}:
468 True{}
469 case _ _:
470 False{}