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,12 +6,13 @@ 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;
@Field(() => CommentThreadTargetMinAggregate, { nullable: true }) @Field(() => CommentThreadTargetMinAggregate, {nullable:true})
_min?: CommentThreadTargetMinAggregate; _min?: CommentThreadTargetMinAggregate;
@Field(() => CommentThreadTargetMaxAggregate, { nullable: true }) @Field(() => CommentThreadTargetMaxAggregate, {nullable:true})
_max?: CommentThreadTargetMaxAggregate; _max?: CommentThreadTargetMaxAggregate;
} }

View File

@ -11,30 +11,29 @@ 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})
cursor?: CommentThreadTargetWhereUniqueInput; cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
take?: number; take?: number;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
skip?: number; skip?: number;
@Field(() => CommentThreadTargetCountAggregateInput, { nullable: true }) @Field(() => CommentThreadTargetCountAggregateInput, {nullable:true})
_count?: CommentThreadTargetCountAggregateInput; _count?: CommentThreadTargetCountAggregateInput;
@Field(() => CommentThreadTargetMinAggregateInput, { nullable: true }) @Field(() => CommentThreadTargetMinAggregateInput, {nullable:true})
_min?: CommentThreadTargetMinAggregateInput; _min?: CommentThreadTargetMinAggregateInput;
@Field(() => CommentThreadTargetMaxAggregateInput, { nullable: true }) @Field(() => CommentThreadTargetMaxAggregateInput, {nullable:true})
_max?: CommentThreadTargetMaxAggregateInput; _max?: CommentThreadTargetMaxAggregateInput;
} }

View File

@ -3,27 +3,28 @@ 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;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
deletedAt?: true; deletedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentThreadId?: true; commentThreadId?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentableType?: true; commentableType?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentableId?: true; commentableId?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
_all?: true; _all?: true;
} }

View File

@ -4,27 +4,28 @@ 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;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
createdAt!: number; createdAt!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
updatedAt!: number; updatedAt!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
deletedAt!: number; deletedAt!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
commentThreadId!: number; commentThreadId!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
commentableType!: number; commentableType!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
commentableId!: number; commentableId!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
_all!: number; _all!: number;
} }

View File

@ -4,24 +4,25 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder; commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
} }

View File

@ -5,12 +5,11 @@ 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>;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
skipDuplicates?: boolean; skipDuplicates?: boolean;
} }

View File

@ -4,21 +4,22 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => CommentableType, { nullable: false }) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
} }

View File

@ -4,24 +4,25 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@Field(() => CommentableType, { nullable: false }) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
} }

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,21 +4,22 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => CommentableType, { nullable: false }) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
} }

View File

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

View File

@ -12,35 +12,32 @@ 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})
take?: number; take?: number;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
skip?: number; skip?: number;
@Field(() => CommentThreadTargetCountAggregateInput, { nullable: true }) @Field(() => CommentThreadTargetCountAggregateInput, {nullable:true})
_count?: CommentThreadTargetCountAggregateInput; _count?: CommentThreadTargetCountAggregateInput;
@Field(() => CommentThreadTargetMinAggregateInput, { nullable: true }) @Field(() => CommentThreadTargetMinAggregateInput, {nullable:true})
_min?: CommentThreadTargetMinAggregateInput; _min?: CommentThreadTargetMinAggregateInput;
@Field(() => CommentThreadTargetMaxAggregateInput, { nullable: true }) @Field(() => CommentThreadTargetMaxAggregateInput, {nullable:true})
_max?: CommentThreadTargetMaxAggregateInput; _max?: CommentThreadTargetMaxAggregateInput;
} }

View File

@ -7,33 +7,34 @@ 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;
@Field(() => Date, { nullable: false }) @Field(() => Date, {nullable:false})
createdAt!: Date | string; createdAt!: Date | string;
@Field(() => Date, { nullable: false }) @Field(() => Date, {nullable:false})
updatedAt!: Date | string; updatedAt!: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@Field(() => CommentableType, { nullable: false }) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@Field(() => CommentThreadTargetCountAggregate, { nullable: true }) @Field(() => CommentThreadTargetCountAggregate, {nullable:true})
_count?: CommentThreadTargetCountAggregate; _count?: CommentThreadTargetCountAggregate;
@Field(() => CommentThreadTargetMinAggregate, { nullable: true }) @Field(() => CommentThreadTargetMinAggregate, {nullable:true})
_min?: CommentThreadTargetMinAggregate; _min?: CommentThreadTargetMinAggregate;
@Field(() => CommentThreadTargetMaxAggregate, { nullable: true }) @Field(() => CommentThreadTargetMaxAggregate, {nullable:true})
_max?: CommentThreadTargetMaxAggregate; _max?: CommentThreadTargetMaxAggregate;
} }

