mirror of
https://github.com/supabase/supabase.git
synced 2026-07-07 05:24:36 +08:00
* Add a badge if the pgbouncer hasn't been removed. * Force the response to be a boolean. * Add a CSP exception, just for testing. * Minor correction for the CSP rule. * Add a API route for checking whether the pgbouncer has been removed. * Log the response and error. * Minor fixes. * Update based on feedback * Add additional sanity checks on pg bouncer nextjs endpoint * Update check --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
15 lines
881 B
TypeScript
15 lines
881 B
TypeScript
export const configKeys = {
|
|
pgBouncerStatus: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'pgbouncer'] as const,
|
|
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,
|
|
}
|