Interface OfflineEditQueueRecoveryV1

Structured, payload-free account of one recovery pass.

Counts and reason codes only: identities are digests, and no edit.attributes or edit.geometry value is read, copied, or reported. error carries the same envelope every other queue failure uses, so a host routes a discard through its existing offline error path.

interface OfflineEditQueueRecoveryV1 {
    discardedByReason: Readonly<Record<OfflineEditQueueDiscardReason, number>>;
    discardedRecords: number;
    error: HonuaOfflineEditQueueError;
    inspectedRecords: number;
    kind: "honua.offline-edit-queue-recovery";
    operation: "open" | "read";
    repairedByReason: Readonly<Record<"restored-metadata", number>>;
    repairedRecords: number;
    version: 1;
}

Properties

discardedByReason: Readonly<Record<OfflineEditQueueDiscardReason, number>>
discardedRecords: number
inspectedRecords: number
kind
operation: "open" | "read"

open is the startup pass; read is a record refused between passes.

repairedByReason: Readonly<Record<"restored-metadata", number>>
repairedRecords: number
version