mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
* foreign-key-constraints * update entity-types stale time * schemas query * deprecate useExecuteSqlQuery * users count query * database size query * indexes query * keywords query * migrations query * table columns * database functions * database roles query * fdws query * replication lag query * ongoing queries query * vault secrets query * remove unneeded staleTime: 0 * max connections query * fix entity types key in tests * Some fixes --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
10 lines
456 B
TypeScript
10 lines
456 B
TypeScript
export const replicaKeys = {
|
|
list: (projectRef: string | undefined) => ['project', projectRef, 'replicas'] as const,
|
|
statuses: (projectRef: string | undefined) =>
|
|
['project', projectRef, 'replicas-statuses'] as const,
|
|
loadBalancers: (projectRef: string | undefined) =>
|
|
['project', projectRef, 'load-balancers'] as const,
|
|
replicaLag: (projectRef: string | undefined, id: string) =>
|
|
['project', projectRef, 'replica-lag', id] as const,
|
|
}
|