All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
581 B
TypeScript
27 lines
581 B
TypeScript
import { TaskCompletionEvent } from "./events.js";
|
|
import { PredictionQuery, PredictionResponse } from "./predictions.js";
|
|
|
|
export interface BatchEventRequest {
|
|
events: TaskCompletionEvent[];
|
|
}
|
|
|
|
export interface BatchEventResult {
|
|
event_id: string;
|
|
status: "accepted" | "rejected";
|
|
error?: string | null;
|
|
}
|
|
|
|
export interface BatchEventResponse {
|
|
accepted: number;
|
|
rejected: number;
|
|
results: BatchEventResult[];
|
|
}
|
|
|
|
export interface BatchPredictionRequest {
|
|
queries: PredictionQuery[];
|
|
}
|
|
|
|
export interface BatchPredictionResponse {
|
|
results: PredictionResponse[];
|
|
}
|