Skip to main content

UsagePanelData

@retinue/monorepo


@retinue/monorepo / frontend/src / UsagePanelData

Type Alias: UsagePanelData

UsagePanelData = object

Defined in: frontend/src/usage-panel.ts:84

Properties​

bars​

readonly bars: readonly UsageBar[]

Defined in: frontend/src/usage-panel.ts:91


byConversation​

readonly byConversation: readonly UsageBreakdownEntryView[]

Defined in: frontend/src/usage-panel.ts:93


byModel​

readonly byModel: readonly UsageBreakdownEntryView[]

Defined in: frontend/src/usage-panel.ts:92


currency​

readonly currency: string

Defined in: frontend/src/usage-panel.ts:89


from​

readonly from: string

Defined in: frontend/src/usage-panel.ts:87


period​

readonly period: string

Defined in: frontend/src/usage-panel.ts:86


quota​

readonly quota: object

Defined in: frontend/src/usage-panel.ts:94

costFraction​

readonly costFraction: number | null

0–1 of the cost limit consumed, or null when there is no cost limit to be a fraction of.

costLimitMinorUnits​

readonly costLimitMinorUnits: number | null

status​

readonly status: QuotaStatus

warnAt​

readonly warnAt: number


state​

readonly state: UsagePanelState

Defined in: frontend/src/usage-panel.ts:85


to​

readonly to: string

Defined in: frontend/src/usage-panel.ts:88


totals​

readonly totals: UsageTotalsView

Defined in: frontend/src/usage-panel.ts:90