Home / Function/ billingPartnerLabel() — supabase Function Reference

billingPartnerLabel() — supabase Function Reference

Architecture documentation for the billingPartnerLabel() function in Subscription.utils.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Billing/Subscription/Subscription.utils.ts lines 21–34

export const billingPartnerLabel = (billingPartner?: string) => {
  if (!billingPartner) return billingPartner

  switch (billingPartner) {
    case 'fly':
      return 'Fly.io'
    case 'aws':
      return 'AWS'
    case 'vercel_marketplace':
      return 'Vercel'
    default:
      return billingPartner
  }
}

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free