mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
6 lines
252 B
TypeScript
6 lines
252 B
TypeScript
export const resourceKeys = {
|
|
list: (projectRef: string | undefined) => ['projects', projectRef, 'resources'] as const,
|
|
resource: (projectRef: string | undefined, id: string | undefined) =>
|
|
['projects', projectRef, 'resources', id] as const,
|
|
}
|