feat: clean prisma file, add validation, add prisma editor (#472)

This commit is contained in:
Jérémy M
2023-06-29 15:41:58 +02:00
committed by GitHub
parent aa612b5fc9
commit d9af205ccb
520 changed files with 6751 additions and 5241 deletions

View File

@ -21,6 +21,10 @@
"[json]": { "[json]": {
"editor.formatOnSave": true "editor.formatOnSave": true
}, },
"[prisma]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "Prisma.prisma"
},
"javascript.format.enable": false, "javascript.format.enable": false,
"typescript.format.enable": false, "typescript.format.enable": false,
"cSpell.enableFiletypes": [ "cSpell.enableFiletypes": [

View File

@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetCountAggregateInput { export class CommentThreadTargetCountAggregateInput {
@ -7,15 +8,6 @@ export class CommentThreadTargetCountAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
commentThreadId?: true; commentThreadId?: true;
@ -25,6 +17,15 @@ export class CommentThreadTargetCountAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
commentableId?: true; commentableId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
_all?: true; _all?: true;
} }

View File

@ -1,6 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import { Int } from '@nestjs/graphql'; import { Int } from '@nestjs/graphql';
import { HideField } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentThreadTargetCountAggregate { export class CommentThreadTargetCountAggregate {
@ -8,15 +9,6 @@ export class CommentThreadTargetCountAggregate {
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
id!: number; id!: number;
@Field(() => Int, {nullable:false})
createdAt!: number;
@Field(() => Int, {nullable:false})
updatedAt!: number;
@Field(() => Int, {nullable:false})
deletedAt!: number;
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
commentThreadId!: number; commentThreadId!: number;
@ -26,6 +18,15 @@ export class CommentThreadTargetCountAggregate {
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
commentableId!: number; commentableId!: number;
@HideField()
deletedAt!: number;
@Field(() => Int, {nullable:false})
createdAt!: number;
@Field(() => Int, {nullable:false})
updatedAt!: number;
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
_all!: number; _all!: number;
} }

View File

@ -1,6 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum'; import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetCountOrderByAggregateInput { export class CommentThreadTargetCountOrderByAggregateInput {
@ -8,15 +9,6 @@ export class CommentThreadTargetCountOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@ -25,4 +17,13 @@ export class CommentThreadTargetCountOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
} }

View File

@ -1,25 +1,29 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetCreateManyCommentThreadInput { export class CommentThreadTargetCreateManyCommentThreadInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, {nullable:false}) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,22 +1,17 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetCreateManyInput { export class CommentThreadTargetCreateManyInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@ -25,4 +20,13 @@ export class CommentThreadTargetCreateManyInput {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,25 +1,29 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetCreateWithoutCommentThreadInput { export class CommentThreadTargetCreateWithoutCommentThreadInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, {nullable:false}) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,29 +1,33 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
import { CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput } from '../comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input'; import { CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput } from '../comment-thread/comment-thread-create-nested-one-without-comment-thread-targets.input';
@InputType() @InputType()
export class CommentThreadTargetCreateInput { export class CommentThreadTargetCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, {nullable:false}) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput, {nullable:false}) @Field(() => CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput, {nullable:false})
commentThread!: CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput; commentThread!: CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput;
} }

View File

@ -1,6 +1,8 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
import { CommentThreadTargetCountAggregate } from './comment-thread-target-count-aggregate.output'; import { CommentThreadTargetCountAggregate } from './comment-thread-target-count-aggregate.output';
import { CommentThreadTargetMinAggregate } from './comment-thread-target-min-aggregate.output'; import { CommentThreadTargetMinAggregate } from './comment-thread-target-min-aggregate.output';
import { CommentThreadTargetMaxAggregate } from './comment-thread-target-max-aggregate.output'; import { CommentThreadTargetMaxAggregate } from './comment-thread-target-max-aggregate.output';
@ -9,17 +11,10 @@ import { CommentThreadTargetMaxAggregate } from './comment-thread-target-max-agg
export class CommentThreadTargetGroupBy { export class CommentThreadTargetGroupBy {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@Validator.IsString()
@Validator.IsOptional()
id!: string; id!: string;
@Field(() => Date, {nullable:false})
createdAt!: Date | string;
@Field(() => Date, {nullable:false})
updatedAt!: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@ -29,6 +24,15 @@ export class CommentThreadTargetGroupBy {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:false})
createdAt!: Date | string;
@Field(() => Date, {nullable:false})
updatedAt!: Date | string;
@Field(() => CommentThreadTargetCountAggregate, {nullable:true}) @Field(() => CommentThreadTargetCountAggregate, {nullable:true})
_count?: CommentThreadTargetCountAggregate; _count?: CommentThreadTargetCountAggregate;

View File

@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetMaxAggregateInput { export class CommentThreadTargetMaxAggregateInput {
@ -7,15 +8,6 @@ export class CommentThreadTargetMaxAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
commentThreadId?: true; commentThreadId?: true;
@ -24,4 +16,13 @@ export class CommentThreadTargetMaxAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
commentableId?: true; commentableId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
} }

View File

@ -1,22 +1,17 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentThreadTargetMaxAggregate { export class CommentThreadTargetMaxAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
commentThreadId?: string; commentThreadId?: string;
@ -25,4 +20,13 @@ export class CommentThreadTargetMaxAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
commentableId?: string; commentableId?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,6 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum'; import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetMaxOrderByAggregateInput { export class CommentThreadTargetMaxOrderByAggregateInput {
@ -8,15 +9,6 @@ export class CommentThreadTargetMaxOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@ -25,4 +17,13 @@ export class CommentThreadTargetMaxOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
} }

View File

@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetMinAggregateInput { export class CommentThreadTargetMinAggregateInput {
@ -7,15 +8,6 @@ export class CommentThreadTargetMinAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
commentThreadId?: true; commentThreadId?: true;
@ -24,4 +16,13 @@ export class CommentThreadTargetMinAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
commentableId?: true; commentableId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
} }

View File

@ -1,22 +1,17 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentThreadTargetMinAggregate { export class CommentThreadTargetMinAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
commentThreadId?: string; commentThreadId?: string;
@ -25,4 +20,13 @@ export class CommentThreadTargetMinAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
commentableId?: string; commentableId?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,6 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum'; import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetMinOrderByAggregateInput { export class CommentThreadTargetMinOrderByAggregateInput {
@ -8,15 +9,6 @@ export class CommentThreadTargetMinOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@ -25,4 +17,13 @@ export class CommentThreadTargetMinOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
} }

