mirror of
https://github.com/lingble/twenty.git
synced 2025-11-03 06:07:56 +00:00
* feat: refactor storage module * fix: folder need to be kebab case * fix: comment wrong auth
21 lines
841 B
TypeScript
21 lines
841 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 { ValidateNested } from 'class-validator';
|
|
import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';
|
|
|
|
@ArgsType()
|
|
export class UpdateOneCommentThreadTargetArgs {
|
|
|
|
@Field(() => CommentThreadTargetUpdateInput, {nullable:false})
|
|
@Type(() => CommentThreadTargetUpdateInput)
|
|
@ValidateNested({each: true})
|
|
@Type(() => CommentThreadTargetUpdateInput)
|
|
data!: CommentThreadTargetUpdateInput;
|
|
|
|
@Field(() => CommentThreadTargetWhereUniqueInput, {nullable:false})
|
|
@Type(() => CommentThreadTargetWhereUniqueInput)
|
|
where!: CommentThreadTargetWhereUniqueInput;
|
|
}
|