Variable threadWorkListSchemaConst
threadWorkListSchema: ZodObject<
{
after_cursor: ZodOptional<ZodString>;
before_cursor: ZodOptional<ZodString>;
data: ZodArray<
ZodObject<
{
epic: ZodOptional<
ZodObject<
{
done: ZodNumber;
id: ZodString;
origin_thread: ZodOptional<ZodString>;
tasks: ZodArray<
ZodObject<
{
blocked_by: ...;
id: ...;
lease: ...;
n: ...;
open_question: ...;
pull_request: ...;
status: ...;
title: ...;
},
"strip",
ZodTypeAny,
{
blocked_by: ...;
id: ...;
lease?: ...;
n?: ...;
open_question?: ...;
pull_request?: ...;
status: ...;
title: ...;
},
{
blocked_by: ...;
id: ...;
lease?: ...;
n?: ...;
open_question?: ...;
pull_request?: ...;
status: ...;
title: ...;
},
>,
"many",
>;
tasks_has_more: ZodBoolean;
title: ZodString;
total: ZodNumber;
},
"strip",
ZodTypeAny,
{
done: number;
id: string;
origin_thread?: string;
tasks: {
blocked_by: (...)[];
id: string;
lease?: (...) | (...);
n?: (...) | (...);
open_question?: (...) | (...);
pull_request?: (...) | (...);
status: string;
title: string;
}[];
tasks_has_more: boolean;
title: string;
total: number;
},
{
done: number;
id: string;
origin_thread?: string;
tasks: {
blocked_by: (...)[];
id: string;
lease?: (...) | (...);
n?: (...) | (...);
open_question?: (...) | (...);
pull_request?: (...) | (...);
status: string;
title: string;
}[];
tasks_has_more: boolean;
title: string;
total: number;
},
>,
>;
id: ZodString;
relation: ZodString;
task: ZodOptional<
ZodObject<
{
blocked_by: ZodArray<ZodString, "many">;
id: ZodString;
lease: ZodOptional<
ZodObject<
{ expires_at: ...; harness: ...; session_name: ... },
"strip",
ZodTypeAny,
{ expires_at?: ...; harness?: ...; session_name?: ... },
{ expires_at?: ...; harness?: ...; session_name?: ... },
>,
>;
n: ZodOptional<ZodNumber>;
open_question: ZodOptional<
ZodObject<
{ options: ...; recommended: ...; text: ...; version: ... },
"strip",
ZodTypeAny,
{ options: ...; recommended?: ...; text: ...; version: ... },
{ options: ...; recommended?: ...; text: ...; version: ... },
>,
>;
pull_request: ZodOptional<
ZodRecord<ZodString, ZodType<(...), (...), (...)>>,
>;
status: ZodString;
title: ZodString;
},
"strip",
ZodTypeAny,
{
blocked_by: string[];
id: string;
lease?: {
expires_at?: (...)
| (...);
harness?: (...) | (...);
session_name?: (...) | (...);
};
n?: number;
open_question?: {
options: (...)[];
recommended?: (...) | (...);
text: string;
version: number;
};
pull_request?: Record<string, (...) | (...)>;
status: string;
title: string;
},
{
blocked_by: string[];
id: string;
lease?: {
expires_at?: (...)
| (...);
harness?: (...) | (...);
session_name?: (...) | (...);
};
n?: number;
open_question?: {
options: (...)[];
recommended?: (...) | (...);
text: string;
version: number;
};
pull_request?: Record<string, (...) | (...)>;
status: string;
title: string;
},
>,
>;
},
"strip",
ZodTypeAny,
{
epic?: {
done: number;
id: string;
origin_thread?: string;
tasks: {
blocked_by: string[];
id: string;
lease?: { expires_at?: ...; harness?: ...; session_name?: ... };
n?: number;
open_question?: {
options: ...;
recommended?: ...;
text: ...;
version: ...;
};
pull_request?: Record<(...), (...)>;
status: string;
title: string;
}[];
tasks_has_more: boolean;
title: string;
total: number;
};
id: string;
relation: string;
task?: {
blocked_by: string[];
id: string;
lease?: {
expires_at?: string;
harness?: string;
session_name?: string;
};
n?: number;
open_question?: {
options: string[];
recommended?: string;
text: string;
version: number;
};
pull_request?: Record<string, {} | null>;
status: string;
title: string;
};
},
{
epic?: {
done: number;
id: string;
origin_thread?: string;
tasks: {
blocked_by: string[];
id: string;
lease?: { expires_at?: ...; harness?: ...; session_name?: ... };
n?: number;
open_question?: {
options: ...;
recommended?: ...;
text: ...;
version: ...;
};
pull_request?: Record<(...), (...)>;
status: string;
title: string;
}[];
tasks_has_more: boolean;
title: string;
total: number;
};
id: string;
relation: string;
task?: {
blocked_by: string[];
id: string;
lease?: {
expires_at?: string;
harness?: string;
session_name?: string;
};
n?: number;
open_question?: {
options: string[];
recommended?: string;
text: string;
version: number;
};
pull_request?: Record<string, {} | null>;
status: string;
title: string;
};
},
>,
"many",
>;
has_more: ZodBoolean;
},
"strip",
ZodTypeAny,
{
after_cursor?: string;
before_cursor?: string;
data: {
epic?: {
done: number;
id: string;
origin_thread?: string;
tasks: {
blocked_by: string[];
id: string;
lease?: {
expires_at?: (...)
| (...);
harness?: (...) | (...);
session_name?: (...) | (...);
};
n?: number;
open_question?: {
options: (...)[];
recommended?: (...) | (...);
text: string;
version: number;
};
pull_request?: Record<string, (...) | (...)>;
status: string;
title: string;
}[];
tasks_has_more: boolean;
title: string;
total: number;
};
id: string;
relation: string;
task?: {
blocked_by: string[];
id: string;
lease?: { expires_at?: string; harness?: string; session_name?: string };
n?: number;
open_question?: {
options: string[];
recommended?: string;
text: string;
version: number;
};
pull_request?: Record<string, {} | null>;
status: string;
title: string;
};
}[];
has_more: boolean;
},
{
after_cursor?: string;
before_cursor?: string;
data: {
epic?: {
done: number;
id: string;
origin_thread?: string;
tasks: {
blocked_by: string[];
id: string;
lease?: {
expires_at?: (...)
| (...);
harness?: (...) | (...);
session_name?: (...) | (...);
};
n?: number;
open_question?: {
options: (...)[];
recommended?: (...) | (...);
text: string;
version: number;
};
pull_request?: Record<string, (...) | (...)>;
status: string;
title: string;
}[];
tasks_has_more: boolean;
title: string;
total: number;
};
id: string;
relation: string;
task?: {
blocked_by: string[];
id: string;
lease?: { expires_at?: string; harness?: string; session_name?: string };
n?: number;
open_question?: {
options: string[];
recommended?: string;
text: string;
version: number;
};
pull_request?: Record<string, {} | null>;
status: string;
title: string;
};
}[];
has_more: boolean;
},
> = ...
Runtime validator for ThreadWorkList.