def usage_of
import cswap-bend-cli@0.1.0.0/daemon/rows.bend as Rowsimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/policy/types.bend as T
128# A row, as the policy reads it. `row` is JNull when the slot has none (or it
129# belongs to another identity): never fetched. `sentinel` is the overlay the
130# caller computed from the credential.
131def usage_of(+slot: Nat, +row: Json.Json, +sentinel: T.Sentinel) -> T.Usage:
132 usage2(slot, row, win(row, "lastGood"), sentinel)