Skip to main content

Interface: PlatformUsageData

Defined in: packages/sdk/src/types/billing-types.ts:283

Simplified platform usage data for display components. This is the shared interface used by PlatformUsageCard across all views:

  • Workspace billing dashboard (/w/$wid/settings/billing)
  • Admin workspace billing tab (/admin/workspaces/$wid)

Properties

included

included: Partial<Record<Resource, number>>

Defined in: packages/sdk/src/types/billing-types.ts:287


overages

overages: Partial<Record<Resource, ResourceOverage>>

Defined in: packages/sdk/src/types/billing-types.ts:288


periodEnd

periodEnd: string

Defined in: packages/sdk/src/types/billing-types.ts:285


periodStart

periodStart: string

Defined in: packages/sdk/src/types/billing-types.ts:284


usage

usage: Partial<Record<Resource, number>>

Defined in: packages/sdk/src/types/billing-types.ts:286