mirror of
https://github.com/supabase/supabase.git
synced 2026-10-19 16:19:10 +03:00
8 lines
355 B
TypeScript
8 lines
355 B
TypeScript
export const contentKeys = {
|
|
list: (projectRef: string | undefined) => ['projects', projectRef, 'content'] as const,
|
|
folders: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'content', 'folders'] as const,
|
|
resource: (projectRef: string | undefined, id: string | undefined) =>
|
|
['projects', projectRef, 'content', id] as const,
|
|
}
|