Disable linter on generated code (#363)

This commit is contained in:
Félix Malfait 2023-06-23 08:43:41 -07:00 committed by GitHub
parent ceaf482f62
commit 1c7980b270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
976 changed files with 14917 additions and 15292 deletions

View File

@ -6,7 +6,7 @@
"ghcr.io/devcontainers-contrib/features/jshint:2": {}
},
"forwardPorts": [3000, 3001, 5432],
"postCreateCommand": "cd front && yarn && cd ../server && yarn",
"postCreateCommand": "echo 'To start the server, run yarn start command in server and front folder'",
"customizations": {
"vscode": {
"extensions": [

13
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,13 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "start",
"path": "server",
"problemMatcher": [],
"label": "yarn: start - server",
"detail": "yarn start"
}
]
}

View File

@ -15,7 +15,7 @@ module.exports = {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
ignorePatterns: ['.eslintrc.js', 'src/core/@generated/**'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',

View File

@ -21,10 +21,10 @@
"test:e2e": "jest --config ./test/jest-e2e.json",
"prisma:generate-client": "npx prisma generate --generator client && yarn prisma:generate-gql-select",
"prisma:generate-gql-select": "node scripts/generate-model-select-map.js",
"prisma:generate-nest-graphql": "npx prisma generate --generator nestgraphql && eslint \"src/core/@generated/**\" --fix",
"prisma:generate-nest-graphql": "npx prisma generate --generator nestgraphql",
"prisma:migrate": "npx prisma migrate deploy",
"prisma:seed": "npx prisma db seed",
"prisma:reset": "npx prisma migrate reset && eslint \"src/core/@generated/**\" --fix"
"prisma:reset": "npx prisma migrate reset"
},
"dependencies": {
"@apollo/server": "^4.7.3",

View File

@ -6,12 +6,13 @@ import { CommentThreadTargetMaxAggregate } from './comment-thread-target-max-agg
@ObjectType()
export class AggregateCommentThreadTarget {
@Field(() => CommentThreadTargetCountAggregate, { nullable: true })
_count?: CommentThreadTargetCountAggregate;
@Field(() => CommentThreadTargetMinAggregate, { nullable: true })
_min?: CommentThreadTargetMinAggregate;
@Field(() => CommentThreadTargetCountAggregate, {nullable:true})
_count?: CommentThreadTargetCountAggregate;
@Field(() => CommentThreadTargetMaxAggregate, { nullable: true })
_max?: CommentThreadTargetMaxAggregate;
@Field(() => CommentThreadTargetMinAggregate, {nullable:true})
_min?: CommentThreadTargetMinAggregate;
@Field(() => CommentThreadTargetMaxAggregate, {nullable:true})
_max?: CommentThreadTargetMaxAggregate;
}

View File

@ -11,30 +11,29 @@ import { CommentThreadTargetMaxAggregateInput } from './comment-thread-target-ma
@ArgsType()
export class CommentThreadTargetAggregateArgs {
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], {
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: true })
cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], {nullable:true})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true})
cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => Int, {nullable:true})
take?: number;
@Field(() => CommentThreadTargetCountAggregateInput, { nullable: true })
_count?: CommentThreadTargetCountAggregateInput;
@Field(() => Int, {nullable:true})
skip?: number;
@Field(() => CommentThreadTargetMinAggregateInput, { nullable: true })
_min?: CommentThreadTargetMinAggregateInput;
@Field(() => CommentThreadTargetCountAggregateInput, {nullable:true})
_count?: CommentThreadTargetCountAggregateInput;
@Field(() => CommentThreadTargetMaxAggregateInput, { nullable: true })
_max?: CommentThreadTargetMaxAggregateInput;
@Field(() => CommentThreadTargetMinAggregateInput, {nullable:true})
_min?: CommentThreadTargetMinAggregateInput;
@Field(() => CommentThreadTargetMaxAggregateInput, {nullable:true})
_max?: CommentThreadTargetMaxAggregateInput;
}

View File

@ -3,27 +3,28 @@ import { InputType } from '@nestjs/graphql';
@InputType()
export class CommentThreadTargetCountAggregateInput {
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
id?: true;
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, { nullable: true })
commentThreadId?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, { nullable: true })
commentableType?: true;
@Field(() => Boolean, {nullable:true})
commentThreadId?: true;
@Field(() => Boolean, { nullable: true })
commentableId?: true;
@Field(() => Boolean, {nullable:true})
commentableType?: true;
@Field(() => Boolean, { nullable: true })
_all?: true;
@Field(() => Boolean, {nullable:true})
commentableId?: true;
@Field(() => Boolean, {nullable:true})
_all?: true;
}

View File

@ -4,27 +4,28 @@ import { Int } from '@nestjs/graphql';
@ObjectType()
export class CommentThreadTargetCountAggregate {
@Field(() => Int, { nullable: false })
id!: number;
@Field(() => Int, { nullable: false })
createdAt!: number;
@Field(() => Int, {nullable:false})
id!: number;
@Field(() => Int, { nullable: false })
updatedAt!: number;
@Field(() => Int, {nullable:false})
createdAt!: number;
@Field(() => Int, { nullable: false })
deletedAt!: number;
@Field(() => Int, {nullable:false})
updatedAt!: number;
@Field(() => Int, { nullable: false })
commentThreadId!: number;
@Field(() => Int, {nullable:false})
deletedAt!: number;
@Field(() => Int, { nullable: false })
commentableType!: number;
@Field(() => Int, {nullable:false})
commentThreadId!: number;
@Field(() => Int, { nullable: false })
commentableId!: number;
@Field(() => Int, {nullable:false})
commentableType!: number;
@Field(() => Int, { nullable: false })
_all!: number;
@Field(() => Int, {nullable:false})
commentableId!: number;
@Field(() => Int, {nullable:false})
_all!: number;
}

View File

@ -4,24 +4,25 @@ import { SortOrder } from '../prisma/sort-order.enum';
@InputType()
export class CommentThreadTargetCountOrderByAggregateInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder;
}

View File

@ -5,12 +5,11 @@ import { Type } from 'class-transformer';
@InputType()
export class CommentThreadTargetCreateManyCommentThreadInputEnvelope {
@Field(() => [CommentThreadTargetCreateManyCommentThreadInput], {
nullable: false,
})
@Type(() => CommentThreadTargetCreateManyCommentThreadInput)
data!: Array<CommentThreadTargetCreateManyCommentThreadInput>;
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
@Field(() => [CommentThreadTargetCreateManyCommentThreadInput], {nullable:false})
@Type(() => CommentThreadTargetCreateManyCommentThreadInput)
data!: Array<CommentThreadTargetCreateManyCommentThreadInput>;
@Field(() => Boolean, {nullable:true})
skipDuplicates?: boolean;
}

View File

@ -4,21 +4,22 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType()
export class CommentThreadTargetCreateManyCommentThreadInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentableType, { nullable: false })
commentableType!: keyof typeof CommentableType;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, { nullable: false })
commentableId!: string;
@Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentableId!: string;
}

View File

