Home / Type/ CategoryAttribute Type — supabase Architecture

CategoryAttribute Type — supabase Architecture

Architecture documentation for the CategoryAttribute type/interface in Usage.constants.tsx from the supabase codebase.

Entity Profile

Source Code

apps/studio/components/interfaces/Organization/Usage/Usage.constants.tsx lines 48–63

export interface CategoryAttribute {
  anchor: string
  key: string // Property from organization usage
  attributes: Attribute[] // For querying against stats-daily / infra-monitoring
  name: string
  unit: 'bytes' | 'absolute' | 'percentage' | 'hours' | 'gigabytes'
  links?: {
    name: string
    url: string
  }[]
  description: string
  chartPrefix?: 'Max' | 'Average' | 'Cumulative'
  chartSuffix?: string
  chartDescription: string
  additionalInfo?: (usage?: OrgUsageResponse) => JSX.Element | null
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free