mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
32 lines
555 B
TypeScript
32 lines
555 B
TypeScript
export interface IEnvironment {
|
|
name: string;
|
|
type: string;
|
|
createdAt: string;
|
|
sortOrder: number;
|
|
enabled: boolean;
|
|
protected: boolean;
|
|
}
|
|
|
|
export interface IProjectEnvironment {
|
|
enabled: boolean;
|
|
name: string;
|
|
}
|
|
|
|
export interface IEnvironmentPayload {
|
|
name: string;
|
|
type: string;
|
|
}
|
|
|
|
export interface IEnvironmentEditPayload {
|
|
sortOrder: number;
|
|
type: string;
|
|
}
|
|
|
|
export interface IEnvironmentResponse {
|
|
environments: IEnvironment[];
|
|
}
|
|
|
|
export interface ISortOrderPayload {
|
|
[index: string]: number;
|
|
}
|