@ -4,24 +4,25 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType()
export class CommentThreadTargetCreateManyInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => String, { nullable: false })
commentThreadId!: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, { nullable: false })
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentThreadId!: string;
@Field(() => String, { nullable: false })
commentableId!: string;
@Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentableId!: string;
}

View File

@ -9,18 +9,17 @@ import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-whe
@InputType()
export class CommentThreadTargetCreateNestedManyWithoutCommentThreadInput {
@HideField()
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@HideField()
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@HideField()
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {
nullable: true,
})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@HideField()
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@HideField()
connect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@HideField()
connect?: Array<CommentThreadTargetWhereUniqueInput>;
}

View File

@ -6,13 +6,12 @@ import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-th
@InputType()
export class CommentThreadTargetCreateOrConnectWithoutCommentThreadInput {
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {
nullable: false,
})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create!: CommentThreadTargetCreateWithoutCommentThreadInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {nullable:false})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create!: CommentThreadTargetCreateWithoutCommentThreadInput;
}

View File

@ -4,21 +4,22 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType()
export class CommentThreadTargetCreateWithoutCommentThreadInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentableType, { nullable: false })
commentableType!: keyof typeof CommentableType;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, { nullable: false })
commentableId!: string;
@Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentableId!: string;
}

View File

@ -5,26 +5,25 @@ import { CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput } from '..
@InputType()
export class CommentThreadTargetCreateInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentableType, { nullable: false })
commentableType!: keyof typeof CommentableType;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, { nullable: false })
commentableId!: string;
@Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType;
@Field(() => CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput, {
nullable: false,
})
commentThread!: CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput;
@Field(() => String, {nullable:false})
commentableId!: string;
@Field(() => CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput, {nullable:false})
commentThread!: CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput;
}

View File

@ -12,35 +12,32 @@ import { CommentThreadTargetMaxAggregateInput } from './comment-thread-target-ma
@ArgsType()
export class CommentThreadTargetGroupByArgs {
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithAggregationInput], {
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithAggregationInput>;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: false })
by!: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
@Field(() => [CommentThreadTargetOrderByWithAggregationInput], {nullable:true})
orderBy?: Array<CommentThreadTargetOrderByWithAggregationInput>;
@Field(() => CommentThreadTargetScalarWhereWithAggregatesInput, {
nullable: true,
})
having?: CommentThreadTargetScalarWhereWithAggregatesInput;
@Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:false})
by!: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => CommentThreadTargetScalarWhereWithAggregatesInput, {nullable:true})
having?: CommentThreadTargetScalarWhereWithAggregatesInput;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => Int, {nullable:true})
take?: number;
@Field(() => CommentThreadTargetCountAggregateInput, { nullable: true })
_count?: CommentThreadTargetCountAggregateInput;
@Field(() => Int, {nullable:true})
skip?: number;
@Field(() => CommentThreadTargetMinAggregateInput, { nullable: true })
_min?: CommentThreadTargetMinAggregateInput;
@Field(() => CommentThreadTargetCountAggregateInput, {nullable:true})
_count?: CommentThreadTargetCountAggregateInput;
@Field(() => CommentThreadTargetMaxAggregateInput, { nullable: true })
_max?: CommentThreadTargetMaxAggregateInput;
@Field(() => CommentThreadTargetMinAggregateInput, {nullable:true})
_min?: CommentThreadTargetMinAggregateInput;
@Field(() => CommentThreadTargetMaxAggregateInput, {nullable:true})
_max?: CommentThreadTargetMaxAggregateInput;
}

View File

@ -7,33 +7,34 @@ import { CommentThreadTargetMaxAggregate } from './comment-thread-target-max-agg
@ObjectType()
export class CommentThreadTargetGroupBy {
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, { nullable: false })
createdAt!: Date | string;
@Field(() => String, {nullable:false})
id!: string;
@Field(() => Date, { nullable: false })
updatedAt!: Date | string;
@Field(() => Date, {nullable:false})
createdAt!: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:false})
updatedAt!: Date | string;
@Field(() => String, { nullable: false })
commentThreadId!: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, { nullable: false })
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentThreadId!: string;
@Field(() => String, { nullable: false })
commentableId!: string;
@Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType;
@Field(() => CommentThreadTargetCountAggregate, { nullable: true })
_count?: CommentThreadTargetCountAggregate;
@Field(() => String, {nullable:false})
commentableId!: string;
@Field(() => CommentThreadTargetMinAggregate, { nullable: true })
_min?: CommentThreadTargetMinAggregate;
@Field(() => CommentThreadTargetCountAggregate, {nullable:true})
_count?: CommentThreadTargetCountAggregate;
@Field(() => CommentThreadTargetMaxAggregate, { nullable: true })
_max?: CommentThreadTargetMaxAggregate;
@Field(() => CommentThreadTargetMinAggregate, {nullable:true})
_min?: CommentThreadTargetMinAggregate;
@Field(() => CommentThreadTargetMaxAggregate, {nullable:true})
_max?: CommentThreadTargetMaxAggregate;
}

View File

@ -4,12 +4,13 @@ import { CommentThreadTargetWhereInput } from './comment-thread-target-where.inp
@InputType()
export class CommentThreadTargetListRelationFilter {
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
every?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
some?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
every?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
none?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
some?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
none?: CommentThreadTargetWhereInput;
}

View File

@ -3,24 +3,25 @@ import { InputType } from '@nestjs/graphql';
@InputType()
export class CommentThreadTargetMaxAggregateInput {
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
id?: true;
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, { nullable: true })
commentThreadId?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, { nullable: true })
commentableType?: true;
@Field(() => Boolean, {nullable:true})
commentThreadId?: true;
@Field(() => Boolean, { nullable: true })
commentableId?: true;
@Field(() => Boolean, {nullable:true})
commentableType?: true;
@Field(() => Boolean, {nullable:true})
commentableId?: true;
}

View File

@ -4,24 +4,25 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@ObjectType()
export class CommentThreadTargetMaxAggregate {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => String, { nullable: true })
commentThreadId?: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, { nullable: true })
commentableType?: keyof typeof CommentableType;
@Field(() => String, {nullable:true})
commentThreadId?: string;
@Field(() => String, { nullable: true })
commentableId?: string;
@Field(() => CommentableType, {nullable:true})
commentableType?: keyof typeof CommentableType;
@Field(() => String, {nullable:true})
commentableId?: string;
}

View File

@ -4,24 +4,25 @@ import { SortOrder } from '../prisma/sort-order.enum';
@InputType()
export class CommentThreadTargetMaxOrderByAggregateInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder;
}

View File

@ -3,24 +3,25 @@ import { InputType } from '@nestjs/graphql';
@InputType()
export class CommentThreadTargetMinAggregateInput {
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
id?: true;
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@Field(() => Boolean, { nullable: true })
commentThreadId?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, { nullable: true })
commentableType?: true;
@Field(() => Boolean, {nullable:true})
commentThreadId?: true;
@Field(() => Boolean, { nullable: true })
commentableId?: true;
@Field(() => Boolean, {nullable:true})
commentableType?: true;
@Field(() => Boolean, {nullable:true})
commentableId?: true;
}

View File

