summaryrefslogtreecommitdiff
path: root/src/api/schema/integrations.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema/integrations.rs')
-rw-r--r--src/api/schema/integrations.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/api/schema/integrations.rs b/src/api/schema/integrations.rs
index f20b9095..5a267ff1 100644
--- a/src/api/schema/integrations.rs
+++ b/src/api/schema/integrations.rs
@@ -29,6 +29,25 @@ pub enum IntegrationTarget {
Mastracode,
}
+impl IntegrationTarget {
+ pub(crate) const ALL: [Self; 14] = [
+ Self::Pi,
+ Self::Omp,
+ Self::Claude,
+ Self::Codex,
+ Self::Copilot,
+ Self::Devin,
+ Self::Droid,
+ Self::Kimi,
+ Self::Opencode,
+ Self::Kilo,
+ Self::Hermes,
+ Self::Qodercli,
+ Self::Cursor,
+ Self::Mastracode,
+ ];
+}
+
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, schemars::JsonSchema)]
pub struct IntegrationInstallResult {
pub messages: Vec<String>,