View File

@ -1,6 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum'; import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
import { CommentThreadTargetCountOrderByAggregateInput } from './comment-thread-target-count-order-by-aggregate.input'; import { CommentThreadTargetCountOrderByAggregateInput } from './comment-thread-target-count-order-by-aggregate.input';
import { CommentThreadTargetMaxOrderByAggregateInput } from './comment-thread-target-max-order-by-aggregate.input'; import { CommentThreadTargetMaxOrderByAggregateInput } from './comment-thread-target-max-order-by-aggregate.input';
import { CommentThreadTargetMinOrderByAggregateInput } from './comment-thread-target-min-order-by-aggregate.input'; import { CommentThreadTargetMinOrderByAggregateInput } from './comment-thread-target-min-order-by-aggregate.input';
@ -11,15 +12,6 @@ export class CommentThreadTargetOrderByWithAggregationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@ -29,6 +21,15 @@ export class CommentThreadTargetOrderByWithAggregationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => CommentThreadTargetCountOrderByAggregateInput, {nullable:true}) @Field(() => CommentThreadTargetCountOrderByAggregateInput, {nullable:true})
_count?: CommentThreadTargetCountOrderByAggregateInput; _count?: CommentThreadTargetCountOrderByAggregateInput;

View File

@ -1,6 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum'; import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
import { CommentThreadOrderByWithRelationInput } from '../comment-thread/comment-thread-order-by-with-relation.input'; import { CommentThreadOrderByWithRelationInput } from '../comment-thread/comment-thread-order-by-with-relation.input';
@InputType() @InputType()
@ -9,15 +10,6 @@ export class CommentThreadTargetOrderByWithRelationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@ -27,6 +19,15 @@ export class CommentThreadTargetOrderByWithRelationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => CommentThreadOrderByWithRelationInput, {nullable:true}) @Field(() => CommentThreadOrderByWithRelationInput, {nullable:true})
commentThread?: CommentThreadOrderByWithRelationInput; commentThread?: CommentThreadOrderByWithRelationInput;
} }

View File

