import { Field } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql'; import { TagWhereInput } from './tag-where.input'; import { Type } from 'class-transformer'; import { TagOrderByWithRelationAndSearchRelevanceInput } from './tag-order-by-with-relation-and-search-relevance.input'; import { TagWhereUniqueInput } from './tag-where-unique.input'; import { Int } from '@nestjs/graphql'; import { TagCountAggregateInput } from './tag-count-aggregate.input'; import { TagMinAggregateInput } from './tag-min-aggregate.input'; import { TagMaxAggregateInput } from './tag-max-aggregate.input'; @ArgsType() export class TagAggregateArgs { @Field(() => TagWhereInput, {nullable:true}) @Type(() => TagWhereInput) where?: TagWhereInput; @Field(() => [TagOrderByWithRelationAndSearchRelevanceInput], {nullable:true}) orderBy?: Array; @Field(() => TagWhereUniqueInput, {nullable:true}) cursor?: TagWhereUniqueInput; @Field(() => Int, {nullable:true}) take?: number; @Field(() => Int, {nullable:true}) skip?: number; @Field(() => TagCountAggregateInput, {nullable:true}) _count?: TagCountAggregateInput; @Field(() => TagMinAggregateInput, {nullable:true}) _min?: TagMinAggregateInput; @Field(() => TagMaxAggregateInput, {nullable:true}) _max?: TagMaxAggregateInput; }