json-api-nestjs
Version:
JsonApi Plugin for NestJs
9 lines (8 loc) • 374 B
TypeScript
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>;
}