Skip to main content

Interface: SyncStatus

Defined in: contract.ts:111

@rasd/sync — the public entry point.

Two things ship here: the engine (createSyncEngine), which is transport agnostic and drives @rasd/storage's outbox, and the RSP v1 transport (createRspTransport), which is one implementation of the frozen SyncTransport port. A host talking to ODK Central, KoboToolbox or its own backend replaces the second without touching the first (docs/10-sync-protocol.md §10).

Nothing in this file has an implementation; every symbol is re-exported from the module that owns it, so the graph stays a DAG: contracttypespolicy / backoff / classifyidempotencyrsp-transportengine.

Properties

lastError

lastError:
| {
at: string;
code: string;
message: string;
}
| null;

Defined in: contract.ts:118


lastSyncAt

lastSyncAt: string | null;

Defined in: contract.ts:117


online

online: boolean;

Defined in: contract.ts:113


pendingAttachments

pendingAttachments: number;

Defined in: contract.ts:116


pendingSubmissions

pendingSubmissions: number;

Defined in: contract.ts:115


phase

phase: SyncPhase;

Defined in: contract.ts:112


rejected

rejected: number;

Defined in: contract.ts:120

Items the server rejected — they need a human, not a retry.


running

running: boolean;

Defined in: contract.ts:114