-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.ts
39 lines (38 loc) · 928 Bytes
/
constants.ts
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
36
37
38
39
// Action keys, global for all app
const actions = {
UI: {
SET: {
OV: {
VERSION: 'ui.set.ov.version',
AVAILABLE_DEVICES: 'ui.set.ov.availableDevices',
},
},
START: {
SSD_INFERENCE: 'ui.start.ssdRunInference',
},
END: {
SELECT_IMG: 'ui.end.selectImg',
SSD_INFERENCE: 'ui.end.ssdRunInference',
DOWNLOAD_SEGMENTATION_MODEL: 'ui.end.downloadSegmentationModel',
},
EXCEPTION: 'ui.exception',
},
BE: {
OPEN_SAMPLE: 'be.openSample',
GET: {
OV: {
VERSION: 'be.get.ov.version',
AVAILABLE_DEVICES: 'be.get.ov.availableDevices',
},
},
START: {
DOWNLOAD_SEGMENTATION_MODEL: 'be.start.downloadSegmentationModel',
OV: {
SELECT_IMG: 'be.start.ov.selectImg',
SSD_INFERENCE: 'be.start.ov.ssdInference',
},
},
}
};
export const BE = actions.BE;
export const UI = actions.UI;