import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { Type } from 'class-transformer'; import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input'; import { IntNullableWithAggregatesFilter } from '../prisma/int-nullable-with-aggregates-filter.input'; import { FloatNullableWithAggregatesFilter } from '../prisma/float-nullable-with-aggregates-filter.input'; import { DecimalNullableWithAggregatesFilter } from '../prisma/decimal-nullable-with-aggregates-filter.input'; import { EnumRoleNullableWithAggregatesFilter } from '../prisma/enum-role-nullable-with-aggregates-filter.input'; @InputType() export class UserScalarWhereWithAggregatesInput { @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) @Type(() => UserScalarWhereWithAggregatesInput) AND?: Array; @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) @Type(() => UserScalarWhereWithAggregatesInput) OR?: Array; @Field(() => [UserScalarWhereWithAggregatesInput], {nullable:true}) @Type(() => UserScalarWhereWithAggregatesInput) NOT?: Array; @Field(() => StringWithAggregatesFilter, {nullable:true}) id?: StringWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) email?: StringWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) name?: StringWithAggregatesFilter; @Field(() => StringWithAggregatesFilter, {nullable:true}) password?: StringWithAggregatesFilter; @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) bio?: StringNullableWithAggregatesFilter; @Field(() => StringNullableWithAggregatesFilter, {nullable:true}) image?: StringNullableWithAggregatesFilter; @Field(() => IntNullableWithAggregatesFilter, {nullable:true}) countComments?: IntNullableWithAggregatesFilter; @Field(() => FloatNullableWithAggregatesFilter, {nullable:true}) rating?: FloatNullableWithAggregatesFilter; @Field(() => DecimalNullableWithAggregatesFilter, {nullable:true}) @Type(() => DecimalNullableWithAggregatesFilter) money?: DecimalNullableWithAggregatesFilter; @Field(() => EnumRoleNullableWithAggregatesFilter, {nullable:true}) role?: EnumRoleNullableWithAggregatesFilter; }