View File

@ -4,12 +4,13 @@ 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;
@Field(() => CommentThreadTargetWhereInput, { nullable: true }) @Field(() => CommentThreadTargetWhereInput, {nullable:true})
some?: CommentThreadTargetWhereInput; some?: CommentThreadTargetWhereInput;
@Field(() => CommentThreadTargetWhereInput, { nullable: true }) @Field(() => CommentThreadTargetWhereInput, {nullable:true})
none?: CommentThreadTargetWhereInput; none?: CommentThreadTargetWhereInput;
} }

View File

@ -3,24 +3,25 @@ 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;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
deletedAt?: true; deletedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentThreadId?: true; commentThreadId?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentableType?: true; commentableType?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentableId?: true; commentableId?: true;
} }

View File

@ -4,24 +4,25 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => String, { nullable: true }) @Field(() => String, {nullable:true})
commentThreadId?: string; commentThreadId?: string;
@Field(() => CommentableType, { nullable: true }) @Field(() => CommentableType, {nullable:true})
commentableType?: keyof typeof CommentableType; commentableType?: keyof typeof CommentableType;
@Field(() => String, { nullable: true }) @Field(() => String, {nullable:true})
commentableId?: string; commentableId?: string;
} }

View File

@ -4,24 +4,25 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder; commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
} }

View File

@ -3,24 +3,25 @@ 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;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
deletedAt?: true; deletedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentThreadId?: true; commentThreadId?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentableType?: true; commentableType?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
commentableId?: true; commentableId?: true;
} }

View File

@ -4,24 +4,25 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => String, { nullable: true }) @Field(() => String, {nullable:true})
commentThreadId?: string; commentThreadId?: string;
@Field(() => CommentableType, { nullable: true }) @Field(() => CommentableType, {nullable:true})
commentableType?: keyof typeof CommentableType; commentableType?: keyof typeof CommentableType;
@Field(() => String, { nullable: true }) @Field(() => String, {nullable:true})
commentableId?: string; commentableId?: string;
} }

View File

@ -4,24 +4,25 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder; commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: 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,35 +7,34 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder; commentableType?: keyof typeof SortOrder;
@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})
_max?: CommentThreadTargetMaxOrderByAggregateInput; _max?: CommentThreadTargetMaxOrderByAggregateInput;
@Field(() => CommentThreadTargetMinOrderByAggregateInput, { nullable: true }) @Field(() => CommentThreadTargetMinOrderByAggregateInput, {nullable:true})
_min?: CommentThreadTargetMinOrderByAggregateInput; _min?: CommentThreadTargetMinOrderByAggregateInput;
} }

View File

@ -5,27 +5,28 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentThreadId?: keyof typeof SortOrder; commentThreadId?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableType?: keyof typeof SortOrder; commentableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
commentableId?: keyof typeof SortOrder; commentableId?: keyof typeof SortOrder;
@Field(() => CommentThreadOrderByWithRelationInput, { nullable: true }) @Field(() => CommentThreadOrderByWithRelationInput, {nullable:true})
commentThread?: CommentThreadOrderByWithRelationInput; commentThread?: CommentThreadOrderByWithRelationInput;
} }

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,39 +7,34 @@ 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})
id?: StringWithAggregatesFilter; id?: StringWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true }) @Field(() => DateTimeWithAggregatesFilter, {nullable:true})
createdAt?: DateTimeWithAggregatesFilter; createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true }) @Field(() => DateTimeWithAggregatesFilter, {nullable:true})
updatedAt?: DateTimeWithAggregatesFilter; updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
deletedAt?: DateTimeNullableWithAggregatesFilter; deletedAt?: DateTimeNullableWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true }) @Field(() => StringWithAggregatesFilter, {nullable:true})
commentThreadId?: StringWithAggregatesFilter; commentThreadId?: StringWithAggregatesFilter;
@Field(() => EnumCommentableTypeWithAggregatesFilter, { nullable: true }) @Field(() => EnumCommentableTypeWithAggregatesFilter, {nullable:true})
commentableType?: EnumCommentableTypeWithAggregatesFilter; commentableType?: EnumCommentableTypeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true }) @Field(() => StringWithAggregatesFilter, {nullable:true})
commentableId?: StringWithAggregatesFilter; commentableId?: StringWithAggregatesFilter;
} }

