import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; @InputType() export class StringNullableListFilter { @Field(() => [String], {nullable:true}) equals?: Array; @Field(() => String, {nullable:true}) has?: string; @Field(() => [String], {nullable:true}) hasEvery?: Array; @Field(() => [String], {nullable:true}) hasSome?: Array; @Field(() => Boolean, {nullable:true}) isEmpty?: boolean; }