Variable artifactSchemaConst
artifactSchema: ZodObject<
{
agent: ZodOptional<ZodString>;
content_type: ZodOptional<ZodString>;
created_at: ZodOptional<ZodString>;
current_version: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
file: ZodOptional<ZodString>;
file_name: ZodOptional<ZodString>;
file_url: ZodOptional<ZodString>;
id: ZodString;
image_source: ZodOptional<
ZodObject<
{
file: ZodOptional<ZodNullable<ZodString>>;
height: ZodOptional<ZodNullable<ZodNumber>>;
media: ZodOptional<ZodNullable<ZodString>>;
mime_type: ZodOptional<ZodNullable<ZodString>>;
refresh_url: ZodOptional<ZodNullable<ZodString>>;
url: ZodOptional<ZodNullable<ZodString>>;
width: ZodOptional<ZodNullable<ZodNumber>>;
},
"strip",
ZodTypeAny,
{
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
},
{
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
},
>,
>;
name: ZodOptional<ZodString>;
org: ZodOptional<ZodString>;
sandbox: ZodOptional<ZodString>;
team: ZodOptional<ZodString>;
thread: ZodOptional<ZodString>;
updated_at: ZodOptional<ZodString>;
user: ZodOptional<ZodString>;
version: ZodOptional<ZodNumber>;
},
"strip",
ZodTypeAny,
{
agent?: string;
content_type?: string;
created_at?: string;
current_version?: string;
description?: string;
file?: string;
file_name?: string;
file_url?: string;
id: string;
image_source?: {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
};
name?: string;
org?: string;
sandbox?: string;
team?: string;
thread?: string;
updated_at?: string;
user?: string;
version?: number;
},
{
agent?: string;
content_type?: string;
created_at?: string;
current_version?: string;
description?: string;
file?: string;
file_name?: string;
file_url?: string;
id: string;
image_source?: {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
};
name?: string;
org?: string;
sandbox?: string;
team?: string;
thread?: string;
updated_at?: string;
user?: string;
version?: number;
},
> = ...
Runtime validator for Artifact.