View File

@ -7,33 +7,34 @@ 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>;
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true }) @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
OR?: Array<CommentThreadTargetScalarWhereInput>; OR?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true }) @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
NOT?: Array<CommentThreadTargetScalarWhereInput>; NOT?: Array<CommentThreadTargetScalarWhereInput>;
@Field(() => StringFilter, { nullable: true }) @Field(() => StringFilter, {nullable:true})
id?: StringFilter; id?: StringFilter;
@Field(() => DateTimeFilter, { nullable: true }) @Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter; createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, { nullable: true }) @Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter; updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, { nullable: true }) @Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter; deletedAt?: DateTimeNullableFilter;
@Field(() => StringFilter, { nullable: true }) @Field(() => StringFilter, {nullable:true})
commentThreadId?: StringFilter; commentThreadId?: StringFilter;
@Field(() => EnumCommentableTypeFilter, { nullable: true }) @Field(() => EnumCommentableTypeFilter, {nullable:true})
commentableType?: EnumCommentableTypeFilter; commentableType?: EnumCommentableTypeFilter;
@Field(() => StringFilter, { nullable: true }) @Field(() => StringFilter, {nullable:true})
commentableId?: StringFilter; commentableId?: StringFilter;
} }

View File

@ -8,25 +8,20 @@ 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;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
connect?: Array<CommentThreadTargetWhereUniqueInput>; connect?: Array<CommentThreadTargetWhereUniqueInput>;
} }

View File

@ -4,21 +4,22 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => CommentableType, { nullable: false }) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
} }

View File

@ -4,24 +4,25 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@Field(() => CommentableType, { nullable: false }) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
} }

View File

@ -12,62 +12,48 @@ 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;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
set?: Array<CommentThreadTargetWhereUniqueInput>; set?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
disconnect?: Array<CommentThreadTargetWhereUniqueInput>; disconnect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
delete?: Array<CommentThreadTargetWhereUniqueInput>; delete?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@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>;
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true }) @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
@Type(() => CommentThreadTargetScalarWhereInput) @Type(() => CommentThreadTargetScalarWhereInput)
deleteMany?: Array<CommentThreadTargetScalarWhereInput>; deleteMany?: Array<CommentThreadTargetScalarWhereInput>;
} }

View File

@ -7,23 +7,22 @@ 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;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) @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;
} }

View File

@ -7,26 +7,25 @@ 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;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput; deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@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})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
} }

View File

@ -7,23 +7,22 @@ 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;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) @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;
} }

View File

@ -7,26 +7,25 @@ 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;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => NullableDateTimeFieldUpdateOperationsInput, {nullable:true})
deletedAt?: NullableDateTimeFieldUpdateOperationsInput; deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
@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})
commentableId?: StringFieldUpdateOperationsInput; commentableId?: StringFieldUpdateOperationsInput;
} }

View File

@ -7,23 +7,22 @@ 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;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) @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;
} }

View File

@ -6,11 +6,12 @@ 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;
@Field(() => CommentThreadTargetUpdateManyMutationInput, { nullable: false }) @Field(() => CommentThreadTargetUpdateManyMutationInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateManyMutationInput) @Type(() => CommentThreadTargetUpdateManyMutationInput)
data!: CommentThreadTargetUpdateManyMutationInput; data!: CommentThreadTargetUpdateManyMutationInput;
} }

View File