@ -4,24 +4,25 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@ObjectType()
export class CommentThreadTargetMinAggregate {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => String, { nullable: true })
commentThreadId?: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, { nullable: true })
commentableType?: keyof typeof CommentableType;
@Field(() => String, {nullable:true})
commentThreadId?: string;
@Field(() => String, { nullable: true })
commentableId?: string;
@Field(() => CommentableType, {nullable:true})
commentableType?: keyof typeof CommentableType;
@Field(() => String, {nullable:true})
commentableId?: string;
}

View File

@ -4,24 +4,25 @@ import { SortOrder } from '../prisma/sort-order.enum';
@InputType()
export class CommentThreadTargetMinOrderByAggregateInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder;
}

View File

@ -4,6 +4,7 @@ import { SortOrder } from '../prisma/sort-order.enum';
@InputType()
export class CommentThreadTargetOrderByRelationAggregateInput {
@Field(() => SortOrder, { nullable: true })
_count?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
_count?: keyof typeof SortOrder;
}

View File

@ -7,35 +7,34 @@ import { CommentThreadTargetMinOrderByAggregateInput } from './comment-thread-ta
@InputType()
export class CommentThreadTargetOrderByWithAggregationInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder;
@Field(() => CommentThreadTargetCountOrderByAggregateInput, {
nullable: true,
})
_count?: CommentThreadTargetCountOrderByAggregateInput;
@Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder;
@Field(() => CommentThreadTargetMaxOrderByAggregateInput, { nullable: true })
_max?: CommentThreadTargetMaxOrderByAggregateInput;
@Field(() => CommentThreadTargetCountOrderByAggregateInput, {nullable:true})
_count?: CommentThreadTargetCountOrderByAggregateInput;
@Field(() => CommentThreadTargetMinOrderByAggregateInput, { nullable: true })
_min?: CommentThreadTargetMinOrderByAggregateInput;
@Field(() => CommentThreadTargetMaxOrderByAggregateInput, {nullable:true})
_max?: CommentThreadTargetMaxOrderByAggregateInput;
@Field(() => CommentThreadTargetMinOrderByAggregateInput, {nullable:true})
_min?: CommentThreadTargetMinOrderByAggregateInput;
}

View File

@ -5,27 +5,28 @@ import { CommentThreadOrderByWithRelationInput } from '../comment-thread/comment
@InputType()
export class CommentThreadTargetOrderByWithRelationInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
commentableId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder;
@Field(() => CommentThreadOrderByWithRelationInput, { nullable: true })
commentThread?: CommentThreadOrderByWithRelationInput;
@Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder;
@Field(() => CommentThreadOrderByWithRelationInput, {nullable:true})
commentThread?: CommentThreadOrderByWithRelationInput;
}

View File

@ -1,16 +1,14 @@
import { registerEnumType } from '@nestjs/graphql';
export enum CommentThreadTargetScalarFieldEnum {
id = 'id',
createdAt = 'createdAt',
updatedAt = 'updatedAt',
deletedAt = 'deletedAt',
commentThreadId = 'commentThreadId',
commentableType = 'commentableType',
commentableId = 'commentableId',
id = "id",
createdAt = "createdAt",
updatedAt = "updatedAt",
deletedAt = "deletedAt",
commentThreadId = "commentThreadId",
commentableType = "commentableType",
commentableId = "commentableId"
}
registerEnumType(CommentThreadTargetScalarFieldEnum, {
name: 'CommentThreadTargetScalarFieldEnum',
description: undefined,
});
registerEnumType(CommentThreadTargetScalarFieldEnum, { name: 'CommentThreadTargetScalarFieldEnum', description: undefined })

View File

@ -7,39 +7,34 @@ import { EnumCommentableTypeWithAggregatesFilter } from '../prisma/enum-commenta
@InputType()
export class CommentThreadTargetScalarWhereWithAggregatesInput {
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {
nullable: true,
})
AND?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {
nullable: true,
})
OR?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true})
AND?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {
nullable: true,
})
NOT?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true})
OR?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => StringWithAggregatesFilter, { nullable: true })
id?: StringWithAggregatesFilter;
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true})
NOT?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
id?: StringWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true })
commentThreadId?: StringWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => EnumCommentableTypeWithAggregatesFilter, { nullable: true })
commentableType?: EnumCommentableTypeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
commentThreadId?: StringWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true })
commentableId?: StringWithAggregatesFilter;
@Field(() => EnumCommentableTypeWithAggregatesFilter, {nullable:true})
commentableType?: EnumCommentableTypeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
commentableId?: StringWithAggregatesFilter;
}

View File

@ -7,33 +7,34 @@ import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filte
@InputType()
export class CommentThreadTargetScalarWhereInput {
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })
AND?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })
OR?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
AND?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })
NOT?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
OR?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => StringFilter, { nullable: true })
id?: StringFilter;
@Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
NOT?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => DateTimeFilter, { nullable: true })
createdAt?: DateTimeFilter;
@Field(() => StringFilter, {nullable:true})
id?: StringFilter;
@Field(() => DateTimeFilter, { nullable: true })
updatedAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, { nullable: true })
deletedAt?: DateTimeNullableFilter;
@Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter;
@Field(() => StringFilter, { nullable: true })
commentThreadId?: StringFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter;
@Field(() => EnumCommentableTypeFilter, { nullable: true })
commentableType?: EnumCommentableTypeFilter;
@Field(() => StringFilter, {nullable:true})
commentThreadId?: StringFilter;
@Field(() => StringFilter, { nullable: true })
commentableId?: StringFilter;
@Field(() => EnumCommentableTypeFilter, {nullable:true})
commentableType?: EnumCommentableTypeFilter;
@Field(() => StringFilter, {nullable:true})
commentableId?: StringFilter;
}

View File

@ -8,25 +8,20 @@ import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-whe
@InputType()
export class CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput {
@Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {
nullable: true,
})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {
nullable: true,
})
@Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {
nullable: true,
})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
connect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
connect?: Array<CommentThreadTargetWhereUniqueInput>;
}

View File

@ -4,21 +4,22 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType()
export class CommentThreadTargetUncheckedCreateWithoutCommentThreadInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentableType, { nullable: false })
commentableType!: keyof typeof CommentableType;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, { nullable: false })
commentableId!: string;
@Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentableId!: string;
}

View File

@ -4,24 +4,25 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType()
export class CommentThreadTargetUncheckedCreateInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => String, { nullable: false })
commentThreadId!: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentableType, { nullable: false })
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentThreadId!: string;
@Field(() => String, { nullable: false })
commentableId!: string;
@Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentableId!: string;
}

View File

@ -12,62 +12,48 @@ import { CommentThreadTargetScalarWhereInput } from './comment-thread-target-sca
@InputType()
export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput {
@Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {
nullable: true,
})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {
nullable: true,
})
@Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@Field(
() => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput)
upsert?: Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {
nullable: true,
})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@Field(() => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput)
upsert?: Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
set?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
disconnect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
set?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
delete?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
disconnect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
connect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
delete?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(
() => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput)
update?: Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
connect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(
() => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput)
updateMany?: Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput)
update?: Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })
@Type(() => CommentThreadTargetScalarWhereInput)
deleteMany?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput)
updateMany?: Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
@Type(() => CommentThreadTargetScalarWhereInput)
deleteMany?: Array<CommentThreadTargetScalarWhereInput>;
}

