-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathsettings.js
93 lines (93 loc) · 1.96 KB
/
settings.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
85
86
87
88
89
90
91
92
93
/* List of Dovecot settings value types. */
export const setting_types = {
BOOLEAN: {
label: 'Boolean',
url: '[[link,settings_types_boolean]]',
default_required: true,
},
IPADDR: {
label: 'IP Address(es)',
url: '[[link,settings_types_ip]]',
// Default: empty
},
SIZE: {
label: 'Size',
url: '[[link,settings_types_size]]',
default_required: true,
},
STRING: {
label: 'String',
url: '[[link,settings_types_string]]'
// Default: empty
},
STRING_NOVAR: {
label: 'String Without Variables',
url: '[[link,settings_types_string_novar]]'
// Default: empty
},
/* This is a String entry, with specific allowable values. */
ENUM: {
label: 'String',
url: '[[link,settings_types_string]]',
enum_required: true,
},
TIME: {
label: 'Time',
url: '[[link,settings_types_time]]',
default_required: true,
},
TIME_MSECS: {
label: 'Time (milliseconds)',
url: '[[link,settings_types_time_msecs]]',
default_required: true,
},
UINT: {
label: 'Unsigned Integer',
url: '[[link,settings_types_uint]]',
default_required: true,
},
OCTAL_UINT: {
label: 'Octal Unsigned Integer',
url: '[[link,settings_types_octal_uint]]',
default_required: true,
},
URL: {
label: 'URL',
url: '[[link,settings_types_url]]'
// Default: empty
},
FILE: {
label: 'File',
url: '[[link,settings_types_file]]'
// Default: empty
},
NAMED_FILTER: {
label: 'Named Filter',
url: '[[link,settings_types_named_filter]]',
no_default: true,
},
NAMED_LIST_FILTER: {
label: 'Named List Filter',
url: '[[link,settings_types_named_list_filter]]'
// Default: empty
},
STRLIST: {
label: 'String List',
url: '[[link,settings_types_strlist]]'
// Default: empty
},
BOOLLIST: {
label: 'Boolean List',
url: '[[link,settings_types_boollist]]'
// Default: empty
},
IN_PORT: {
label: 'Port Number',
url: '[[link,settings_types_in_port]]',
default_required: true,
},
GROUP: {
label: 'Settings Group',
url: '[[link,settings_groups_includes]]'
}
}