feat(repos): 检出相关逻辑更改为传入任务信息而不是项目信息。
This commit is contained in:
@ -2,6 +2,7 @@ import { Column, Entity, ManyToOne } from 'typeorm';
|
||||
import { AppBaseEntity } from '../commons/entities/app-base-entity';
|
||||
import { Project } from '../projects/project.entity';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { WorkUnitMetadata } from '../pipeline-tasks/models/work-unit-metadata.model';
|
||||
|
||||
@ObjectType()
|
||||
@Entity()
|
||||
@ -18,5 +19,5 @@ export class Pipeline extends AppBaseEntity {
|
||||
name: string;
|
||||
|
||||
@Column({ type: 'jsonb' })
|
||||
workUnitMetadata: any;
|
||||
workUnitMetadata: WorkUnitMetadata;
|
||||
}
|
||||
|
Reference in New Issue
Block a user