@ -12,62 +12,48 @@ 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;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
set?: Array<CommentThreadTargetWhereUniqueInput>; set?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
disconnect?: Array<CommentThreadTargetWhereUniqueInput>; disconnect?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
delete?: Array<CommentThreadTargetWhereUniqueInput>; delete?: Array<CommentThreadTargetWhereUniqueInput>;
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereUniqueInput], {nullable:true})
@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>;
@Field(() => [CommentThreadTargetScalarWhereInput], { nullable: true }) @Field(() => [CommentThreadTargetScalarWhereInput], {nullable:true})
@Type(() => CommentThreadTargetScalarWhereInput) @Type(() => CommentThreadTargetScalarWhereInput)
deleteMany?: Array<CommentThreadTargetScalarWhereInput>; deleteMany?: Array<CommentThreadTargetScalarWhereInput>;
} }

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,23 +7,22 @@ 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;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) @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;
} }

View File

@ -8,29 +8,25 @@ import { CommentThreadUpdateOneRequiredWithoutCommentThreadTargetsNestedInput }
@InputType() @InputType()
export class CommentThreadTargetUpdateInput { export class CommentThreadTargetUpdateInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
@Field(() => StringFieldUpdateOperationsInput, {nullable:true})
id?: StringFieldUpdateOperationsInput; id?: StringFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
createdAt?: DateTimeFieldUpdateOperationsInput; createdAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) @Field(() => DateTimeFieldUpdateOperationsInput, {nullable:true})
updatedAt?: DateTimeFieldUpdateOperationsInput; updatedAt?: DateTimeFieldUpdateOperationsInput;
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) @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,36 +8,37 @@ 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>;
@Field(() => [CommentThreadTargetWhereInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereInput], {nullable:true})
OR?: Array<CommentThreadTargetWhereInput>; OR?: Array<CommentThreadTargetWhereInput>;
@Field(() => [CommentThreadTargetWhereInput], { nullable: true }) @Field(() => [CommentThreadTargetWhereInput], {nullable:true})
NOT?: Array<CommentThreadTargetWhereInput>; NOT?: Array<CommentThreadTargetWhereInput>;
@Field(() => StringFilter, { nullable: true }) @Field(() => StringFilter, {nullable:true})
id?: StringFilter; id?: StringFilter;
@Field(() => DateTimeFilter, { nullable: true }) @Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter; createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, { nullable: true }) @Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter; updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, { nullable: true }) @Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter; deletedAt?: DateTimeNullableFilter;
@Field(() => StringFilter, { nullable: true }) @Field(() => StringFilter, {nullable:true})
commentThreadId?: StringFilter; commentThreadId?: StringFilter;
@Field(() => EnumCommentableTypeFilter, { nullable: true }) @Field(() => EnumCommentableTypeFilter, {nullable:true})
commentableType?: EnumCommentableTypeFilter; commentableType?: EnumCommentableTypeFilter;
@Field(() => StringFilter, { nullable: true }) @Field(() => StringFilter, {nullable:true})
commentableId?: StringFilter; commentableId?: StringFilter;
@Field(() => CommentThreadRelationFilter, { nullable: true }) @Field(() => CommentThreadRelationFilter, {nullable:true})
commentThread?: CommentThreadRelationFilter; commentThread?: CommentThreadRelationFilter;
} }

View File

@ -6,27 +6,28 @@ 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;
@Field(() => Date, { nullable: false }) @Field(() => Date, {nullable:false})
createdAt!: Date; createdAt!: Date;
@Field(() => Date, { nullable: false }) @Field(() => Date, {nullable:false})
updatedAt!: Date; updatedAt!: Date;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt!: Date | null; deletedAt!: Date | null;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentThreadId!: string; commentThreadId!: string;
@Field(() => CommentableType, { nullable: false }) @Field(() => CommentableType, {nullable:false})
commentableType!: keyof typeof CommentableType; commentableType!: keyof typeof CommentableType;
@Field(() => String, { nullable: false }) @Field(() => String, {nullable:false})
commentableId!: string; commentableId!: string;
@Field(() => CommentThread, { nullable: false }) @Field(() => CommentThread, {nullable:false})
commentThread?: CommentThread; commentThread?: CommentThread;
} }

View File

@ -5,10 +5,11 @@ 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>;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
skipDuplicates?: boolean; skipDuplicates?: boolean;
} }

View File

