From 3cf6bac4561b6fed1bfc06cbe7596280164319a6 Mon Sep 17 00:00:00 2001 From: weichen Date: Tue, 29 Sep 2026 18:00:09 +0000 Subject: [PATCH] Add UploadInfo to the TS contract mirror. --- ts/types.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ts/types.ts b/ts/types.ts index cf49f1e..570bec7 100644 --- a/ts/types.ts +++ b/ts/types.ts @@ -196,3 +196,8 @@ export interface RetrievalHit { doc: { id: ID; projectId?: ID; source: string; title: string; ref?: string; chunk: string; createdAt: string }; score: number; kind: 'fulltext' | 'vector' | 'plugin'; } + +export interface UploadInfo { + artifactId: ID; filename: string; mime?: string; size: number; + parsed?: ParsedDocument; +}