View File

@ -7,23 +7,22 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType()
export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentableId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput;
}

View File

@ -7,26 +7,25 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType()
export class CommentThreadTargetUncheckedUpdateManyInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentThreadId?: StringFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentThreadId?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentableId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput;
}

View File

@ -7,23 +7,22 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType()
export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentableId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput;
}

View File

@ -7,26 +7,25 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType()
export class CommentThreadTargetUncheckedUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentThreadId?: StringFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentThreadId?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentableId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput;
}

View File

@ -7,23 +7,22 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType()
export class CommentThreadTargetUpdateManyMutationInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentableId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput;
}

View File

@ -6,11 +6,12 @@ import { CommentThreadTargetUpdateManyMutationInput } from './comment-thread-tar
@InputType()
export class CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput {
@Field(() => CommentThreadTargetScalarWhereInput, { nullable: false })
@Type(() => CommentThreadTargetScalarWhereInput)
where!: CommentThreadTargetScalarWhereInput;
@Field(() => CommentThreadTargetUpdateManyMutationInput, { nullable: false })
@Type(() => CommentThreadTargetUpdateManyMutationInput)
data!: CommentThreadTargetUpdateManyMutationInput;
@Field(() => CommentThreadTargetScalarWhereInput, {nullable:false})
@Type(() => CommentThreadTargetScalarWhereInput)
where!: CommentThreadTargetScalarWhereInput;
@Field(() => CommentThreadTargetUpdateManyMutationInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateManyMutationInput)
data!: CommentThreadTargetUpdateManyMutationInput;
}

View File

@ -12,62 +12,48 @@ import { CommentThreadTargetScalarWhereInput } from './comment-thread-target-sca
@InputType()
export class CommentThreadTargetUpdateManyWithoutCommentThreadNestedInput {
@Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {
nullable: true,
})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {
nullable: true,
})
@Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@Field(
() => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput)
upsert?: Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {
nullable: true,
})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@Field(() => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput)
upsert?: Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
set?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
disconnect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
set?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
delete?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
disconnect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadTargetWhereUniqueInput)
connect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
delete?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(
() => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput)
update?: Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput)
connect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(
() => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput)
updateMany?: Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput)
update?: Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true })
@Type(() => CommentThreadTargetScalarWhereInput)
deleteMany?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput], {nullable:true})
@Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput)
updateMany?: Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
@Type(() => CommentThreadTargetScalarWhereInput)
deleteMany?: Array<CommentThreadTargetScalarWhereInput>;
}

View File

@ -6,13 +6,12 @@ import { CommentThreadTargetUpdateWithoutCommentThreadInput } from './comment-th
@InputType()
export class CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput {
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {
nullable: false,
})
@Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)
data!: CommentThreadTargetUpdateWithoutCommentThreadInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)
data!: CommentThreadTargetUpdateWithoutCommentThreadInput;
}

View File

@ -7,23 +7,22 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType()
export class CommentThreadTargetUpdateWithoutCommentThreadInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentableId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput;
}

View File

@ -8,29 +8,25 @@ import { CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput }
@InputType()
export class CommentThreadTargetUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true })
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
commentableId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(
() => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput,
{ nullable: true },
)
commentThread?: CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput;
@Field(() => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput, {nullable:true})
commentThread?: CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput;
}

View File

@ -7,19 +7,16 @@ import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-th
@InputType()
export class CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput {
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {
nullable: false,
})
@Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)
update!: CommentThreadTargetUpdateWithoutCommentThreadInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {
nullable: false,
})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create!: CommentThreadTargetCreateWithoutCommentThreadInput;
@Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)
update!: CommentThreadTargetUpdateWithoutCommentThreadInput;
@Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {nullable:false})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create!: CommentThreadTargetCreateWithoutCommentThreadInput;
}

View File

@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
@InputType()
export class CommentThreadTargetWhereUniqueInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => String, {nullable:true})
id?: string;
}

View File

@ -8,36 +8,37 @@ import { CommentThreadRelationFilter } from '../comment-thread/comment-thread-re
@InputType()
export class CommentThreadTargetWhereInput {
@Field(() => [CommentThreadTargetWhereInput], { nullable: true })
AND?: Array<CommentThreadTargetWhereInput>;
@Field(() => [CommentThreadTargetWhereInput], { nullable: true })
OR?: Array<CommentThreadTargetWhereInput>;
@Field(() => [CommentThreadTargetWhereInput], {nullable:true})
AND?: Array<CommentThreadTargetWhereInput>;
@Field(() => [CommentThreadTargetWhereInput], { nullable: true })
NOT?: Array<CommentThreadTargetWhereInput>;
@Field(() => [CommentThreadTargetWhereInput], {nullable:true})
OR?: Array<CommentThreadTargetWhereInput>;
@Field(() => StringFilter, { nullable: true })
id?: StringFilter;
@Field(() => [CommentThreadTargetWhereInput], {nullable:true})
NOT?: Array<CommentThreadTargetWhereInput>;
@Field(() => DateTimeFilter, { nullable: true })
createdAt?: DateTimeFilter;
@Field(() => StringFilter, {nullable:true})
id?: StringFilter;
@Field(() => DateTimeFilter, { nullable: true })
updatedAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, { nullable: true })
deletedAt?: DateTimeNullableFilter;
@Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter;
@Field(() => StringFilter, { nullable: true })
commentThreadId?: StringFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter;
@Field(() => EnumCommentableTypeFilter, { nullable: true })
commentableType?: EnumCommentableTypeFilter;
@Field(() => StringFilter, {nullable:true})
commentThreadId?: StringFilter;
@Field(() => StringFilter, { nullable: true })
commentableId?: StringFilter;
@Field(() => EnumCommentableTypeFilter, {nullable:true})
commentableType?: EnumCommentableTypeFilter;
@Field(() => CommentThreadRelationFilter, { nullable: true })
commentThread?: CommentThreadRelationFilter;
@Field(() => StringFilter, {nullable:true})
commentableId?: StringFilter;
@Field(() => CommentThreadRelationFilter, {nullable:true})
commentThread?: CommentThreadRelationFilter;
}

View File

@ -6,27 +6,28 @@ import { CommentThread } from '../comment-thread/comment-thread.model';
@ObjectType()
export class CommentThreadTarget {
@Field(() => ID, { nullable: false })
id!: string;
@Field(() => Date, { nullable: false })
createdAt!: Date;
@Field(() => ID, {nullable:false})
id!: string;
@Field(() => Date, { nullable: false })
updatedAt!: Date;
@Field(() => Date, {nullable:false})
createdAt!: Date;
@Field(() => Date, { nullable: true })
deletedAt!: Date | null;
@Field(() => Date, {nullable:false})
updatedAt!: Date;
@Field(() => String, { nullable: false })
commentThreadId!: string;
@Field(() => Date, {nullable:true})
deletedAt!: Date | null;
@Field(() => CommentableType, { nullable: false })
commentableType!: keyof typeof CommentableType;
@Field(() => String, {nullable:false})
commentThreadId!: string;
@Field(() => String, { nullable: false })
commentableId!: string;
@Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType;
@Field(() => CommentThread, { nullable: false })
commentThread?: CommentThread;
@Field(() => String, {nullable:false})
commentableId!: string;
@Field(() => CommentThread, {nullable:false})
commentThread?: CommentThread;
}

