import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; @InputType() export class NestedDateTimeNullableFilter { @Field(() => Date, {nullable:true}) equals?: Date | string; @Field(() => [Date], {nullable:true}) in?: Array | Array; @Field(() => [Date], {nullable:true}) notIn?: Array | Array; @Field(() => Date, {nullable:true}) lt?: Date | string; @Field(() => Date, {nullable:true}) lte?: Date | string; @Field(() => Date, {nullable:true}) gt?: Date | string; @Field(() => Date, {nullable:true}) gte?: Date | string; @Field(() => NestedDateTimeNullableFilter, {nullable:true}) not?: NestedDateTimeNullableFilter; }