import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { QueryMode } from './query-mode.enum'; import { NestedStringNullableWithAggregatesFilter } from './nested-string-nullable-with-aggregates-filter.input'; import { NestedIntNullableFilter } from './nested-int-nullable-filter.input'; import { NestedStringNullableFilter } from './nested-string-nullable-filter.input'; @InputType() export class StringNullableWithAggregatesFilter { @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(() => QueryMode, {nullable:true}) mode?: keyof typeof QueryMode; @Field(() => NestedStringNullableWithAggregatesFilter, {nullable:true}) not?: NestedStringNullableWithAggregatesFilter; @Field(() => NestedIntNullableFilter, {nullable:true}) _count?: NestedIntNullableFilter; @Field(() => NestedStringNullableFilter, {nullable:true}) _min?: NestedStringNullableFilter; @Field(() => NestedStringNullableFilter, {nullable:true}) _max?: NestedStringNullableFilter; }