View File

@ -5,10 +5,11 @@ import { Type } from 'class-transformer';
@ArgsType()
export class CreateManyCommentThreadTargetArgs {
@Field(() => [CommentThreadTargetCreateManyInput], { nullable: false })
@Type(() => CommentThreadTargetCreateManyInput)
data!: Array<CommentThreadTargetCreateManyInput>;
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
@Field(() => [CommentThreadTargetCreateManyInput], {nullable:false})
@Type(() => CommentThreadTargetCreateManyInput)
data!: Array<CommentThreadTargetCreateManyInput>;
@Field(() => Boolean, {nullable:true})
skipDuplicates?: boolean;
}

View File

@ -5,7 +5,8 @@ import { Type } from 'class-transformer';
@ArgsType()
export class CreateOneCommentThreadTargetArgs {
@Field(() => CommentThreadTargetCreateInput, { nullable: false })
@Type(() => CommentThreadTargetCreateInput)
data!: CommentThreadTargetCreateInput;
@Field(() => CommentThreadTargetCreateInput, {nullable:false})
@Type(() => CommentThreadTargetCreateInput)
data!: CommentThreadTargetCreateInput;
}

View File

@ -5,7 +5,8 @@ import { Type } from 'class-transformer';
@ArgsType()
export class DeleteManyCommentThreadTargetArgs {
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
}

View File

@ -5,7 +5,8 @@ import { Type } from 'class-transformer';
@ArgsType()
export class DeleteOneCommentThreadTargetArgs {
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
}

View File

@ -9,24 +9,23 @@ import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scal
@ArgsType()
export class FindFirstCommentThreadTargetOrThrowArgs {
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], {
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: true })
cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], {nullable:true})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true})
cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => Int, {nullable:true})
take?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
@Field(() => Int, {nullable:true})
skip?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true})
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
}

View File

@ -9,24 +9,23 @@ import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scal
@ArgsType()
export class FindFirstCommentThreadTargetArgs {
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], {
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: true })
cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], {nullable:true})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true})
cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => Int, {nullable:true})
take?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
@Field(() => Int, {nullable:true})
skip?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true})
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
}

View File

@ -9,24 +9,23 @@ import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scal
@ArgsType()
export class FindManyCommentThreadTargetArgs {
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], {
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: true })
cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], {nullable:true})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true})
cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => Int, {nullable:true})
take?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
@Field(() => Int, {nullable:true})
skip?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true})
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
}

View File

@ -5,7 +5,8 @@ import { Type } from 'class-transformer';
@ArgsType()
export class FindUniqueCommentThreadTargetOrThrowArgs {
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
}

View File

@ -5,7 +5,8 @@ import { Type } from 'class-transformer';
@ArgsType()
export class FindUniqueCommentThreadTargetArgs {
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
}

View File

@ -6,11 +6,12 @@ import { CommentThreadTargetWhereInput } from './comment-thread-target-where.inp
@ArgsType()
export class UpdateManyCommentThreadTargetArgs {
@Field(() => CommentThreadTargetUpdateManyMutationInput, { nullable: false })
@Type(() => CommentThreadTargetUpdateManyMutationInput)
data!: CommentThreadTargetUpdateManyMutationInput;
@Field(() => CommentThreadTargetWhereInput, { nullable: true })
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetUpdateManyMutationInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateManyMutationInput)
data!: CommentThreadTargetUpdateManyMutationInput;
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput;
}

View File

@ -6,11 +6,12 @@ import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-whe
@ArgsType()
export class UpdateOneCommentThreadTargetArgs {
@Field(() => CommentThreadTargetUpdateInput, { nullable: false })
@Type(() => CommentThreadTargetUpdateInput)
data!: CommentThreadTargetUpdateInput;
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetUpdateInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateInput)
data!: CommentThreadTargetUpdateInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
}

View File

@ -7,15 +7,16 @@ import { CommentThreadTargetUpdateInput } from './comment-thread-target-update.i
@ArgsType()
export class UpsertOneCommentThreadTargetArgs {
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetCreateInput, { nullable: false })
@Type(() => CommentThreadTargetCreateInput)
create!: CommentThreadTargetCreateInput;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput;
@Field(() => CommentThreadTargetUpdateInput, { nullable: false })
@Type(() => CommentThreadTargetUpdateInput)
update!: CommentThreadTargetUpdateInput;
@Field(() => CommentThreadTargetCreateInput, {nullable:false})
@Type(() => CommentThreadTargetCreateInput)
create!: CommentThreadTargetCreateInput;
@Field(() => CommentThreadTargetUpdateInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateInput)
update!: CommentThreadTargetUpdateInput;
}

View File

@ -6,12 +6,13 @@ import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output
@ObjectType()
export class AggregateCommentThread {
@Field(() => CommentThreadCountAggregate, { nullable: true })
_count?: CommentThreadCountAggregate;
@Field(() => CommentThreadMinAggregate, { nullable: true })
_min?: CommentThreadMinAggregate;
@Field(() => CommentThreadCountAggregate, {nullable:true})
_count?: CommentThreadCountAggregate;
@Field(() => CommentThreadMaxAggregate, { nullable: true })
_max?: CommentThreadMaxAggregate;
@Field(() => CommentThreadMinAggregate, {nullable:true})
_min?: CommentThreadMinAggregate;
@Field(() => CommentThreadMaxAggregate, {nullable:true})
_max?: CommentThreadMaxAggregate;
}

View File

@ -11,28 +11,29 @@ import { CommentThreadMaxAggregateInput } from './comment-thread-max-aggregate.i
@ArgsType()
export class CommentThreadAggregateArgs {
@Field(() => CommentThreadWhereInput, { nullable: true })
@Type(() => CommentThreadWhereInput)
where?: CommentThreadWhereInput;
@Field(() => [CommentThreadOrderByWithRelationInput], { nullable: true })
orderBy?: Array<CommentThreadOrderByWithRelationInput>;
@Field(() => CommentThreadWhereInput, {nullable:true})
@Type(() => CommentThreadWhereInput)
where?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereUniqueInput, { nullable: true })
cursor?: CommentThreadWhereUniqueInput;
@Field(() => [CommentThreadOrderByWithRelationInput], {nullable:true})
orderBy?: Array<CommentThreadOrderByWithRelationInput>;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => CommentThreadWhereUniqueInput, {nullable:true})
cursor?: CommentThreadWhereUniqueInput;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => Int, {nullable:true})
take?: number;
@Field(() => CommentThreadCountAggregateInput, { nullable: true })
_count?: CommentThreadCountAggregateInput;
@Field(() => Int, {nullable:true})
skip?: number;
@Field(() => CommentThreadMinAggregateInput, { nullable: true })
_min?: CommentThreadMinAggregateInput;
@Field(() => CommentThreadCountAggregateInput, {nullable:true})
_count?: CommentThreadCountAggregateInput;
@Field(() => CommentThreadMaxAggregateInput, { nullable: true })
_max?: CommentThreadMaxAggregateInput;
@Field(() => CommentThreadMinAggregateInput, {nullable:true})
_min?: CommentThreadMinAggregateInput;
@Field(() => CommentThreadMaxAggregateInput, {nullable:true})
_max?: CommentThreadMaxAggregateInput;
}

