zodAsyncAPITypeScriptGenerators
@the-codegen-project/cli • Docs
Home / zodAsyncAPITypeScriptGenerators
Variable: zodAsyncAPITypeScriptGenerators
const zodAsyncAPITypeScriptGenerators: ZodDiscriminatedUnion<"preset", [ZodObject<{
dependencies: ZodDefault<ZodOptional<ZodArray<ZodString, "many">>>;
enum: ZodDefault<ZodOptional<ZodEnum<["enum", "union"]>>>;
id: ZodDefault<ZodOptional<ZodString>>;
language: ZodDefault<ZodOptional<ZodLiteral<"typescript">>>;
map: ZodDefault<ZodOptional<ZodEnum<["indexedObject", "map", "record"]>>>;
outputPath: ZodDefault<ZodOptional<ZodString>>;
preset: ZodDefault<ZodLiteral<"payloads">>;
rawPropertyNames: ZodDefault<ZodOptional<ZodBoolean>>;
serializationType: ZodDefault<ZodOptional<ZodLiteral<"json">>>;
useForJavaScript: ZodDefault<ZodOptional<ZodBoolean>>;
}, "strip", ZodTypeAny, {
dependencies: string[];
enum: "enum" | "union";
id: string;
language: "typescript";
map: "map" | "indexedObject" | "record";
outputPath: string;
preset: "payloads";
rawPropertyNames: boolean;
serializationType: "json";
useForJavaScript: boolean;
}, {
dependencies: string[];
enum: "enum" | "union";
id: string;
language: "typescript";
map: "map" | "indexedObject" | "record";
outputPath: string;
preset: "payloads";
rawPropertyNames: boolean;
serializationType: "json";
useForJavaScript: boolean;
}>, ZodObject<{
dependencies: ZodDefault<ZodOptional<ZodArray<ZodString, "many">>>;
id: ZodDefault<ZodOptional<ZodString>>;
language: ZodDefault<ZodOptional<ZodLiteral<"typescript">>>;
outputPath: ZodDefault<ZodString>;
preset: ZodDefault<ZodLiteral<"parameters">>;
serializationType: ZodDefault<ZodOptional<ZodLiteral<"json">>>;
}, "strip", ZodTypeAny, {
dependencies: string[];
id: string;
language: "typescript";
outputPath: string;
preset: "parameters";
serializationType: "json";
}, {
dependencies: string[];
id: string;
language: "typescript";
outputPath: string;
preset: "parameters";
serializationType: "json";
}>, ZodObject<{
dependencies: ZodDefault<ZodOptional<ZodArray<ZodString, "many">>>;
id: ZodDefault<ZodOptional<ZodString>>;
language: ZodDefault<ZodOptional<ZodLiteral<"typescript">>>;
outputPath: ZodDefault<ZodString>;
parameterGeneratorId: ZodDefault<ZodOptional<ZodString>>;
payloadGeneratorId: ZodDefault<ZodOptional<ZodString>>;
preset: ZodDefault<ZodLiteral<"channels">>;
protocols: ZodDefault<ZodArray<ZodEnum<["nats"]>, "many">>;
}, "strip", ZodTypeAny, {
dependencies: string[];
id: string;
language: "typescript";
outputPath: string;
parameterGeneratorId: string;
payloadGeneratorId: string;
preset: "channels";
protocols: "nats"[];
}, {
dependencies: string[];
id: string;
language: "typescript";
outputPath: string;
parameterGeneratorId: string;
payloadGeneratorId: string;
preset: "channels";
protocols: "nats"[];
}>]>;