Interface: CloudSyncWriteKey
Defined in: shared/types/cloudSync.ts:92
Common write ordering key.
Remarksโ
Ordering is deterministic:
- Higher timestamp wins.
- Tie-breaker: lexicographic
deviceId. - Tie-breaker (same device): higher
opIdwins.
Propertiesโ
deviceIdโ
readonlydeviceId:string
Defined in: shared/types/cloudSync.ts:94
Device identifier that produced the write.
opIdโ
readonlyopId:number
Defined in: shared/types/cloudSync.ts:96
Monotonic per-device operation id.
timestampโ
readonlytimestamp:number
Defined in: shared/types/cloudSync.ts:98
Unix epoch milliseconds (UTC).