UNPKG

json-api-nestjs

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