mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 09:20:21 -04:00
3a27070dc2
* chore: table editor query optimisation * removed unused queries and fix invalidations * address feedback * fix filtering for foreign tables * Update --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
6 lines
237 B
TypeScript
6 lines
237 B
TypeScript
export const viewKeys = {
|
|
list: (projectRef: string | undefined) => ['projects', projectRef, 'views'] as const,
|
|
listBySchema: (projectRef: string | undefined, schema: string) =>
|
|
[...viewKeys.list(projectRef), schema] as const,
|
|
}
|