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 { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input'; @InputType() export class CommentScalarWhereWithAggregatesInput { @Field(() => [CommentScalarWhereWithAggregatesInput], {nullable:true}) AND?: Array; @Field(() => [CommentScalarWhereWithAggregatesInput], {nullable:true}) OR?: Array; @Field(() => [CommentScalarWhereWithAggregatesInput], {nullable:true}) NOT?: Array; @Field(() => StringWithAggregatesFilter, {nullable:true}) id?: StringWithAggregatesFilter; @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) createdAt?: DateTimeWithAggregatesFilter; @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) updatedAt?: DateTimeWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) body?: StringWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) authorId?: StringWithAggregatesFilter; @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) articleId?: StringNullableWithAggregatesFilter; }