View File

@ -4,21 +4,22 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadCountAggregateInput {
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
id?: true;
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@HideField()
workspaceId?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@Field(() => Boolean, { nullable: true })
_all?: true;
@HideField()
workspaceId?: true;
@Field(() => Boolean, {nullable:true})
_all?: true;
}

View File

@ -5,21 +5,22 @@ import { HideField } from '@nestjs/graphql';
@ObjectType()
export class CommentThreadCountAggregate {
@Field(() => Int, { nullable: false })
id!: number;
@Field(() => Int, { nullable: false })
createdAt!: number;
@Field(() => Int, {nullable:false})
id!: number;
@Field(() => Int, { nullable: false })
updatedAt!: number;
@Field(() => Int, {nullable:false})
createdAt!: number;
@Field(() => Int, { nullable: false })
deletedAt!: number;
@Field(() => Int, {nullable:false})
updatedAt!: number;
@HideField()
workspaceId!: number;
@Field(() => Int, {nullable:false})
deletedAt!: number;
@Field(() => Int, { nullable: false })
_all!: number;
@HideField()
workspaceId!: number;
@Field(() => Int, {nullable:false})
_all!: number;
}

View File

@ -5,18 +5,19 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadCountOrderByAggregateInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
}

View File

@ -5,10 +5,11 @@ import { Type } from 'class-transformer';
@InputType()
export class CommentThreadCreateManyWorkspaceInputEnvelope {
@Field(() => [CommentThreadCreateManyWorkspaceInput], { nullable: false })
@Type(() => CommentThreadCreateManyWorkspaceInput)
data!: Array<CommentThreadCreateManyWorkspaceInput>;
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
@Field(() => [CommentThreadCreateManyWorkspaceInput], {nullable:false})
@Type(() => CommentThreadCreateManyWorkspaceInput)
data!: Array<CommentThreadCreateManyWorkspaceInput>;
@Field(() => Boolean, {nullable:true})
skipDuplicates?: boolean;
}

View File

@ -3,15 +3,16 @@ import { InputType } from '@nestjs/graphql';
@InputType()
export class CommentThreadCreateManyWorkspaceInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
}

View File

@ -4,18 +4,19 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadCreateManyInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@HideField()
workspaceId!: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId!: string;
}

View File

@ -8,23 +8,20 @@ import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.inp
@InputType()
export class CommentThreadCreateNestedManyWithoutWorkspaceInput {
@Field(() => [CommentThreadCreateWithoutWorkspaceInput], { nullable: true })
@Type(() => CommentThreadCreateWithoutWorkspaceInput)
create?: Array<CommentThreadCreateWithoutWorkspaceInput>;
@Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;
@Field(() => [CommentThreadCreateWithoutWorkspaceInput], {nullable:true})
@Type(() => CommentThreadCreateWithoutWorkspaceInput)
create?: Array<CommentThreadCreateWithoutWorkspaceInput>;
@Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {
nullable: true,
})
@Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)
createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;
@Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {nullable:true})
@Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;
@Field(() => [CommentThreadWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadWhereUniqueInput)
connect?: Array<CommentThreadWhereUniqueInput>;
@Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {nullable:true})
@Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)
createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadWhereUniqueInput)
connect?: Array<CommentThreadWhereUniqueInput>;
}

View File

@ -7,19 +7,16 @@ import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.inp
@InputType()
export class CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput {
@Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {
nullable: true,
})
@Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)
create?: CommentThreadCreateWithoutCommentThreadTargetsInput;
@Field(() => CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput, {
nullable: true,
})
@Type(() => CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput)
connectOrCreate?: CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput;
@Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {nullable:true})
@Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)
create?: CommentThreadCreateWithoutCommentThreadTargetsInput;
@Field(() => CommentThreadWhereUniqueInput, { nullable: true })
@Type(() => CommentThreadWhereUniqueInput)
connect?: CommentThreadWhereUniqueInput;
@Field(() => CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput, {nullable:true})
@Type(() => CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput)
connectOrCreate?: CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput;
@Field(() => CommentThreadWhereUniqueInput, {nullable:true})
@Type(() => CommentThreadWhereUniqueInput)
connect?: CommentThreadWhereUniqueInput;
}

View File

@ -8,13 +8,14 @@ import { Type } from 'class-transformer';
@InputType()
export class CommentThreadCreateNestedOneWithoutCommentsInput {
@HideField()
create?: CommentThreadCreateWithoutCommentsInput;
@HideField()
connectOrCreate?: CommentThreadCreateOrConnectWithoutCommentsInput;
@HideField()
create?: CommentThreadCreateWithoutCommentsInput;
@Field(() => CommentThreadWhereUniqueInput, { nullable: true })
@Type(() => CommentThreadWhereUniqueInput)
connect?: CommentThreadWhereUniqueInput;
@HideField()
connectOrCreate?: CommentThreadCreateOrConnectWithoutCommentsInput;
@Field(() => CommentThreadWhereUniqueInput, {nullable:true})
@Type(() => CommentThreadWhereUniqueInput)
connect?: CommentThreadWhereUniqueInput;
}

View File

@ -6,13 +6,12 @@ import { CommentThreadCreateWithoutCommentThreadTargetsInput } from './comment-t
@InputType()
export class CommentThreadCreateOrConnectWithoutCommentThreadTargetsInput {
@Field(() => CommentThreadWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadWhereUniqueInput)
where!: CommentThreadWhereUniqueInput;
@Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {
nullable: false,
})
@Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)
create!: CommentThreadCreateWithoutCommentThreadTargetsInput;
@Field(() => CommentThreadWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadWhereUniqueInput)
where!: CommentThreadWhereUniqueInput;
@Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {nullable:false})
@Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)
create!: CommentThreadCreateWithoutCommentThreadTargetsInput;
}

View File

@ -6,11 +6,12 @@ import { CommentThreadCreateWithoutCommentsInput } from './comment-thread-create
@InputType()
export class CommentThreadCreateOrConnectWithoutCommentsInput {
@Field(() => CommentThreadWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadWhereUniqueInput)
where!: CommentThreadWhereUniqueInput;
@Field(() => CommentThreadCreateWithoutCommentsInput, { nullable: false })
@Type(() => CommentThreadCreateWithoutCommentsInput)
create!: CommentThreadCreateWithoutCommentsInput;
@Field(() => CommentThreadWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadWhereUniqueInput)
where!: CommentThreadWhereUniqueInput;
@Field(() => CommentThreadCreateWithoutCommentsInput, {nullable:false})
@Type(() => CommentThreadCreateWithoutCommentsInput)
create!: CommentThreadCreateWithoutCommentsInput;
}

View File

