def resolved_kind
cswap-bend-cli@0.1.0.0 · swcreds.bend:253
import cswap-bend-cli@0.1.0.0/swcreds.bend as Swcreds
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/swbase.bend as B
import cswap-bend-cli@0.1.0.0/store/plan.bend as SPlan
import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq
253def resolved_kind(+seq: Json.Json, +cur: String, +live: String, +others: List<&2, Other>, +p: SPlan.Prof) -> CKind:
254 match p:
255 case SPlan.ProfNone{}:
256 KUnresolved{}
257 case SPlan.Prof{uuid, email, org}:
258 resolved_kind2(seq, cur, live, others, String.trim(uuid), SSeq.str_or(email, ""), SSeq.str_or(org, ""), B.is_some_str(org))