-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: doc updated, bable parser replaced
- Loading branch information
1 parent
44913bb
commit e134441
Showing
7 changed files
with
96 additions
and
48 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
@@ -1,22 +1,21 @@ | ||
export type DOWNLOAD_MANAGER_STATUS_TYPE = { | ||
[x: string]: string | undefined | ||
} | ||
|
||
export const DOWNLOAD_MANAGER_STATUS: DOWNLOAD_MANAGER_STATUS_TYPE = { | ||
'1008':'ERROR_CANNOT_RESUME', | ||
'1007':'ERROR_DEVICE_NOT_FOUND', | ||
'1009':'ERROR_FILE_ALREADY_EXISTS', | ||
'1001':'ERROR_FILE_ERROR', | ||
'1004':'ERROR_HTTP_DATA_ERROR', | ||
'1006':'ERROR_INSUFFICIENT_SPACE', | ||
'1005':'ERROR_TOO_MANY_REDIRECTS', | ||
'1002':'ERROR_UNHANDLED_HTTP_CODE', | ||
'1000':'ERROR_UNKNOWN', | ||
'3':'PAUSED_QUEUED_FOR_WIFI', | ||
'4':'PAUSED_UNKNOWN', | ||
'2':'PAUSED_WAITING_FOR_NETWORK', | ||
'1':'PAUSED_WAITING_TO_RETRY', | ||
'16':'STATUS_FAILED', | ||
'8':'STATUS_SUCCESSFUL', | ||
[x: string]: string | undefined; | ||
}; | ||
|
||
export const DOWNLOAD_MANAGER_STATUS: DOWNLOAD_MANAGER_STATUS_TYPE = { | ||
'1008': 'ERROR_CANNOT_RESUME', | ||
'1007': 'ERROR_DEVICE_NOT_FOUND', | ||
'1009': 'ERROR_FILE_ALREADY_EXISTS', | ||
'1001': 'ERROR_FILE_ERROR', | ||
'1004': 'ERROR_HTTP_DATA_ERROR', | ||
'1006': 'ERROR_INSUFFICIENT_SPACE', | ||
'1005': 'ERROR_TOO_MANY_REDIRECTS', | ||
'1002': 'ERROR_UNHANDLED_HTTP_CODE', | ||
'1000': 'ERROR_UNKNOWN', | ||
'3': 'PAUSED_QUEUED_FOR_WIFI', | ||
'4': 'PAUSED_UNKNOWN', | ||
'2': 'PAUSED_WAITING_FOR_NETWORK', | ||
'1': 'PAUSED_WAITING_TO_RETRY', | ||
'16': 'STATUS_FAILED', | ||
'8': 'STATUS_SUCCESSFUL', | ||
}; |
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
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