mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 11:25:06 +03:00
19 lines
1.0 KiB
TypeScript
19 lines
1.0 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,
|
|
githubBranchesList: (
|
|
organization_integration_id: string | undefined,
|
|
repo_owner: string,
|
|
repo_name: string
|
|
) => ['organizations', organization_integration_id, 'branches', repo_owner, repo_name],
|
|
githubConnectionsList: (organization_integration_id: string | undefined) =>
|
|
['organizations', organization_integration_id, 'github-connections'] as const,
|
|
}
|