import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input'; import { UserUncheckedUpdateManyWithoutFollowersNestedInput } from './user-unchecked-update-many-without-followers-nested.input'; import { Type } from 'class-transformer'; import { UserUncheckedUpdateManyWithoutFollowingNestedInput } from './user-unchecked-update-many-without-following-nested.input'; import { ArticleUncheckedUpdateManyWithoutFavoritedByNestedInput } from '../article/article-unchecked-update-many-without-favorited-by-nested.input'; import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input'; import { NullableIntFieldUpdateOperationsInput } from '../prisma/nullable-int-field-update-operations.input'; import { NullableFloatFieldUpdateOperationsInput } from '../prisma/nullable-float-field-update-operations.input'; import { NullableDecimalFieldUpdateOperationsInput } from '../prisma/nullable-decimal-field-update-operations.input'; import { NullableEnumRoleFieldUpdateOperationsInput } from '../prisma/nullable-enum-role-field-update-operations.input'; import { ProfileUncheckedUpdateOneWithoutUserNestedInput } from '../profile/profile-unchecked-update-one-without-user-nested.input'; @InputType() export class UserUncheckedUpdateWithoutArticlesInput { @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) id?: StringFieldUpdateOperationsInput; @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) email?: StringFieldUpdateOperationsInput; @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) name?: StringFieldUpdateOperationsInput; @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) password?: StringFieldUpdateOperationsInput; @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) bio?: NullableStringFieldUpdateOperationsInput; @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) image?: NullableStringFieldUpdateOperationsInput; @Field(() => UserUncheckedUpdateManyWithoutFollowersNestedInput, {nullable:true}) @Type(() => UserUncheckedUpdateManyWithoutFollowersNestedInput) following?: UserUncheckedUpdateManyWithoutFollowersNestedInput; @Field(() => UserUncheckedUpdateManyWithoutFollowingNestedInput, {nullable:true}) @Type(() => UserUncheckedUpdateManyWithoutFollowingNestedInput) followers?: UserUncheckedUpdateManyWithoutFollowingNestedInput; @Field(() => ArticleUncheckedUpdateManyWithoutFavoritedByNestedInput, {nullable:true}) @Type(() => ArticleUncheckedUpdateManyWithoutFavoritedByNestedInput) favoriteArticles?: ArticleUncheckedUpdateManyWithoutFavoritedByNestedInput; @Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true}) @Type(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput) comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput; @Field(() => NullableIntFieldUpdateOperationsInput, {nullable:true}) countComments?: NullableIntFieldUpdateOperationsInput; @Field(() => NullableFloatFieldUpdateOperationsInput, {nullable:true}) rating?: NullableFloatFieldUpdateOperationsInput; @Field(() => NullableDecimalFieldUpdateOperationsInput, {nullable:true}) @Type(() => NullableDecimalFieldUpdateOperationsInput) money?: NullableDecimalFieldUpdateOperationsInput; @Field(() => NullableEnumRoleFieldUpdateOperationsInput, {nullable:true}) role?: NullableEnumRoleFieldUpdateOperationsInput; @Field(() => ProfileUncheckedUpdateOneWithoutUserNestedInput, {nullable:true}) @Type(() => ProfileUncheckedUpdateOneWithoutUserNestedInput) profile?: ProfileUncheckedUpdateOneWithoutUserNestedInput; }