mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
8 lines
376 B
TypeScript
8 lines
376 B
TypeScript
export const databaseKeys = {
|
|
schemaList: (projectRef: string | undefined) => ['projects', projectRef, 'schemas'] as const,
|
|
schema: (projectRef: string | undefined, id: string | undefined) =>
|
|
['projects', projectRef, 'schemas', id] as const,
|
|
poolingConfiguration: (projectRef: string | undefined) =>
|
|
[projectRef, 'database', 'pooling-configuration'] as const,
|
|
}
|