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

@ -4,6 +4,7 @@ import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-fil
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
import { EnumPipelineProgressableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-progressable-type-with-aggregates-filter.input';
import { HideField } from '@nestjs/graphql';
@InputType()
export class PipelineProgressScalarWhereWithAggregatesInput {
@ -43,8 +44,11 @@ export class PipelineProgressScalarWhereWithAggregatesInput {
@Field(() => EnumPipelineProgressableTypeWithAggregatesFilter, {
nullable: true,
})
associableType?: EnumPipelineProgressableTypeWithAggregatesFilter;
progressableType?: EnumPipelineProgressableTypeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true })
associableId?: StringWithAggregatesFilter;
progressableId?: StringWithAggregatesFilter;
@HideField()
workspaceId?: StringWithAggregatesFilter;
}