|
7 | 7 | //
|
8 | 8 | #import "RNFetchBlobConst.h"
|
9 | 9 |
|
10 |
| -extern NSString *const FILE_PREFIX = @"RNFetchBlob-file://"; |
11 |
| -extern NSString *const ASSET_PREFIX = @"bundle-assets://"; |
12 |
| -extern NSString *const AL_PREFIX = @"assets-library://"; |
| 10 | +NSString *const FILE_PREFIX = @"RNFetchBlob-file://"; |
| 11 | +NSString *const ASSET_PREFIX = @"bundle-assets://"; |
| 12 | +NSString *const AL_PREFIX = @"assets-library://"; |
13 | 13 |
|
14 | 14 | // fetch configs
|
15 |
| -extern NSString *const CONFIG_USE_TEMP = @"fileCache"; |
16 |
| -extern NSString *const CONFIG_FILE_PATH = @"path"; |
17 |
| -extern NSString *const CONFIG_FILE_EXT = @"appendExt"; |
18 |
| -extern NSString *const CONFIG_TRUSTY = @"trusty"; |
19 |
| -extern NSString *const CONFIG_INDICATOR = @"indicator"; |
20 |
| -extern NSString *const CONFIG_KEY = @"key"; |
21 |
| -extern NSString *const CONFIG_EXTRA_BLOB_CTYPE = @"binaryContentTypes"; |
| 15 | +NSString *const CONFIG_USE_TEMP = @"fileCache"; |
| 16 | +NSString *const CONFIG_FILE_PATH = @"path"; |
| 17 | +NSString *const CONFIG_FILE_EXT = @"appendExt"; |
| 18 | +NSString *const CONFIG_TRUSTY = @"trusty"; |
| 19 | +NSString *const CONFIG_INDICATOR = @"indicator"; |
| 20 | +NSString *const CONFIG_KEY = @"key"; |
| 21 | +NSString *const CONFIG_EXTRA_BLOB_CTYPE = @"binaryContentTypes"; |
22 | 22 |
|
23 |
| -extern NSString *const EVENT_STATE_CHANGE = @"RNFetchBlobState"; |
24 |
| -extern NSString *const EVENT_SERVER_PUSH = @"RNFetchBlobServerPush"; |
25 |
| -extern NSString *const EVENT_PROGRESS = @"RNFetchBlobProgress"; |
26 |
| -extern NSString *const EVENT_PROGRESS_UPLOAD = @"RNFetchBlobProgress-upload"; |
27 |
| -extern NSString *const EVENT_EXPIRE = @"RNFetchBlobExpire"; |
| 23 | +NSString *const EVENT_STATE_CHANGE = @"RNFetchBlobState"; |
| 24 | +NSString *const EVENT_SERVER_PUSH = @"RNFetchBlobServerPush"; |
| 25 | +NSString *const EVENT_PROGRESS = @"RNFetchBlobProgress"; |
| 26 | +NSString *const EVENT_PROGRESS_UPLOAD = @"RNFetchBlobProgress-upload"; |
| 27 | +NSString *const EVENT_EXPIRE = @"RNFetchBlobExpire"; |
28 | 28 |
|
29 |
| -extern NSString *const MSG_EVENT = @"RNFetchBlobMessage"; |
30 |
| -extern NSString *const MSG_EVENT_LOG = @"log"; |
31 |
| -extern NSString *const MSG_EVENT_WARN = @"warn"; |
32 |
| -extern NSString *const MSG_EVENT_ERROR = @"error"; |
33 |
| -extern NSString *const FS_EVENT_DATA = @"data"; |
34 |
| -extern NSString *const FS_EVENT_END = @"end"; |
35 |
| -extern NSString *const FS_EVENT_WARN = @"warn"; |
36 |
| -extern NSString *const FS_EVENT_ERROR = @"error"; |
| 29 | +NSString *const MSG_EVENT = @"RNFetchBlobMessage"; |
| 30 | +NSString *const MSG_EVENT_LOG = @"log"; |
| 31 | +NSString *const MSG_EVENT_WARN = @"warn"; |
| 32 | +NSString *const MSG_EVENT_ERROR = @"error"; |
| 33 | +NSString *const FS_EVENT_DATA = @"data"; |
| 34 | +NSString *const FS_EVENT_END = @"end"; |
| 35 | +NSString *const FS_EVENT_WARN = @"warn"; |
| 36 | +NSString *const FS_EVENT_ERROR = @"error"; |
37 | 37 |
|
38 |
| -extern NSString *const KEY_REPORT_PROGRESS = @"reportProgress"; |
39 |
| -extern NSString *const KEY_REPORT_UPLOAD_PROGRESS = @"reportUploadProgress"; |
| 38 | +NSString *const KEY_REPORT_PROGRESS = @"reportProgress"; |
| 39 | +NSString *const KEY_REPORT_UPLOAD_PROGRESS = @"reportUploadProgress"; |
40 | 40 |
|
41 | 41 | // response type
|
42 |
| -extern NSString *const RESP_TYPE_BASE64 = @"base64"; |
43 |
| -extern NSString *const RESP_TYPE_UTF8 = @"utf8"; |
44 |
| -extern NSString *const RESP_TYPE_PATH = @"path"; |
| 42 | +NSString *const RESP_TYPE_BASE64 = @"base64"; |
| 43 | +NSString *const RESP_TYPE_UTF8 = @"utf8"; |
| 44 | +NSString *const RESP_TYPE_PATH = @"path"; |
0 commit comments