feat: clean prisma file, add validation, add prisma editor (#472)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user