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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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,
})
@Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {nullable:false})
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
create!: CommentThreadTargetCreateWithoutCommentThreadInput;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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,
})
@Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)
data!: CommentThreadTargetUpdateWithoutCommentThreadInput;
}

View File

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

View File

@ -8,6 +8,7 @@ import { CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput }
@InputType()
export class CommentThreadTargetUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput;
@ -20,17 +21,12 @@ export class CommentThreadTargetUpdateInput {
@Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {
nullable: true,
})
@Field(() => EnumCommentableTypeFieldUpdateOperationsInput, {nullable:true})
commentableType?: EnumCommentableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
commentableId?: StringFieldUpdateOperationsInput;
@Field(
() => CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput,
{ nullable: true },
)
@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,
})
@Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)
update!: CommentThreadTargetUpdateWithoutCommentThreadInput;
@Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {
nullable: false,
})
@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;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -8,19 +8,16 @@ 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,
})
@Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {nullable:true})
@Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;
@Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {
nullable: true,
})
@Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {nullable:true})
@Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)
createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;

View File

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

View File

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

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,
})
@Field(() => CommentThreadCreateWithoutCommentThreadTargetsInput, {nullable:false})
@Type(() => CommentThreadCreateWithoutCommentThreadTargetsInput)
create!: CommentThreadCreateWithoutCommentThreadTargetsInput;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,6 +4,7 @@ import { CommentThreadWhereInput } from './comment-thread-where.input';
@InputType()
export class CommentThreadRelationFilter {
@Field(() => CommentThreadWhereInput, {nullable:true})
is?: 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,19 +7,14 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CommentThreadScalarWhereWithAggregatesInput {
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {
nullable: true,
})
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
AND?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {
nullable: true,
})
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
OR?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {
nullable: true,
})
@Field(() => [CommentThreadScalarWhereWithAggregatesInput], {nullable:true})
NOT?: Array<CommentThreadScalarWhereWithAggregatesInput>;
@Field(() => StringWithAggregatesFilter, {nullable:true})

View File

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

View File

@ -8,19 +8,16 @@ 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,
})
@Field(() => [CommentThreadCreateOrConnectWithoutWorkspaceInput], {nullable:true})
@Type(() => CommentThreadCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<CommentThreadCreateOrConnectWithoutWorkspaceInput>;
@Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {
nullable: true,
})
@Field(() => CommentThreadCreateManyWorkspaceInputEnvelope, {nullable:true})
@Type(() => CommentThreadCreateManyWorkspaceInputEnvelope)
createMany?: CommentThreadCreateManyWorkspaceInputEnvelope;

View File

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

View File

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

View File

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

View File

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

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