Skip to main content

Type Alias: OverageLinkState

OverageLinkState = "none" | "active" | "expiring" | "expired" | "approved" | "rejected"

Defined in: src/lib/overage.ts:17

Display state of a pending overage week's most-recent approval link.

  • none — no link has been generated yet for this week.
  • active — a pending link with comfortable time left.
  • expiring — a pending link within expiringSoonDays of its expires_at — re-request soon.
  • expired — the link lapsed (status expired, or pending but past expires_at).
  • approved — the facility already approved (the overage will bill; informational).
  • rejected — the facility rejected the overage.