Files
twenty/server/src/core/@generated/comment/comment-group-by.output.ts
T
Jérémy MandGitHub 2cd081234f chore: refacto NestJS in modules (#308)
* chore: wip refacto in modules

* fix: rollback port

* fix: jwt guard in wrong folder

* chore: rename folder exception-filter in filters

* fix: tests are running

* fix: excessive stack depth comparing types

* fix: auth issue

* chore: move createUser in UserService

* fix: test

* fix: guards

* fix: jwt guard don't handle falsy user
2023-06-16 10:38:11 +02:00

43 lines
1.1 KiB
TypeScript

import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { HideField } from '@nestjs/graphql';
import { CommentCountAggregate } from './comment-count-aggregate.output';
import { CommentMinAggregate } from './comment-min-aggregate.output';
import { CommentMaxAggregate } from './comment-max-aggregate.output';
@ObjectType()
export class CommentGroupBy {
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, { nullable: false })
createdAt!: Date | string;
@Field(() => Date, { nullable: false })
updatedAt!: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => String, { nullable: false })
body!: string;
@Field(() => String, { nullable: false })
authorId!: string;
@Field(() => String, { nullable: false })
commentThreadId!: string;
@HideField()
workspaceId!: string;
@Field(() => CommentCountAggregate, { nullable: true })
_count?: CommentCountAggregate;
@Field(() => CommentMinAggregate, { nullable: true })
_min?: CommentMinAggregate;
@Field(() => CommentMaxAggregate, { nullable: true })
_max?: CommentMaxAggregate;
}