UNPKG

bookish-potato-dto

Version:

A TypeScript DTO (Data Transfer Object) parsing and validation library. Define a schema once — get runtime validation and a fully inferred TypeScript type for free.

10 lines (9 loc) 444 B
export { field } from './schema/field'; export { defineDto } from './schema/define-dto'; export type { InferDto } from './schema/infer-dto.type'; export type { DtoDefinition, SchemaMap } from './schema/dto-definition.type'; export type { AnyFieldDescriptor } from './schema/field-descriptor.type'; export * from './openapi'; export * from './parser'; export * from './error'; export type { PropertyParser } from './types/property-parser.type';