forked from lisong/code-push-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconst.ts
More file actions
35 lines (27 loc) · 951 Bytes
/
Copy pathconst.ts
File metadata and controls
35 lines (27 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// supported platforms
// TODO: refactor to enums and put name mapping into util method
export const IOS = 1;
export const IOS_NAME = 'iOS';
export const ANDROID = 2;
export const ANDROID_NAME = 'Android';
export const WINDOWS = 3;
export const WINDOWS_NAME = 'Windows';
// supported apps
export const REACT_NATIVE = 1;
export const REACT_NATIVE_NAME = 'React-Native';
export const CORDOVA = 2;
export const CORDOVA_NAME = 'Cordova';
// supported env
export const PRODUCTION = 'Production';
export const STAGING = 'Staging';
// flags
export const IS_MANDATORY_YES = 1;
export const IS_MANDATORY_NO = 0;
export const IS_DISABLED_YES = 1;
export const IS_DISABLED_NO = 0;
export const DEPLOYMENT_SUCCEEDED = 1;
export const DEPLOYMENT_FAILED = 2;
export const RELEASE_METHOD_PROMOTE = 'Promote';
export const RELEASE_METHOD_UPLOAD = 'Upload';
export const DIFF_MANIFEST_FILE_NAME = 'hotcodepush.json';
export const CURRENT_DB_VERSION = '0.5.0';