type Rec
import cswap-bend-cli@0.1.0.0/urec.bend as Urecimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/poll.bend as Poll
import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore
11# One finished fetch. kind: 0 success, 1 failure, 2 sentinel (nothing to store
12# but the lease). `struck` is the fingerprint of the refresh token the server
13# rejected for good (JNull otherwise).
14type Rec is Data:
15 Rec{id: Ustore.Id, claim: String, kind: U32, usage: Json.Json, error: String, retry: Maybe<&2, U32>, struck: Json.Json, plan: Maybe<&2, Poll.Sched>}