UNPKG

zod-to-x

Version:

Multi language types generation from Zod schemas.

14 lines (13 loc) 465 B
import { IZodToXOpt } from "../../core"; export interface IZod2ProtoV3Opt extends IZodToXOpt { /** * Name of the protobuf file package. */ packageName?: string; /** * By default (false), structure/class property names are converted according to the target * language's naming conventions. If set to true, the original property names are preserved. */ keepKeys?: boolean; } export declare const defaultOpts: IZod2ProtoV3Opt;