mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
* 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
273 B
TypeScript
6 lines
273 B
TypeScript
export const materializedViewKeys = {
|
|
list: (projectRef: string | undefined) => ['projects', projectRef, 'materializedViews'] as const,
|
|
listBySchema: (projectRef: string | undefined, schema: string) =>
|
|
[...materializedViewKeys.list(projectRef), schema] as const,
|
|
}
|