import { Field } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql'; import { DummyWhereInput } from './dummy-where.input'; import { Type } from 'class-transformer'; import { DummyOrderByWithRelationAndSearchRelevanceInput } from './dummy-order-by-with-relation-and-search-relevance.input'; import { DummyWhereUniqueInput } from './dummy-where-unique.input'; import { Int } from '@nestjs/graphql'; import { DummyScalarFieldEnum } from './dummy-scalar-field.enum'; @ArgsType() export class FindManyDummyArgs { @Field(() => DummyWhereInput, {nullable:true}) @Type(() => DummyWhereInput) where?: DummyWhereInput; @Field(() => [DummyOrderByWithRelationAndSearchRelevanceInput], {nullable:true}) @Type(() => DummyOrderByWithRelationAndSearchRelevanceInput) orderBy?: Array; @Field(() => DummyWhereUniqueInput, {nullable:true}) @Type(() => DummyWhereUniqueInput) cursor?: DummyWhereUniqueInput; @Field(() => Int, {nullable:true}) take?: number; @Field(() => Int, {nullable:true}) skip?: number; @Field(() => [DummyScalarFieldEnum], {nullable:true}) distinct?: Array; }