Add workspace scoping to pipeline progress and expose findManyPipelineeProgress on graphql (#292)

Add workspace scoping to pipeline progress and expose findManyPipelineProgress on graphql
This commit is contained in:
Charles Bochet
2023-06-14 17:05:15 +02:00
committed by GitHub
parent 31f3950439
commit 5381e28253
104 changed files with 1393 additions and 98 deletions

View File

@ -6,6 +6,7 @@ import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-t
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
@InputType()
export class WorkspaceCreateWithoutPeopleInput {
@ -55,4 +56,9 @@ export class WorkspaceCreateWithoutPeopleInput {
nullable: true,
})
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
nullable: true,
})
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
}