Files
twenty_crm/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where-with-aggregates.input.ts
Charles Bochet 5381e28253 Add workspace scoping to pipeline progress and expose findManyPipelineeProgress on graphql (#292)
Add workspace scoping to pipeline progress and expose findManyPipelineProgress on graphql
2023-06-14 17:05:15 +02:00

55 lines
2.1 KiB
TypeScript

import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
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 {
@Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {
nullable: true,
})
AND?: Array<PipelineProgressScalarWhereWithAggregatesInput>;
@Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {
nullable: true,
})
OR?: Array<PipelineProgressScalarWhereWithAggregatesInput>;
@Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {
nullable: true,
})
NOT?: Array<PipelineProgressScalarWhereWithAggregatesInput>;
@Field(() => StringWithAggregatesFilter, { nullable: true })
id?: StringWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true })
pipelineId?: StringWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true })
pipelineStageId?: StringWithAggregatesFilter;
@Field(() => EnumPipelineProgressableTypeWithAggregatesFilter, {
nullable: true,
})
progressableType?: EnumPipelineProgressableTypeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true })
progressableId?: StringWithAggregatesFilter;
@HideField()
workspaceId?: StringWithAggregatesFilter;
}