Skip to content

Commit b360a5c

Browse files
committed
add new batch status to api schema
1 parent 6b3dab9 commit b360a5c

File tree

1 file changed

+7
-1
lines changed
  • packages/core/src/v3/schemas

1 file changed

+7
-1
lines changed

packages/core/src/v3/schemas/api.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,13 @@ export const SubscribeRunRawShape = z.object({
11891189

11901190
export type SubscribeRunRawShape = z.infer<typeof SubscribeRunRawShape>;
11911191

1192-
export const BatchStatus = z.enum(["PENDING", "COMPLETED"]);
1192+
export const BatchStatus = z.enum([
1193+
"PENDING",
1194+
"PROCESSING",
1195+
"COMPLETED",
1196+
"PARTIAL_FAILED",
1197+
"ABORTED",
1198+
]);
11931199

11941200
export type BatchStatus = z.infer<typeof BatchStatus>;
11951201

0 commit comments

Comments
 (0)