Files
supabase/apps/studio/data/subscriptions/keys.ts
Kevin Grüneberg 1fb755bfc7 chore: use data/fetchers and API spec (#20196)
* chore: use data/fetchers and API spec

* Remove unused imports

---------

Co-authored-by: Thomas Eckl <31189692+ecktoteckto@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-08 14:39:32 +08:00

8 lines
328 B
TypeScript

export const subscriptionKeys = {
orgSubscription: (orgSlug: string | undefined) =>
['organizations', orgSlug, 'subscription'] as const,
orgPlans: (orgSlug: string | undefined) => ['organizations', orgSlug, 'plans'] as const,
addons: (projectRef: string | undefined) => ['projects', projectRef, 'addons'] as const,
}