mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 02:15:05 +03:00
* Deprecate local observable in api.tsx * Deprecate local observable in auth users pqage * Replace prop drilling refetch with proper query invalidation in mutations
13 lines
412 B
TypeScript
13 lines
412 B
TypeScript
export const authKeys = {
|
|
users: (
|
|
projectRef: string | undefined,
|
|
params?: {
|
|
page: number | undefined
|
|
keywords: string | undefined
|
|
verified: string | undefined
|
|
}
|
|
) => ['auth', projectRef, 'users', ...(params ? [params] : [])] as const,
|
|
authConfig: (projectRef: string | undefined) => ['auth', projectRef, 'config'] as const,
|
|
accessToken: () => ['access-token'] as const,
|
|
}
|