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 { EnumActivityTypeFieldUpdateOperationsInput } from '../prisma/enum-activity-type-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { HideField } from '@nestjs/graphql'; import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-update-many-without-comment-thread-nested.input'; import { CommentUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-update-many-without-comment-thread-nested.input'; import { WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput } from '../workspace/workspace-update-one-required-without-comment-threads-nested.input'; import { UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput } from '../user/user-update-one-required-without-authored-comment-threads-nested.input'; @InputType() export class CommentThreadUpdateWithoutAssigneeInput { @Field(() => StringFieldUpdateOperationsInput, {nullable:true}) id?: StringFieldUpdateOperationsInput; @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) body?: NullableStringFieldUpdateOperationsInput; @Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true}) title?: NullableStringFieldUpdateOperationsInput; @Field(() => EnumActivityTypeFieldUpdateOperationsInput, {nullable:true}) type?: EnumActivityTypeFieldUpdateOperationsInput; @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) reminderAt?: NullableDateTimeFieldUpdateOperationsInput; @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) dueAt?: NullableDateTimeFieldUpdateOperationsInput; @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) completedAt?: NullableDateTimeFieldUpdateOperationsInput; @HideField() deletedAt?: NullableDateTimeFieldUpdateOperationsInput; @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) createdAt?: DateTimeFieldUpdateOperationsInput; @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) updatedAt?: DateTimeFieldUpdateOperationsInput; @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) comments?: CommentUpdateManyWithoutCommentThreadNestedInput; @HideField() workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput; @Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true}) author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput; }