zod-to-x
Version:
Multi language types generation from Zod schemas.
13 lines (12 loc) • 407 B
TypeScript
import { IZodToXOpt } from "../../core";
export interface IZod2ProtoV3Opt extends Omit<IZodToXOpt, "skipDiscriminatorNodes"> {
/**
* Name of the protobuf file package.
*/
packageName?: string;
/**
* Protobuf follows the snake_case convention for field names, but camelCase can also be used.
*/
useCamelCase?: boolean;
}
export declare const defaultOpts: IZod2ProtoV3Opt;