UNPKG

@ptc-org/nestjs-query-graphql

Version:
12 lines (11 loc) 483 B
import { Class, Filter } from '@ptc-org/nestjs-query-core'; export interface UpdateManyInputType<DTO, U> { filter: Filter<DTO>; update: U; } /** * Input abstract type for all update many endpoints. * @param DTOClass - The DTO used to create a FilterType for the update. * @param UpdateType - The InputType to use for the update field. */ export declare function UpdateManyInputType<DTO, U>(DTOClass: Class<DTO>, UpdateType: Class<U>): Class<UpdateManyInputType<DTO, U>>;