QuotaExplanation
@forge/monorepo / backend/src / QuotaExplanation
Type Alias: QuotaExplanation
QuotaExplanation =
object
Defined in: backend/src/usage/quota.ts:211
One limit, with what it allows, what has been used, and when that changes — #183.
Shaped for rendering: the window as words rather than a union to switch on, the scope as a word rather than an optional id to test for presence, and the fraction computed once here rather than in every client.
Properties
dimensions
readonlydimensions: readonlyobject[]
Defined in: backend/src/usage/quota.ts:218
modelId?
readonlyoptionalmodelId?:string
Defined in: backend/src/usage/quota.ts:213
resetNote
readonlyresetNote:string
Defined in: backend/src/usage/quota.ts:217
The sentence a refusal would use — "It resets at T", or the sliding-window wording. Empty when neither.
resetsAt
readonlyresetsAt:string
Defined in: backend/src/usage/quota.ts:215
scope
readonlyscope:"workspace"|"personal"
Defined in: backend/src/usage/quota.ts:214
window
readonlywindow:string
Defined in: backend/src/usage/quota.ts:212