@ -5,7 +5,8 @@ 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,7 +5,8 @@ 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,7 +5,8 @@ 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,24 +9,23 @@ 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})
cursor?: CommentThreadTargetWhereUniqueInput; cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
take?: number; take?: number;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
skip?: number; skip?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true }) @Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true})
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>; distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
} }

View File

@ -9,24 +9,23 @@ 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})
cursor?: CommentThreadTargetWhereUniqueInput; cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
take?: number; take?: number;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
skip?: number; skip?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true }) @Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true})
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>; distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
} }

View File

@ -9,24 +9,23 @@ 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})
cursor?: CommentThreadTargetWhereUniqueInput; cursor?: CommentThreadTargetWhereUniqueInput;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
take?: number; take?: number;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
skip?: number; skip?: number;
@Field(() => [CommentThreadTargetScalarFieldEnum], { nullable: true }) @Field(() => [CommentThreadTargetScalarFieldEnum], {nullable:true})
distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>; distinct?: Array<keyof typeof CommentThreadTargetScalarFieldEnum>;
} }

View File

@ -5,7 +5,8 @@ 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,7 +5,8 @@ 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,11 +6,12 @@ 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;
@Field(() => CommentThreadTargetWhereInput, { nullable: true }) @Field(() => CommentThreadTargetWhereInput, {nullable:true})
@Type(() => CommentThreadTargetWhereInput) @Type(() => CommentThreadTargetWhereInput)
where?: CommentThreadTargetWhereInput; where?: CommentThreadTargetWhereInput;
} }

View File

@ -6,11 +6,12 @@ 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;
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false }) @Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
@Type(() => CommentThreadTargetWhereUniqueInput) @Type(() => CommentThreadTargetWhereUniqueInput)
where!: CommentThreadTargetWhereUniqueInput; where!: CommentThreadTargetWhereUniqueInput;
} }

View File

@ -7,15 +7,16 @@ 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;
@Field(() => CommentThreadTargetCreateInput, { nullable: false }) @Field(() => CommentThreadTargetCreateInput, {nullable:false})
@Type(() => CommentThreadTargetCreateInput) @Type(() => CommentThreadTargetCreateInput)
create!: CommentThreadTargetCreateInput; create!: CommentThreadTargetCreateInput;
@Field(() => CommentThreadTargetUpdateInput, { nullable: false }) @Field(() => CommentThreadTargetUpdateInput, {nullable:false})
@Type(() => CommentThreadTargetUpdateInput) @Type(() => CommentThreadTargetUpdateInput)
update!: CommentThreadTargetUpdateInput; update!: CommentThreadTargetUpdateInput;
} }

View File

@ -6,12 +6,13 @@ 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;
@Field(() => CommentThreadMinAggregate, { nullable: true }) @Field(() => CommentThreadMinAggregate, {nullable:true})
_min?: CommentThreadMinAggregate; _min?: CommentThreadMinAggregate;
@Field(() => CommentThreadMaxAggregate, { nullable: true }) @Field(() => CommentThreadMaxAggregate, {nullable:true})
_max?: CommentThreadMaxAggregate; _max?: CommentThreadMaxAggregate;
} }

View File

@ -11,28 +11,29 @@ 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;
@Field(() => [CommentThreadOrderByWithRelationInput], { nullable: true }) @Field(() => [CommentThreadOrderByWithRelationInput], {nullable:true})
orderBy?: Array<CommentThreadOrderByWithRelationInput>; orderBy?: Array<CommentThreadOrderByWithRelationInput>;
@Field(() => CommentThreadWhereUniqueInput, { nullable: true }) @Field(() => CommentThreadWhereUniqueInput, {nullable:true})
cursor?: CommentThreadWhereUniqueInput; cursor?: CommentThreadWhereUniqueInput;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
take?: number; take?: number;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
skip?: number; skip?: number;
@Field(() => CommentThreadCountAggregateInput, { nullable: true }) @Field(() => CommentThreadCountAggregateInput, {nullable:true})
_count?: CommentThreadCountAggregateInput; _count?: CommentThreadCountAggregateInput;
@Field(() => CommentThreadMinAggregateInput, { nullable: true }) @Field(() => CommentThreadMinAggregateInput, {nullable:true})
_min?: CommentThreadMinAggregateInput; _min?: CommentThreadMinAggregateInput;
@Field(() => CommentThreadMaxAggregateInput, { nullable: true }) @Field(() => CommentThreadMaxAggregateInput, {nullable:true})
_max?: CommentThreadMaxAggregateInput; _max?: CommentThreadMaxAggregateInput;
} }

View File

@ -4,21 +4,22 @@ 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;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
deletedAt?: true; deletedAt?: true;
@HideField() @HideField()
workspaceId?: true; workspaceId?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
_all?: true; _all?: true;
} }

View File

@ -5,21 +5,22 @@ 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;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
createdAt!: number; createdAt!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
updatedAt!: number; updatedAt!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
deletedAt!: number; deletedAt!: number;
@HideField() @HideField()
workspaceId!: number; workspaceId!: number;
@Field(() => Int, { nullable: false }) @Field(() => Int, {nullable:false})
_all!: number; _all!: number;
} }

View File

@ -5,16 +5,17 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@HideField() @HideField()

View File

@ -5,10 +5,11 @@ 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>;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
skipDuplicates?: boolean; skipDuplicates?: boolean;
} }

View File

@ -3,15 +3,16 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
} }

View File

@ -4,16 +4,17 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@HideField() @HideField()

View File

@ -8,23 +8,20 @@ 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;
@Field(() => [CommentThreadWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadWhereUniqueInput) @Type(() => CommentThreadWhereUniqueInput)
connect?: Array<CommentThreadWhereUniqueInput>; connect?: Array<CommentThreadWhereUniqueInput>;
} }

View File

@ -7,19 +7,16 @@ 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;
@Field(() => CommentThreadWhereUniqueInput, { nullable: true }) @Field(() => CommentThreadWhereUniqueInput, {nullable:true})
@Type(() => CommentThreadWhereUniqueInput) @Type(() => CommentThreadWhereUniqueInput)
connect?: CommentThreadWhereUniqueInput; connect?: CommentThreadWhereUniqueInput;
} }

View File

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

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,11 +6,12 @@ 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;
@Field(() => CommentThreadCreateWithoutCommentsInput, { nullable: false }) @Field(() => CommentThreadCreateWithoutCommentsInput, {nullable:false})
@Type(() => CommentThreadCreateWithoutCommentsInput) @Type(() => CommentThreadCreateWithoutCommentsInput)
create!: CommentThreadCreateWithoutCommentsInput; create!: CommentThreadCreateWithoutCommentsInput;
} }

View File

@ -6,11 +6,12 @@ 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;
@Field(() => CommentThreadCreateWithoutWorkspaceInput, { nullable: false }) @Field(() => CommentThreadCreateWithoutWorkspaceInput, {nullable:false})
@Type(() => CommentThreadCreateWithoutWorkspaceInput) @Type(() => CommentThreadCreateWithoutWorkspaceInput)
create!: CommentThreadCreateWithoutWorkspaceInput; create!: CommentThreadCreateWithoutWorkspaceInput;
} }

View File

@ -6,21 +6,20 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @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,21 +6,20 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @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,25 +5,22 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @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,26 +7,23 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @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,31 +12,32 @@ 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;
@Field(() => [CommentThreadOrderByWithAggregationInput], { nullable: true }) @Field(() => [CommentThreadOrderByWithAggregationInput], {nullable:true})
orderBy?: Array<CommentThreadOrderByWithAggregationInput>; orderBy?: Array<CommentThreadOrderByWithAggregationInput>;
@Field(() => [CommentThreadScalarFieldEnum], { nullable: false }) @Field(() => [CommentThreadScalarFieldEnum], {nullable:false})
by!: Array<keyof typeof CommentThreadScalarFieldEnum>; by!: Array<keyof typeof CommentThreadScalarFieldEnum>;
@Field(() => CommentThreadScalarWhereWithAggregatesInput, { nullable: true }) @Field(() => CommentThreadScalarWhereWithAggregatesInput, {nullable:true})
having?: CommentThreadScalarWhereWithAggregatesInput; having?: CommentThreadScalarWhereWithAggregatesInput;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
take?: number; take?: number;
@Field(() => Int, { nullable: true }) @Field(() => Int, {nullable:true})
skip?: number; skip?: number;
@Field(() => CommentThreadCountAggregateInput, { nullable: true }) @Field(() => CommentThreadCountAggregateInput, {nullable:true})
_count?: CommentThreadCountAggregateInput; _count?: CommentThreadCountAggregateInput;
@Field(() => CommentThreadMinAggregateInput, { nullable: true }) @Field(() => CommentThreadMinAggregateInput, {nullable:true})
_min?: CommentThreadMinAggregateInput; _min?: CommentThreadMinAggregateInput;
@Field(() => CommentThreadMaxAggregateInput, { nullable: true }) @Field(() => CommentThreadMaxAggregateInput, {nullable:true})
_max?: CommentThreadMaxAggregateInput; _max?: CommentThreadMaxAggregateInput;
} }

