chore: legacy fixes (#2343)
This commit is contained in:
@@ -4,11 +4,11 @@ export enum SyncMode {
|
||||
/**
|
||||
* Performs a standard sync, uploading any dirty items and retrieving items.
|
||||
*/
|
||||
Default = 1,
|
||||
Default = 'Default',
|
||||
/**
|
||||
* The first sync for an account, where we first want to download all remote items first
|
||||
* before uploading any dirty items. This allows a consumer, for example, to download
|
||||
* all data to see if user has an items key, and if not, only then create a new one.
|
||||
*/
|
||||
DownloadFirst = 2,
|
||||
DownloadFirst = 'DownloadFirst',
|
||||
}
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
/* istanbul ignore file */
|
||||
|
||||
export enum SyncSource {
|
||||
External = 1,
|
||||
SpawnQueue = 2,
|
||||
ResolveQueue = 3,
|
||||
MoreDirtyItems = 4,
|
||||
AfterDownloadFirst = 5,
|
||||
IntegrityCheck = 6,
|
||||
ResolveOutOfSync = 7,
|
||||
External = 'External',
|
||||
SpawnQueue = 'SpawnQueue',
|
||||
ResolveQueue = 'ResolveQueue',
|
||||
MoreDirtyItems = 'MoreDirtyItems',
|
||||
DownloadFirst = 'DownloadFirst',
|
||||
AfterDownloadFirst = 'AfterDownloadFirst',
|
||||
IntegrityCheck = 'IntegrityCheck',
|
||||
ResolveOutOfSync = 'ResolveOutOfSync',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user