-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.js
84 lines (76 loc) · 1.65 KB
/
options.js
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
const Regex = require('@companion-module/base')
module.exports = {
UnitIP: {
id: 'unitIP',
type: 'textinput',
label: 'MasterCue IP Address (shown on screen)',
width: 8,
regex: Regex.IP,
default: '123.456.7.8',
},
UnitID: {
id: 'unitId',
type: 'textinput',
label: 'MasterCue ID (shown on screen)',
width: 8,
regex: "/^[0-9]+\\-[0-9]+\\-[0-9]+$/",
default: '001-123-456',
},
Output: {
id: 'outputNumber',
type: 'number',
label: 'Output Number',
min: 1,
max: 6,
default: 1,
},
MultiOutput: {
id: 'outputNumbers',
type: 'multidropdown',
label: 'Output Numbers',
tooltip: 'Which ports do you want to affect?',
choices: [
{ id: '1', label: 'Output 1' },
{ id: '2', label: 'Output 2' },
{ id: '3', label: 'Output 3' },
{ id: '4', label: 'Output 4' },
{ id: '5', label: 'Output 5' },
{ id: '6', label: 'Output 6' }
],
default: '1',
},
OutputState: {
id: 'outputState',
type: 'dropdown',
label: 'Setting',
choices: [
{ id: 'outputOn', label: 'Enabled' },
{ id: 'outputOff', label: 'Disabled' },
{ id: 'outputToggle', label: 'Toggle' },
],
default: 'outputOn',
},
EnableBlackout: {
id: 'enableBlackout',
type: 'checkbox',
label: 'Enable Blackout',
default: true,
},
TechnicianMode: {
id: 'enableFullCues',
type: 'checkbox',
label: 'Enable Full Cues',
default: true,
},
CueType: {
id: 'cueType',
type: 'dropdown',
label: 'Cue Type',
choices: [
{ id: 'next', label: 'Next' },
{ id: 'back', label: 'Back' },
{ id: 'black', label: 'Blackout' },
],
default: 'next',
},
};