mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 02:15:05 +03:00
* Set up branch selection UI in EnableBranchingModal to be text input * Scaffold new CreateBranchModal * Refactor Enable Branching Modal to use RHF and implement async validation * midway updating create branch modal * Update create branch modal with branch checking through text input * Deprecate create branch side panel * Remove unused import * Small improvement to validation * Remove console log
45 lines
1.6 KiB
TypeScript
45 lines
1.6 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,
|
|
target: string | undefined
|
|
) => [
|
|
'organizations',
|
|
organization_integration_id,
|
|
'pull-requests',
|
|
repo_owner,
|
|
repo_name,
|
|
target,
|
|
],
|
|
githubConnectionsList: (organization_integration_id: string | undefined) =>
|
|
['organizations', organization_integration_id, 'github-connections'] as const,
|
|
}
|