mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? feature ## Additional context Adds a feature flagged UI for toggling JIT based access to a project's database and managing permissions/access --------- Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com> Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
8 lines
351 B
TypeScript
8 lines
351 B
TypeScript
export const jitDbAccessKeys = {
|
|
list: (projectRef: string | undefined) => ['projects', projectRef, 'jit-db-access'] as const,
|
|
status: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'jit-db-access-status'] as const,
|
|
members: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'jit-db-access-members'] as const,
|
|
}
|