Files
supabase/apps/studio/data/auth/keys.ts
T
Joshen Lim b371266203 Chore/refactor auth users page to use data grid (#29105)
* 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
2024-09-10 11:02:25 +08:00

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,
}