Variable agentExportSchemaConst
agentExportSchema: ZodObject<
{
configs: ZodArray<
ZodObject<
{
agent: ZodOptional<ZodString>;
created_at: ZodOptional<ZodString>;
current_version: ZodOptional<
ZodObject<
{
change_description: ZodOptional<ZodString>;
content_hash: ZodOptional<ZodString>;
created_at: ZodOptional<ZodString>;
data: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
id: ZodString;
org: ZodOptional<ZodString>;
sandbox: ZodOptional<ZodString>;
version_number: ZodNumber;
},
"strip",
ZodTypeAny,
{
change_description?: string;
content_hash?: string;
created_at?: string;
data?: Record<string, unknown>;
id: string;
org?: string;
sandbox?: string;
version_number: number;
},
{
change_description?: string;
content_hash?: string;
created_at?: string;
data?: Record<string, unknown>;
id: string;
org?: string;
sandbox?: string;
version_number: number;
},
>,
>;
id: ZodString;
is_archived: ZodOptional<ZodBoolean>;
kind: ZodString;
lookup_key: ZodOptional<ZodString>;
mime_type: ZodOptional<ZodString>;
org: ZodOptional<ZodString>;
parent: ZodOptional<ZodString>;
parent_solution: ZodOptional<ZodString>;
raw_content: ZodOptional<ZodString>;
relative_path: ZodOptional<ZodString>;
sandbox: ZodOptional<ZodString>;
team: ZodOptional<ZodString>;
updated_at: ZodOptional<ZodString>;
user: ZodOptional<ZodString>;
virtual_path: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
agent?: string;
created_at?: string;
current_version?: {
change_description?: string;
content_hash?: string;
created_at?: string;
data?: Record<string, unknown>;
id: string;
org?: string;
sandbox?: string;
version_number: number;
};
id: string;
is_archived?: boolean;
kind: string;
lookup_key?: string;
mime_type?: string;
org?: string;
parent?: string;
parent_solution?: string;
raw_content?: string;
relative_path?: string;
sandbox?: string;
team?: string;
updated_at?: string;
user?: string;
virtual_path?: string;
},
{
agent?: string;
created_at?: string;
current_version?: {
change_description?: string;
content_hash?: string;
created_at?: string;
data?: Record<string, unknown>;
id: string;
org?: string;
sandbox?: string;
version_number: number;
};
id: string;
is_archived?: boolean;
kind: string;
lookup_key?: string;
mime_type?: string;
org?: string;
parent?: string;
parent_solution?: string;
raw_content?: string;
relative_path?: string;
sandbox?: string;
team?: string;
updated_at?: string;
user?: string;
virtual_path?: string;
},
>,
"many",
>;
template: ZodRecord<ZodString, ZodUnknown>;
},
"strip",
ZodTypeAny,
{
configs: {
agent?: string;
created_at?: string;
current_version?: {
change_description?: string;
content_hash?: string;
created_at?: string;
data?: Record<string, unknown>;
id: string;
org?: string;
sandbox?: string;
version_number: number;
};
id: string;
is_archived?: boolean;
kind: string;
lookup_key?: string;
mime_type?: string;
org?: string;
parent?: string;
parent_solution?: string;
raw_content?: string;
relative_path?: string;
sandbox?: string;
team?: string;
updated_at?: string;
user?: string;
virtual_path?: string;
}[];
template: Record<string, unknown>;
},
{
configs: {
agent?: string;
created_at?: string;
current_version?: {
change_description?: string;
content_hash?: string;
created_at?: string;
data?: Record<string, unknown>;
id: string;
org?: string;
sandbox?: string;
version_number: number;
};
id: string;
is_archived?: boolean;
kind: string;
lookup_key?: string;
mime_type?: string;
org?: string;
parent?: string;
parent_solution?: string;
raw_content?: string;
relative_path?: string;
sandbox?: string;
team?: string;
updated_at?: string;
user?: string;
virtual_path?: string;
}[];
template: Record<string, unknown>;
},
> = ...
Runtime validator for AgentExport.