mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
* feat(studio): show icon on tables exposed by data api Show an icon in the Table Editor for tables that are exposed via the Data API. * refactor(studio): move table api access query up to parent * fix(studio): invalidate table privileges query on table create * fix(studio): make RLS disabled warning on table editor more obvious Change from warning -> danger * Only show add foreign key in side panel if isSuccess * chore(studio): put data api exposed badge behind feature flag Only show badge for now if flag `dataApiExposedBadge` is enabled. --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
7 lines
295 B
TypeScript
7 lines
295 B
TypeScript
export const privilegeKeys = {
|
|
tablePrivilegesList: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'database', 'table-privileges'] as const,
|
|
columnPrivilegesList: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'database', 'column-privileges'] as const,
|
|
}
|