Files
telemetry-client-js/src/types/common.ts
Jason Woltje 493bc72601
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
chore(#1): apply Prettier formatting to all source and test files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 22:48:08 -06:00

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[];
}