Variable agentUpgradeChangeSchemaConst
agentUpgradeChangeSchema: ZodObject<
{
action: ZodString;
description: ZodOptional<ZodString>;
field_changes: ZodOptional<
ZodArray<
ZodObject<
{
baseline: ZodOptional<ZodType<{} | null, ZodTypeDef, {} | null>>;
field: ZodString;
locally_edited: ZodOptional<ZodBoolean>;
new: ZodOptional<ZodType<{} | null, ZodTypeDef, {} | null>>;
old: ZodOptional<ZodType<{} | null, ZodTypeDef, {} | null>>;
},
"strip",
ZodTypeAny,
{
baseline?: {}
| null;
field: string;
locally_edited?: boolean;
new?: {} | null;
old?: {} | null;
},
{
baseline?: {}
| null;
field: string;
locally_edited?: boolean;
new?: {} | null;
old?: {} | null;
},
>,
"many",
>,
>;
id: ZodOptional<ZodString>;
key: ZodOptional<ZodString>;
name: ZodOptional<ZodString>;
parent_template_config: ZodObject<
{
created_at: ZodOptional<ZodString>;
description: ZodOptional<ZodNullable<ZodString>>;
display_name: ZodOptional<ZodNullable<ZodString>>;
id: ZodString;
kind: ZodString;
lookup_key: ZodOptional<ZodNullable<ZodString>>;
name: ZodOptional<ZodNullable<ZodString>>;
updated_at: ZodOptional<ZodString>;
virtual_path: ZodOptional<ZodNullable<ZodString>>;
},
"strip",
ZodTypeAny,
{
created_at?: string;
description?: string
| null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
},
{
created_at?: string;
description?: string
| null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
},
>;
resource: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
resource_type: ZodString;
source_template_config: ZodOptional<
ZodObject<
{
created_at: ZodOptional<ZodString>;
description: ZodOptional<ZodNullable<ZodString>>;
display_name: ZodOptional<ZodNullable<ZodString>>;
id: ZodString;
kind: ZodString;
lookup_key: ZodOptional<ZodNullable<ZodString>>;
name: ZodOptional<ZodNullable<ZodString>>;
updated_at: ZodOptional<ZodString>;
virtual_path: ZodOptional<ZodNullable<ZodString>>;
},
"strip",
ZodTypeAny,
{
created_at?: string;
description?: string
| null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
},
{
created_at?: string;
description?: string
| null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
},
>,
>;
},
"strip",
ZodTypeAny,
{
action: string;
description?: string;
field_changes?: {
baseline?: {}
| null;
field: string;
locally_edited?: boolean;
new?: {} | null;
old?: {} | null;
}[];
id?: string;
key?: string;
name?: string;
parent_template_config: {
created_at?: string;
description?: string
| null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
};
resource?: Record<string, {} | null>;
resource_type: string;
source_template_config?: {
created_at?: string;
description?: string | null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
};
},
{
action: string;
description?: string;
field_changes?: {
baseline?: {}
| null;
field: string;
locally_edited?: boolean;
new?: {} | null;
old?: {} | null;
}[];
id?: string;
key?: string;
name?: string;
parent_template_config: {
created_at?: string;
description?: string
| null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
};
resource?: Record<string, {} | null>;
resource_type: string;
source_template_config?: {
created_at?: string;
description?: string | null;
display_name?: string | null;
id: string;
kind: string;
lookup_key?: string | null;
name?: string | null;
updated_at?: string;
virtual_path?: string | null;
};
},
> = ...
Runtime validator for AgentUpgradeChange.