@ -2,12 +2,12 @@ import { registerEnumType } from '@nestjs/graphql';
export enum CommentThreadTargetScalarFieldEnum { export enum CommentThreadTargetScalarFieldEnum {
id = "id", id = "id",
createdAt = "createdAt",
updatedAt = "updatedAt",
deletedAt = "deletedAt",
commentThreadId = "commentThreadId", commentThreadId = "commentThreadId",
commentableType = "commentableType", commentableType = "commentableType",
commentableId = "commentableId" commentableId = "commentableId",
deletedAt = "deletedAt",
createdAt = "createdAt",
updatedAt = "updatedAt"
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
import { EnumCommentableTypeWithAggregatesFilter } from '../prisma/enum-commentable-type-with-aggregates-filter.input'; import { EnumCommentableTypeWithAggregatesFilter } from '../prisma/enum-commentable-type-with-aggregates-filter.input';
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
import { HideField } from '@nestjs/graphql';
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
@InputType() @InputType()
export class CommentThreadTargetScalarWhereWithAggregatesInput { export class CommentThreadTargetScalarWhereWithAggregatesInput {
@ -20,15 +21,6 @@ export class CommentThreadTargetScalarWhereWithAggregatesInput {
@Field(() => StringWithAggregatesFilter, {nullable:true}) @Field(() => StringWithAggregatesFilter, {nullable:true})
id?: StringWithAggregatesFilter; id?: StringWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true}) @Field(() => StringWithAggregatesFilter, {nullable:true})
commentThreadId?: StringWithAggregatesFilter; commentThreadId?: StringWithAggregatesFilter;
@ -37,4 +29,13 @@ export class CommentThreadTargetScalarWhereWithAggregatesInput {
@Field(() => StringWithAggregatesFilter, {nullable:true}) @Field(() => StringWithAggregatesFilter, {nullable:true})
commentableId?: StringWithAggregatesFilter; commentableId?: StringWithAggregatesFilter;
@HideField()
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
updatedAt?: DateTimeWithAggregatesFilter;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFilter } from '../prisma/string-filter.input'; import { StringFilter } from '../prisma/string-filter.input';
import { DateTimeFilter } from '../prisma/date-time-filter.input';
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filter.input'; import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filter.input';
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
import { HideField } from '@nestjs/graphql';
import { DateTimeFilter } from '../prisma/date-time-filter.input';
@InputType() @InputType()
export class CommentThreadTargetScalarWhereInput { export class CommentThreadTargetScalarWhereInput {
@ -20,15 +21,6 @@ export class CommentThreadTargetScalarWhereInput {
@Field(() => StringFilter, {nullable:true}) @Field(() => StringFilter, {nullable:true})
id?: StringFilter; id?: StringFilter;
@Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter;
@Field(() => StringFilter, {nullable:true}) @Field(() => StringFilter, {nullable:true})
commentThreadId?: StringFilter; commentThreadId?: StringFilter;
@ -37,4 +29,13 @@ export class CommentThreadTargetScalarWhereInput {
@Field(() => StringFilter, {nullable:true}) @Field(() => StringFilter, {nullable:true})
commentableId?: StringFilter; commentableId?: StringFilter;
@HideField()
deletedAt?: DateTimeNullableFilter;
@Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter;
} }

View File

@ -1,25 +1,29 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetUncheckedCreateWithoutCommentThreadInput { export class CommentThreadTargetUncheckedCreateWithoutCommentThreadInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, {nullable:false}) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,22 +1,17 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadTargetUncheckedCreateInput { export class CommentThreadTargetUncheckedCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@ -25,4 +20,13 @@ export class CommentThreadTargetUncheckedCreateInput {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-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';
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsInput { export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsInput {
@ -11,18 +12,18 @@ export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsIn
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-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';
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateManyInput { export class CommentThreadTargetUncheckedUpdateManyInput {
@ -11,15 +12,6 @@ export class CommentThreadTargetUncheckedUpdateManyInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentThreadId?: StringFieldUpdateOperationsInput; commentThreadId?: StringFieldUpdateOperationsInput;
@ -28,4 +20,13 @@ export class CommentThreadTargetUncheckedUpdateManyInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-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';
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput { export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput {
@ -11,18 +12,18 @@ export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-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';
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateInput { export class CommentThreadTargetUncheckedUpdateInput {
@ -11,15 +12,6 @@ export class CommentThreadTargetUncheckedUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentThreadId?: StringFieldUpdateOperationsInput; commentThreadId?: StringFieldUpdateOperationsInput;
@ -28,4 +20,13 @@ export class CommentThreadTargetUncheckedUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-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';
@InputType() @InputType()
export class CommentThreadTargetUpdateManyMutationInput { export class CommentThreadTargetUpdateManyMutationInput {
@ -11,18 +12,18 @@ export class CommentThreadTargetUpdateManyMutationInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-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';
@InputType() @InputType()
export class CommentThreadTargetUpdateWithoutCommentThreadInput { export class CommentThreadTargetUpdateWithoutCommentThreadInput {
@ -11,18 +12,18 @@ export class CommentThreadTargetUpdateWithoutCommentThreadInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-type-field-update-operations.input'; import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-commentable-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 { CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput } from '../comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input'; import { CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput } from '../comment-thread/comment-thread-update-one-required-without-comment-thread-targets-nested.input';
@InputType() @InputType()
@ -12,21 +13,21 @@ export class CommentThreadTargetUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true}) @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput, {nullable:true}) @Field(() => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput, {nullable:true})
commentThread?: CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput; commentThread?: CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput;
} }

View File

@ -1,9 +1,12 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
@InputType() @InputType()
export class CommentThreadTargetWhereUniqueInput { export class CommentThreadTargetWhereUniqueInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
} }

View File

@ -1,9 +1,10 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFilter } from '../prisma/string-filter.input'; import { StringFilter } from '../prisma/string-filter.input';
import { DateTimeFilter } from '../prisma/date-time-filter.input';
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filter.input'; import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filter.input';
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
import { HideField } from '@nestjs/graphql';
import { DateTimeFilter } from '../prisma/date-time-filter.input';
import { CommentThreadRelationFilter } from '../comment-thread/comment-thread-relation-filter.input'; import { CommentThreadRelationFilter } from '../comment-thread/comment-thread-relation-filter.input';
@InputType() @InputType()
@ -21,15 +22,6 @@ export class CommentThreadTargetWhereInput {
@Field(() => StringFilter, {nullable:true}) @Field(() => StringFilter, {nullable:true})
id?: StringFilter; id?: StringFilter;
@Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter;
@Field(() => StringFilter, {nullable:true}) @Field(() => StringFilter, {nullable:true})
commentThreadId?: StringFilter; commentThreadId?: StringFilter;
@ -39,6 +31,15 @@ export class CommentThreadTargetWhereInput {
@Field(() => StringFilter, {nullable:true}) @Field(() => StringFilter, {nullable:true})
commentableId?: StringFilter; commentableId?: StringFilter;
@HideField()
deletedAt?: DateTimeNullableFilter;
@Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter;
@Field(() => CommentThreadRelationFilter, {nullable:true}) @Field(() => CommentThreadRelationFilter, {nullable:true})
commentThread?: CommentThreadRelationFilter; commentThread?: CommentThreadRelationFilter;
} }

View File

@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import { ID } from '@nestjs/graphql'; import { ID } from '@nestjs/graphql';
import { CommentableType } from '../prisma/commentable-type.enum'; import { CommentableType } from '../prisma/commentable-type.enum';
import { HideField } from '@nestjs/graphql';
import { CommentThread } from '../comment-thread/comment-thread.model'; import { CommentThread } from '../comment-thread/comment-thread.model';
@ObjectType() @ObjectType()
@ -10,15 +11,6 @@ export class CommentThreadTarget {
@Field(() => ID, {nullable:false}) @Field(() => ID, {nullable:false})
id!: string; id!: string;
@Field(() => Date, {nullable:false})
createdAt!: Date;
@Field(() => Date, {nullable:false})
updatedAt!: Date;
@Field(() => Date, {nullable:true})
deletedAt!: Date | null;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@ -28,6 +20,15 @@ export class CommentThreadTarget {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@HideField()
deletedAt!: Date | null;
@Field(() => Date, {nullable:false})
createdAt!: Date;
@Field(() => Date, {nullable:false})
updatedAt!: Date;
@Field(() => CommentThread, {nullable:false}) @Field(() => CommentThread, {nullable:false})
commentThread?: CommentThread; commentThread?: CommentThread;
} }

View File

@ -2,12 +2,15 @@ import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql';
import { CommentThreadTargetCreateManyInput } from './comment-thread-target-create-many.input'; import { CommentThreadTargetCreateManyInput } from './comment-thread-target-create-many.input';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
@ArgsType() @ArgsType()
export class CreateManyCommentThreadTargetArgs { export class CreateManyCommentThreadTargetArgs {
@Field(() => [CommentThreadTargetCreateManyInput], {nullable:false}) @Field(() => [CommentThreadTargetCreateManyInput], {nullable:false})
@Type(() => CommentThreadTargetCreateManyInput) @Type(() => CommentThreadTargetCreateManyInput)
@ValidateNested({each: true})
@Type(() => CommentThreadTargetCreateManyInput)
data!: Array<CommentThreadTargetCreateManyInput>; data!: Array<CommentThreadTargetCreateManyInput>;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})

View File

@ -2,11 +2,14 @@ import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql';
import { CommentThreadTargetCreateInput } from './comment-thread-target-create.input'; import { CommentThreadTargetCreateInput } from './comment-thread-target-create.input';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
@ArgsType() @ArgsType()
export class CreateOneCommentThreadTargetArgs { export class CreateOneCommentThreadTargetArgs {
@Field(() => CommentThreadTargetCreateInput, {nullable:false}) @Field(() => CommentThreadTargetCreateInput, {nullable:false})
@Type(() => CommentThreadTargetCreateInput) @Type(() => CommentThreadTargetCreateInput)
@ValidateNested({each: true})
@Type(() => CommentThreadTargetCreateInput)
data!: CommentThreadTargetCreateInput; data!: CommentThreadTargetCreateInput;
} }

View File

@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql';
import { CommentThreadTargetUpdateManyMutationInput } from './comment-thread-target-update-many-mutation.input'; import { CommentThreadTargetUpdateManyMutationInput } from './comment-thread-target-update-many-mutation.input';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input'; import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';
@ArgsType() @ArgsType()
@ -9,6 +10,8 @@ export class UpdateManyCommentThreadTargetArgs {
@Field(() => CommentThreadTargetUpdateManyMutationInput, {nullable:false}) @Field(() => CommentThreadTargetUpdateManyMutationInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateManyMutationInput) @Type(() => CommentThreadTargetUpdateManyMutationInput)
@ValidateNested({each: true})
@Type(() => CommentThreadTargetUpdateManyMutationInput)
data!: CommentThreadTargetUpdateManyMutationInput; data!: CommentThreadTargetUpdateManyMutationInput;
@Field(() => CommentThreadTargetWhereInput, {nullable:true}) @Field(() => CommentThreadTargetWhereInput, {nullable:true})

View File

@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql';
import { CommentThreadTargetUpdateInput } from './comment-thread-target-update.input'; import { CommentThreadTargetUpdateInput } from './comment-thread-target-update.input';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input'; import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';
@ArgsType() @ArgsType()
@ -9,6 +10,8 @@ export class UpdateOneCommentThreadTargetArgs {
@Field(() => CommentThreadTargetUpdateInput, {nullable:false}) @Field(() => CommentThreadTargetUpdateInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateInput) @Type(() => CommentThreadTargetUpdateInput)
@ValidateNested({each: true})
@Type(() => CommentThreadTargetUpdateInput)
data!: CommentThreadTargetUpdateInput; data!: CommentThreadTargetUpdateInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false}) @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})

View File

@ -8,18 +8,18 @@ export class CommentThreadCountAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@HideField()
workspaceId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@HideField()
workspaceId?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
_all?: true; _all?: true;
} }

View File

@ -9,18 +9,18 @@ export class CommentThreadCountAggregate {
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
id!: number; id!: number;
@HideField()
workspaceId!: number;
@HideField()
deletedAt!: number;
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
createdAt!: number; createdAt!: number;
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
updatedAt!: number; updatedAt!: number;
@Field(() => Int, {nullable:false})
deletedAt!: number;
@HideField()
workspaceId!: number;
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
_all!: number; _all!: number;
} }

View File

@ -9,15 +9,15 @@ export class CommentThreadCountOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
} }

View File

@ -1,18 +1,22 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCreateManyWorkspaceInput { export class CommentThreadCreateManyWorkspaceInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
} }

View File

@ -1,22 +1,25 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCreateManyInput { export class CommentThreadCreateManyInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId!: string;
} }

View File

@ -1,24 +1,27 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-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 { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCreateWithoutCommentThreadTargetsInput { export class CommentThreadCreateWithoutCommentThreadTargetsInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true}) @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
comments?: CommentCreateNestedManyWithoutCommentThreadInput; comments?: CommentCreateNestedManyWithoutCommentThreadInput;

View File

@ -1,24 +1,27 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input'; 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 { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCreateWithoutCommentsInput { export class CommentThreadCreateWithoutCommentsInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true}) @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;

View File

@ -1,5 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input'; 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 { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';
@ -7,17 +9,19 @@ import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/com
export class CommentThreadCreateWithoutWorkspaceInput { export class CommentThreadCreateWithoutWorkspaceInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true}) @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;

View File

@ -1,25 +1,28 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { CommentThreadTargetCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-create-nested-many-without-comment-thread.input'; 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 { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-create-nested-many-without-comment-thread.input';
import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input'; import { WorkspaceCreateNestedOneWithoutCommentThreadsInput } from '../workspace/workspace-create-nested-one-without-comment-threads.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCreateInput { export class CommentThreadCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true}) @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;

View File

@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
import { CommentThreadCountAggregate } from './comment-thread-count-aggregate.output'; import { CommentThreadCountAggregate } from './comment-thread-count-aggregate.output';
import { CommentThreadMinAggregate } from './comment-thread-min-aggregate.output'; import { CommentThreadMinAggregate } from './comment-thread-min-aggregate.output';
@ -9,20 +10,22 @@ import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output
export class CommentThreadGroupBy { export class CommentThreadGroupBy {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@Validator.IsString()
@Validator.IsOptional()
id!: string; id!: string;
@HideField()
workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:false}) @Field(() => Date, {nullable:false})
createdAt!: Date | string; createdAt!: Date | string;
@Field(() => Date, {nullable:false}) @Field(() => Date, {nullable:false})
updatedAt!: Date | string; updatedAt!: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId!: string;
@Field(() => CommentThreadCountAggregate, {nullable:true}) @Field(() => CommentThreadCountAggregate, {nullable:true})
_count?: CommentThreadCountAggregate; _count?: CommentThreadCountAggregate;

View File

@ -8,15 +8,15 @@ export class CommentThreadMaxAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@HideField()
workspaceId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@HideField()
workspaceId?: true;
} }