@ -6,11 +6,12 @@ import { CommentThreadCreateWithoutWorkspaceInput } from './comment-thread-creat
@InputType()
export class CommentThreadCreateOrConnectWithoutWorkspaceInput {
@Field(() => CommentThreadWhereUniqueInput, { nullable: false })
@Type(() => CommentThreadWhereUniqueInput)
where!: CommentThreadWhereUniqueInput;
@Field(() => CommentThreadCreateWithoutWorkspaceInput, { nullable: false })
@Type(() => CommentThreadCreateWithoutWorkspaceInput)
create!: CommentThreadCreateWithoutWorkspaceInput;
@Field(() => CommentThreadWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadWhereUniqueInput)
where!: CommentThreadWhereUniqueInput;
@Field(() => CommentThreadCreateWithoutWorkspaceInput, {nullable:false})
@Type(() => CommentThreadCreateWithoutWorkspaceInput)
create!: CommentThreadCreateWithoutWorkspaceInput;
}

View File

@ -6,23 +6,22 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadCreateWithoutCommentThreadTargetsInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
comments?: CommentCreateNestedManyWithoutCommentThreadInput;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
comments?: CommentCreateNestedManyWithoutCommentThreadInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
}

View File

@ -6,23 +6,22 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadCreateWithoutCommentsInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
}

View File

@ -5,25 +5,22 @@ import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/com
@InputType()
export class CommentThreadCreateWithoutWorkspaceInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
comments?: CommentCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
comments?: CommentCreateNestedManyWithoutCommentThreadInput;
}

View File

@ -7,28 +7,25 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadCreateInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
comments?: CommentCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
comments?: CommentCreateNestedManyWithoutCommentThreadInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutCommentThreadsInput;
}

View File

@ -12,31 +12,32 @@ import { CommentThreadMaxAggregateInput } from './comment-thread-max-aggregate.i
@ArgsType()
export class CommentThreadGroupByArgs {
@Field(() => CommentThreadWhereInput, { nullable: true })
@Type(() => CommentThreadWhereInput)
where?: CommentThreadWhereInput;
@Field(() => [CommentThreadOrderByWithAggregationInput], { nullable: true })
orderBy?: Array<CommentThreadOrderByWithAggregationInput>;
@Field(() => CommentThreadWhereInput, {nullable:true})
@Type(() => CommentThreadWhereInput)
where?: CommentThreadWhereInput;
@Field(() => [CommentThreadScalarFieldEnum], { nullable: false })
by!: Array<keyof typeof CommentThreadScalarFieldEnum>;
@Field(() => [CommentThreadOrderByWithAggregationInput], {nullable:true})
orderBy?: Array<CommentThreadOrderByWithAggregationInput>;
@Field(() => CommentThreadScalarWhereWithAggregatesInput, { nullable: true })
having?: CommentThreadScalarWhereWithAggregatesInput;
@Field(() => [CommentThreadScalarFieldEnum], {nullable:false})
by!: Array<keyof typeof CommentThreadScalarFieldEnum>;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => CommentThreadScalarWhereWithAggregatesInput, {nullable:true})
having?: CommentThreadScalarWhereWithAggregatesInput;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => Int, {nullable:true})
take?: number;
@Field(() => CommentThreadCountAggregateInput, { nullable: true })
_count?: CommentThreadCountAggregateInput;
@Field(() => Int, {nullable:true})
skip?: number;
@Field(() => CommentThreadMinAggregateInput, { nullable: true })
_min?: CommentThreadMinAggregateInput;
@Field(() => CommentThreadCountAggregateInput, {nullable:true})
_count?: CommentThreadCountAggregateInput;
@Field(() => CommentThreadMaxAggregateInput, { nullable: true })
_max?: CommentThreadMaxAggregateInput;
@Field(() => CommentThreadMinAggregateInput, {nullable:true})
_min?: CommentThreadMinAggregateInput;
@Field(() => CommentThreadMaxAggregateInput, {nullable:true})
_max?: CommentThreadMaxAggregateInput;
}

View File

@ -7,27 +7,28 @@ import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output
@ObjectType()
export class CommentThreadGroupBy {
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, { nullable: false })
createdAt!: Date | string;
@Field(() => String, {nullable:false})
id!: string;
@Field(() => Date, { nullable: false })
updatedAt!: Date | string;
@Field(() => Date, {nullable:false})
createdAt!: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:false})
updatedAt!: Date | string;
@HideField()
workspaceId!: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentThreadCountAggregate, { nullable: true })
_count?: CommentThreadCountAggregate;
@HideField()
workspaceId!: string;
@Field(() => CommentThreadMinAggregate, { nullable: true })
_min?: CommentThreadMinAggregate;
@Field(() => CommentThreadCountAggregate, {nullable:true})
_count?: CommentThreadCountAggregate;
@Field(() => CommentThreadMaxAggregate, { nullable: true })
_max?: CommentThreadMaxAggregate;
@Field(() => CommentThreadMinAggregate, {nullable:true})
_min?: CommentThreadMinAggregate;
@Field(() => CommentThreadMaxAggregate, {nullable:true})
_max?: CommentThreadMaxAggregate;
}

View File

@ -4,12 +4,13 @@ import { CommentThreadWhereInput } from './comment-thread-where.input';
@InputType()
export class CommentThreadListRelationFilter {
@Field(() => CommentThreadWhereInput, { nullable: true })
every?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, { nullable: true })
some?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, {nullable:true})
every?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, { nullable: true })
none?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, {nullable:true})
some?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, {nullable:true})
none?: CommentThreadWhereInput;
}

View File

@ -4,18 +4,19 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadMaxAggregateInput {
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
id?: true;
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@HideField()
workspaceId?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@HideField()
workspaceId?: true;
}

View File

@ -4,18 +4,19 @@ import { HideField } from '@nestjs/graphql';
@ObjectType()
export class CommentThreadMaxAggregate {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@HideField()
workspaceId?: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId?: string;
}

View File

@ -5,18 +5,19 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadMaxOrderByAggregateInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
}

View File

@ -4,18 +4,19 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadMinAggregateInput {
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, { nullable: true })
createdAt?: true;
@Field(() => Boolean, {nullable:true})
id?: true;
@Field(() => Boolean, { nullable: true })
updatedAt?: true;
@Field(() => Boolean, {nullable:true})
createdAt?: true;
@Field(() => Boolean, { nullable: true })
deletedAt?: true;
@Field(() => Boolean, {nullable:true})
updatedAt?: true;
@HideField()
workspaceId?: true;
@Field(() => Boolean, {nullable:true})
deletedAt?: true;
@HideField()
workspaceId?: true;
}

View File

@ -4,18 +4,19 @@ import { HideField } from '@nestjs/graphql';
@ObjectType()
export class CommentThreadMinAggregate {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@HideField()
workspaceId?: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@HideField()
workspaceId?: string;
}

View File

@ -5,18 +5,19 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadMinOrderByAggregateInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
}

View File

@ -4,6 +4,7 @@ import { SortOrder } from '../prisma/sort-order.enum';
@InputType()
export class CommentThreadOrderByRelationAggregateInput {
@Field(() => SortOrder, { nullable: true })
_count?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
_count?: keyof typeof SortOrder;
}

View File

