Skip to main content

Interface: PlatformUsageData

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

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:289


overages

overages: Partial<Record<Resource, ResourceOverage>>

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


periodEnd

periodEnd: string

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


periodStart

periodStart: string

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


usage

usage: Partial<Record<Resource, number>>

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