* 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
559 B
TypeScript
25 lines
559 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { ObjectType } from '@nestjs/graphql';
|
|
import { Int } from '@nestjs/graphql';
|
|
|
|
@ObjectType()
|
|
export class CommentThreadCountAggregate {
|
|
@Field(() => Int, { nullable: false })
|
|
id!: number;
|
|
|
|
@Field(() => Int, { nullable: false })
|
|
createdAt!: number;
|
|
|
|
@Field(() => Int, { nullable: false })
|
|
updatedAt!: number;
|
|
|
|
@Field(() => Int, { nullable: false })
|
|
deletedAt!: number;
|
|
|
|
@Field(() => Int, { nullable: false })
|
|
workspaceId!: number;
|
|
|
|
@Field(() => Int, { nullable: false })
|
|
_all!: number;
|
|
}
|