View File

@ -1,22 +1,25 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentThreadMaxAggregate { export class CommentThreadMaxAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
workspaceId?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId?: string;
} }

View File

@ -9,15 +9,15 @@ export class CommentThreadMaxOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
} }

View File

@ -8,15 +8,15 @@ export class CommentThreadMinAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@HideField()
workspaceId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@HideField()
workspaceId?: true;
} }

View File

@ -1,22 +1,25 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentThreadMinAggregate { export class CommentThreadMinAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
workspaceId?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId?: string;
} }

View File

@ -9,15 +9,15 @@ export class CommentThreadMinOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
} }

View File

@ -12,18 +12,18 @@ export class CommentThreadOrderByWithAggregationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => CommentThreadCountOrderByAggregateInput, {nullable:true}) @Field(() => CommentThreadCountOrderByAggregateInput, {nullable:true})
_count?: CommentThreadCountOrderByAggregateInput; _count?: CommentThreadCountOrderByAggregateInput;

View File

@ -12,18 +12,18 @@ export class CommentThreadOrderByWithRelationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => CommentThreadTargetOrderByRelationAggregateInput, {nullable:true}) @Field(() => CommentThreadTargetOrderByRelationAggregateInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetOrderByRelationAggregateInput; commentThreadTargets?: CommentThreadTargetOrderByRelationAggregateInput;

View File

@ -2,10 +2,10 @@ import { registerEnumType } from '@nestjs/graphql';
export enum CommentThreadScalarFieldEnum { export enum CommentThreadScalarFieldEnum {
id = "id", id = "id",
createdAt = "createdAt", workspaceId = "workspaceId",
updatedAt = "updatedAt",
deletedAt = "deletedAt", deletedAt = "deletedAt",
workspaceId = "workspaceId" createdAt = "createdAt",
updatedAt = "updatedAt"
} }

View File

@ -1,9 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input';
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input';
@InputType() @InputType()
export class CommentThreadScalarWhereWithAggregatesInput { export class CommentThreadScalarWhereWithAggregatesInput {
@ -20,15 +20,15 @@ export class CommentThreadScalarWhereWithAggregatesInput {
@Field(() => StringWithAggregatesFilter, {nullable:true}) @Field(() => StringWithAggregatesFilter, {nullable:true})
id?: StringWithAggregatesFilter; id?: StringWithAggregatesFilter;
@HideField()
workspaceId?: StringWithAggregatesFilter;
@HideField()
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true}) @Field(() => DateTimeWithAggregatesFilter, {nullable:true})
createdAt?: DateTimeWithAggregatesFilter; createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true}) @Field(() => DateTimeWithAggregatesFilter, {nullable:true})
updatedAt?: DateTimeWithAggregatesFilter; updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
deletedAt?: DateTimeNullableWithAggregatesFilter;
@HideField()
workspaceId?: StringWithAggregatesFilter;
} }

