import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { CommentCreateWithoutArticleInput } from './comment-create-without-article.input'; import { Type } from 'class-transformer'; import { CommentCreateOrConnectWithoutArticleInput } from './comment-create-or-connect-without-article.input'; import { CommentCreateManyArticleInputEnvelope } from './comment-create-many-article-input-envelope.input'; import { CommentWhereUniqueInput } from './comment-where-unique.input'; @InputType() export class CommentCreateNestedManyWithoutArticleInput { @Field(() => [CommentCreateWithoutArticleInput], {nullable:true}) @Type(() => CommentCreateWithoutArticleInput) create?: Array; @Field(() => [CommentCreateOrConnectWithoutArticleInput], {nullable:true}) @Type(() => CommentCreateOrConnectWithoutArticleInput) connectOrCreate?: Array; @Field(() => CommentCreateManyArticleInputEnvelope, {nullable:true}) @Type(() => CommentCreateManyArticleInputEnvelope) createMany?: CommentCreateManyArticleInputEnvelope; @Field(() => [CommentWhereUniqueInput], {nullable:true}) @Type(() => CommentWhereUniqueInput) connect?: Array; }