UNPKG

@nestia/core

Version:

Super-fast validation decorators of NestJS

17 lines (16 loc) 809 B
import { ILlmSchema } from "@samchon/openapi"; export interface INestiaTransformOptions { validate?: INestiaTransformOptions.Validate; stringify?: INestiaTransformOptions.Stringify | null; llm?: INestiaTransformOptions.ILlm<"chatgpt" | "gemini" | "3.0">; throws?: boolean; } export declare namespace INestiaTransformOptions { type Validate = "assert" | "is" | "validate" | "assertEquals" | "equals" | "validateEquals" | "assertClone" | "validateClone" | "assertPrune" | "validatePrune"; type Stringify = "stringify" | "assert" | "is" | "validate" | "validate.log"; interface ILlm<Model extends ILlmSchema.Model> { model: Model; strict?: Model extends "chatgpt" ? boolean : never; recursive?: Model extends "gemini" | "3.0" ? false | number : never; } }