mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
* Bump the deps, refactor deprecated code.
* Migrate keepPreviousData usage.
* Migrate all uses of InfiniteQuery.
* Fix refetchInterval in queries.
* Migrate all use of isLoading to isPending in mutations.
* Fix accessing location in claim-project.
* Fix a bug in duplicate query keys.
* Migrate all queries to use isPending.
* Revert "Fix accessing location in claim-project."
This reverts commit 2a07df64b5.
* Revert the rss.xml file to master.
13 lines
485 B
TypeScript
13 lines
485 B
TypeScript
export const tableKeys = {
|
|
list: (projectRef: string | undefined, schema?: string, includeColumns?: boolean) =>
|
|
['projects', projectRef, 'tables', schema, includeColumns].filter(Boolean),
|
|
retrieve: (projectRef: string | undefined, name: string, schema: string) =>
|
|
['projects', projectRef, 'table', schema, name].filter(Boolean),
|
|
rolesAccess: (projectRef: string | undefined, schema: string) => [
|
|
'projects',
|
|
projectRef,
|
|
'roles-access',
|
|
{ schema },
|
|
],
|
|
}
|