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