mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
* add queries * use different keys * move folder * rm old files * Small refactoir --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
30 lines
1.7 KiB
TypeScript
30 lines
1.7 KiB
TypeScript
export const configKeys = {
|
|
settings: (projectRef: string | undefined) => ['projects', projectRef, 'settings'] as const,
|
|
settingsV2: (projectRef: string | undefined) => ['projects', projectRef, 'settings-v2'] 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,
|
|
diskAttributes: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'disk-attributes'] as const,
|
|
diskBreakdown: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'disk-breakdown'] as const,
|
|
diskUtilization: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'disk-utilization'] as const,
|
|
projectCreationPostgresVersions: (
|
|
organizationSlug: string | undefined,
|
|
cloudProvider: string,
|
|
dbRegion: string
|
|
) =>
|
|
['projects', organizationSlug, cloudProvider, dbRegion, 'available-creation-versions'] as const,
|
|
projectUnpausePostgresVersions: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'available-unpause-versions'] as const,
|
|
diskAutoscaleConfig: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'disk-autoscale-config'] as const,
|
|
}
|