mirror of
https://github.com/supabase/supabase.git
synced 2026-07-03 22:54:19 +08:00
* fix: api key mutations invalidate proper keys * Fix the RQ keys for API keys. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
7 lines
339 B
TypeScript
7 lines
339 B
TypeScript
export const apiKeysKeys = {
|
|
list: (projectRef?: string, reveal?: boolean) =>
|
|
['projects', projectRef, 'api-keys', reveal].filter(Boolean),
|
|
single: (projectRef?: string, id?: string) => ['projects', projectRef, 'api-keys', id] as const,
|
|
status: (projectRef?: string) => ['projects', projectRef, 'api-keys', 'legacy'] as const,
|
|
}
|