Enable Task creation (#688)
This commit is contained in:
@ -2,12 +2,14 @@ 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 { WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput } from '../workspace/workspace-update-one-required-without-comment-threads-nested.input';
|
||||
import { UserUpdateOneRequiredWithoutCommentThreadNestedInput } from '../user/user-update-one-required-without-comment-thread-nested.input';
|
||||
import { UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput } from '../user/user-update-one-required-without-authored-comment-threads-nested.input';
|
||||
import { UserUpdateOneWithoutAssignedCommentThreadsNestedInput } from '../user/user-update-one-without-assigned-comment-threads-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUpdateWithoutCommentsInput {
|
||||
@ -21,6 +23,18 @@ export class CommentThreadUpdateWithoutCommentsInput {
|
||||
@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;
|
||||
|
||||
@ -36,6 +50,9 @@ export class CommentThreadUpdateWithoutCommentsInput {
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneRequiredWithoutCommentThreadNestedInput, {nullable:true})
|
||||
author?: UserUpdateOneRequiredWithoutCommentThreadNestedInput;
|
||||
@Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true})
|
||||
author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true})
|
||||
assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user