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
976 changed files with 14917 additions and 15292 deletions

View File

@ -6,7 +6,7 @@
"ghcr.io/devcontainers-contrib/features/jshint:2": {} "ghcr.io/devcontainers-contrib/features/jshint:2": {}
}, },
"forwardPorts": [3000, 3001, 5432], "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": { "customizations": {
"vscode": { "vscode": {
"extensions": [ "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, node: true,
jest: true, jest: true,
}, },
ignorePatterns: ['.eslintrc.js'], ignorePatterns: ['.eslintrc.js', 'src/core/@generated/**'],
rules: { rules: {
'@typescript-eslint/interface-name-prefix': 'off', '@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-function-return-type': 'off',

View File

@ -21,10 +21,10 @@
"test:e2e": "jest --config ./test/jest-e2e.json", "test:e2e": "jest --config ./test/jest-e2e.json",
"prisma:generate-client": "npx prisma generate --generator client && yarn prisma:generate-gql-select", "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-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:migrate": "npx prisma migrate deploy",
"prisma:seed": "npx prisma db seed", "prisma:seed": "npx prisma db seed",
"prisma:reset": "npx prisma migrate reset && eslint \"src/core/@generated/**\" --fix" "prisma:reset": "npx prisma migrate reset"
}, },
"dependencies": { "dependencies": {
"@apollo/server": "^4.7.3", "@apollo/server": "^4.7.3",

View File

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

View File

@ -11,13 +11,12 @@ import { CommentThreadTargetMaxAggregateInput } from './comment-thread-target-ma
@ArgsType() @ArgsType()
export class CommentThreadTargetAggregateArgs { export class CommentThreadTargetAggregateArgs {
@Field(() => CommentThreadTargetWhereInput, {nullable:true}) @Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput) @Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput; where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], { @Field(() => [CommentThreadTargetOrderByWithRelationInput], {nullable:true})
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>; orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true}) @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true})

View File

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

View File

@ -4,6 +4,7 @@ import { Int } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentThreadTargetCountAggregate { export class CommentThreadTargetCountAggregate {
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
id!: number; id!: number;

View File

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

View File

@ -5,9 +5,8 @@ import { Type } from 'class-transformer';
@InputType() @InputType()
export class CommentThreadTargetCreateManyCommentThreadInputEnvelope { export class CommentThreadTargetCreateManyCommentThreadInputEnvelope {
@Field(() => [CommentThreadTargetCreateManyCommentThreadInput], {
nullable: false, @Field(() => [CommentThreadTargetCreateManyCommentThreadInput], {nullable:false})
})
@Type(() => CommentThreadTargetCreateManyCommentThreadInput) @Type(() => CommentThreadTargetCreateManyCommentThreadInput)
data!: Array<CommentThreadTargetCreateManyCommentThreadInput>; data!: Array<CommentThreadTargetCreateManyCommentThreadInput>;

View File

@ -4,6 +4,7 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType() @InputType()
export class CommentThreadTargetCreateManyCommentThreadInput { export class CommentThreadTargetCreateManyCommentThreadInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;

View File

@ -4,6 +4,7 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType() @InputType()
export class CommentThreadTargetCreateManyInput { export class CommentThreadTargetCreateManyInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;

View File

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

View File

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

View File

@ -4,6 +4,7 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType() @InputType()
export class CommentThreadTargetCreateWithoutCommentThreadInput { export class CommentThreadTargetCreateWithoutCommentThreadInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;

View File

@ -5,6 +5,7 @@ import { CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput } from '..
@InputType() @InputType()
export class CommentThreadTargetCreateInput { export class CommentThreadTargetCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -23,8 +24,6 @@ export class CommentThreadTargetCreateInput {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@Field(() => CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput, { @Field(() => CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput, {nullable:false})
nullable: false,
})
commentThread!: CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput; commentThread!: CommentThreadCreateNestedOneWithoutCommentThreadTargetsInput;
} }

View File

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

View File

@ -7,6 +7,7 @@ import { CommentThreadTargetMaxAggregate } from './comment-thread-target-max-agg
@ObjectType() @ObjectType()
export class CommentThreadTargetGroupBy { export class CommentThreadTargetGroupBy {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
id!: string; id!: string;

View File

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

View File

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

View File

@ -4,6 +4,7 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@ObjectType() @ObjectType()
export class CommentThreadTargetMaxAggregate { export class CommentThreadTargetMaxAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;

View File

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

View File

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

View File

@ -4,6 +4,7 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@ObjectType() @ObjectType()
export class CommentThreadTargetMinAggregate { export class CommentThreadTargetMinAggregate {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;

View File

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

View File

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

View File

@ -7,6 +7,7 @@ import { CommentThreadTargetMinOrderByAggregateInput } from './comment-thread-ta
@InputType() @InputType()
export class CommentThreadTargetOrderByWithAggregationInput { export class CommentThreadTargetOrderByWithAggregationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@ -28,9 +29,7 @@ export class CommentThreadTargetOrderByWithAggregationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
@Field(() => CommentThreadTargetCountOrderByAggregateInput, { @Field(() => CommentThreadTargetCountOrderByAggregateInput, {nullable:true})
nullable: true,
})
_count?: CommentThreadTargetCountOrderByAggregateInput; _count?: CommentThreadTargetCountOrderByAggregateInput;
@Field(() => CommentThreadTargetMaxOrderByAggregateInput, {nullable:true}) @Field(() => CommentThreadTargetMaxOrderByAggregateInput, {nullable:true})

View File

@ -5,6 +5,7 @@ import { CommentThreadOrderByWithRelationInput } from '../comment-thread/comment
@InputType() @InputType()
export class CommentThreadTargetOrderByWithRelationInput { export class CommentThreadTargetOrderByWithRelationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;

View File

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

View File

@ -7,19 +7,14 @@ import { EnumCommentableTypeWithAggregatesFilter } from '../prisma/enum-commenta
@InputType() @InputType()
export class CommentThreadTargetScalarWhereWithAggregatesInput { export class CommentThreadTargetScalarWhereWithAggregatesInput {
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {
nullable: true, @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true})
})
AND?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>; AND?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], { @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true})
nullable: true,
})
OR?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>; OR?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], { @Field(() => [CommentThreadTargetScalarWhereWithAggregatesInput], {nullable:true})
nullable: true,
})
NOT?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>; NOT?: Array<CommentThreadTargetScalarWhereWithAggregatesInput>;
@Field(() => StringWithAggregatesFilter, {nullable:true}) @Field(() => StringWithAggregatesFilter, {nullable:true})

View File

@ -7,6 +7,7 @@ import { EnumCommentableTypeFilter } from '../prisma/enum-commentable-type-filte
@InputType() @InputType()
export class CommentThreadTargetScalarWhereInput { export class CommentThreadTargetScalarWhereInput {
@Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true}) @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
AND?: Array<CommentThreadTargetScalarWhereInput>; AND?: Array<CommentThreadTargetScalarWhereInput>;

View File

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

View File

@ -4,6 +4,7 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType() @InputType()
export class CommentThreadTargetUncheckedCreateWithoutCommentThreadInput { export class CommentThreadTargetUncheckedCreateWithoutCommentThreadInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;

View File

@ -4,6 +4,7 @@ import { CommentableType } from '../prisma/commentable-type.enum';
@InputType() @InputType()
export class CommentThreadTargetUncheckedCreateInput { export class CommentThreadTargetUncheckedCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;

View File

@ -12,28 +12,20 @@ import { CommentThreadTargetScalarWhereInput } from './comment-thread-target-sca
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput { export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInput {
@Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {
nullable: true, @Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {nullable:true})
})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput) @Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>; create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
@Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], { @Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {nullable:true})
nullable: true,
})
@Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput) @Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>; connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
@Field( @Field(() => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput], {nullable:true})
() => [CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput) @Type(() => CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput)
upsert?: Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>; upsert?: Array<CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput>;
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, { @Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {nullable:true})
nullable: true,
})
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope) @Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope; createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
@ -53,17 +45,11 @@ export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadNestedInp
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
connect?: Array<CommentThreadTargetWhereUniqueInput>; connect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field( @Field(() => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput], {nullable:true})
() => [CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput) @Type(() => CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput)
update?: Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>; update?: Array<CommentThreadTargetUpdateWithWhereUniqueWithoutCommentThreadInput>;
@Field( @Field(() => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput], {nullable:true})
() => [CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput],
{ nullable: true },
)
@Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput) @Type(() => CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput)
updateMany?: Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>; updateMany?: Array<CommentThreadTargetUpdateManyWithWhereWithoutCommentThreadInput>;

View File

@ -7,6 +7,7 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsInput { export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@ -19,9 +20,7 @@ export class CommentThreadTargetUncheckedUpdateManyWithoutCommentThreadTargetsIn
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput; deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, { @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})

View File

@ -7,6 +7,7 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateManyInput { export class CommentThreadTargetUncheckedUpdateManyInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@ -22,9 +23,7 @@ export class CommentThreadTargetUncheckedUpdateManyInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentThreadId?: StringFieldUpdateOperationsInput; commentThreadId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, { @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})

View File

@ -7,6 +7,7 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput { export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@ -19,9 +20,7 @@ export class CommentThreadTargetUncheckedUpdateWithoutCommentThreadInput {
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput; deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, { @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})

View File

@ -7,6 +7,7 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType() @InputType()
export class CommentThreadTargetUncheckedUpdateInput { export class CommentThreadTargetUncheckedUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@ -22,9 +23,7 @@ export class CommentThreadTargetUncheckedUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentThreadId?: StringFieldUpdateOperationsInput; commentThreadId?: StringFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, { @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})

View File

@ -7,6 +7,7 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType() @InputType()
export class CommentThreadTargetUpdateManyMutationInput { export class CommentThreadTargetUpdateManyMutationInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@ -19,9 +20,7 @@ export class CommentThreadTargetUpdateManyMutationInput {
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput; deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, { @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})

View File

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

View File

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

View File

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

View File

@ -7,6 +7,7 @@ import { EnumCommentableTypeFieldUpdateOperationsInput } from '../prisma/enum-co
@InputType() @InputType()
export class CommentThreadTargetUpdateWithoutCommentThreadInput { export class CommentThreadTargetUpdateWithoutCommentThreadInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@ -19,9 +20,7 @@ export class CommentThreadTargetUpdateWithoutCommentThreadInput {
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput; deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, { @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})

View File

@ -8,6 +8,7 @@ import { CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput }
@InputType() @InputType()
export class CommentThreadTargetUpdateInput { export class CommentThreadTargetUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@ -20,17 +21,12 @@ export class CommentThreadTargetUpdateInput {
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true}) @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput; deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, { @Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
nullable: true,
})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput; commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true}) @Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
@Field( @Field(() => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput, {nullable:true})
() => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput,
{ nullable: true },
)
commentThread?: CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput; commentThread?: CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput;
} }

