Persist client document read failures with stale-state protection

This commit is contained in:
2026-09-06 09:36:47 +03:00
parent a109c2e548
commit ba1f93bd76
6 changed files with 52 additions and 3 deletions
+3
View File
@@ -106,3 +106,6 @@ export const bildirimOkundu = (idler) => iste('/api/me/bildirimler', { method: '
export const getTenderStates = () => iste('/api/me/tender-state').then(d => d.records || {});
export const saveTenderState = (key, patch, snapshot, version) =>
iste('/api/me/tender-state', {method:'PUT',body:JSON.stringify({key,patch,snapshot,version})}).then(d => d.record);
export const reportDocumentReadError = (id, expectedProcessing) =>
iste('/api/me/documents/read-error', { method:'POST', body:JSON.stringify({id,expectedProcessing:expectedProcessing ?? null}) });