Variable solutionTemplateSummarySchemaConst
solutionTemplateSummarySchema: ZodObject<
{
description: ZodOptional<ZodNullable<ZodString>>;
details: ZodOptional<
ZodNullable<
ZodDiscriminatedUnion<
"type",
[
ZodObject<
{
automation_type: ZodOptional<ZodNullable<ZodString>>;
invoke_contract: ZodOptional<
ZodNullable<ZodObject<(...), (...), (...), (...), (...)>>,
>;
type: ZodLiteral<"automation">;
},
"strip",
ZodTypeAny,
{
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: (...)
| (...)
| (...);
participants?: (...) | (...) | (...);
prefills: { participants?: ...; payload?: ... };
}
| null;
type: "automation";
},
{
automation_type?: string
| null;
invoke_contract?:
| {
input_schema?: (...)
| (...)
| (...);
participants?: (...) | (...) | (...);
prefills: { participants?: ...; payload?: ... };
}
| null;
type: "automation";
},
>,
],
>,
>,
>;
display_name: ZodOptional<ZodNullable<ZodString>>;
id: ZodOptional<ZodNullable<ZodString>>;
kind: ZodString;
lookup_key: ZodOptional<ZodNullable<ZodString>>;
name: ZodOptional<ZodNullable<ZodString>>;
readme_url: ZodOptional<ZodNullable<ZodString>>;
virtual_path: ZodOptional<ZodNullable<ZodString>>;
},
"strip",
ZodTypeAny,
{
description?: string
| null;
details?:
| {
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";
}
| null;
display_name?: string
| null;
id?: string | null;
kind: string;
lookup_key?: string | null;
name?: string | null;
readme_url?: string | null;
virtual_path?: string | null;
},
{
description?: string
| null;
details?:
| {
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";
}
| null;
display_name?: string
| null;
id?: string | null;
kind: string;
lookup_key?: string | null;
name?: string | null;
readme_url?: string | null;
virtual_path?: string | null;
},
> = ...
Runtime validator for SolutionTemplateSummary.