View File

@ -1,9 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFilter } from '../prisma/string-filter.input'; import { StringFilter } from '../prisma/string-filter.input';
import { DateTimeFilter } from '../prisma/date-time-filter.input';
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
import { DateTimeFilter } from '../prisma/date-time-filter.input';
@InputType() @InputType()
export class CommentThreadScalarWhereInput { export class CommentThreadScalarWhereInput {
@ -20,15 +20,15 @@ export class CommentThreadScalarWhereInput {
@Field(() => StringFilter, {nullable:true}) @Field(() => StringFilter, {nullable:true})
id?: StringFilter; id?: StringFilter;
@HideField()
workspaceId?: StringFilter;
@HideField()
deletedAt?: DateTimeNullableFilter;
@Field(() => DateTimeFilter, {nullable:true}) @Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter; createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true}) @Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter; updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter;
@HideField()
workspaceId?: StringFilter;
} }

View File

@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input'; import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';
@ -7,20 +8,22 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput { export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId!: string;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
} }

View File

@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input'; import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input';
@ -7,20 +8,22 @@ import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput }
export class CommentThreadUncheckedCreateWithoutCommentsInput { export class CommentThreadUncheckedCreateWithoutCommentsInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId!: string;
@Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
} }

View File

@ -1,5 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input'; 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'; import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';
@ -7,17 +9,19 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
export class CommentThreadUncheckedCreateWithoutWorkspaceInput { export class CommentThreadUncheckedCreateWithoutWorkspaceInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;

View File

@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment-thread-target/comment-thread-target-unchecked-create-nested-many-without-comment-thread.input'; 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'; import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../comment/comment-unchecked-create-nested-many-without-comment-thread.input';
@ -8,20 +9,22 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
export class CommentThreadUncheckedCreateInput { export class CommentThreadUncheckedCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@HideField()
workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId!: string;
@Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true}) @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;

View File

@ -1,8 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-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';
@InputType() @InputType()
export class CommentThreadUncheckedUpdateManyWithoutCommentThreadsInput { export class CommentThreadUncheckedUpdateManyWithoutCommentThreadsInput {
@ -10,12 +11,12 @@ export class CommentThreadUncheckedUpdateManyWithoutCommentThreadsInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
} }

View File

@ -1,9 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
@InputType() @InputType()
export class CommentThreadUncheckedUpdateManyInput { export class CommentThreadUncheckedUpdateManyInput {
@ -11,15 +11,15 @@ export class CommentThreadUncheckedUpdateManyInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
} }

View File

@ -1,9 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
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'; import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input';
@InputType() @InputType()
@ -12,18 +12,18 @@ export class CommentThreadUncheckedUpdateWithoutCommentThreadTargetsInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) @Field(() => CommentUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput; comments?: CommentUncheckedUpdateManyWithoutCommentThreadNestedInput;
} }

View File

@ -1,9 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
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 { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.input';
@InputType() @InputType()
@ -12,18 +12,18 @@ export class CommentThreadUncheckedUpdateWithoutCommentsInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) @Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput; commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput;
} }

View File

