Interface: SyncStatus
Defined in: client/lib/core/sync/index.d.ts:101
A point-in-time reading of one stack's replication.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
direction | SyncDirection | Direction this handle was started with. | client/lib/core/sync/index.d.ts:107 |
lastActiveAt | number | null | When documents last moved, in either direction. | client/lib/core/sync/index.d.ts:117 |
lastConvergedAt | number | null | When the replica last converged - a cycle completed with nothing left to send. null until the first one. This is the value a UI should render as "last synced", not lastActiveAt. | client/lib/core/sync/index.d.ts:115 |
lastError | | { message: string; name?: string; status?: number; } | null | The last failure seen, kept even after replication recovers. | client/lib/core/sync/index.d.ts:119 |
live | boolean | Whether the handle is following changes or ran once. | client/lib/core/sync/index.d.ts:109 |
pulled | number | Documents written locally since this handle started. | client/lib/core/sync/index.d.ts:127 |
pushed | number | Documents written to the remote since this handle started. | client/lib/core/sync/index.d.ts:125 |
stack | string | The stack this status belongs to. | client/lib/core/sync/index.d.ts:103 |
state | SyncState | See SyncState. | client/lib/core/sync/index.d.ts:105 |