add windmill variables to model schema

This commit is contained in:
Sunil Kumar
2023-07-17 15:12:12 +05:30
parent 7c24e0181a
commit 06bd98bf56
2 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -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,
},