mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 13:49:09 +03:00
* Deprecate getAPIKeys from project settings v2, use new api keys endpoint instead * use getPreferredKeys where appropriate * Prevent usage of secret key for storage and realtime inspector * Add dashboard API api-keys endpoint * Simplify * Disable edge functions test if legacy api keys are disabled * Revert * Fix graphiql * Remove all usage of api keys from project settings, except DisplayApiSettings * Update * Fix * Small fix for an undefined upload url. * Fix the storage state initialization when the resumable url changes. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
7 lines
332 B
TypeScript
7 lines
332 B
TypeScript
export const apiKeysKeys = {
|
|
list: (projectRef?: string, reveal?: boolean) =>
|
|
['projects', projectRef, 'api-keys', reveal] as const,
|
|
single: (projectRef?: string, id?: string) => ['projects', projectRef, 'api-keys', id] as const,
|
|
status: (projectRef?: string) => ['projects', projectRef, 'api-keys', 'legacy'] as const,
|
|
}
|