def ia.age
cswap-bend-cli@0.1.0.0 · importu.bend:306
import cswap-bend-cli@0.1.0.0/importu.bend as Importu
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
306def ia.age(m: Maybe<&2, U32>, +row: Json.Json, +email: String, +org: String, +seq: Json.Json, +now: U32, +off: U32, ia: IA) -> IA:
307 match m:
308 case None{}:
309 ia.err("usageAgeSeconds for " ++ email ++ " must be a non-negative number", ia)
310 case Some{+age}:
311 ia.usage(usage_from_json(jv("usage", row), now, off), email, org, age, seq, ia)