UNPKG

@nestia/core

Version:

Super-fast validation decorators of NestJS

35 lines (32 loc) 680 B
export interface INestiaTransformOptions { validate?: INestiaTransformOptions.Validate; stringify?: INestiaTransformOptions.Stringify | null; llm?: INestiaTransformOptions.ILlm; throws?: boolean; } export namespace INestiaTransformOptions { export type Validate = // NORMAL | "assert" | "is" | "validate" // STRICT | "assertEquals" | "equals" | "validateEquals" // CLONE | "assertClone" | "validateClone" // PRUNE | "assertPrune" | "validatePrune"; export type Stringify = | "stringify" | "assert" | "is" | "validate" | "validate.log"; export interface ILlm { strict?: boolean; } }