Enable Task creation (#688)
This commit is contained in:
@ -20,6 +20,21 @@ export class CommentThreadCountAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
title?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
type?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
reminderAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
dueAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
completedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
assigneeId?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
|
||||
@ -21,6 +21,21 @@ export class CommentThreadCountAggregate {
|
||||
@Field(() => Int, {nullable:false})
|
||||
title!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
type!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
reminderAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
dueAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
completedAt!: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
assigneeId!: number;
|
||||
|
||||
@HideField()
|
||||
deletedAt!: number;
|
||||
|
||||
|
||||
@ -21,6 +21,21 @@ export class CommentThreadCountOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
title?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
type?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
reminderAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
dueAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
completedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
assigneeId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
|
||||
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadCreateManyAssigneeInput } from './comment-thread-create-many-assignee.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateManyAssigneeInputEnvelope {
|
||||
|
||||
@Field(() => [CommentThreadCreateManyAssigneeInput], {nullable:false})
|
||||
@Type(() => CommentThreadCreateManyAssigneeInput)
|
||||
data!: Array<CommentThreadCreateManyAssigneeInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateManyAssigneeInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
authorId!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
body?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
}
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateManyAuthorInput {
|
||||
@ -20,6 +21,21 @@ export class CommentThreadCreateManyAuthorInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
@ -20,6 +21,21 @@ export class CommentThreadCreateManyWorkspaceInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateManyInput {
|
||||
@ -23,6 +24,21 @@ export class CommentThreadCreateManyInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CommentThreadCreateOrConnectWithoutAssigneeInput } from './comment-thread-create-or-connect-without-assignee.input';
|
||||
import { CommentThreadCreateManyAssigneeInputEnvelope } from './comment-thread-create-many-assignee-input-envelope.input';
|
||||
import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateNestedManyWithoutAssigneeInput {
|
||||
|
||||
@Field(() => [CommentThreadCreateWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadCreateWithoutAssigneeInput)
|
||||
create?: Array<CommentThreadCreateWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadCreateOrConnectWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadCreateOrConnectWithoutAssigneeInput)
|
||||
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => CommentThreadCreateManyAssigneeInputEnvelope, {nullable:true})
|
||||
@Type(() => CommentThreadCreateManyAssigneeInputEnvelope)
|
||||
createMany?: CommentThreadCreateManyAssigneeInputEnvelope;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
connect?: Array<CommentThreadWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateOrConnectWithoutAssigneeInput {
|
||||
|
||||
@Field(() => CommentThreadWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
where!: CommentThreadWhereUniqueInput;
|
||||
|
||||
@Field(() => CommentThreadCreateWithoutAssigneeInput, {nullable:false})
|
||||
@Type(() => CommentThreadCreateWithoutAssigneeInput)
|
||||
create!: CommentThreadCreateWithoutAssigneeInput;
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input';
|
||||
import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';
|
||||
import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateWithoutAssigneeInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
body?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
|
||||
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
|
||||
|
||||
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
|
||||
comments?: CommentCreateNestedManyWithoutCommentThreadInput;
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput;
|
||||
}
|
||||
@ -1,10 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input';
|
||||
import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';
|
||||
import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateWithoutAuthorInput {
|
||||
@ -20,6 +22,18 @@ export class CommentThreadCreateWithoutAuthorInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@ -37,4 +51,7 @@ export class CommentThreadCreateWithoutAuthorInput {
|
||||
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput;
|
||||
}
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';
|
||||
import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutCommentThreadInput } from '../user/user-create-nested-one-without-comment-thread.input';
|
||||
import { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateWithoutCommentThreadTargetsInput {
|
||||
@ -20,6 +22,18 @@ export class CommentThreadCreateWithoutCommentThreadTargetsInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@ -35,6 +49,9 @@ export class CommentThreadCreateWithoutCommentThreadTargetsInput {
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutCommentThreadInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutCommentThreadInput;
|
||||
@Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput;
|
||||
}
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input';
|
||||
import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutCommentThreadInput } from '../user/user-create-nested-one-without-comment-thread.input';
|
||||
import { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateWithoutCommentsInput {
|
||||
@ -20,6 +22,18 @@ export class CommentThreadCreateWithoutCommentsInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@ -35,6 +49,9 @@ export class CommentThreadCreateWithoutCommentsInput {
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutCommentThreadInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutCommentThreadInput;
|
||||
@Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput;
|
||||
}
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input';
|
||||
import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';
|
||||
import { UserCreateNestedOneWithoutCommentThreadInput } from '../user/user-create-nested-one-without-comment-thread.input';
|
||||
import { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateWithoutWorkspaceInput {
|
||||
@ -20,6 +22,18 @@ export class CommentThreadCreateWithoutWorkspaceInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@ -35,6 +49,9 @@ export class CommentThreadCreateWithoutWorkspaceInput {
|
||||
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
|
||||
comments?: CommentCreateNestedManyWithoutCommentThreadInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutCommentThreadInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutCommentThreadInput;
|
||||
@Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput;
|
||||
}
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input';
|
||||
import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';
|
||||
import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutCommentThreadInput } from '../user/user-create-nested-one-without-comment-thread.input';
|
||||
import { UserCreateNestedOneWithoutAuthoredCommentThreadsInput } from '../user/user-create-nested-one-without-authored-comment-threads.input';
|
||||
import { UserCreateNestedOneWithoutAssignedCommentThreadsInput } from '../user/user-create-nested-one-without-assigned-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadCreateInput {
|
||||
@ -21,6 +23,18 @@ export class CommentThreadCreateInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@ -39,6 +53,9 @@ export class CommentThreadCreateInput {
|
||||
@HideField()
|
||||
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutCommentThreadInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutCommentThreadInput;
|
||||
@Field(() => UserCreateNestedOneWithoutAuthoredCommentThreadsInput, {nullable:false})
|
||||
author!: UserCreateNestedOneWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateNestedOneWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
assignee?: UserCreateNestedOneWithoutAssignedCommentThreadsInput;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { CommentThreadCountAggregate } from './comment-thread-count-aggregate.output';
|
||||
import { CommentThreadMinAggregate } from './comment-thread-min-aggregate.output';
|
||||
import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output';
|
||||
@ -26,6 +27,21 @@ export class CommentThreadGroupBy {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:false})
|
||||
type!: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -20,6 +20,21 @@ export class CommentThreadMaxAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
title?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
type?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
reminderAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
dueAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
completedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
assigneeId?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentThreadMaxAggregate {
|
||||
@ -23,6 +24,21 @@ export class CommentThreadMaxAggregate {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -21,6 +21,21 @@ export class CommentThreadMaxOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
title?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
type?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
reminderAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
dueAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
completedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
assigneeId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
|
||||
@ -20,6 +20,21 @@ export class CommentThreadMinAggregateInput {
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
title?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
type?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
reminderAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
dueAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
completedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
assigneeId?: true;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: true;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
|
||||
@ObjectType()
|
||||
export class CommentThreadMinAggregate {
|
||||
@ -23,6 +24,21 @@ export class CommentThreadMinAggregate {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -21,6 +21,21 @@ export class CommentThreadMinOrderByAggregateInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
title?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
type?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
reminderAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
dueAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
completedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
assigneeId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
|
||||
@ -24,6 +24,21 @@ export class CommentThreadOrderByWithAggregationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
title?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
type?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
reminderAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
dueAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
completedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
assigneeId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
|
||||
@ -25,6 +25,21 @@ export class CommentThreadOrderByWithRelationInput {
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
title?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
type?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
reminderAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
dueAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
completedAt?: keyof typeof SortOrder;
|
||||
|
||||
@Field(() => SortOrder, {nullable:true})
|
||||
assigneeId?: keyof typeof SortOrder;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: keyof typeof SortOrder;
|
||||
|
||||
@ -45,4 +60,7 @@ export class CommentThreadOrderByWithRelationInput {
|
||||
|
||||
@Field(() => UserOrderByWithRelationInput, {nullable:true})
|
||||
author?: UserOrderByWithRelationInput;
|
||||
|
||||
@Field(() => UserOrderByWithRelationInput, {nullable:true})
|
||||
assignee?: UserOrderByWithRelationInput;
|
||||
}
|
||||
|
||||
@ -6,6 +6,11 @@ export enum CommentThreadScalarFieldEnum {
|
||||
authorId = "authorId",
|
||||
body = "body",
|
||||
title = "title",
|
||||
type = "type",
|
||||
reminderAt = "reminderAt",
|
||||
dueAt = "dueAt",
|
||||
completedAt = "completedAt",
|
||||
assigneeId = "assigneeId",
|
||||
deletedAt = "deletedAt",
|
||||
createdAt = "createdAt",
|
||||
updatedAt = "updatedAt"
|
||||
|
||||
@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { StringNullableWithAggregatesFilter } from '../prisma/string-nullable-with-aggregates-filter.input';
|
||||
import { EnumActivityTypeWithAggregatesFilter } from '../prisma/enum-activity-type-with-aggregates-filter.input';
|
||||
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
|
||||
|
||||
@ -33,6 +34,21 @@ export class CommentThreadScalarWhereWithAggregatesInput {
|
||||
@Field(() => StringNullableWithAggregatesFilter, {nullable:true})
|
||||
title?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => EnumActivityTypeWithAggregatesFilter, {nullable:true})
|
||||
type?: EnumActivityTypeWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
reminderAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
dueAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
|
||||
completedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
@Field(() => StringNullableWithAggregatesFilter, {nullable:true})
|
||||
assigneeId?: StringNullableWithAggregatesFilter;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: DateTimeNullableWithAggregatesFilter;
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { StringNullableFilter } from '../prisma/string-nullable-filter.input';
|
||||
import { EnumActivityTypeFilter } from '../prisma/enum-activity-type-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
|
||||
@ -33,6 +34,21 @@ export class CommentThreadScalarWhereInput {
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
title?: StringNullableFilter;
|
||||
|
||||
@Field(() => EnumActivityTypeFilter, {nullable:true})
|
||||
type?: EnumActivityTypeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
reminderAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
dueAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
completedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
assigneeId?: StringNullableFilter;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
|
||||
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CommentThreadCreateOrConnectWithoutAssigneeInput } from './comment-thread-create-or-connect-without-assignee.input';
|
||||
import { CommentThreadCreateManyAssigneeInputEnvelope } from './comment-thread-create-many-assignee-input-envelope.input';
|
||||
import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput {
|
||||
|
||||
@Field(() => [CommentThreadCreateWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadCreateWithoutAssigneeInput)
|
||||
create?: Array<CommentThreadCreateWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadCreateOrConnectWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadCreateOrConnectWithoutAssigneeInput)
|
||||
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => CommentThreadCreateManyAssigneeInputEnvelope, {nullable:true})
|
||||
@Type(() => CommentThreadCreateManyAssigneeInputEnvelope)
|
||||
createMany?: CommentThreadCreateManyAssigneeInputEnvelope;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
connect?: Array<CommentThreadWhereUniqueInput>;
|
||||
}
|
||||
@ -0,0 +1,55 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUncheckedCreateWithoutAssigneeInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
authorId!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
body?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
|
||||
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
|
||||
|
||||
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
|
||||
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
|
||||
}
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';
|
||||
|
||||
@ -22,6 +23,21 @@ export class CommentThreadUncheckedCreateWithoutAuthorInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';
|
||||
|
||||
@InputType()
|
||||
@ -24,6 +25,21 @@ export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';
|
||||
|
||||
@InputType()
|
||||
@ -24,6 +25,21 @@ export class CommentThreadUncheckedCreateWithoutCommentsInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';
|
||||
@ -22,6 +23,21 @@ export class CommentThreadUncheckedCreateWithoutWorkspaceInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';
|
||||
|
||||
@ -25,6 +26,21 @@ export class CommentThreadUncheckedCreateInput {
|
||||
@Field(() => String, {nullable:true})
|
||||
title?: string;
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
type?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt?: Date | string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId?: string;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
|
||||
@ -0,0 +1,48 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
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 { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUncheckedUpdateManyWithoutAssignedCommentThreadsInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
authorId?: 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;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CommentThreadCreateOrConnectWithoutAssigneeInput } from './comment-thread-create-or-connect-without-assignee.input';
|
||||
import { CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput } from './comment-thread-upsert-with-where-unique-without-assignee.input';
|
||||
import { CommentThreadCreateManyAssigneeInputEnvelope } from './comment-thread-create-many-assignee-input-envelope.input';
|
||||
import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';
|
||||
import { CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput } from './comment-thread-update-with-where-unique-without-assignee.input';
|
||||
import { CommentThreadUpdateManyWithWhereWithoutAssigneeInput } from './comment-thread-update-many-with-where-without-assignee.input';
|
||||
import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput {
|
||||
|
||||
@Field(() => [CommentThreadCreateWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadCreateWithoutAssigneeInput)
|
||||
create?: Array<CommentThreadCreateWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadCreateOrConnectWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadCreateOrConnectWithoutAssigneeInput)
|
||||
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput)
|
||||
upsert?: Array<CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => CommentThreadCreateManyAssigneeInputEnvelope, {nullable:true})
|
||||
@Type(() => CommentThreadCreateManyAssigneeInputEnvelope)
|
||||
createMany?: CommentThreadCreateManyAssigneeInputEnvelope;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
set?: Array<CommentThreadWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
disconnect?: Array<CommentThreadWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
delete?: Array<CommentThreadWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
connect?: Array<CommentThreadWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput)
|
||||
update?: Array<CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadUpdateManyWithWhereWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadUpdateManyWithWhereWithoutAssigneeInput)
|
||||
updateMany?: Array<CommentThreadUpdateManyWithWhereWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadScalarWhereInput], {nullable:true})
|
||||
@Type(() => CommentThreadScalarWhereInput)
|
||||
deleteMany?: Array<CommentThreadScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
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 { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUncheckedUpdateManyWithoutAuthoredCommentThreadsInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: 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;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
assigneeId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
}
|
||||
@ -2,6 +2,7 @@ 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';
|
||||
@ -21,6 +22,21 @@ export class CommentThreadUncheckedUpdateManyWithoutCommentThreadsInput {
|
||||
@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;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
assigneeId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
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 { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
|
||||
@ -24,6 +25,21 @@ export class CommentThreadUncheckedUpdateManyInput {
|
||||
@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;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
assigneeId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -0,0 +1,56 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
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 { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUncheckedUpdateWithoutAssigneeInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
authorId?: 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(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
|
||||
commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput;
|
||||
|
||||
@Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
|
||||
comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput;
|
||||
}
|
||||
@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
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 { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input';
|
||||
@ -23,6 +24,21 @@ export class CommentThreadUncheckedUpdateWithoutAuthorInput {
|
||||
@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;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
assigneeId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
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 { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input';
|
||||
@ -25,6 +26,21 @@ export class CommentThreadUncheckedUpdateWithoutCommentThreadTargetsInput {
|
||||
@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;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
assigneeId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
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 { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input';
|
||||
@ -25,6 +26,21 @@ export class CommentThreadUncheckedUpdateWithoutCommentsInput {
|
||||
@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;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
assigneeId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ 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';
|
||||
@ -23,6 +24,21 @@ export class CommentThreadUncheckedUpdateWithoutWorkspaceInput {
|
||||
@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;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
assigneeId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
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 { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input';
|
||||
@ -26,6 +27,21 @@ export class CommentThreadUncheckedUpdateInput {
|
||||
@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;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
assigneeId?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ 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';
|
||||
@ -18,6 +19,18 @@ export class CommentThreadUpdateManyMutationInput {
|
||||
@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;
|
||||
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CommentThreadUpdateManyMutationInput } from './comment-thread-update-many-mutation.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUpdateManyWithWhereWithoutAssigneeInput {
|
||||
|
||||
@Field(() => CommentThreadScalarWhereInput, {nullable:false})
|
||||
@Type(() => CommentThreadScalarWhereInput)
|
||||
where!: CommentThreadScalarWhereInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyMutationInput, {nullable:false})
|
||||
@Type(() => CommentThreadUpdateManyMutationInput)
|
||||
data!: CommentThreadUpdateManyMutationInput;
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CommentThreadCreateOrConnectWithoutAssigneeInput } from './comment-thread-create-or-connect-without-assignee.input';
|
||||
import { CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput } from './comment-thread-upsert-with-where-unique-without-assignee.input';
|
||||
import { CommentThreadCreateManyAssigneeInputEnvelope } from './comment-thread-create-many-assignee-input-envelope.input';
|
||||
import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';
|
||||
import { CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput } from './comment-thread-update-with-where-unique-without-assignee.input';
|
||||
import { CommentThreadUpdateManyWithWhereWithoutAssigneeInput } from './comment-thread-update-many-with-where-without-assignee.input';
|
||||
import { CommentThreadScalarWhereInput } from './comment-thread-scalar-where.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUpdateManyWithoutAssigneeNestedInput {
|
||||
|
||||
@Field(() => [CommentThreadCreateWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadCreateWithoutAssigneeInput)
|
||||
create?: Array<CommentThreadCreateWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadCreateOrConnectWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadCreateOrConnectWithoutAssigneeInput)
|
||||
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput)
|
||||
upsert?: Array<CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => CommentThreadCreateManyAssigneeInputEnvelope, {nullable:true})
|
||||
@Type(() => CommentThreadCreateManyAssigneeInputEnvelope)
|
||||
createMany?: CommentThreadCreateManyAssigneeInputEnvelope;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
set?: Array<CommentThreadWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
disconnect?: Array<CommentThreadWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
delete?: Array<CommentThreadWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
connect?: Array<CommentThreadWhereUniqueInput>;
|
||||
|
||||
@Field(() => [CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput)
|
||||
update?: Array<CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadUpdateManyWithWhereWithoutAssigneeInput], {nullable:true})
|
||||
@Type(() => CommentThreadUpdateManyWithWhereWithoutAssigneeInput)
|
||||
updateMany?: Array<CommentThreadUpdateManyWithWhereWithoutAssigneeInput>;
|
||||
|
||||
@Field(() => [CommentThreadScalarWhereInput], {nullable:true})
|
||||
@Type(() => CommentThreadScalarWhereInput)
|
||||
deleteMany?: Array<CommentThreadScalarWhereInput>;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CommentThreadUpdateWithoutAssigneeInput } from './comment-thread-update-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUpdateWithWhereUniqueWithoutAssigneeInput {
|
||||
|
||||
@Field(() => CommentThreadWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
where!: CommentThreadWhereUniqueInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateWithoutAssigneeInput, {nullable:false})
|
||||
@Type(() => CommentThreadUpdateWithoutAssigneeInput)
|
||||
data!: CommentThreadUpdateWithoutAssigneeInput;
|
||||
}
|
||||
@ -0,0 +1,58 @@
|
||||
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;
|
||||
}
|
||||
@ -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 { 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 { UserUpdateOneWithoutAssignedCommentThreadsNestedInput } from '../user/user-update-one-without-assigned-comment-threads-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUpdateWithoutAuthorInput {
|
||||
@ -21,6 +23,18 @@ export class CommentThreadUpdateWithoutAuthorInput {
|
||||
@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;
|
||||
|
||||
@ -38,4 +52,7 @@ export class CommentThreadUpdateWithoutAuthorInput {
|
||||
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true})
|
||||
assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput;
|
||||
}
|
||||
|
||||
@ -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 { 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 { 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 CommentThreadUpdateWithoutCommentThreadTargetsInput {
|
||||
@ -21,6 +23,18 @@ export class CommentThreadUpdateWithoutCommentThreadTargetsInput {
|
||||
@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 CommentThreadUpdateWithoutCommentThreadTargetsInput {
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneRequiredWithoutCommentThreadNestedInput, {nullable:true})
|
||||
author?: UserUpdateOneRequiredWithoutCommentThreadNestedInput;
|
||||
@Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true})
|
||||
author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true})
|
||||
assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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 { CommentUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-update-many-without-comment-thread-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 CommentThreadUpdateWithoutWorkspaceInput {
|
||||
@ -21,6 +23,18 @@ export class CommentThreadUpdateWithoutWorkspaceInput {
|
||||
@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 CommentThreadUpdateWithoutWorkspaceInput {
|
||||
@Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
|
||||
comments?: CommentUpdateManyWithoutCommentThreadNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneRequiredWithoutCommentThreadNestedInput, {nullable:true})
|
||||
author?: UserUpdateOneRequiredWithoutCommentThreadNestedInput;
|
||||
@Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true})
|
||||
author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true})
|
||||
assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput;
|
||||
}
|
||||
|
||||
@ -2,13 +2,15 @@ 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 { 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 CommentThreadUpdateInput {
|
||||
@ -22,6 +24,18 @@ export class CommentThreadUpdateInput {
|
||||
@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;
|
||||
|
||||
@ -40,6 +54,9 @@ export class CommentThreadUpdateInput {
|
||||
@HideField()
|
||||
workspace?: WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneRequiredWithoutCommentThreadNestedInput, {nullable:true})
|
||||
author?: UserUpdateOneRequiredWithoutCommentThreadNestedInput;
|
||||
@Field(() => UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput, {nullable:true})
|
||||
author?: UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput;
|
||||
|
||||
@Field(() => UserUpdateOneWithoutAssignedCommentThreadsNestedInput, {nullable:true})
|
||||
assignee?: UserUpdateOneWithoutAssignedCommentThreadsNestedInput;
|
||||
}
|
||||
|
||||
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { CommentThreadUpdateWithoutAssigneeInput } from './comment-thread-update-without-assignee.input';
|
||||
import { CommentThreadCreateWithoutAssigneeInput } from './comment-thread-create-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class CommentThreadUpsertWithWhereUniqueWithoutAssigneeInput {
|
||||
|
||||
@Field(() => CommentThreadWhereUniqueInput, {nullable:false})
|
||||
@Type(() => CommentThreadWhereUniqueInput)
|
||||
where!: CommentThreadWhereUniqueInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateWithoutAssigneeInput, {nullable:false})
|
||||
@Type(() => CommentThreadUpdateWithoutAssigneeInput)
|
||||
update!: CommentThreadUpdateWithoutAssigneeInput;
|
||||
|
||||
@Field(() => CommentThreadCreateWithoutAssigneeInput, {nullable:false})
|
||||
@Type(() => CommentThreadCreateWithoutAssigneeInput)
|
||||
create!: CommentThreadCreateWithoutAssigneeInput;
|
||||
}
|
||||
@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
|
||||
import { StringFilter } from '../prisma/string-filter.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { StringNullableFilter } from '../prisma/string-nullable-filter.input';
|
||||
import { EnumActivityTypeFilter } from '../prisma/enum-activity-type-filter.input';
|
||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||
import { CommentThreadTargetListRelationFilter } from '../comment-thread-target/comment-thread-target-list-relation-filter.input';
|
||||
@ -37,6 +38,21 @@ export class CommentThreadWhereInput {
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
title?: StringNullableFilter;
|
||||
|
||||
@Field(() => EnumActivityTypeFilter, {nullable:true})
|
||||
type?: EnumActivityTypeFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
reminderAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
dueAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => DateTimeNullableFilter, {nullable:true})
|
||||
completedAt?: DateTimeNullableFilter;
|
||||
|
||||
@Field(() => StringNullableFilter, {nullable:true})
|
||||
assigneeId?: StringNullableFilter;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: DateTimeNullableFilter;
|
||||
|
||||
@ -57,4 +73,7 @@ export class CommentThreadWhereInput {
|
||||
|
||||
@Field(() => UserRelationFilter, {nullable:true})
|
||||
author?: UserRelationFilter;
|
||||
|
||||
@Field(() => UserRelationFilter, {nullable:true})
|
||||
assignee?: UserRelationFilter;
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { ID } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { ActivityType } from '../prisma/activity-type.enum';
|
||||
import { CommentThreadTarget } from '../comment-thread-target/comment-thread-target.model';
|
||||
import { Comment } from '../comment/comment.model';
|
||||
import { Workspace } from '../workspace/workspace.model';
|
||||
@ -26,6 +27,21 @@ export class CommentThread {
|
||||
@Field(() => String, {nullable:true})
|
||||
title!: string | null;
|
||||
|
||||
@Field(() => ActivityType, {nullable:false,defaultValue:'Note'})
|
||||
type!: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
reminderAt!: Date | null;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
dueAt!: Date | null;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
completedAt!: Date | null;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
assigneeId!: string | null;
|
||||
|
||||
@HideField()
|
||||
deletedAt!: Date | null;
|
||||
|
||||
@ -47,6 +63,9 @@ export class CommentThread {
|
||||
@Field(() => User, {nullable:false})
|
||||
author?: User;
|
||||
|
||||
@Field(() => User, {nullable:true})
|
||||
assignee?: User | null;
|
||||
|
||||
@HideField()
|
||||
_count?: CommentThreadCount;
|
||||
}
|
||||
|
||||
9
server/src/core/@generated/prisma/activity-type.enum.ts
Normal file
9
server/src/core/@generated/prisma/activity-type.enum.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { registerEnumType } from '@nestjs/graphql';
|
||||
|
||||
export enum ActivityType {
|
||||
Note = "Note",
|
||||
Task = "Task"
|
||||
}
|
||||
|
||||
|
||||
registerEnumType(ActivityType, { name: 'ActivityType', description: undefined })
|
||||
@ -0,0 +1,10 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class EnumActivityTypeFieldUpdateOperationsInput {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
set?: keyof typeof ActivityType;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class EnumActivityTypeFilter {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
equals?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
in?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
notIn?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
not?: NestedEnumActivityTypeFilter;
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
import { NestedEnumActivityTypeWithAggregatesFilter } from './nested-enum-activity-type-with-aggregates-filter.input';
|
||||
import { NestedIntFilter } from './nested-int-filter.input';
|
||||
import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class EnumActivityTypeWithAggregatesFilter {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
equals?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
in?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
notIn?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeWithAggregatesFilter, {nullable:true})
|
||||
not?: NestedEnumActivityTypeWithAggregatesFilter;
|
||||
|
||||
@Field(() => NestedIntFilter, {nullable:true})
|
||||
_count?: NestedIntFilter;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
_min?: NestedEnumActivityTypeFilter;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
_max?: NestedEnumActivityTypeFilter;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class NestedEnumActivityTypeFilter {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
equals?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
in?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
notIn?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
not?: NestedEnumActivityTypeFilter;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { ActivityType } from './activity-type.enum';
|
||||
import { NestedIntFilter } from './nested-int-filter.input';
|
||||
import { NestedEnumActivityTypeFilter } from './nested-enum-activity-type-filter.input';
|
||||
|
||||
@InputType()
|
||||
export class NestedEnumActivityTypeWithAggregatesFilter {
|
||||
|
||||
@Field(() => ActivityType, {nullable:true})
|
||||
equals?: keyof typeof ActivityType;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
in?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => [ActivityType], {nullable:true})
|
||||
notIn?: Array<keyof typeof ActivityType>;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeWithAggregatesFilter, {nullable:true})
|
||||
not?: NestedEnumActivityTypeWithAggregatesFilter;
|
||||
|
||||
@Field(() => NestedIntFilter, {nullable:true})
|
||||
_count?: NestedIntFilter;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
_min?: NestedEnumActivityTypeFilter;
|
||||
|
||||
@Field(() => NestedEnumActivityTypeFilter, {nullable:true})
|
||||
_max?: NestedEnumActivityTypeFilter;
|
||||
}
|
||||
@ -15,5 +15,8 @@ export class UserCount {
|
||||
comments?: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
CommentThread?: number;
|
||||
authoredCommentThreads?: number;
|
||||
|
||||
@Field(() => Int, {nullable:false})
|
||||
assignedCommentThreads?: number;
|
||||
}
|
||||
|
||||
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { UserCreateWithoutAssignedCommentThreadsInput } from './user-create-without-assigned-comment-threads.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { UserCreateOrConnectWithoutAssignedCommentThreadsInput } from './user-create-or-connect-without-assigned-comment-threads.input';
|
||||
import { UserWhereUniqueInput } from './user-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateNestedOneWithoutAssignedCommentThreadsInput {
|
||||
|
||||
@Field(() => UserCreateWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserCreateWithoutAssignedCommentThreadsInput)
|
||||
create?: UserCreateWithoutAssignedCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateOrConnectWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserCreateOrConnectWithoutAssignedCommentThreadsInput)
|
||||
connectOrCreate?: UserCreateOrConnectWithoutAssignedCommentThreadsInput;
|
||||
|
||||
@Field(() => UserWhereUniqueInput, {nullable:true})
|
||||
@Type(() => UserWhereUniqueInput)
|
||||
connect?: UserWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { UserCreateWithoutAuthoredCommentThreadsInput } from './user-create-without-authored-comment-threads.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { UserCreateOrConnectWithoutAuthoredCommentThreadsInput } from './user-create-or-connect-without-authored-comment-threads.input';
|
||||
import { UserWhereUniqueInput } from './user-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateNestedOneWithoutAuthoredCommentThreadsInput {
|
||||
|
||||
@Field(() => UserCreateWithoutAuthoredCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserCreateWithoutAuthoredCommentThreadsInput)
|
||||
create?: UserCreateWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateOrConnectWithoutAuthoredCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserCreateOrConnectWithoutAuthoredCommentThreadsInput)
|
||||
connectOrCreate?: UserCreateOrConnectWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserWhereUniqueInput, {nullable:true})
|
||||
@Type(() => UserWhereUniqueInput)
|
||||
connect?: UserWhereUniqueInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { UserWhereUniqueInput } from './user-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { UserCreateWithoutAssignedCommentThreadsInput } from './user-create-without-assigned-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateOrConnectWithoutAssignedCommentThreadsInput {
|
||||
|
||||
@Field(() => UserWhereUniqueInput, {nullable:false})
|
||||
@Type(() => UserWhereUniqueInput)
|
||||
where!: UserWhereUniqueInput;
|
||||
|
||||
@Field(() => UserCreateWithoutAssignedCommentThreadsInput, {nullable:false})
|
||||
@Type(() => UserCreateWithoutAssignedCommentThreadsInput)
|
||||
create!: UserCreateWithoutAssignedCommentThreadsInput;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { UserWhereUniqueInput } from './user-where-unique.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { UserCreateWithoutAuthoredCommentThreadsInput } from './user-create-without-authored-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateOrConnectWithoutAuthoredCommentThreadsInput {
|
||||
|
||||
@Field(() => UserWhereUniqueInput, {nullable:false})
|
||||
@Type(() => UserWhereUniqueInput)
|
||||
where!: UserWhereUniqueInput;
|
||||
|
||||
@Field(() => UserCreateWithoutAuthoredCommentThreadsInput, {nullable:false})
|
||||
@Type(() => UserCreateWithoutAuthoredCommentThreadsInput)
|
||||
create!: UserCreateWithoutAuthoredCommentThreadsInput;
|
||||
}
|
||||
@ -0,0 +1,94 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';
|
||||
import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';
|
||||
import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';
|
||||
import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateWithoutAssignedCommentThreadsInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
firstName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
lastName?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;
|
||||
|
||||
@Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true})
|
||||
companies?: CompanyCreateNestedManyWithoutAccountOwnerInput;
|
||||
|
||||
@HideField()
|
||||
refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;
|
||||
|
||||
@Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
comments?: CommentCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
}
|
||||
@ -0,0 +1,94 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-create-nested-one-without-user.input';
|
||||
import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';
|
||||
import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';
|
||||
import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateWithoutAuthoredCommentThreadsInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
firstName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
lastName?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberCreateNestedOneWithoutUserInput;
|
||||
|
||||
@Field(() => CompanyCreateNestedManyWithoutAccountOwnerInput, {nullable:true})
|
||||
companies?: CompanyCreateNestedManyWithoutAccountOwnerInput;
|
||||
|
||||
@HideField()
|
||||
refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;
|
||||
|
||||
@Field(() => CommentCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
comments?: CommentCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
@ -7,6 +7,7 @@ import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-mem
|
||||
import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';
|
||||
import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateWithoutCommentsInput {
|
||||
@ -86,5 +87,8 @@ export class UserCreateWithoutCommentsInput {
|
||||
refreshTokens?: RefreshTokenCreateNestedManyWithoutUserInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-mem
|
||||
import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';
|
||||
import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateWithoutCompaniesInput {
|
||||
@ -86,5 +87,8 @@ export class UserCreateWithoutCompaniesInput {
|
||||
comments?: CommentCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ import { WorkspaceMemberCreateNestedOneWithoutUserInput } from '../workspace-mem
|
||||
import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/company-create-nested-many-without-account-owner.input';
|
||||
import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateWithoutRefreshTokensInput {
|
||||
@ -86,5 +87,8 @@ export class UserCreateWithoutRefreshTokensInput {
|
||||
comments?: CommentCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/comp
|
||||
import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';
|
||||
import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateWithoutWorkspaceMemberInput {
|
||||
@ -86,5 +87,8 @@ export class UserCreateWithoutWorkspaceMemberInput {
|
||||
comments?: CommentCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -8,6 +8,7 @@ import { CompanyCreateNestedManyWithoutAccountOwnerInput } from '../company/comp
|
||||
import { RefreshTokenCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-create-nested-many-without-user.input';
|
||||
import { CommentCreateNestedManyWithoutAuthorInput } from '../comment/comment-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-create-nested-many-without-author.input';
|
||||
import { CommentThreadCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserCreateInput {
|
||||
@ -90,5 +91,8 @@ export class UserCreateInput {
|
||||
comments?: CommentCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -69,5 +69,8 @@ export class UserOrderByWithRelationInput {
|
||||
comments?: CommentOrderByRelationAggregateInput;
|
||||
|
||||
@Field(() => CommentThreadOrderByRelationAggregateInput, {nullable:true})
|
||||
CommentThread?: CommentThreadOrderByRelationAggregateInput;
|
||||
authoredCommentThreads?: CommentThreadOrderByRelationAggregateInput;
|
||||
|
||||
@Field(() => CommentThreadOrderByRelationAggregateInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadOrderByRelationAggregateInput;
|
||||
}
|
||||
|
||||
@ -0,0 +1,94 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';
|
||||
import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';
|
||||
import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedCreateWithoutAssignedCommentThreadsInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
firstName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
lastName?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;
|
||||
|
||||
@Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true})
|
||||
companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput;
|
||||
|
||||
@HideField()
|
||||
refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
||||
|
||||
@Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
}
|
||||
@ -0,0 +1,94 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import * as Validator from 'class-validator';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../workspace-member/workspace-member-unchecked-create-nested-one-without-user.input';
|
||||
import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';
|
||||
import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedCreateWithoutAuthoredCommentThreadsInput {
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
id?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
firstName?: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
lastName?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsEmail()
|
||||
email!: string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
emailVerified?: boolean;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
avatarUrl?: string;
|
||||
|
||||
@Field(() => String, {nullable:false})
|
||||
@Validator.IsString()
|
||||
locale!: string;
|
||||
|
||||
@Field(() => String, {nullable:true})
|
||||
@Validator.IsString()
|
||||
@Validator.IsOptional()
|
||||
phoneNumber?: string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
@Validator.IsDate()
|
||||
@Validator.IsOptional()
|
||||
lastSeen?: Date | string;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
@Validator.IsBoolean()
|
||||
@Validator.IsOptional()
|
||||
disabled?: boolean;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: string;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, {nullable:true})
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput;
|
||||
|
||||
@Field(() => CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput, {nullable:true})
|
||||
companies?: CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput;
|
||||
|
||||
@HideField()
|
||||
refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
||||
|
||||
@Field(() => CommentUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
@ -7,6 +7,7 @@ import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../work
|
||||
import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';
|
||||
import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedCreateWithoutCommentsInput {
|
||||
@ -86,5 +87,8 @@ export class UserUncheckedCreateWithoutCommentsInput {
|
||||
refreshTokens?: RefreshTokenUncheckedCreateNestedManyWithoutUserInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../work
|
||||
import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedCreateWithoutCompaniesInput {
|
||||
@ -86,5 +87,8 @@ export class UserUncheckedCreateWithoutCompaniesInput {
|
||||
comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ import { WorkspaceMemberUncheckedCreateNestedOneWithoutUserInput } from '../work
|
||||
import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../company/company-unchecked-create-nested-many-without-account-owner.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedCreateWithoutRefreshTokensInput {
|
||||
@ -86,5 +87,8 @@ export class UserUncheckedCreateWithoutRefreshTokensInput {
|
||||
comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@ import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../com
|
||||
import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedCreateWithoutWorkspaceMemberInput {
|
||||
@ -86,5 +87,8 @@ export class UserUncheckedCreateWithoutWorkspaceMemberInput {
|
||||
comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -8,6 +8,7 @@ import { CompanyUncheckedCreateNestedManyWithoutAccountOwnerInput } from '../com
|
||||
import { RefreshTokenUncheckedCreateNestedManyWithoutUserInput } from '../refresh-token/refresh-token-unchecked-create-nested-many-without-user.input';
|
||||
import { CommentUncheckedCreateNestedManyWithoutAuthorInput } from '../comment/comment-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAuthorInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-author.input';
|
||||
import { CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-assignee.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedCreateInput {
|
||||
@ -90,5 +91,8 @@ export class UserUncheckedCreateInput {
|
||||
comments?: CommentUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAuthorInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAuthorInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedCreateNestedManyWithoutAssigneeInput;
|
||||
}
|
||||
|
||||
@ -0,0 +1,81 @@
|
||||
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 { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedUpdateWithoutAssignedCommentThreadsInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstName?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastName?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
locale?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true})
|
||||
companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput;
|
||||
|
||||
@HideField()
|
||||
refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
}
|
||||
@ -0,0 +1,81 @@
|
||||
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 { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-unchecked-update-one-without-user-nested.input';
|
||||
import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedUpdateWithoutAuthoredCommentThreadsInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstName?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastName?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
locale?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput, {nullable:true})
|
||||
companies?: CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput;
|
||||
|
||||
@HideField()
|
||||
refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CommentUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
@ -12,6 +12,7 @@ import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../work
|
||||
import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedUpdateWithoutCommentsInput {
|
||||
@ -73,5 +74,8 @@ export class UserUncheckedUpdateWithoutCommentsInput {
|
||||
refreshTokens?: RefreshTokenUncheckedUpdateManyWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../work
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedUpdateWithoutCompaniesInput {
|
||||
@ -73,5 +74,8 @@ export class UserUncheckedUpdateWithoutCompaniesInput {
|
||||
comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ import { WorkspaceMemberUncheckedUpdateOneWithoutUserNestedInput } from '../work
|
||||
import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-unchecked-update-many-without-account-owner-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedUpdateWithoutRefreshTokensInput {
|
||||
@ -73,5 +74,8 @@ export class UserUncheckedUpdateWithoutRefreshTokensInput {
|
||||
comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../com
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedUpdateWithoutWorkspaceMemberInput {
|
||||
@ -73,5 +74,8 @@ export class UserUncheckedUpdateWithoutWorkspaceMemberInput {
|
||||
comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
@ -13,6 +13,7 @@ import { CompanyUncheckedUpdateManyWithoutAccountOwnerNestedInput } from '../com
|
||||
import { RefreshTokenUncheckedUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-unchecked-update-many-without-user-nested.input';
|
||||
import { CommentUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment/comment-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-author-nested.input';
|
||||
import { CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUncheckedUpdateInput {
|
||||
@ -77,5 +78,8 @@ export class UserUncheckedUpdateInput {
|
||||
comments?: CommentUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUncheckedUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
@ -0,0 +1,32 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { UserCreateWithoutAuthoredCommentThreadsInput } from './user-create-without-authored-comment-threads.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { UserCreateOrConnectWithoutAuthoredCommentThreadsInput } from './user-create-or-connect-without-authored-comment-threads.input';
|
||||
import { UserUpsertWithoutAuthoredCommentThreadsInput } from './user-upsert-without-authored-comment-threads.input';
|
||||
import { UserWhereUniqueInput } from './user-where-unique.input';
|
||||
import { UserUpdateWithoutAuthoredCommentThreadsInput } from './user-update-without-authored-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateOneRequiredWithoutAuthoredCommentThreadsNestedInput {
|
||||
|
||||
@Field(() => UserCreateWithoutAuthoredCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserCreateWithoutAuthoredCommentThreadsInput)
|
||||
create?: UserCreateWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateOrConnectWithoutAuthoredCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserCreateOrConnectWithoutAuthoredCommentThreadsInput)
|
||||
connectOrCreate?: UserCreateOrConnectWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserUpsertWithoutAuthoredCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserUpsertWithoutAuthoredCommentThreadsInput)
|
||||
upsert?: UserUpsertWithoutAuthoredCommentThreadsInput;
|
||||
|
||||
@Field(() => UserWhereUniqueInput, {nullable:true})
|
||||
@Type(() => UserWhereUniqueInput)
|
||||
connect?: UserWhereUniqueInput;
|
||||
|
||||
@Field(() => UserUpdateWithoutAuthoredCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserUpdateWithoutAuthoredCommentThreadsInput)
|
||||
update?: UserUpdateWithoutAuthoredCommentThreadsInput;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { UserCreateWithoutAssignedCommentThreadsInput } from './user-create-without-assigned-comment-threads.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { UserCreateOrConnectWithoutAssignedCommentThreadsInput } from './user-create-or-connect-without-assigned-comment-threads.input';
|
||||
import { UserUpsertWithoutAssignedCommentThreadsInput } from './user-upsert-without-assigned-comment-threads.input';
|
||||
import { UserWhereUniqueInput } from './user-where-unique.input';
|
||||
import { UserUpdateWithoutAssignedCommentThreadsInput } from './user-update-without-assigned-comment-threads.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateOneWithoutAssignedCommentThreadsNestedInput {
|
||||
|
||||
@Field(() => UserCreateWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserCreateWithoutAssignedCommentThreadsInput)
|
||||
create?: UserCreateWithoutAssignedCommentThreadsInput;
|
||||
|
||||
@Field(() => UserCreateOrConnectWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserCreateOrConnectWithoutAssignedCommentThreadsInput)
|
||||
connectOrCreate?: UserCreateOrConnectWithoutAssignedCommentThreadsInput;
|
||||
|
||||
@Field(() => UserUpsertWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserUpsertWithoutAssignedCommentThreadsInput)
|
||||
upsert?: UserUpsertWithoutAssignedCommentThreadsInput;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
disconnect?: boolean;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
delete?: boolean;
|
||||
|
||||
@Field(() => UserWhereUniqueInput, {nullable:true})
|
||||
@Type(() => UserWhereUniqueInput)
|
||||
connect?: UserWhereUniqueInput;
|
||||
|
||||
@Field(() => UserUpdateWithoutAssignedCommentThreadsInput, {nullable:true})
|
||||
@Type(() => UserUpdateWithoutAssignedCommentThreadsInput)
|
||||
update?: UserUpdateWithoutAssignedCommentThreadsInput;
|
||||
}
|
||||
@ -0,0 +1,81 @@
|
||||
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 { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';
|
||||
import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateWithoutAssignedCommentThreadsInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstName?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastName?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
locale?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true})
|
||||
companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput;
|
||||
|
||||
@HideField()
|
||||
refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
comments?: CommentUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
}
|
||||
@ -0,0 +1,81 @@
|
||||
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 { BoolFieldUpdateOperationsInput } from '../prisma/bool-field-update-operations.input';
|
||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { GraphQLJSON } from 'graphql-type-json';
|
||||
import * as Validator from 'class-validator';
|
||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
|
||||
import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-member/workspace-member-update-one-without-user-nested.input';
|
||||
import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateWithoutAuthoredCommentThreadsInput {
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
id?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
firstName?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
lastName?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
email?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
emailVerified?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
avatarUrl?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
|
||||
locale?: StringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableStringFieldUpdateOperationsInput, {nullable:true})
|
||||
phoneNumber?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
lastSeen?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => BoolFieldUpdateOperationsInput, {nullable:true})
|
||||
disabled?: BoolFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
passwordHash?: NullableStringFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => GraphQLJSON, {nullable:true})
|
||||
@Validator.IsJSON()
|
||||
@Validator.IsOptional()
|
||||
metadata?: any;
|
||||
|
||||
@HideField()
|
||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
createdAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
|
||||
updatedAt?: DateTimeFieldUpdateOperationsInput;
|
||||
|
||||
@HideField()
|
||||
workspaceMember?: WorkspaceMemberUpdateOneWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CompanyUpdateManyWithoutAccountOwnerNestedInput, {nullable:true})
|
||||
companies?: CompanyUpdateManyWithoutAccountOwnerNestedInput;
|
||||
|
||||
@HideField()
|
||||
refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CommentUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
comments?: CommentUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
@ -12,6 +12,7 @@ import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-mem
|
||||
import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateWithoutCommentsInput {
|
||||
@ -73,5 +74,8 @@ export class UserUpdateWithoutCommentsInput {
|
||||
refreshTokens?: RefreshTokenUpdateManyWithoutUserNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-mem
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateWithoutCompaniesInput {
|
||||
@ -73,5 +74,8 @@ export class UserUpdateWithoutCompaniesInput {
|
||||
comments?: CommentUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ import { WorkspaceMemberUpdateOneWithoutUserNestedInput } from '../workspace-mem
|
||||
import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/company-update-many-without-account-owner-nested.input';
|
||||
import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateWithoutRefreshTokensInput {
|
||||
@ -73,5 +74,8 @@ export class UserUpdateWithoutRefreshTokensInput {
|
||||
comments?: CommentUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@ import { CompanyUpdateManyWithoutAccountOwnerNestedInput } from '../company/comp
|
||||
import { RefreshTokenUpdateManyWithoutUserNestedInput } from '../refresh-token/refresh-token-update-many-without-user-nested.input';
|
||||
import { CommentUpdateManyWithoutAuthorNestedInput } from '../comment/comment-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAuthorNestedInput } from '../comment-thread/comment-thread-update-many-without-author-nested.input';
|
||||
import { CommentThreadUpdateManyWithoutAssigneeNestedInput } from '../comment-thread/comment-thread-update-many-without-assignee-nested.input';
|
||||
|
||||
@InputType()
|
||||
export class UserUpdateWithoutWorkspaceMemberInput {
|
||||
@ -73,5 +74,8 @@ export class UserUpdateWithoutWorkspaceMemberInput {
|
||||
comments?: CommentUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAuthorNestedInput, {nullable:true})
|
||||
CommentThread?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
authoredCommentThreads?: CommentThreadUpdateManyWithoutAuthorNestedInput;
|
||||
|
||||
@Field(() => CommentThreadUpdateManyWithoutAssigneeNestedInput, {nullable:true})
|
||||
assignedCommentThreads?: CommentThreadUpdateManyWithoutAssigneeNestedInput;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user