mirror of
https://github.com/twentyhq/twenty.git
synced 2026-06-14 19:08:04 -04:00
* 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
17 lines
702 B
TypeScript
17 lines
702 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { ArgsType } from '@nestjs/graphql';
|
|
import { CommentThreadTargetUpdateInput } from './comment-thread-target-update.input';
|
|
import { Type } from 'class-transformer';
|
|
import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';
|
|
|
|
@ArgsType()
|
|
export class UpdateOneCommentThreadTargetArgs {
|
|
@Field(() => CommentThreadTargetUpdateInput, { nullable: false })
|
|
@Type(() => CommentThreadTargetUpdateInput)
|
|
data!: CommentThreadTargetUpdateInput;
|
|
|
|
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
|
|
@Type(() => CommentThreadTargetWhereUniqueInput)
|
|
where!: CommentThreadTargetWhereUniqueInput;
|
|
}
|