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 { IntWithAggregatesFilter } from '../prisma/int-with-aggregates-filter.input'; import { BoolNullableWithAggregatesFilter } from '../prisma/bool-nullable-with-aggregates-filter.input'; @InputType() export class ArticleScalarWhereWithAggregatesInput { @Field(() => [ArticleScalarWhereWithAggregatesInput], {nullable:true}) AND?: Array; @Field(() => [ArticleScalarWhereWithAggregatesInput], {nullable:true}) OR?: Array; @Field(() => [ArticleScalarWhereWithAggregatesInput], {nullable:true}) NOT?: Array; @Field(() => StringWithAggregatesFilter, {nullable:true}) id?: StringWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) slug?: StringWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) title?: StringWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) description?: StringWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) body?: StringWithAggregatesFilter; @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) createdAt?: DateTimeWithAggregatesFilter; @Field(() => DateTimeWithAggregatesFilter, {nullable:true}) updatedAt?: DateTimeWithAggregatesFilter; @Field(() => IntWithAggregatesFilter, {nullable:true}) favoritesCount?: IntWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) authorId?: StringWithAggregatesFilter; @Field(() => BoolNullableWithAggregatesFilter, {nullable:true}) active?: BoolNullableWithAggregatesFilter; }