feat(pipelines): list logs 时提供关联的 tasks 。

This commit is contained in:
Ivan
2021-03-28 19:37:16 +08:00
parent da6bc9a068
commit 032aa89b05
7 changed files with 68 additions and 21 deletions

View File

@ -1,5 +1,6 @@
import { ObjectType, Field } from '@nestjs/graphql';
import { LogResult, DefaultLogFields } from 'simple-git';
import { PipelineTask } from '../../pipeline-tasks/pipeline-task.entity';
@ObjectType()
export class LogFields {
@ -10,6 +11,7 @@ export class LogFields {
body: string;
author_name: string;
author_email: string;
tasks: PipelineTask[];
}
@ObjectType()