Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add windmill variables to model schema

Sunil Kumar06bd98bf56ad
diff --git a/backend/src/models/integration.ts b/backend/src/models/integration.ts
index c4021977db..7c487cbfea 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<IIntegration>(
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 ed3dabadfb..3d18166f8e 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<IIntegrationAuth>(
INTEGRATION_SUPABASE,
INTEGRATION_HASHICORP_VAULT,
INTEGRATION_CLOUDFLARE_PAGES,
+ INTEGRATION_WINDMILL,
],
required: true,
},