Files
twenty/server/src/api/@generated/comment-thread-target/comment-thread-target-count-aggregate.output.ts
Charles Bochet a3a3c1924f Add comments to Prisma Schema and GraphQL server (#162)
* 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
2023-05-31 15:41:53 +02:00

31 lines
707 B
TypeScript

import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { Int } from '@nestjs/graphql';
@ObjectType()
export class CommentThreadTargetCountAggregate {
@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 })
commentThreadId!: number;
@Field(() => Int, { nullable: false })
commentableType!: number;
@Field(() => Int, { nullable: false })
commentableId!: number;
@Field(() => Int, { nullable: false })
_all!: number;
}