Variable solutionTemplateDetailsSchemaConst
solutionTemplateDetailsSchema: ZodDiscriminatedUnion<
"type",
[
ZodObject<
{
automation_type: ZodOptional<ZodNullable<ZodString>>;
invoke_contract: ZodOptional<
ZodNullable<
ZodObject<
{
input_schema: ZodOptional<ZodNullable<ZodRecord<(...), (...)>>>;
participants: ZodOptional<ZodNullable<ZodArray<(...), (...)>>>;
prefills: ZodObject<
{
participants: ZodOptional<(...)>;
payload: ZodOptional<(...)>;
},
"strip",
ZodTypeAny,
{ participants?: (...)
| (...); payload?: (...) | (...) },
{ participants?: (...) | (...); payload?: (...) | (...) },
>;
},
"strip",
ZodTypeAny,
{
input_schema?: Record<string, (...) | (...)>
| null;
participants?:
| { description?: ...; name: ...; required: ...; type: ... }[]
| null;
prefills: {
participants?: Record<(...), (...)>;
payload?: Record<(...), (...)>;
};
},
{
input_schema?: Record<string, (...) | (...)>
| null;
participants?:
| { description?: ...; name: ...; required: ...; type: ... }[]
| null;
prefills: {
participants?: Record<(...), (...)>;
payload?: Record<(...), (...)>;
};
},
>,
>,
>;
type: ZodLiteral<"automation">;
},
"strip",
ZodTypeAny,
{
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: Record<string, {} | null>
| null;
participants?:
| {
description?: string
| null;
name: string;
required: boolean;
type: string;
}[]
| null;
prefills: {
participants?: Record<string, {} | null>;
payload?: Record<string, {} | null>;
};
}
| null;
type: "automation";
},
{
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: Record<string, {} | null>
| null;
participants?:
| {
description?: string
| null;
name: string;
required: boolean;
type: string;
}[]
| null;
prefills: {
participants?: Record<string, {} | null>;
payload?: Record<string, {} | null>;
};
}
| null;
type: "automation";
},
>,
],
> = ...
Template-kind-specific Solution summary details, discriminated by
type.