View File

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

View File

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

View File

@ -8,6 +8,7 @@ import { CommentThreadRelationFilter } from '../comment-thread/comment-thread-re
@InputType() @InputType()
export class CommentThreadTargetWhereInput { export class CommentThreadTargetWhereInput {
@Field(() => [CommentThreadTargetWhereInput], {nullable:true}) @Field(() => [CommentThreadTargetWhereInput], {nullable:true})
AND?: Array<CommentThreadTargetWhereInput>; AND?: Array<CommentThreadTargetWhereInput>;

View File

@ -6,6 +6,7 @@ import { CommentThread } from '../comment-thread/comment-thread.model';
@ObjectType() @ObjectType()
export class CommentThreadTarget { export class CommentThreadTarget {
@Field(() => ID, {nullable:false}) @Field(() => ID, {nullable:false})
id!: string; id!: string;

View File

@ -5,6 +5,7 @@ import { Type } from 'class-transformer';
@ArgsType() @ArgsType()
export class CreateManyCommentThreadTargetArgs { export class CreateManyCommentThreadTargetArgs {
@Field(() => [CommentThreadTargetCreateManyInput], {nullable:false}) @Field(() => [CommentThreadTargetCreateManyInput], {nullable:false})
@Type(() => CommentThreadTargetCreateManyInput) @Type(() => CommentThreadTargetCreateManyInput)
data!: Array<CommentThreadTargetCreateManyInput>; data!: Array<CommentThreadTargetCreateManyInput>;

View File

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

View File

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

View File

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

View File

@ -9,13 +9,12 @@ import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scal
@ArgsType() @ArgsType()
export class FindFirstCommentThreadTargetOrThrowArgs { export class FindFirstCommentThreadTargetOrThrowArgs {
@Field(() => CommentThreadTargetWhereInput, {nullable:true}) @Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput) @Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput; where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], { @Field(() => [CommentThreadTargetOrderByWithRelationInput], {nullable:true})
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>; orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true}) @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true})

View File

@ -9,13 +9,12 @@ import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scal
@ArgsType() @ArgsType()
export class FindFirstCommentThreadTargetArgs { export class FindFirstCommentThreadTargetArgs {
@Field(() => CommentThreadTargetWhereInput, {nullable:true}) @Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput) @Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput; where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], { @Field(() => [CommentThreadTargetOrderByWithRelationInput], {nullable:true})
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>; orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true}) @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true})

