mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +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.
37 lines
1.5 KiB
TypeScript
37 lines
1.5 KiB
TypeScript
export const integrationKeys = {
|
|
integrationsListWithOrg: (orgSlug: string | undefined) =>
|
|
['organizations', orgSlug, 'integrations'] as const,
|
|
integrationsList: () => ['organizations', 'integrations'] as const,
|
|
vercelProjectList: (organization_integration_id: string | undefined) =>
|
|
['organizations', organization_integration_id, 'vercel-projects'] as const,
|
|
githubRepoList: (organization_integration_id: string | undefined) =>
|
|
['organizations', organization_integration_id, 'github-repos'] as const,
|
|
vercelConnectionsList: (organization_integration_id: string | undefined) =>
|
|
['organizations', organization_integration_id, 'vercel-connections'] as const,
|
|
githubBranch: (
|
|
organization_integration_id: string | undefined,
|
|
repo_owner: string,
|
|
repo_name: string,
|
|
branch_name: string
|
|
) => [
|
|
'organizations',
|
|
organization_integration_id,
|
|
'branches',
|
|
repo_owner,
|
|
repo_name,
|
|
branch_name,
|
|
],
|
|
githubBranchesList: (
|
|
organization_integration_id: string | undefined,
|
|
repo_owner: string,
|
|
repo_name: string
|
|
) => ['organizations', organization_integration_id, 'branches', repo_owner, repo_name],
|
|
githubPullRequestsList: (
|
|
organization_integration_id: string | undefined,
|
|
repo_owner: string,
|
|
repo_name: string
|
|
) => ['organizations', organization_integration_id, 'pull-requests', repo_owner, repo_name],
|
|
githubConnectionsList: (organization_integration_id: string | undefined) =>
|
|
['organizations', organization_integration_id, 'github-connections'] as const,
|
|
}
|