UNPKG

json-api-nestjs

Version:
9 lines (8 loc) 374 B
import { PipeTransform } from '@nestjs/common'; import { JSONValue } from '../../types'; import { PatchData } from '../../zod'; import { ObjectLiteral } from '../../../../types'; export declare class PatchInputPipe<E extends ObjectLiteral> implements PipeTransform<JSONValue, PatchData<E>> { private zodInputPatchSchema; transform(value: JSONValue): PatchData<E>; }