mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
* Move all studio files from /studio to /apps/studio. * Move studio specific prettier ignores. * Fix the ui references from studio. * Fix the css imports. * Fix all package.json issues. * Fix the prettier setup for the studio app. * Add .turbo folder to prettierignore. * Fix the github workflows.
16 lines
898 B
TypeScript
16 lines
898 B
TypeScript
export const projectKeys = {
|
|
list: () => ['all-projects'] as const,
|
|
status: (projectRef: string | undefined) => ['project', projectRef, 'status'] as const,
|
|
types: (projectRef: string | undefined) => ['project', projectRef, 'types'] as const,
|
|
detail: (projectRef: string | undefined) => ['project', projectRef, 'detail'] as const,
|
|
readonlyStatusList: () => ['projects', 'readonly-statuses'] as const,
|
|
readonlyStatus: (projectRef: string | undefined) =>
|
|
['projects', projectRef, 'readonly-status'] as const,
|
|
projectTransfer: (projectRef: string | undefined, targetOrganizationSlug: string | undefined) =>
|
|
['projects', 'transfer', projectRef, targetOrganizationSlug] as const,
|
|
projectTransferPreview: (
|
|
projectRef: string | undefined,
|
|
targetOrganizationSlug: string | undefined
|
|
) => ['projects', 'transfer', projectRef, targetOrganizationSlug, 'preview'] as const,
|
|
}
|