@ -8,27 +8,28 @@ import { CommentThreadMinOrderByAggregateInput } from './comment-thread-min-orde
@InputType()
export class CommentThreadOrderByWithAggregationInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => CommentThreadCountOrderByAggregateInput, { nullable: true })
_count?: CommentThreadCountOrderByAggregateInput;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => CommentThreadMaxOrderByAggregateInput, { nullable: true })
_max?: CommentThreadMaxOrderByAggregateInput;
@Field(() => CommentThreadCountOrderByAggregateInput, {nullable:true})
_count?: CommentThreadCountOrderByAggregateInput;
@Field(() => CommentThreadMinOrderByAggregateInput, { nullable: true })
_min?: CommentThreadMinOrderByAggregateInput;
@Field(() => CommentThreadMaxOrderByAggregateInput, {nullable:true})
_max?: CommentThreadMaxOrderByAggregateInput;
@Field(() => CommentThreadMinOrderByAggregateInput, {nullable:true})
_min?: CommentThreadMinOrderByAggregateInput;
}

View File

@ -8,29 +8,28 @@ import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-
@InputType()
export class CommentThreadOrderByWithRelationInput {
@Field(() => SortOrder, { nullable: true })
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder;
@Field(() => CommentThreadTargetOrderByRelationAggregateInput, {
nullable: true,
})
commentThreadTargets?: CommentThreadTargetOrderByRelationAggregateInput;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => CommentOrderByRelationAggregateInput, { nullable: true })
comments?: CommentOrderByRelationAggregateInput;
@Field(() => CommentThreadTargetOrderByRelationAggregateInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetOrderByRelationAggregateInput;
@HideField()
workspace?: WorkspaceOrderByWithRelationInput;
@Field(() => CommentOrderByRelationAggregateInput, {nullable:true})
comments?: CommentOrderByRelationAggregateInput;
@HideField()
workspace?: WorkspaceOrderByWithRelationInput;
}

View File

@ -4,9 +4,10 @@ import { CommentThreadWhereInput } from './comment-thread-where.input';
@InputType()
export class CommentThreadRelationFilter {
@Field(() => CommentThreadWhereInput, { nullable: true })
is?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, { nullable: true })
isNot?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, {nullable:true})
is?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, {nullable:true})
isNot?: CommentThreadWhereInput;
}

View File

@ -1,14 +1,12 @@
import { registerEnumType } from '@nestjs/graphql';
export enum CommentThreadScalarFieldEnum {
id = 'id',
createdAt = 'createdAt',
updatedAt = 'updatedAt',
deletedAt = 'deletedAt',
workspaceId = 'workspaceId',
id = "id",
createdAt = "createdAt",
updatedAt = "updatedAt",
deletedAt = "deletedAt",
workspaceId = "workspaceId"
}
registerEnumType(CommentThreadScalarFieldEnum, {
name: 'CommentThreadScalarFieldEnum',
description: undefined,
});
registerEnumType(CommentThreadScalarFieldEnum, { name: 'CommentThreadScalarFieldEnum', description: undefined })

View File

@ -7,33 +7,28 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadScalarWhereWithAggregatesInput {
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {
nullable: true,
})
AND?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {
nullable: true,
})
OR?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
AND?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {
nullable: true,
})
NOT?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
OR?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => StringWithAggregatesFilter, { nullable: true })
id?: StringWithAggregatesFilter;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
NOT?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, {nullable:true})
id?: StringWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true })
updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true })
deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, {nullable:true})
updatedAt?: DateTimeWithAggregatesFilter;
@HideField()
workspaceId?: StringWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
deletedAt?: DateTimeNullableWithAggregatesFilter;
@HideField()
workspaceId?: StringWithAggregatesFilter;
}

View File

@ -7,27 +7,28 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadScalarWhereInput {
@Field(() => [CommentThreadScalarWhereInput], { nullable: true })
AND?: Array<CommentThreadScalarWhereInput>;
@Field(() => [CommentThreadScalarWhereInput], { nullable: true })
OR?: Array<CommentThreadScalarWhereInput>;
@Field(() => [CommentThreadScalarWhereInput], {nullable:true})
AND?: Array<CommentThreadScalarWhereInput>;
@Field(() => [CommentThreadScalarWhereInput], { nullable: true })
NOT?: Array<CommentThreadScalarWhereInput>;
@Field(() => [CommentThreadScalarWhereInput], {nullable:true})
OR?: Array<CommentThreadScalarWhereInput>;
@Field(() => StringFilter, { nullable: true })
id?: StringFilter;
@Field(() => [CommentThreadScalarWhereInput], {nullable:true})
NOT?: Array<CommentThreadScalarWhereInput>;
@Field(() => DateTimeFilter, { nullable: true })
createdAt?: DateTimeFilter;
@Field(() => StringFilter, {nullable:true})
id?: StringFilter;
@Field(() => DateTimeFilter, { nullable: true })
updatedAt?: DateTimeFilter;
@Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, { nullable: true })
deletedAt?: DateTimeNullableFilter;
@Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter;
@HideField()
workspaceId?: StringFilter;
@Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter;
@HideField()
workspaceId?: StringFilter;
}

View File

@ -8,23 +8,20 @@ import { CommentThreadWhereUniqueInput } from './comment-thread-where-unique.inp
@InputType()
export class CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput {
@Field(() => [CommentThreadCreateWithoutWorkspaceInput], { nullable: true })
@Type(() => CommentThreadCreateWithoutWorkspaceInput)
create?: Array<CommentThreadCreateWithoutWorkspaceInput>;
@Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;
@Field(() => [CommentThreadCreateWithoutWorkspaceInput], {nullable:true})
@Type(() => CommentThreadCreateWithoutWorkspaceInput)
create?: Array<CommentThreadCreateWithoutWorkspaceInput>;
@Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {
nullable: true,
})
@Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)
createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;
@Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {nullable:true})
@Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;
@Field(() => [CommentThreadWhereUniqueInput], { nullable: true })
@Type(() => CommentThreadWhereUniqueInput)
connect?: Array<CommentThreadWhereUniqueInput>;
@Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {nullable:true})
@Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)
createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;
@Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadWhereUniqueInput)
connect?: Array<CommentThreadWhereUniqueInput>;
}

View File

@ -5,23 +5,22 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
@InputType()
export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@HideField()
workspaceId!: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
@HideField()
workspaceId!: string;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
}

View File

@ -5,24 +5,22 @@ import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput }
@InputType()
export class CommentThreadUncheckedCreateWithoutCommentsInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@HideField()
workspaceId!: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(
() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,
{ nullable: true },
)
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
@HideField()
workspaceId!: string;
@Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
}

View File

@ -5,26 +5,22 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
@InputType()
export class CommentThreadUncheckedCreateWithoutWorkspaceInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(
() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,
{ nullable: true },
)
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
}

View File

@ -6,29 +6,25 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
@InputType()
export class CommentThreadUncheckedCreateInput {
@Field(() => String, { nullable: true })
id?: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => String, {nullable:true})
id?: string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@HideField()
workspaceId!: string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(
() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,
{ nullable: true },
)
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
@HideField()
workspaceId!: string;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {
nullable: true,
})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
}

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