mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
* Convert auth users page to use data grid * Deprecate old components for auth users * Remove unused state * Remove unnecessary file * Add copy cell value * Reload -> Refresh * Fix spelling * Adjust sizing of search and dropdown * Add feature flag and reinstate original auth/users UI * Remove font mono on auth users data grid header and row cells * Address comments
22 lines
641 B
TypeScript
22 lines
641 B
TypeScript
export const authKeys = {
|
|
users: (
|
|
projectRef: string | undefined,
|
|
params?: {
|
|
page: number | undefined
|
|
keywords: string | undefined
|
|
filter: string | undefined
|
|
}
|
|
) => ['auth', projectRef, 'users', ...(params ? [params] : [])] as const,
|
|
|
|
usersInfinite: (
|
|
projectRef: string | undefined,
|
|
params?: {
|
|
keywords: string | undefined
|
|
filter: string | undefined
|
|
}
|
|
) => ['auth', projectRef, 'users-infinite', ...(params ? [params] : [])] as const,
|
|
|
|
authConfig: (projectRef: string | undefined) => ['auth', projectRef, 'config'] as const,
|
|
accessToken: () => ['access-token'] as const,
|
|
}
|