Interface LocalFirstWrites

interface LocalFirstWrites {
    conflictedCount: number;
    conflictedEditIds: readonly `sha256:${string}`[];
    conflictedEditIdsTruncated: boolean;
    counts: Readonly<Record<OfflineQueuedEditState, number>>;
    coverage: LocalFirstWriteCoverage;
    nextRetryAt?: string;
    oldestUndeliveredAt?: string;
    state: LocalFirstWriteState;
    syncConflicts: readonly OfflineReplaySyncConflictProjectionV1[];
    undeliveredCount: number;
}

Properties

conflictedCount: number
conflictedEditIds: readonly `sha256:${string}`[]

Bounded, code-unit ordered; conflictedCount remains the complete total.

conflictedEditIdsTruncated: boolean
counts: Readonly<Record<OfflineQueuedEditState, number>>

complete when authoritative queue totals were supplied; sampled when the counts were derived from a bounded edits list, which list caps at 100 records without a cursor.

nextRetryAt?: string
oldestUndeliveredAt?: string
syncConflicts: readonly OfflineReplaySyncConflictProjectionV1[]

The same conflicted edits, projected onto the shipped sync-conflict contracts — one entry per conflictedEditIds id, in the same order. Empty unless options.replica supplied a replica binding, because a conflict cannot be attributed to a replica the SDK never saw. An entry may be a typed refusal; conflictedEditIdsTruncated still governs completeness.

undeliveredCount: number

pending, leased, and retryable work: local, durable, unacknowledged.