View File

@ -7,27 +7,28 @@ 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;
@Field(() => Date, { nullable: false }) @Field(() => Date, {nullable:false})
createdAt!: Date | string; createdAt!: Date | string;
@Field(() => Date, { nullable: false }) @Field(() => Date, {nullable:false})
updatedAt!: Date | string; updatedAt!: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@HideField() @HideField()
workspaceId!: string; workspaceId!: string;
@Field(() => CommentThreadCountAggregate, { nullable: true }) @Field(() => CommentThreadCountAggregate, {nullable:true})
_count?: CommentThreadCountAggregate; _count?: CommentThreadCountAggregate;
@Field(() => CommentThreadMinAggregate, { nullable: true }) @Field(() => CommentThreadMinAggregate, {nullable:true})
_min?: CommentThreadMinAggregate; _min?: CommentThreadMinAggregate;
@Field(() => CommentThreadMaxAggregate, { nullable: true }) @Field(() => CommentThreadMaxAggregate, {nullable:true})
_max?: CommentThreadMaxAggregate; _max?: CommentThreadMaxAggregate;
} }

View File

@ -4,12 +4,13 @@ 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;
@Field(() => CommentThreadWhereInput, { nullable: true }) @Field(() => CommentThreadWhereInput, {nullable:true})
some?: CommentThreadWhereInput; some?: CommentThreadWhereInput;
@Field(() => CommentThreadWhereInput, { nullable: true }) @Field(() => CommentThreadWhereInput, {nullable:true})
none?: CommentThreadWhereInput; none?: CommentThreadWhereInput;
} }

View File

@ -4,16 +4,17 @@ 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;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
deletedAt?: true; deletedAt?: true;
@HideField() @HideField()

View File

@ -4,16 +4,17 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@HideField() @HideField()

View File

@ -5,16 +5,17 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@HideField() @HideField()

View File

@ -4,16 +4,17 @@ 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;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
createdAt?: true; createdAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
updatedAt?: true; updatedAt?: true;
@Field(() => Boolean, { nullable: true }) @Field(() => Boolean, {nullable:true})
deletedAt?: true; deletedAt?: true;
@HideField() @HideField()

View File

@ -4,16 +4,17 @@ 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;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@HideField() @HideField()

View File

@ -5,16 +5,17 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@HideField() @HideField()

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,27 +8,28 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@HideField() @HideField()
workspaceId?: keyof typeof SortOrder; workspaceId?: keyof typeof SortOrder;
@Field(() => CommentThreadCountOrderByAggregateInput, { nullable: true }) @Field(() => CommentThreadCountOrderByAggregateInput, {nullable:true})
_count?: CommentThreadCountOrderByAggregateInput; _count?: CommentThreadCountOrderByAggregateInput;
@Field(() => CommentThreadMaxOrderByAggregateInput, { nullable: true }) @Field(() => CommentThreadMaxOrderByAggregateInput, {nullable:true})
_max?: CommentThreadMaxOrderByAggregateInput; _max?: CommentThreadMaxOrderByAggregateInput;
@Field(() => CommentThreadMinOrderByAggregateInput, { nullable: true }) @Field(() => CommentThreadMinOrderByAggregateInput, {nullable:true})
_min?: CommentThreadMinOrderByAggregateInput; _min?: CommentThreadMinOrderByAggregateInput;
} }

View File

