Interface: CloudSyncWriteKey
Defined in: shared/types/cloudSync.ts:97
Common write ordering key.
Remarksโ
Ordering is deterministic:
- Higher timestamp wins.
- Tie-breaker: lexicographic
deviceId. - Tie-breaker (same device): higher
opIdwins.
Propertiesโ
deviceIdโ
readonly deviceId: string;
Defined in: shared/types/cloudSync.ts:99
Device identifier that produced the write.
opIdโ
readonly opId: number;
Defined in: shared/types/cloudSync.ts:101
Monotonic per-device operation id.
timestampโ
readonly timestamp: number;
Defined in: shared/types/cloudSync.ts:103
Unix epoch milliseconds (UTC).