Desired state
v0.64.0, changelogBetaAn order that is not yet in effect: what was ordered beside what the device last reported (revoking is not revoked), with when it takes effect.
API reference
Generated from the types. Every part also takes className.
DesiredState
- inEffect
booleanThe device has reported the desired state.- blocked
booleanWhy the order cannot arrive, when the product knows (Portal refuses this device's check-ins).- orderedAt
DateInput | null- overdueAfterMs
numberPast this long sinceorderedAt, a wait is overdue.- lastCheckInAt
DateInput | null- thresholds
{ laggingAfterMs: number; staleAfterMs?: number }- offline
booleanThe server's liveness verdict, as freshnessOf takes it.- airGapped
booleanIt never checks in: the order is applied by hand, so a silent device is not blocking it.- desiredrequired
ReactNodeWhat was ordered, in words ("Revoked: every module off").- reportedrequired
ReactNodeWhat the device last reported ("Running 4 modules"), shown as believed, never as fact.- blockedReason
ReactNodeThe reason it cannot arrive, in place ofblockedBody("Check-ins are refused while the device is suspended.").- now
number- locale
string- timeZone
string- labels
Partial<DesiredStateLabels>- headingAs
"h2" | "h3" | "h4" = "h3"The heading's level: h3 by default, h2 right under the page's h1, h4 under an h3.- children
ReactNodeActions that end the wait some other way: cancel the order, or close it out by force.