@ -8,27 +8,26 @@ 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;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
createdAt?: keyof typeof SortOrder; createdAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
updatedAt?: keyof typeof SortOrder; updatedAt?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true }) @Field(() => SortOrder, {nullable:true})
deletedAt?: keyof typeof SortOrder; deletedAt?: keyof typeof SortOrder;
@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})
comments?: CommentOrderByRelationAggregateInput; comments?: CommentOrderByRelationAggregateInput;
@HideField() @HideField()

View File

@ -4,9 +4,10 @@ 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;
@Field(() => CommentThreadWhereInput, { nullable: true }) @Field(() => CommentThreadWhereInput, {nullable:true})
isNot?: CommentThreadWhereInput; isNot?: 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,31 +7,26 @@ 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})
id?: StringWithAggregatesFilter; id?: StringWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true }) @Field(() => DateTimeWithAggregatesFilter, {nullable:true})
createdAt?: DateTimeWithAggregatesFilter; createdAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeWithAggregatesFilter, { nullable: true }) @Field(() => DateTimeWithAggregatesFilter, {nullable:true})
updatedAt?: DateTimeWithAggregatesFilter; updatedAt?: DateTimeWithAggregatesFilter;
@Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) @Field(() => DateTimeNullableWithAggregatesFilter, {nullable:true})
deletedAt?: DateTimeNullableWithAggregatesFilter; deletedAt?: DateTimeNullableWithAggregatesFilter;
@HideField() @HideField()

View File

@ -7,25 +7,26 @@ 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>;
@Field(() => [CommentThreadScalarWhereInput], { nullable: true }) @Field(() => [CommentThreadScalarWhereInput], {nullable:true})
OR?: Array<CommentThreadScalarWhereInput>; OR?: Array<CommentThreadScalarWhereInput>;
@Field(() => [CommentThreadScalarWhereInput], { nullable: true }) @Field(() => [CommentThreadScalarWhereInput], {nullable:true})
NOT?: Array<CommentThreadScalarWhereInput>; NOT?: Array<CommentThreadScalarWhereInput>;
@Field(() => StringFilter, { nullable: true }) @Field(() => StringFilter, {nullable:true})
id?: StringFilter; id?: StringFilter;
@Field(() => DateTimeFilter, { nullable: true }) @Field(() => DateTimeFilter, {nullable:true})
createdAt?: DateTimeFilter; createdAt?: DateTimeFilter;
@Field(() => DateTimeFilter, { nullable: true }) @Field(() => DateTimeFilter, {nullable:true})
updatedAt?: DateTimeFilter; updatedAt?: DateTimeFilter;
@Field(() => DateTimeNullableFilter, { nullable: true }) @Field(() => DateTimeNullableFilter, {nullable:true})
deletedAt?: DateTimeNullableFilter; deletedAt?: DateTimeNullableFilter;
@HideField() @HideField()

View File

@ -8,23 +8,20 @@ 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;
@Field(() => [CommentThreadWhereUniqueInput], { nullable: true }) @Field(() => [CommentThreadWhereUniqueInput], {nullable:true})
@Type(() => CommentThreadWhereUniqueInput) @Type(() => CommentThreadWhereUniqueInput)
connect?: Array<CommentThreadWhereUniqueInput>; connect?: Array<CommentThreadWhereUniqueInput>;
} }

View File

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

View File

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

View File

@ -5,26 +5,22 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
@InputType() @InputType()
export class CommentThreadUncheckedCreateWithoutWorkspaceInput { export class CommentThreadUncheckedCreateWithoutWorkspaceInput {
@Field(() => String, { nullable: true })
@Field(() => String, {nullable:true})
id?: string; id?: string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @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,29 +6,25 @@ import { CommentUncheckedCreateNestedManyWithoutCommentThreadInput } from '../co
@InputType() @InputType()
export class CommentThreadUncheckedCreateInput { export class CommentThreadUncheckedCreateInput {
@Field(() => String, { nullable: true })
@Field(() => String, {nullable:true})
id?: string; id?: string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
createdAt?: Date | string; createdAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
updatedAt?: Date | string; updatedAt?: Date | string;
@Field(() => Date, { nullable: true }) @Field(() => Date, {nullable:true})
deletedAt?: Date | string; deletedAt?: Date | string;
@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