2021-09-14 14:20:23 +02:00
|
|
|
export interface IEnvironment {
|
|
|
|
name: string;
|
|
|
|
type: string;
|
|
|
|
createdAt: string;
|
|
|
|
sortOrder: number;
|
|
|
|
enabled: boolean;
|
|
|
|
protected: boolean;
|
|
|
|
}
|
|
|
|
|
2021-11-04 14:24:36 +01:00
|
|
|
export interface IProjectEnvironment {
|
|
|
|
enabled: boolean;
|
|
|
|
name: string;
|
|
|
|
}
|
|
|
|
|
2021-09-14 14:20:23 +02:00
|
|
|
export interface IEnvironmentPayload {
|
|
|
|
name: string;
|
|
|
|
type: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IEnvironmentEditPayload {
|
|
|
|
sortOrder: number;
|
|
|
|
type: string;
|
|
|
|
}
|
|
|
|
|
2022-10-28 10:15:46 +02:00
|
|
|
export interface IEnvironmentClonePayload {
|
|
|
|
name: string;
|
|
|
|
type: string;
|
|
|
|
projects: string[];
|
|
|
|
clonePermissions: boolean;
|
|
|
|
}
|
|
|
|
|
2021-09-14 14:20:23 +02:00
|
|
|
export interface IEnvironmentResponse {
|
|
|
|
environments: IEnvironment[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ISortOrderPayload {
|
|
|
|
[index: string]: number;
|
|
|
|
}
|