-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
327786e
commit 9c9f588
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/apps/main/analytics/helpers/virtualDriveErrorToTrackedActionsMap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { VirtualDriveError } from '../../../../shared/issues/VirtualDriveError'; | ||
import { TrackedActions } from '../../../shared/IPC/events/sync-engine'; | ||
|
||
export const virtualDriveErrorToTrackedActionsMap = new Map< | ||
VirtualDriveError, | ||
TrackedActions | ||
>([ | ||
['UPLOAD_ERROR', 'Upload Error'], | ||
['DOWNLOAD_ERROR', 'Download Error'], | ||
['RENAME_ERROR', 'Rename Error'], | ||
['DELETE_ERROR', 'Delete Error'], | ||
// FOLDERS | ||
['FOLDER_RENAME_ERROR', 'Rename Error'], | ||
['FOLDER_CREATE_ERROR', 'Upload Error'], | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters