a3a3c1924f
* Lowercase all relations in prisma/graphql schema * Add Comments data model and graphql schema * Make comments availalble on the api through resolvers and guard them * Update front graphql schema * Fix PR
25 lines
545 B
TypeScript
25 lines
545 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { InputType } from '@nestjs/graphql';
|
|
import { HideField } from '@nestjs/graphql';
|
|
|
|
@InputType()
|
|
export class CommentThreadCountAggregateInput {
|
|
@Field(() => Boolean, { nullable: true })
|
|
id?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
createdAt?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
updatedAt?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
deletedAt?: true;
|
|
|
|
@HideField()
|
|
workspaceId?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
_all?: true;
|
|
}
|