initial
This commit is contained in:
32
ts_interfaces/data/pipeline.ts
Normal file
32
ts_interfaces/data/pipeline.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
export type TPipelineStatus =
|
||||
| 'pending'
|
||||
| 'running'
|
||||
| 'success'
|
||||
| 'failed'
|
||||
| 'canceled'
|
||||
| 'skipped'
|
||||
| 'waiting'
|
||||
| 'manual';
|
||||
|
||||
export interface IPipeline {
|
||||
id: string;
|
||||
projectId: string;
|
||||
projectName: string;
|
||||
connectionId: string;
|
||||
status: TPipelineStatus;
|
||||
ref: string;
|
||||
sha: string;
|
||||
webUrl: string;
|
||||
duration: number;
|
||||
createdAt: string;
|
||||
source: string;
|
||||
}
|
||||
|
||||
export interface IPipelineJob {
|
||||
id: string;
|
||||
pipelineId: string;
|
||||
name: string;
|
||||
stage: string;
|
||||
status: TPipelineStatus;
|
||||
duration: number;
|
||||
}
|
||||
Reference in New Issue
Block a user