@ -1,8 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-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 { CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment-thread-target/comment-thread-target-unchecked-update-many-without-comment-thread-nested.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'; import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input';
@ -12,15 +13,15 @@ export class CommentThreadUncheckedUpdateWithoutWorkspaceInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) @Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput; commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput;

View File

@ -1,9 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
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 { 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'; import { CommentUncheckedUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-unchecked-update-many-without-comment-thread-nested.input';
@ -13,18 +13,18 @@ export class CommentThreadUncheckedUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
@Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) @Field(() => CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput; commentThreadTargets?: CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput;

View File

@ -1,8 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-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';
@InputType() @InputType()
export class CommentThreadUpdateManyMutationInput { export class CommentThreadUpdateManyMutationInput {
@ -10,12 +11,12 @@ export class CommentThreadUpdateManyMutationInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
} }

View File

@ -1,11 +1,11 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-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 { 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 { WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput } from '../workspace/workspace-update-one-required-without-comment-threads-nested.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadUpdateWithoutCommentThreadTargetsInput { export class CommentThreadUpdateWithoutCommentThreadTargetsInput {
@ -13,15 +13,15 @@ export class CommentThreadUpdateWithoutCommentThreadTargetsInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) @Field(() => CommentUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
comments?: CommentUpdateManyWithoutCommentThreadNestedInput; comments?: CommentUpdateManyWithoutCommentThreadNestedInput;

View File

@ -1,11 +1,11 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-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 { 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 { WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput } from '../workspace/workspace-update-one-required-without-comment-threads-nested.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadUpdateWithoutCommentsInput { export class CommentThreadUpdateWithoutCommentsInput {
@ -13,15 +13,15 @@ export class CommentThreadUpdateWithoutCommentsInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput;

View File

@ -1,8 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-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 { 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 { CommentUpdateManyWithoutCommentThreadNestedInput } from '../comment/comment-update-many-without-comment-thread-nested.input';
@ -12,15 +13,15 @@ export class CommentThreadUpdateWithoutWorkspaceInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput;

View File

@ -1,12 +1,12 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-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 { 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 { 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 { WorkspaceUpdateOneRequiredWithoutCommentThreadsNestedInput } from '../workspace/workspace-update-one-required-without-comment-threads-nested.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadUpdateInput { export class CommentThreadUpdateInput {
@ -14,15 +14,15 @@ export class CommentThreadUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@HideField()
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true}) @Field(() => CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput; commentThreadTargets?: CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput;

View File

@ -1,9 +1,12 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
@InputType() @InputType()
export class CommentThreadWhereUniqueInput { export class CommentThreadWhereUniqueInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
} }

View File

@ -1,9 +1,9 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import { StringFilter } from '../prisma/string-filter.input'; import { StringFilter } from '../prisma/string-filter.input';
import { DateTimeFilter } from '../prisma/date-time-filter.input';
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
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'; import { CommentThreadTargetListRelationFilter } from '../comment-thread-target/comment-thread-target-list-relation-filter.input';
import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input'; import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input';
import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input';
@ -23,18 +23,18 @@ export class CommentThreadWhereInput {
@Field(() => StringFilter, {nullable:true}) @Field(() => StringFilter, {nullable:true})
id?: StringFilter; id?: StringFilter;
@HideField()
workspaceId?: StringFilter;
@HideField()
deletedAt?: DateTimeNullableFilter;
@Field(() => DateTimeFilter, {nullable:true}) @Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter; createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true}) @Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter; updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter;
@HideField()
workspaceId?: StringFilter;
@Field(() => CommentThreadTargetListRelationFilter, {nullable:true}) @Field(() => CommentThreadTargetListRelationFilter, {nullable:true})
commentThreadTargets?: CommentThreadTargetListRelationFilter; commentThreadTargets?: CommentThreadTargetListRelationFilter;

View File

@ -13,18 +13,18 @@ export class CommentThread {
@Field(() => ID, {nullable:false}) @Field(() => ID, {nullable:false})
id!: string; id!: string;
@HideField()
workspaceId!: string;
@HideField()
deletedAt!: Date | null;
@Field(() => Date, {nullable:false}) @Field(() => Date, {nullable:false})
createdAt!: Date; createdAt!: Date;
@Field(() => Date, {nullable:false}) @Field(() => Date, {nullable:false})
updatedAt!: Date; updatedAt!: Date;
@Field(() => Date, {nullable:true})
deletedAt!: Date | null;
@HideField()
workspaceId!: string;
@Field(() => [CommentThreadTarget], {nullable:true}) @Field(() => [CommentThreadTarget], {nullable:true})
commentThreadTargets?: Array<CommentThreadTarget>; commentThreadTargets?: Array<CommentThreadTarget>;

View File

@ -2,12 +2,15 @@ import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql';
import { CommentThreadCreateManyInput } from './comment-thread-create-many.input'; import { CommentThreadCreateManyInput } from './comment-thread-create-many.input';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
@ArgsType() @ArgsType()
export class CreateManyCommentThreadArgs { export class CreateManyCommentThreadArgs {
@Field(() => [CommentThreadCreateManyInput], {nullable:false}) @Field(() => [CommentThreadCreateManyInput], {nullable:false})
@Type(() => CommentThreadCreateManyInput) @Type(() => CommentThreadCreateManyInput)
@ValidateNested({each: true})
@Type(() => CommentThreadCreateManyInput)
data!: Array<CommentThreadCreateManyInput>; data!: Array<CommentThreadCreateManyInput>;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})

View File

@ -2,11 +2,14 @@ import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql';
import { CommentThreadCreateInput } from './comment-thread-create.input'; import { CommentThreadCreateInput } from './comment-thread-create.input';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
@ArgsType() @ArgsType()
export class CreateOneCommentThreadArgs { export class CreateOneCommentThreadArgs {
@Field(() => CommentThreadCreateInput, {nullable:false}) @Field(() => CommentThreadCreateInput, {nullable:false})
@Type(() => CommentThreadCreateInput) @Type(() => CommentThreadCreateInput)
@ValidateNested({each: true})
@Type(() => CommentThreadCreateInput)
data!: CommentThreadCreateInput; data!: CommentThreadCreateInput;
} }

View File

@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql';
import { CommentThreadUpdateManyMutationInput } from './comment-thread-update-many-mutation.input'; import { CommentThreadUpdateManyMutationInput } from './comment-thread-update-many-mutation.input';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
import { CommentThreadWhereInput } from './comment-thread-where.input'; import { CommentThreadWhereInput } from './comment-thread-where.input';
@ArgsType() @ArgsType()
@ -9,6 +10,8 @@ export class UpdateManyCommentThreadArgs {
@Field(() => CommentThreadUpdateManyMutationInput, {nullable:false}) @Field(() => CommentThreadUpdateManyMutationInput, {nullable:false})
@Type(() => CommentThreadUpdateManyMutationInput) @Type(() => CommentThreadUpdateManyMutationInput)
@ValidateNested({each: true})
@Type(() => CommentThreadUpdateManyMutationInput)
data!: CommentThreadUpdateManyMutationInput; data!: CommentThreadUpdateManyMutationInput;
@Field(() => CommentThreadWhereInput, {nullable:true}) @Field(() => CommentThreadWhereInput, {nullable:true})

View File

@ -2,6 +2,7 @@ import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql'; import { ArgsType } from '@nestjs/graphql';
import { CommentThreadUpdateInput } from './comment-thread-update.input'; import { CommentThreadUpdateInput } from './comment-thread-update.input';
import { Type } from 'class-transformer'; import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input'; import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.input';
@ArgsType() @ArgsType()
@ -9,6 +10,8 @@ export class UpdateOneCommentThreadArgs {
@Field(() => CommentThreadUpdateInput, {nullable:false}) @Field(() => CommentThreadUpdateInput, {nullable:false})
@Type(() => CommentThreadUpdateInput) @Type(() => CommentThreadUpdateInput)
@ValidateNested({each: true})
@Type(() => CommentThreadUpdateInput)
data!: CommentThreadUpdateInput; data!: CommentThreadUpdateInput;
@Field(() => CommentThreadWhereUniqueInput, {nullable:false}) @Field(() => CommentThreadWhereUniqueInput, {nullable:false})

View File

@ -8,15 +8,6 @@ export class CommentCountAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
body?: true; body?: true;
@ -29,6 +20,15 @@ export class CommentCountAggregateInput {
@HideField() @HideField()
workspaceId?: true; workspaceId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
_all?: true; _all?: true;
} }

View File

@ -9,15 +9,6 @@ export class CommentCountAggregate {
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
id!: number; id!: number;
@Field(() => Int, {nullable:false})
createdAt!: number;
@Field(() => Int, {nullable:false})
updatedAt!: number;
@Field(() => Int, {nullable:false})
deletedAt!: number;
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
body!: number; body!: number;
@ -30,6 +21,15 @@ export class CommentCountAggregate {
@HideField() @HideField()
workspaceId!: number; workspaceId!: number;
@HideField()
deletedAt!: number;
@Field(() => Int, {nullable:false})
createdAt!: number;
@Field(() => Int, {nullable:false})
updatedAt!: number;
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
_all!: number; _all!: number;
} }

View File

@ -9,15 +9,6 @@ export class CommentCountOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
body?: keyof typeof SortOrder; body?: keyof typeof SortOrder;
@ -29,4 +20,13 @@ export class CommentCountOrderByAggregateInput {
@HideField() @HideField()
workspaceId?: keyof typeof SortOrder; workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
} }

View File

@ -1,23 +1,18 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentCreateManyAuthorInput { export class CommentCreateManyAuthorInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@Validator.IsString()
body!: string; body!: string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@ -25,4 +20,13 @@ export class CommentCreateManyAuthorInput {
@HideField() @HideField()
workspaceId!: string; workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,23 +1,18 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentCreateManyCommentThreadInput { export class CommentCreateManyCommentThreadInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@Validator.IsString()
body!: string; body!: string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@ -25,4 +20,13 @@ export class CommentCreateManyCommentThreadInput {
@HideField() @HideField()
workspaceId!: string; workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,22 +1,18 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentCreateManyWorkspaceInput { export class CommentCreateManyWorkspaceInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@Validator.IsString()
body!: string; body!: string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@ -24,4 +20,13 @@ export class CommentCreateManyWorkspaceInput {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,23 +1,18 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentCreateManyInput { export class CommentCreateManyInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@Validator.IsString()
body!: string; body!: string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@ -28,4 +23,13 @@ export class CommentCreateManyInput {
@HideField() @HideField()
workspaceId!: string; workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -1,27 +1,31 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input'; import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input';
import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input'; import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentCreateWithoutAuthorInput { export class CommentCreateWithoutAuthorInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => String, {nullable:false})
@Validator.IsString()
body!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
body!: string;
@Field(() => CommentThreadCreateNestedOneWithoutCommentsInput, {nullable:false}) @Field(() => CommentThreadCreateNestedOneWithoutCommentsInput, {nullable:false})
commentThread!: CommentThreadCreateNestedOneWithoutCommentsInput; commentThread!: CommentThreadCreateNestedOneWithoutCommentsInput;

View File

@ -1,27 +1,31 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input'; import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input';
import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input'; import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentCreateWithoutCommentThreadInput { export class CommentCreateWithoutCommentThreadInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => String, {nullable:false})
@Validator.IsString()
body!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
body!: string;
@Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false}) @Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false})
author!: UserCreateNestedOneWithoutCommentsInput; author!: UserCreateNestedOneWithoutCommentsInput;

View File

@ -1,5 +1,7 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input'; import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input';
import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input'; import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input';
@ -7,20 +9,23 @@ import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thr
export class CommentCreateWithoutWorkspaceInput { export class CommentCreateWithoutWorkspaceInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => String, {nullable:false})
@Validator.IsString()
body!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
body!: string;
@Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false}) @Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false})
author!: UserCreateNestedOneWithoutCommentsInput; author!: UserCreateNestedOneWithoutCommentsInput;

View File

@ -1,28 +1,32 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql';
import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input'; import { UserCreateNestedOneWithoutCommentsInput } from '../user/user-create-nested-one-without-comments.input';
import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input'; import { CommentThreadCreateNestedOneWithoutCommentsInput } from '../comment-thread/comment-thread-create-nested-one-without-comments.input';
import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input'; import { WorkspaceCreateNestedOneWithoutCommentsInput } from '../workspace/workspace-create-nested-one-without-comments.input';
import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentCreateInput { export class CommentCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => String, {nullable:false})
@Validator.IsString()
body!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false})
body!: string;
@Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false}) @Field(() => UserCreateNestedOneWithoutCommentsInput, {nullable:false})
author!: UserCreateNestedOneWithoutCommentsInput; author!: UserCreateNestedOneWithoutCommentsInput;

