diff --git a/backend/src/models/integration.ts b/backend/src/models/integration.ts index c4021977d..7c487cbfe 100644 --- a/backend/src/models/integration.ts +++ b/backend/src/models/integration.ts @@ -18,6 +18,7 @@ import { INTEGRATION_SUPABASE, INTEGRATION_TRAVISCI, INTEGRATION_VERCEL, + INTEGRATION_WINDMILL, } from "../variables"; export interface IIntegration { @@ -54,7 +55,8 @@ export interface IIntegration { | "supabase" | "checkly" | "hashicorp-vault" - | "cloudflare-pages"; + | "cloudflare-pages" + | "windmill"; integrationAuth: Types.ObjectId; } @@ -144,6 +146,7 @@ const integrationSchema = new Schema( INTEGRATION_CHECKLY, INTEGRATION_HASHICORP_VAULT, INTEGRATION_CLOUDFLARE_PAGES, + INTEGRATION_WINDMILL, ], required: true, }, diff --git a/backend/src/models/integrationAuth.ts b/backend/src/models/integrationAuth.ts index ed3dabadf..3d18166f8 100644 --- a/backend/src/models/integrationAuth.ts +++ b/backend/src/models/integrationAuth.ts @@ -19,13 +19,14 @@ import { INTEGRATION_RENDER, INTEGRATION_SUPABASE, INTEGRATION_TRAVISCI, - INTEGRATION_VERCEL + INTEGRATION_VERCEL, + INTEGRATION_WINDMILL } from "../variables"; export interface IIntegrationAuth extends Document { _id: Types.ObjectId; workspace: Types.ObjectId; - integration: "heroku" | "vercel" | "netlify" | "github" | "gitlab" | "render" | "railway" | "flyio" | "azure-key-vault" | "laravel-forge" | "circleci" | "travisci" | "supabase" | "aws-parameter-store" | "aws-secret-manager" | "checkly" | "cloudflare-pages"; + integration: "heroku" | "vercel" | "netlify" | "github" | "gitlab" | "render" | "railway" | "flyio" | "azure-key-vault" | "laravel-forge" | "circleci" | "travisci" | "supabase" | "aws-parameter-store" | "aws-secret-manager" | "checkly" | "cloudflare-pages" | "windmill"; teamId: string; accountId: string; url: string; @@ -71,6 +72,7 @@ const integrationAuthSchema = new Schema( INTEGRATION_SUPABASE, INTEGRATION_HASHICORP_VAULT, INTEGRATION_CLOUDFLARE_PAGES, + INTEGRATION_WINDMILL, ], required: true, },