import { ResourceReference } from "../common/ResourceReference"; import { EnvironmentInterface } from "../environments/EnvironmentTypes"; import { ProjectInterface } from "../project/ProjectTypes"; export interface PipelineEnvironmentInterface { id?: string; pipelinePosition?: number; environment?: EnvironmentInterface; } export interface PipelineInterface { id?: string; name?: string; description?: string; includeBuild?: boolean; triggerOnCommit?: boolean; owningProject?: ProjectInterface; pipelineEnvironments?: PipelineEnvironmentInterface[]; } export interface MinimalPipelineDto { id: string; name: string; description: string; gitBranch: string; includeBuild: boolean; } export interface StandardPipelineDto { id: string; name: string; description: string; gitBranch: string; includeBuild: boolean; triggerOnCommit: boolean; } export interface PipelineEnvironmentDto { id: string; pipelinePosition: number; environment: ResourceReference; } export interface FullPipelineDto { id: string; name: string; description: string; gitBranch: string; includeBuild: boolean; triggerOnCommit: boolean; pipelineEnvironments: PipelineEnvironmentDto[]; }