feat(pipeline-task): 实时展示执行日志

This commit is contained in:
Ivan Li
2021-06-06 22:41:56 +08:00
parent 939777910c
commit 6bc9f787f3
5 changed files with 253 additions and 22 deletions

View File

@ -0,0 +1,16 @@
import { gql } from "@apollo/client";
export const PIPELINE_TASK_EVENT = gql`
subscription PipelineTaskEvent($taskId: String!) {
pipelineTaskEvent(taskId: $taskId) {
taskId
pipelineId
projectId
unit
emittedAt
message
messageType
status
}
}
`;