View File

@ -9,13 +9,12 @@ import { CommentThreadTargetScalarFieldEnum } from './comment-thread-target-scal
@ArgsType() @ArgsType()
export class FindManyCommentThreadTargetArgs { export class FindManyCommentThreadTargetArgs {
@Field(() => CommentThreadTargetWhereInput, {nullable:true}) @Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput) @Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput; where?: CommentThreadTargetWhereInput;
@Field(() => [CommentThreadTargetOrderByWithRelationInput], { @Field(() => [CommentThreadTargetOrderByWithRelationInput], {nullable:true})
nullable: true,
})
orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>; orderBy?: Array<CommentThreadTargetOrderByWithRelationInput>;
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true}) @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:true})

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -11,6 +11,7 @@ import { CommentThreadMaxAggregateInput } from './comment-thread-max-aggregate.i
@ArgsType() @ArgsType()
export class CommentThreadAggregateArgs { export class CommentThreadAggregateArgs {
@Field(() => CommentThreadWhereInput, {nullable:true}) @Field(() => CommentThreadWhereInput, {nullable:true})
@Type(() => CommentThreadWhereInput) @Type(() => CommentThreadWhereInput)
where?: CommentThreadWhereInput; where?: CommentThreadWhereInput;

View File

@ -4,6 +4,7 @@ import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCountAggregateInput { export class CommentThreadCountAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;

View File

@ -5,6 +5,7 @@ import { HideField } from '@nestjs/graphql';
@ObjectType() @ObjectType()
export class CommentThreadCountAggregate { export class CommentThreadCountAggregate {
@Field(() => Int, {nullable:false}) @Field(() => Int, {nullable:false})
id!: number; id!: number;

View File

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

View File

@ -5,6 +5,7 @@ import { Type } from 'class-transformer';
@InputType() @InputType()
export class CommentThreadCreateManyWorkspaceInputEnvelope { export class CommentThreadCreateManyWorkspaceInputEnvelope {
@Field(() => [CommentThreadCreateManyWorkspaceInput], {nullable:false}) @Field(() => [CommentThreadCreateManyWorkspaceInput], {nullable:false})
@Type(() => CommentThreadCreateManyWorkspaceInput) @Type(() => CommentThreadCreateManyWorkspaceInput)
data!: Array<CommentThreadCreateManyWorkspaceInput>; data!: Array<CommentThreadCreateManyWorkspaceInput>;

View File

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

View File

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

View File

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

View File

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

View File

@ -8,6 +8,7 @@ import { Type } from 'class-transformer';
@InputType() @InputType()
export class CommentThreadCreateNestedOneWithoutCommentsInput { export class CommentThreadCreateNestedOneWithoutCommentsInput {
@HideField() @HideField()
create?: CommentThreadCreateWithoutCommentsInput; create?: CommentThreadCreateWithoutCommentsInput;

View File

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

View File

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

View File

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

View File

@ -6,6 +6,7 @@ import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCreateWithoutCommentThreadTargetsInput { export class CommentThreadCreateWithoutCommentThreadTargetsInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -18,9 +19,7 @@ export class CommentThreadCreateWithoutCommentThreadTargetsInput {
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
comments?: CommentCreateNestedManyWithoutCommentThreadInput; comments?: CommentCreateNestedManyWithoutCommentThreadInput;
@HideField() @HideField()

View File

@ -6,6 +6,7 @@ import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCreateWithoutCommentsInput { export class CommentThreadCreateWithoutCommentsInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -18,9 +19,7 @@ export class CommentThreadCreateWithoutCommentsInput {
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@HideField() @HideField()

View File

@ -5,6 +5,7 @@ import { CommentCreateNestedManyWithoutCommentThreadInput } from '../comment/com
@InputType() @InputType()
export class CommentThreadCreateWithoutWorkspaceInput { export class CommentThreadCreateWithoutWorkspaceInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -17,13 +18,9 @@ export class CommentThreadCreateWithoutWorkspaceInput {
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
comments?: CommentCreateNestedManyWithoutCommentThreadInput; comments?: CommentCreateNestedManyWithoutCommentThreadInput;
} }

View File

@ -7,6 +7,7 @@ import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadCreateInput { export class CommentThreadCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -19,14 +20,10 @@ export class CommentThreadCreateInput {
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentThreadTargetCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
comments?: CommentCreateNestedManyWithoutCommentThreadInput; comments?: CommentCreateNestedManyWithoutCommentThreadInput;
@HideField() @HideField()

View File

@ -12,6 +12,7 @@ import { CommentThreadMaxAggregateInput } from './comment-thread-max-aggregate.i
@ArgsType() @ArgsType()
export class CommentThreadGroupByArgs { export class CommentThreadGroupByArgs {
@Field(() => CommentThreadWhereInput, {nullable:true}) @Field(() => CommentThreadWhereInput, {nullable:true})
@Type(() => CommentThreadWhereInput) @Type(() => CommentThreadWhereInput)
where?: CommentThreadWhereInput; where?: CommentThreadWhereInput;

View File

@ -7,6 +7,7 @@ import { CommentThreadMaxAggregate } from './comment-thread-max-aggregate.output
@ObjectType() @ObjectType()
export class CommentThreadGroupBy { export class CommentThreadGroupBy {
@Field(() => String, {nullable:false}) @Field(() => String, {nullable:false})
id!: string; id!: string;

View File

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

View File

@ -4,6 +4,7 @@ import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadMaxAggregateInput { export class CommentThreadMaxAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;

View File

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

View File

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

View File

@ -4,6 +4,7 @@ import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadMinAggregateInput { export class CommentThreadMinAggregateInput {
@Field(() => Boolean, {nullable:true}) @Field(() => Boolean, {nullable:true})
id?: true; id?: true;

View File

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

View File

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

View File

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

View File

@ -8,6 +8,7 @@ import { CommentThreadMinOrderByAggregateInput } from './comment-thread-min-orde
@InputType() @InputType()
export class CommentThreadOrderByWithAggregationInput { export class CommentThreadOrderByWithAggregationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;

View File

@ -8,6 +8,7 @@ import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-
@InputType() @InputType()
export class CommentThreadOrderByWithRelationInput { export class CommentThreadOrderByWithRelationInput {
@Field(() => SortOrder, {nullable:true}) @Field(() => SortOrder, {nullable:true})
id?: keyof typeof SortOrder; id?: keyof typeof SortOrder;
@ -23,9 +24,7 @@ export class CommentThreadOrderByWithRelationInput {
@HideField() @HideField()
workspaceId?: keyof typeof SortOrder; workspaceId?: keyof typeof SortOrder;
@Field(() => CommentThreadTargetOrderByRelationAggregateInput, { @Field(() => CommentThreadTargetOrderByRelationAggregateInput, {nullable:true})
nullable: true,
})
commentThreadTargets?: CommentThreadTargetOrderByRelationAggregateInput; commentThreadTargets?: CommentThreadTargetOrderByRelationAggregateInput;
@Field(() => CommentOrderByRelationAggregateInput, {nullable:true}) @Field(() => CommentOrderByRelationAggregateInput, {nullable:true})

View File

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

View File

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

View File

@ -7,19 +7,14 @@ import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadScalarWhereWithAggregatesInput { export class CommentThreadScalarWhereWithAggregatesInput {
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {
nullable: true, @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
})
AND?: Array<CommentThreadScalarWhereWithAggregatesInput>; AND?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], { @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
nullable: true,
})
OR?: Array<CommentThreadScalarWhereWithAggregatesInput>; OR?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], { @Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
nullable: true,
})
NOT?: Array<CommentThreadScalarWhereWithAggregatesInput>; NOT?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => StringWithAggregatesFilter, {nullable:true}) @Field(() => StringWithAggregatesFilter, {nullable:true})

View File

@ -7,6 +7,7 @@ import { HideField } from '@nestjs/graphql';
@InputType() @InputType()
export class CommentThreadScalarWhereInput { export class CommentThreadScalarWhereInput {
@Field(() => [CommentThreadScalarWhereInput], {nullable:true}) @Field(() => [CommentThreadScalarWhereInput], {nullable:true})
AND?: Array<CommentThreadScalarWhereInput>; AND?: Array<CommentThreadScalarWhereInput>;

View File

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

View File

@ -5,6 +5,7 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
@InputType() @InputType()
export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput { export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -20,8 +21,6 @@ export class CommentThreadUncheckedCreateWithoutCommentThreadTargetsInput {
@HideField() @HideField()
workspaceId!: string; workspaceId!: string;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
} }

View File

@ -5,6 +5,7 @@ import { CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput }
@InputType() @InputType()
export class CommentThreadUncheckedCreateWithoutCommentsInput { export class CommentThreadUncheckedCreateWithoutCommentsInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -20,9 +21,6 @@ export class CommentThreadUncheckedCreateWithoutCommentsInput {
@HideField() @HideField()
workspaceId!: string; workspaceId!: string;
@Field( @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,
{ nullable: true },
)
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
} }

View File

@ -5,6 +5,7 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
@InputType() @InputType()
export class CommentThreadUncheckedCreateWithoutWorkspaceInput { export class CommentThreadUncheckedCreateWithoutWorkspaceInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -17,14 +18,9 @@ export class CommentThreadUncheckedCreateWithoutWorkspaceInput {
@Field(() => Date, {nullable:true}) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field( @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,
{ nullable: true },
)
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
} }

View File

@ -6,6 +6,7 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
@InputType() @InputType()
export class CommentThreadUncheckedCreateInput { export class CommentThreadUncheckedCreateInput {
@Field(() => String, {nullable:true}) @Field(() => String, {nullable:true})
id?: string; id?: string;
@ -21,14 +22,9 @@ export class CommentThreadUncheckedCreateInput {
@HideField() @HideField()
workspaceId!: string; workspaceId!: string;
@Field( @Field(() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
() => CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput,
{ nullable: true },
)
commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput; commentThreadTargets?: CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput;
@Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, { @Field(() => CommentUncheckedCreateNestedManyWithoutCommentThreadInput, {nullable:true})
nullable: true,
})
comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput; comments?: CommentUncheckedCreateNestedManyWithoutCommentThreadInput;
} }

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