O3 Framework / DynamicOfflineData
Defined in: packages/framework/esm-offline/src/dynamic-offline-data.ts:44
Represents the registration of a single dynamic offline data entry.
optionalid:number
Defined in: packages/framework/esm-offline/src/dynamic-offline-data.ts:48
The internal ID of the data entry, as assigned by the IndexedDB where it is stored.
identifier:
string
Defined in: packages/framework/esm-offline/src/dynamic-offline-data.ts:58
The externally provided identifier of the data entry. This is typically the ID of the resource as assigned by a remote API.
optionalsyncState:DynamicOfflineDataSyncState
Defined in: packages/framework/esm-offline/src/dynamic-offline-data.ts:67
If this entry has already been synced, returns the result of that last sync attempt.
Otherwise this is undefined.
type:
string
Defined in: packages/framework/esm-offline/src/dynamic-offline-data.ts:53
The underlying type used for categorizing the data entry.
Examples could be "patient" or "form".
users:
string[]
Defined in: packages/framework/esm-offline/src/dynamic-offline-data.ts:62
The UUIDs of the users who need this data entry available offline.