View File

@ -1,5 +1,6 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
import { CommentCountAggregate } from './comment-count-aggregate.output'; import { CommentCountAggregate } from './comment-count-aggregate.output';
import { CommentMinAggregate } from './comment-min-aggregate.output'; import { CommentMinAggregate } from './comment-min-aggregate.output';
@ -9,18 +10,12 @@ import { CommentMaxAggregate } from './comment-max-aggregate.output';
export class CommentGroupBy { export class CommentGroupBy {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@Validator.IsString()
@Validator.IsOptional()
id!: string; id!: string;
@Field(() => Date, {nullable:false})
createdAt!: Date | string;
@Field(() => Date, {nullable:false})
updatedAt!: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@Validator.IsString()
body!: string; body!: string;
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
@ -32,6 +27,15 @@ export class CommentGroupBy {
@HideField() @HideField()
workspaceId!: string; workspaceId!: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:false})
createdAt!: Date | string;
@Field(() => Date, {nullable:false})
updatedAt!: Date | string;
@Field(() => CommentCountAggregate, {nullable:true}) @Field(() => CommentCountAggregate, {nullable:true})
_count?: CommentCountAggregate; _count?: CommentCountAggregate;

View File

@ -8,15 +8,6 @@ export class CommentMaxAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
body?: true; body?: true;
@ -28,4 +19,13 @@ export class CommentMaxAggregateInput {
@HideField() @HideField()
workspaceId?: true; workspaceId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
} }

