17 lines
858 B
TypeScript
17 lines
858 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { EvaluationRunCompleteEvent } from "./EvaluationRunCompleteEvent";
|
|
import type { EvaluationRunErrorEvent } from "./EvaluationRunErrorEvent";
|
|
import type { EvaluationRunFatalErrorEvent } from "./EvaluationRunFatalErrorEvent";
|
|
import type { EvaluationRunStartEvent } from "./EvaluationRunStartEvent";
|
|
import type { EvaluationRunSuccessEvent } from "./EvaluationRunSuccessEvent";
|
|
|
|
/**
|
|
* SSE event types for evaluation streaming.
|
|
*/
|
|
export type EvaluationRunEvent =
|
|
| ({ type: "start" } & EvaluationRunStartEvent)
|
|
| ({ type: "success" } & EvaluationRunSuccessEvent)
|
|
| ({ type: "error" } & EvaluationRunErrorEvent)
|
|
| ({ type: "fatal_error" } & EvaluationRunFatalErrorEvent)
|
|
| ({ type: "complete" } & EvaluationRunCompleteEvent);
|