colaborative tích hợp redis để đồng bộ toàn bộ annotation

This commit is contained in:
2026-04-01 18:29:56 +07:00
parent 9335e56322
commit 8546d41a26
9 changed files with 372 additions and 26 deletions
+5
View File
@@ -47,4 +47,9 @@ export const api = {
method: "PUT",
body: JSON.stringify(body),
}),
upsertTempAnnotation: (pdfId: number, page: number, body: { canvas_data: object }) =>
request<void>(`/api/annotations/${pdfId}/${page}/temp`, {
method: "PUT",
body: JSON.stringify(body),
}),
};