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

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

View File

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