Migrate worker and backend contract to an operation-centric model, introducing opKey-based deduplication for Whisper alignment and PDF layout parsing. Add new operation request/state types and update worker endpoints to accept generic operation requests and expose operation status via SSE. Refactor client and server logic to support operation flows. Update deployment docs, environment examples, and Dockerfile to reflect new architecture and dependency management.
15 lines
436 B
TypeScript
15 lines
436 B
TypeScript
export {
|
|
type PdfLayoutJobRequest,
|
|
type PdfLayoutJobResult,
|
|
type PdfLayoutOperationRequest,
|
|
type WhisperAlignJobRequest,
|
|
type WhisperAlignJobResult,
|
|
type WhisperAlignOperationRequest,
|
|
type WorkerJobErrorShape,
|
|
type WorkerOperationKind,
|
|
type WorkerOperationRequest,
|
|
type WorkerOperationState,
|
|
type WorkerJobState,
|
|
type WorkerJobTiming,
|
|
type WorkerJobStatusResponse,
|
|
} from '@openreader/compute-core/contracts';
|