mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
* feat: allow disabling and re-enabling of `anon` and `service_role` * Cleanup the RQ hooks. * Restructure the enable/disable alert in API keys. * Minor cleanups. * Minor fixes. * Fix a type error. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
6 lines
302 B
TypeScript
6 lines
302 B
TypeScript
export const apiKeysKeys = {
|
|
list: (projectRef?: string) => ['projects', projectRef, 'api-keys'] as const,
|
|
single: (projectRef?: string, id?: string) => ['projects', projectRef, 'api-keys', id] as const,
|
|
status: (projectRef?: string) => ['projects', projectRef, 'api-keys', 'legacy'] as const,
|
|
}
|