mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 23:29:08 +03:00
15 lines
681 B
TypeScript
15 lines
681 B
TypeScript
export const invoicesKeys = {
|
|
overdueInvoices: () => ['invoices', 'overdue'] as const,
|
|
|
|
invoice: (id: string | undefined) => ['invoice', id] as const,
|
|
list: (slug: string | undefined, offset: number | undefined) =>
|
|
['invoices', slug, offset] as const,
|
|
count: (slug: string | undefined) => ['invoices', slug, 'count'] as const,
|
|
|
|
projectInvoices: (projectRef: string | undefined, offset: number | undefined) =>
|
|
['invoices', projectRef, offset] as const,
|
|
projectInvoicesCount: (projectRef: string | undefined) =>
|
|
['invoices', projectRef, 'count'] as const,
|
|
orgUpcomingPreview: (slug: string | undefined) => ['invoices', slug, 'upcoming-preview'] as const,
|
|
}
|