Variable ArgumentGenerator
ArgumentGenerator: ZodFunction<
ZodTuple<
[
ZodType<Message<boolean>, ZodTypeDef, Message<boolean>>,
ZodObject<
{
all: ZodArray<
ZodUnion<
[
ZodObject<
{ raw: ... } & { type: ...; value: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...) & (...), ZodTypeAny, "passthrough">,
objectInputType<(...) & (...), ZodTypeAny, "passthrough">,
>,
ZodObject<
{ raw: ... } & { key: ...; type: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...) & (...), ZodTypeAny, "passthrough">,
objectInputType<(...) & (...), ZodTypeAny, "passthrough">,
>,
ZodObject<
{ raw: ... } & { key: ...; type: ...; value: ... },
"passthrough",
ZodTypeAny,
objectOutputType<(...) & (...), ZodTypeAny, "passthrough">,
objectInputType<(...) & (...), ZodTypeAny, "passthrough">,
>,
],
>,
"many",
>;
flags: ZodArray<
ZodObject<
{ raw: ZodString } & { key: ZodString; type: ZodLiteral<"Flag"> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ZodString } & { key: ZodString; type: ZodLiteral<(...)> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ZodString } & { key: ZodString; type: ZodLiteral<(...)> },
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
optionFlags: ZodArray<
ZodObject<
{ raw: ZodString } & {
key: ZodString;
type: ZodLiteral<"OptionFlag">;
value: ZodString;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ZodString } & {
key: ZodString;
type: ZodLiteral<(...)>;
value: ZodString;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ZodString } & {
key: ZodString;
type: ZodLiteral<(...)>;
value: ZodString;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
phrases: ZodArray<
ZodObject<
{ raw: ZodString } & {
type: ZodLiteral<"Phrase">;
value: ZodString;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ZodString } & {
type: ZodLiteral<(...)>;
value: ZodString;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ZodString } & {
type: ZodLiteral<(...)>;
value: ZodString;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
all: ZodArray<
ZodUnion<
[
ZodObject<
(...) & (...),
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
(...) & (...),
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
(...) & (...),
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>,
"many",
>;
flags: ZodArray<
ZodObject<
{ raw: ZodString } & { key: ZodString; type: ZodLiteral<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ... } & { key: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ... } & { key: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
optionFlags: ZodArray<
ZodObject<
{ raw: ZodString } & {
key: ZodString;
type: ZodLiteral<(...)>;
value: ZodString;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ... } & { key: ...; type: ...; value: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ... } & { key: ...; type: ...; value: ... },
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
phrases: ZodArray<
ZodObject<
{ raw: ZodString } & {
type: ZodLiteral<(...)>;
value: ZodString;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ... } & { type: ...; value: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ... } & { type: ...; value: ... },
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
all: ZodArray<
ZodUnion<
[
ZodObject<
(...) & (...),
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
(...) & (...),
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
ZodObject<
(...) & (...),
"passthrough",
ZodTypeAny,
objectOutputType<(...), (...), (...)>,
objectInputType<(...), (...), (...)>,
>,
],
>,
"many",
>;
flags: ZodArray<
ZodObject<
{ raw: ZodString } & { key: ZodString; type: ZodLiteral<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ... } & { key: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ... } & { key: ...; type: ... },
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
optionFlags: ZodArray<
ZodObject<
{ raw: ZodString } & {
key: ZodString;
type: ZodLiteral<(...)>;
value: ZodString;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ... } & { key: ...; type: ...; value: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ... } & { key: ...; type: ...; value: ... },
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
phrases: ZodArray<
ZodObject<
{ raw: ZodString } & {
type: ZodLiteral<(...)>;
value: ZodString;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{ raw: ... } & { type: ...; value: ... },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ raw: ... } & { type: ...; value: ... },
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
},
ZodTypeAny,
"passthrough",
>,
>,
ZodObject<
{
index: ZodNumber;
phraseIndex: ZodNumber;
usedIndices: ZodSet<ZodNumber>;
},
"strip",
ZodTypeAny,
{ index: number; phraseIndex: number; usedIndices: Set<number> },
{ index: number; phraseIndex: number; usedIndices: Set<number> },
>,
],
ZodUnknown,
>,
ZodAny,
>