Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

418 B
Raw Blame
export const usageKeys = {
  usage: (projectRef: string | undefined) => ['projects', projectRef, 'usage'] as const,
  orgUsage: (orgSlug: string | undefined, projectRef?: string, start?: string, end?: string) =>
    ['organizations', orgSlug, 'usage', projectRef, start, end] as const,
  resourceWarnings: (slug?: string, projectRef?: string) =>
    ['projects', 'resource-warnings', { slug, projectRef }] as const,
}