View.base_row: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/view.bend as View Lines 292-297 of cswap-bend-cli@0.1.0.0/view.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/view.bend&start_line=292&end_line=297 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json def base_row(+a: Acct, status: String, usage: Json.Json) -> Json.Json: match a: case Acct{num, email, org_name, org_uuid, active, alias, disabled, login, sentinel, row}: Json.of_pairs([("number", Json.JNum{U32.show(num)}), ("email", jstr(email)), ("organizationName", jstr(org_name)), ("organizationUuid", jstr(org_uuid)), ("isOrganization", jbool(Bool.not(String.is_empty(org_uuid)))), ("active", jbool(active)), ("usageStatus", jstr(status)), ("usage", usage)]) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.show https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=of_pairs https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/view.bend&name=Acct https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/view.bend&name=jbool https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/view.bend&name=jstr