Skip to main content

Interface: CloudSyncManifest

Defined in: shared/types/cloudSyncManifest.ts:36

Remote manifest holding pointers and compaction metadata.

Propertiesโ€‹

devicesโ€‹

devices: Record<string, { compactedUpToOpId: number; lastSeenAt: number; }>

Defined in: shared/types/cloudSyncManifest.ts:37


encryption?โ€‹

optional encryption: CloudEncryptionConfig

Defined in: shared/types/cloudSyncManifest.ts:45

Optional remote encryption configuration (non-secret).


lastCompactionAt?โ€‹

optional lastCompactionAt: number

Defined in: shared/types/cloudSyncManifest.ts:47

Timestamp (epoch ms) of last compaction/snapshot.


latestSnapshotKey?โ€‹

optional latestSnapshotKey: string

Defined in: shared/types/cloudSyncManifest.ts:49

Provider key for the latest snapshot.


manifestVersionโ€‹

manifestVersion: 1

Defined in: shared/types/cloudSyncManifest.ts:50


resetAt?โ€‹

optional resetAt: number

Defined in: shared/types/cloudSyncManifest.ts:58

Optional epoch timestamp indicating the remote sync history was reset.

Remarksโ€‹

When set, op objects with a createdAtEpochMs prior to this value are ignored.


syncSchemaVersionโ€‹

syncSchemaVersion: 1

Defined in: shared/types/cloudSyncManifest.ts:59