MCPcopy
hub / github.com/Zleap-AI/SAG / UploadJobRecord

Interface UploadJobRecord

src/services/webui-service.ts:32–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30type UploadJobStatus = "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED";
31
32export interface UploadJobRecord {
33 id: string;
34 sourceId: string;
35 fileName: string;
36 title: string;
37 status: UploadJobStatus;
38 stage: IngestProgressStage;
39 message: string;
40 progress: number;
41 chunkCount?: number;
42 eventCount?: number;
43 currentChunk?: number;
44 totalChunks?: number;
45 documentId?: string;
46 traceId?: string;
47 error?: string;
48 createdAt: string;
49 updatedAt: string;
50}
51
52export class WebuiService {
53 private readonly uploadJobs = new Map<string, UploadJobRecord>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected