Skip to main content

@idpass/data-collect-core / SyncLevel

Enumeration: SyncLevel

Defined in: interfaces/types.ts:111

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:113

Local only - not synced anywhere


REMOTE

REMOTE: 1

Defined in: interfaces/types.ts:115

Synced with remote DataCollect server


EXTERNAL

EXTERNAL: 2

Defined in: interfaces/types.ts:117

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