31907ba651
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
26 lines
933 B
TypeScript
26 lines
933 B
TypeScript
import type { SettingsDiscoveryDefinition } from "../types";
|
||
|
||
const INTEGRATIONS = [
|
||
["azure-devops", "Azure DevOps"],
|
||
["github", "GitHub"],
|
||
["gitlab", "GitLab"],
|
||
["jira", "Jira"],
|
||
["linear", "Linear"],
|
||
["sentry", "Sentry"],
|
||
] as const;
|
||
|
||
export const INTEGRATION_SETTINGS_TARGETS = {
|
||
"azure-devops": "setting-integration-azure-devops-connection",
|
||
github: "setting-integration-github-connection",
|
||
gitlab: "setting-integration-gitlab-connection",
|
||
jira: "setting-integration-jira-connection",
|
||
linear: "setting-integration-linear-connection",
|
||
sentry: "setting-integration-sentry-connection",
|
||
} as const;
|
||
|
||
// Integrations are workspace-scoped: their discovery entries are generated per
|
||
// workspace in resolve.ts, so search results read "<workspace> › Integrations › …".
|
||
export const INTEGRATION_DISCOVERY_DEFINITIONS: SettingsDiscoveryDefinition[] = [];
|
||
|
||
export const WORKSPACE_INTEGRATIONS = INTEGRATIONS;
|