mirror of
https://github.com/supabase/supabase.git
synced 2026-07-06 20:44:21 +08:00
* add filter * Fix type issue * move anon users query to the api * rm unused stuff * type fix * add featurefalg --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
13 lines
410 B
TypeScript
13 lines
410 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,
|
|
authConfig: (projectRef: string | undefined) => ['auth', projectRef, 'config'] as const,
|
|
accessToken: () => ['access-token'] as const,
|
|
}
|