* Hide workspace and refresh token from schema * Add pipe models and migrations * Add seeds * Update FE graphql schema
35 lines
764 B
TypeScript
35 lines
764 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { ObjectType } from '@nestjs/graphql';
|
|
import { Int } from '@nestjs/graphql';
|
|
import { HideField } from '@nestjs/graphql';
|
|
|
|
@ObjectType()
|
|
export class CommentCountAggregate {
|
|
@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 })
|
|
body!: number;
|
|
|
|
@Field(() => Int, { nullable: false })
|
|
authorId!: number;
|
|
|
|
@Field(() => Int, { nullable: false })
|
|
commentThreadId!: number;
|
|
|
|
@HideField()
|
|
workspaceId!: number;
|
|
|
|
@Field(() => Int, { nullable: false })
|
|
_all!: number;
|
|
}
|