* feat: refactor storage module * fix: folder need to be kebab case * fix: comment wrong auth
21 lines
884 B
TypeScript
21 lines
884 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { ArgsType } from '@nestjs/graphql';
|
|
import { CommentThreadTargetUpdateManyMutationInput } from './comment-thread-target-update-many-mutation.input';
|
|
import { Type } from 'class-transformer';
|
|
import { ValidateNested } from 'class-validator';
|
|
import { CommentThreadTargetWhereInput } from './comment-thread-target-where.input';
|
|
|
|
@ArgsType()
|
|
export class UpdateManyCommentThreadTargetArgs {
|
|
|
|
@Field(() => CommentThreadTargetUpdateManyMutationInput, {nullable:false})
|
|
@Type(() => CommentThreadTargetUpdateManyMutationInput)
|
|
@ValidateNested({each: true})
|
|
@Type(() => CommentThreadTargetUpdateManyMutationInput)
|
|
data!: CommentThreadTargetUpdateManyMutationInput;
|
|
|
|
@Field(() => CommentThreadTargetWhereInput, {nullable:true})
|
|
@Type(() => CommentThreadTargetWhereInput)
|
|
where?: CommentThreadTargetWhereInput;
|
|
}
|