Skip to main content

@idpass/data-collect-core / SyncLevel

Enumeration: SyncLevel

Defined in: interfaces/types.ts:117

Synchronization levels indicating how far data has propagated through the system.

Example​

const localForm: FormSubmission = {
syncLevel: SyncLevel.LOCAL, // Only on local device
// ... other properties
};

Enumeration Members​

LOCAL​

LOCAL: 0

Defined in: interfaces/types.ts:119

Local only - not synced anywhere


REMOTE​

REMOTE: 1

Defined in: interfaces/types.ts:121

Synced with remote DataCollect server


EXTERNAL​

EXTERNAL: 2

Defined in: interfaces/types.ts:123

Synced with external system (e.g. OpenSPP, SCOPE)