Files
twenty/server/src/core/@generated/user/update-many-user.args.ts
T

21 lines
700 B
TypeScript

import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql';
import { UserUpdateManyMutationInput } from './user-update-many-mutation.input';
import { Type } from 'class-transformer';
import { ValidateNested } from 'class-validator';
import { UserWhereInput } from './user-where.input';
@ArgsType()
export class UpdateManyUserArgs {
@Field(() => UserUpdateManyMutationInput, {nullable:false})
@Type(() => UserUpdateManyMutationInput)
@ValidateNested({each: true})
@Type(() => UserUpdateManyMutationInput)
data!: UserUpdateManyMutationInput;
@Field(() => UserWhereInput, {nullable:true})
@Type(() => UserWhereInput)
where?: UserWhereInput;
}