* 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
27 lines
617 B
TypeScript
27 lines
617 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { InputType } from '@nestjs/graphql';
|
|
|
|
@InputType()
|
|
export class CommentThreadTargetMinAggregateInput {
|
|
@Field(() => Boolean, { nullable: true })
|
|
id?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
createdAt?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
updatedAt?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
deletedAt?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
commentThreadId?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
commentableType?: true;
|
|
|
|
@Field(() => Boolean, { nullable: true })
|
|
commentableId?: true;
|
|
}
|