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

@ -1,6 +1,7 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
@InputType()
export class PipelineProgressMaxOrderByAggregateInput {
@ -23,8 +24,11 @@ export class PipelineProgressMaxOrderByAggregateInput {
pipelineStageId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
associableType?: keyof typeof SortOrder;
progressableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
associableId?: keyof typeof SortOrder;
progressableId?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
}