Update integration section for github repo, org and env

This commit is contained in:
Salman
2024-02-15 15:59:18 +05:30
parent c8f0796952
commit dc696f8932
3 changed files with 43 additions and 56 deletions
+15 -23
View File
@@ -11,31 +11,23 @@ export type TCloudIntegration = {
export type TIntegration = {
id: string;
projectId: string;
envId: string;
environment: { slug: string; name: string; id: string };
isActive: boolean;
url: any;
app: string;
appId: string;
targetEnvironment: string;
targetEnvironmentId: string;
targetService: string;
targetServiceId: string;
owner: string;
path: string;
region: string;
url?: string;
app?: string;
appId?: string;
targetEnvironment?: string;
targetEnvironmentId?: string;
targetService?: string;
targetServiceId?: string;
owner?: string;
path?: string;
region?: string;
scope?: string;
integration: string;
integrationAuth: string;
metadata?: Record<string, any>;
integrationAuthId: string;
envId: string;
secretPath: string;
createdAt: string;
updatedAt: string;
__v: number;
metadata?: {
secretSuffix?: string;
scope: string;
org: string;
project: string;
environment: string;
};
};
};