feat(client): track digital sync retry history

This commit is contained in:
baiyanyun
2026-06-07 01:42:39 +08:00
parent 646901b5fa
commit cef3fe4a43
10 changed files with 375 additions and 133 deletions

View File

@@ -64,6 +64,15 @@ interface QimingclawSyncStatus {
recentFailures?: QimingclawSyncFailure[];
}
interface QimingclawSyncAttempt {
attemptNo: number;
status: string;
error: string | null;
endpoint?: string | null;
startedAt: string;
finishedAt: string;
}
interface QimingclawSyncFailure {
id: string;
entityType: string;
@@ -74,6 +83,7 @@ interface QimingclawSyncFailure {
nextRetryAt?: string | null;
dueForRetry?: boolean;
managementRecordUrl?: string | null;
attemptHistory?: QimingclawSyncAttempt[];
error: string | null;
createdAt: string;
updatedAt: string;