299ca293a8
* feat: wip * fix: issues * feat: clean controllers and services * fix: test * Fix auth --------- Co-authored-by: Charles Bochet <charles@twenty.com>
28 lines
637 B
TypeScript
28 lines
637 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { InputType } from '@nestjs/graphql';
|
|
import { HideField } from '@nestjs/graphql';
|
|
|
|
@InputType()
|
|
export class CommentCreateManyCommentThreadInput {
|
|
@Field(() => String, { nullable: true })
|
|
id?: string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
createdAt?: Date | string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
updatedAt?: Date | string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
deletedAt?: Date | string;
|
|
|
|
@Field(() => String, { nullable: false })
|
|
body!: string;
|
|
|
|
@Field(() => String, { nullable: false })
|
|
authorId!: string;
|
|
|
|
@HideField()
|
|
workspaceId!: string;
|
|
}
|