Files
supabase/studio/data/config/keys.ts
T
2023-03-02 14:01:21 +08:00

13 lines
774 B
TypeScript

export const configKeys = {
settings: (projectRef: string | undefined) => ['projects', projectRef, 'settings'] as const,
api: (projectRef: string | undefined) => ['projects', projectRef, 'settings', 'api'] as const,
postgrest: (projectRef: string | undefined) => ['projects', projectRef, 'postgrest'] as const,
jwtSecretUpdatingStatus: (projectRef: string | undefined) =>
['projects', projectRef, 'jwt-secret-updating-status'] as const,
storage: (projectRef: string | undefined) => ['projects', projectRef, 'storage'] as const,
upgradeEligibility: (projectRef: string | undefined) =>
['projects', projectRef, 'upgrade-eligibility'] as const,
upgradeStatus: (projectRef: string | undefined) =>
['projects', projectRef, 'upgrade-status'] as const,
}