* 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
10 lines
302 B
TypeScript
10 lines
302 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { InputType } from '@nestjs/graphql';
|
|
import { SortOrder } from '../prisma/sort-order.enum';
|
|
|
|
@InputType()
|
|
export class CommentThreadTargetOrderByRelationAggregateInput {
|
|
@Field(() => SortOrder, { nullable: true })
|
|
_count?: keyof typeof SortOrder;
|
|
}
|