View File

@ -1,23 +1,18 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentMaxAggregate { export class CommentMaxAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
body?: string; body?: string;
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@ -28,4 +23,13 @@ export class CommentMaxAggregate {
@HideField() @HideField()
workspaceId?: string; workspaceId?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -9,15 +9,6 @@ export class CommentMaxOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
body?: keyof typeof SortOrder; body?: keyof typeof SortOrder;
@ -29,4 +20,13 @@ export class CommentMaxOrderByAggregateInput {
@HideField() @HideField()
workspaceId?: keyof typeof SortOrder; workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
} }

View File

@ -8,15 +8,6 @@ export class CommentMinAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
body?: true; body?: true;
@ -28,4 +19,13 @@ export class CommentMinAggregateInput {
@HideField() @HideField()
workspaceId?: true; workspaceId?: true;
@HideField()
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
} }

View File

@ -1,23 +1,18 @@
import { Field } from '@nestjs/graphql'; import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql';
import * as Validator from 'class-validator';
import { HideField } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentMinAggregate { export class CommentMinAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
@Validator.IsOptional()
id?: string; id?: string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@Validator.IsString()
body?: string; body?: string;
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
@ -28,4 +23,13 @@ export class CommentMinAggregate {
@HideField() @HideField()
workspaceId?: string; workspaceId?: string;
@HideField()
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
} }

View File

@ -9,15 +9,6 @@ export class CommentMinOrderByAggregateInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
body?: keyof typeof SortOrder; body?: keyof typeof SortOrder;
@ -29,4 +20,13 @@ export class CommentMinOrderByAggregateInput {
@HideField() @HideField()
workspaceId?: keyof typeof SortOrder; workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
} }

View File

@ -12,15 +12,6 @@ export class CommentOrderByWithAggregationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
body?: keyof typeof SortOrder; body?: keyof typeof SortOrder;
@ -33,6 +24,15 @@ export class CommentOrderByWithAggregationInput {
@HideField() @HideField()
workspaceId?: keyof typeof SortOrder; workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => CommentCountOrderByAggregateInput, {nullable:true}) @Field(() => CommentCountOrderByAggregateInput, {nullable:true})
_count?: CommentCountOrderByAggregateInput; _count?: CommentCountOrderByAggregateInput;

View File

@ -12,15 +12,6 @@ export class CommentOrderByWithRelationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
body?: keyof typeof SortOrder; body?: keyof typeof SortOrder;
@ -33,6 +24,15 @@ export class CommentOrderByWithRelationInput {
@HideField() @HideField()
workspaceId?: keyof typeof SortOrder; workspaceId?: keyof typeof SortOrder;
@HideField()
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => UserOrderByWithRelationInput, {nullable:true}) @Field(() => UserOrderByWithRelationInput, {nullable:true})
author?: UserOrderByWithRelationInput; author?: UserOrderByWithRelationInput;

View File

@ -2,13 +2,13 @@ import { registerEnumType } from '@nestjs/graphql';
export enum CommentScalarFieldEnum { export enum CommentScalarFieldEnum {
id = "id", id = "id",
createdAt = "createdAt",
updatedAt = "updatedAt",
deletedAt = "deletedAt",
body = "body", body = "body",
authorId = "authorId", authorId = "authorId",
commentThreadId = "commentThreadId", commentThreadId = "commentThreadId",
workspaceId = "workspaceId" workspaceId = "workspaceId",
deletedAt = "deletedAt",
createdAt = "createdAt",
updatedAt = "updatedAt"
} }

Some files were not shown because too many files have changed in this diff Show More