File tree Expand file tree Collapse file tree 1 file changed +58
-58
lines changed
Expand file tree Collapse file tree 1 file changed +58
-58
lines changed Original file line number Diff line number Diff line change @@ -6,31 +6,31 @@ export type IniStringBooleanOrAuto = 'auto' | 'no' | 'yes';
66type Unit = 'C' | 'F' ;
77
88interface Display {
9- align : string ;
10- banner : string ;
11- critical : string ;
12- custom : string ;
13- dashapps : string ;
14- date : string ;
15- time : string ;
16- hot : string ;
17- max : string ;
18- number : string ;
19- refresh : string ;
20- resize : string ;
21- scale : string ;
22- tabs : string ;
23- text : string ;
24- theme : string ;
25- total : string ;
26- unit : Unit ;
27- usage : string ;
28- warning : string ;
29- wwn : string ;
30- locale : string ;
9+ align : string ;
10+ banner : string ;
11+ critical : string ;
12+ custom : string ;
13+ dashapps : string ;
14+ date : string ;
15+ time ? : string ;
16+ hot : string ;
17+ max : string ;
18+ number : string ;
19+ refresh : string ;
20+ resize : string ;
21+ scale : string ;
22+ tabs : string ;
23+ text : string ;
24+ theme : string ;
25+ total : string ;
26+ unit : Unit ;
27+ usage : string ;
28+ warning : string ;
29+ wwn : string ;
30+ locale : string ;
3131}
3232
33- /**
33+ /**
3434 * Represents [Notification Settings](http://tower.local/Settings/Notifications),
3535 * which live in `/boot/config/plugins/dynamix/dynamix.cfg` under the `[notify]` section.
3636 */
@@ -42,60 +42,60 @@ interface Notify {
4242 plugin : string ;
4343 docker_notify : string ;
4444 report : string ;
45- /** Date format: DD-MM-YYYY, MM-DD-YYY, or YYYY-MM-DD */
45+ /** Date format: DD-MM-YYYY, MM-DD-YYY, or YYYY-MM-DD */
4646 date : 'd-m-Y' | 'm-d-Y' | 'Y-m-d' ;
47- /**
48- * Time format:
49- * - `hi: A` => 12 hr
50- * - `H:i` => 24 hr (default)
51- */
47+ /**
48+ * Time format:
49+ * - `hi: A` => 12 hr
50+ * - `H:i` => 24 hr (default)
51+ */
5252 time : 'h:i A' | 'H:i' ;
5353 position : string ;
5454 /** path for notifications (defaults to '/tmp/notifications') */
5555 path : string ;
56- /**
57- * The 'Notifications Display' field:
58- * - 0 => Detailed (default)
59- * - 1 => Summarized
60- */
56+ /**
57+ * The 'Notifications Display' field:
58+ * - 0 => Detailed (default)
59+ * - 1 => Summarized
60+ */
6161 display : '0' | '1' ;
6262 system : string ;
6363 version : string ;
6464 docker_update : string ;
6565}
6666
6767interface Ssmtp {
68- service : string ;
69- root : string ;
70- rcptTo : string ;
71- setEmailPriority : string ;
72- subject : string ;
73- server : string ;
74- port : string ;
75- useTls : string ;
76- useStarttls : string ;
77- useTlsCert : string ;
78- authMethod : string ;
79- authUser : string ;
80- authPass : string ;
68+ service : string ;
69+ root : string ;
70+ rcptTo : string ;
71+ setEmailPriority : string ;
72+ subject : string ;
73+ server : string ;
74+ port : string ;
75+ useTls : string ;
76+ useStarttls : string ;
77+ useTlsCert : string ;
78+ authMethod : string ;
79+ authUser : string ;
80+ authPass : string ;
8181}
8282
8383interface Parity {
84- mode : string ;
85- dotm : string ;
86- hour : string ;
84+ mode : string ;
85+ dotm : string ;
86+ hour : string ;
8787}
8888
8989interface Remote {
90- wanaccess : string ;
91- wanport : string ;
92- apikey : string ;
90+ wanaccess : string ;
91+ wanport : string ;
92+ apikey : string ;
9393}
9494
9595export interface DynamixConfig extends Record < string , unknown > {
96- display : Display ;
97- notify : Notify ;
98- ssmtp : Ssmtp ;
99- parity : Parity ;
100- remote : Remote ;
96+ display : Display ;
97+ notify : Notify ;
98+ ssmtp : Ssmtp ;
99+ parity : Parity ;
100+ remote : Remote ;
101101}
You can’t perform that action at this time.
0 commit comments