import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; @InputType() export class NestedStringNullableFilter { @Field(() => String, {nullable:true}) equals?: string; @Field(() => [String], {nullable:true}) in?: Array; @Field(() => [String], {nullable:true}) notIn?: Array; @Field(() => String, {nullable:true}) lt?: string; @Field(() => String, {nullable:true}) lte?: string; @Field(() => String, {nullable:true}) gt?: string; @Field(() => String, {nullable:true}) gte?: string; @Field(() => String, {nullable:true}) contains?: string; @Field(() => String, {nullable:true}) startsWith?: string; @Field(() => String, {nullable:true}) endsWith?: string; @Field(() => String, {nullable:true}) search?: string; @Field(() => NestedStringNullableFilter, {nullable:true}) not?: NestedStringNullableFilter; }