homebridge-dummy 1.3.0-beta.0 → 1.3.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/accessory/base.js +5 -6
- package/dist/accessory/base.js.map +1 -1
- package/dist/accessory/lock.js +13 -8
- package/dist/accessory/lock.js.map +1 -1
- package/dist/accessory/onoff/lightbulb.d.ts +1 -1
- package/dist/accessory/onoff/lightbulb.js +21 -12
- package/dist/accessory/onoff/lightbulb.js.map +1 -1
- package/dist/accessory/onoff/onoff.js +11 -6
- package/dist/accessory/onoff/onoff.js.map +1 -1
- package/dist/accessory/position/position.js +13 -8
- package/dist/accessory/position/position.js.map +1 -1
- package/dist/accessory/thermostat.js +26 -19
- package/dist/accessory/thermostat.js.map +1 -1
- package/dist/homebridge/platform.js +2 -2
- package/dist/homebridge/platform.js.map +1 -1
- package/dist/homebridge-ui/public/index.html +1 -1
- package/dist/i18n/en.d.ts +87 -85
- package/dist/i18n/en.js +87 -85
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/i18n.d.ts +88 -87
- package/dist/i18n/i18n.js +0 -6
- package/dist/i18n/i18n.js.map +1 -1
- package/dist/i18n/template.d.ts +89 -87
- package/dist/i18n/template.js +2 -2
- package/dist/i18n/template.js.map +1 -1
- package/dist/timeout/limiter.d.ts +2 -1
- package/dist/timeout/limiter.js +39 -29
- package/dist/timeout/limiter.js.map +1 -1
- package/dist/timeout/schedule.js +4 -4
- package/dist/timeout/schedule.js.map +1 -1
- package/dist/timeout/timer.d.ts +8 -1
- package/dist/timeout/timer.js +49 -12
- package/dist/timeout/timer.js.map +1 -1
- package/dist/tools/storage.d.ts +14 -7
- package/dist/tools/storage.js +40 -19
- package/dist/tools/storage.js.map +1 -1
- package/package.json +1 -1
- package/dist/i18n/zz.d.ts +0 -233
- package/dist/i18n/zz.js +0 -6
- package/dist/i18n/zz.js.map +0 -1
package/dist/i18n/i18n.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import en from './en.js';
|
|
2
2
|
export declare enum Language {
|
|
3
|
-
EN = "en"
|
|
4
|
-
ZZ = "zz"
|
|
3
|
+
EN = "en"
|
|
5
4
|
}
|
|
6
5
|
export type Translation = typeof en;
|
|
7
6
|
export declare function getLanguage(): Language;
|
|
@@ -12,88 +11,78 @@ declare const translations: {
|
|
|
12
11
|
badValueType: string;
|
|
13
12
|
invalidCron: string;
|
|
14
13
|
missingRequired: string;
|
|
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
|
-
|
|
14
|
+
};
|
|
15
|
+
command: {
|
|
16
|
+
error: string;
|
|
17
|
+
executed: string;
|
|
18
|
+
};
|
|
19
|
+
lightbulb: {
|
|
20
|
+
brightness: string;
|
|
21
|
+
stateOn: string;
|
|
22
|
+
};
|
|
23
|
+
limiter: {
|
|
24
|
+
badPeriod: string;
|
|
25
|
+
badUnits: string;
|
|
26
|
+
expired: string;
|
|
27
|
+
limitExceedsPeriod: string;
|
|
28
|
+
remainingDayPlus: string;
|
|
29
|
+
remainingHours: string;
|
|
30
|
+
remainingMinutes: string;
|
|
31
|
+
remainingSeconds: string;
|
|
32
|
+
};
|
|
33
|
+
lock: {
|
|
34
|
+
badDefault: string;
|
|
35
|
+
secured: string;
|
|
36
|
+
unsecured: string;
|
|
37
|
+
};
|
|
38
|
+
onOff: {
|
|
39
|
+
stateOff: string;
|
|
40
|
+
stateOn: string;
|
|
41
|
+
};
|
|
42
|
+
position: {
|
|
43
|
+
badDefault: string;
|
|
44
|
+
closed: string;
|
|
45
|
+
open: string;
|
|
46
|
+
};
|
|
47
|
+
schedule: {
|
|
48
|
+
badType: string;
|
|
49
|
+
badUnits: string;
|
|
50
|
+
cron: string;
|
|
51
|
+
intervalMilliseconds: string;
|
|
52
|
+
intervalSeconds: string;
|
|
53
|
+
intervalMinutes: string;
|
|
54
|
+
intervalHours: string;
|
|
55
|
+
};
|
|
56
|
+
thermostat: {
|
|
57
|
+
auto: string;
|
|
58
|
+
badDefault: string;
|
|
59
|
+
badUnits: string;
|
|
60
|
+
cool: string;
|
|
61
|
+
heat: string;
|
|
62
|
+
off: string;
|
|
63
|
+
temperatureC: string;
|
|
64
|
+
temperatureF: string;
|
|
65
|
+
unsupportedFunction: string;
|
|
66
|
+
};
|
|
67
|
+
timer: {
|
|
68
|
+
badUnits: string;
|
|
69
|
+
cancel: string;
|
|
70
|
+
expired: string;
|
|
71
|
+
resume: string;
|
|
72
|
+
setMilliseconds: string;
|
|
73
|
+
setSeconds: string;
|
|
74
|
+
setMinutes: string;
|
|
75
|
+
setHours: string;
|
|
75
76
|
};
|
|
76
77
|
config: {
|
|
77
|
-
migrate: string;
|
|
78
|
-
migrationDetails1: string;
|
|
79
|
-
migrationDetails2: string;
|
|
80
|
-
migrationDetails3: string;
|
|
81
|
-
migrationDetails4: string;
|
|
82
|
-
migrationDetails5: string;
|
|
83
|
-
migrationRestartTitle: string;
|
|
84
|
-
migrationRestartDescription: string;
|
|
85
|
-
support: string;
|
|
86
|
-
thankYou: string;
|
|
87
|
-
yes: string;
|
|
88
|
-
no: string;
|
|
89
78
|
description: {
|
|
90
79
|
commands: string;
|
|
91
80
|
cron: string;
|
|
92
81
|
limiter: string;
|
|
93
82
|
random: string;
|
|
94
|
-
timerControlled: string;
|
|
95
|
-
timer: string;
|
|
96
83
|
schedule: string;
|
|
84
|
+
timer: string;
|
|
85
|
+
timerControlled: string;
|
|
97
86
|
};
|
|
98
87
|
enumNames: {
|
|
99
88
|
auto: string;
|
|
@@ -120,8 +109,8 @@ declare const translations: {
|
|
|
120
109
|
minutely: string;
|
|
121
110
|
month: string;
|
|
122
111
|
monthly: string;
|
|
123
|
-
off: string;
|
|
124
112
|
occupancySensor: string;
|
|
113
|
+
off: string;
|
|
125
114
|
on: string;
|
|
126
115
|
open: string;
|
|
127
116
|
outlet: string;
|
|
@@ -135,24 +124,36 @@ declare const translations: {
|
|
|
135
124
|
switch: string;
|
|
136
125
|
thermostat: string;
|
|
137
126
|
unsecured: string;
|
|
127
|
+
week: string;
|
|
138
128
|
weekdays: string;
|
|
139
129
|
weekends: string;
|
|
140
|
-
week: string;
|
|
141
130
|
weekly: string;
|
|
142
131
|
window: string;
|
|
143
132
|
windowCovering: string;
|
|
144
133
|
yearly: string;
|
|
145
134
|
};
|
|
135
|
+
migrate: string;
|
|
136
|
+
migrationDetails1: string;
|
|
137
|
+
migrationDetails2: string;
|
|
138
|
+
migrationDetails3: string;
|
|
139
|
+
migrationDetails4: string;
|
|
140
|
+
migrationDetails5: string;
|
|
141
|
+
migrationRestartDescription: string;
|
|
142
|
+
migrationRestartTitle: string;
|
|
143
|
+
no: string;
|
|
144
|
+
support: string;
|
|
145
|
+
thankYou: string;
|
|
146
|
+
yes: string;
|
|
146
147
|
title: {
|
|
147
148
|
accessory: string;
|
|
148
|
-
commands: string;
|
|
149
149
|
commandClose: string;
|
|
150
|
-
commandOn: string;
|
|
151
150
|
commandOff: string;
|
|
151
|
+
commandOn: string;
|
|
152
152
|
commandOpen: string;
|
|
153
153
|
commandLock: string;
|
|
154
|
-
|
|
154
|
+
commands: string;
|
|
155
155
|
commandTemperature: string;
|
|
156
|
+
commandUnlock: string;
|
|
156
157
|
cron: string;
|
|
157
158
|
cronCustom: string;
|
|
158
159
|
defaultBrightness: string;
|
|
@@ -164,19 +165,19 @@ declare const translations: {
|
|
|
164
165
|
enableWebook: string;
|
|
165
166
|
groupName: string;
|
|
166
167
|
interval: string;
|
|
167
|
-
name: string;
|
|
168
168
|
limit: string;
|
|
169
169
|
limiter: string;
|
|
170
|
+
name: string;
|
|
170
171
|
period: string;
|
|
171
172
|
preset: string;
|
|
173
|
+
random: string;
|
|
172
174
|
resetOnRestart: string;
|
|
173
|
-
timer: string;
|
|
174
|
-
timerControlled: string;
|
|
175
175
|
schedule: string;
|
|
176
176
|
sensor: string;
|
|
177
|
+
timer: string;
|
|
178
|
+
timerControlled: string;
|
|
177
179
|
type: string;
|
|
178
180
|
units: string;
|
|
179
|
-
random: string;
|
|
180
181
|
};
|
|
181
182
|
};
|
|
182
183
|
sensor: {
|
|
@@ -213,9 +214,9 @@ declare const translations: {
|
|
|
213
214
|
startup: {
|
|
214
215
|
migrationBridge: string;
|
|
215
216
|
migrationComplete: string;
|
|
216
|
-
migrationNoAccessories: string;
|
|
217
|
-
migrationIgnore: string;
|
|
218
217
|
migrationFailed: string;
|
|
218
|
+
migrationIgnore: string;
|
|
219
|
+
migrationNoAccessories: string;
|
|
219
220
|
migrationRevert: string;
|
|
220
221
|
newAccessory: string;
|
|
221
222
|
removeAccessory: string;
|
package/dist/i18n/i18n.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import en from './en.js';
|
|
2
|
-
import zz from './zz.js';
|
|
3
2
|
export var Language;
|
|
4
3
|
(function (Language) {
|
|
5
4
|
Language["EN"] = "en";
|
|
6
|
-
Language["ZZ"] = "zz";
|
|
7
5
|
})(Language || (Language = {}));
|
|
8
6
|
const Translations = {
|
|
9
7
|
[Language.EN]: en,
|
|
10
|
-
[Language.ZZ]: zz,
|
|
11
8
|
};
|
|
12
9
|
let currentLanguage = Language.EN;
|
|
13
10
|
export function getLanguage() {
|
|
@@ -19,9 +16,6 @@ export function setLanguage(i18nLang) {
|
|
|
19
16
|
case Language.EN:
|
|
20
17
|
language = Language.EN;
|
|
21
18
|
break;
|
|
22
|
-
case Language.ZZ:
|
|
23
|
-
language = Language.ZZ;
|
|
24
|
-
break;
|
|
25
19
|
}
|
|
26
20
|
currentLanguage = Translations[language] ? language : Language.EN;
|
|
27
21
|
}
|
package/dist/i18n/i18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,MAAM,CAAN,IAAY,QAEX;AAFD,WAAY,QAAQ;IAClB,qBAAS,CAAA;AACX,CAAC,EAFW,QAAQ,KAAR,QAAQ,QAEnB;AAED,MAAM,YAAY,GAAkC;IAClD,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE;CAClB,CAAC;AAIF,IAAI,eAAe,GAAa,QAAQ,CAAC,EAAE,CAAC;AAE5C,MAAM,UAAU,WAAW;IACzB,OAAO,eAAe,CAAC;AACzB,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,QAAgB;IAE1C,IAAI,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAC;IAC3B,QAAO,QAAQ,EAAE,CAAC;QAClB,KAAK,QAAQ,CAAC,EAAE;YACd,QAAQ,GAAG,QAAQ,CAAC,EAAE,CAAC;YACvB,MAAM;IACR,CAAC;IAED,eAAe,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO,YAAY,CAAC,eAAe,CAAC,CAAC;AACvC,CAAC;AAED,MAAM,YAAY,GAAG,IAAI,KAAK,CAAC,EAAiB,EAAE;IAChD,GAAG,CAAC,OAAO,EAAE,IAAY;QACvB,OAAO,CACL,YAAY,CAAC,eAAe,CAAC,CAAC,IAAyB,CAAC;YACxD,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,IAAyB,CAAC,CACrD,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,CAAC"}
|
package/dist/i18n/template.d.ts
CHANGED
|
@@ -1,90 +1,80 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const TODO_REPLACE_THIS_WITH_ISO_CODE: {
|
|
2
2
|
accessory: {
|
|
3
3
|
badValueType: string;
|
|
4
4
|
invalidCron: string;
|
|
5
5
|
missingRequired: string;
|
|
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
|
-
|
|
6
|
+
};
|
|
7
|
+
command: {
|
|
8
|
+
error: string;
|
|
9
|
+
executed: string;
|
|
10
|
+
};
|
|
11
|
+
lightbulb: {
|
|
12
|
+
brightness: string;
|
|
13
|
+
stateOn: string;
|
|
14
|
+
};
|
|
15
|
+
limiter: {
|
|
16
|
+
badPeriod: string;
|
|
17
|
+
badUnits: string;
|
|
18
|
+
expired: string;
|
|
19
|
+
limitExceedsPeriod: string;
|
|
20
|
+
remainingDayPlus: string;
|
|
21
|
+
remainingHours: string;
|
|
22
|
+
remainingMinutes: string;
|
|
23
|
+
remainingSeconds: string;
|
|
24
|
+
};
|
|
25
|
+
lock: {
|
|
26
|
+
badDefault: string;
|
|
27
|
+
secured: string;
|
|
28
|
+
unsecured: string;
|
|
29
|
+
};
|
|
30
|
+
onOff: {
|
|
31
|
+
stateOff: string;
|
|
32
|
+
stateOn: string;
|
|
33
|
+
};
|
|
34
|
+
position: {
|
|
35
|
+
badDefault: string;
|
|
36
|
+
closed: string;
|
|
37
|
+
open: string;
|
|
38
|
+
};
|
|
39
|
+
schedule: {
|
|
40
|
+
badType: string;
|
|
41
|
+
badUnits: string;
|
|
42
|
+
cron: string;
|
|
43
|
+
intervalMilliseconds: string;
|
|
44
|
+
intervalSeconds: string;
|
|
45
|
+
intervalMinutes: string;
|
|
46
|
+
intervalHours: string;
|
|
47
|
+
};
|
|
48
|
+
thermostat: {
|
|
49
|
+
auto: string;
|
|
50
|
+
badDefault: string;
|
|
51
|
+
badUnits: string;
|
|
52
|
+
cool: string;
|
|
53
|
+
heat: string;
|
|
54
|
+
off: string;
|
|
55
|
+
temperatureC: string;
|
|
56
|
+
temperatureF: string;
|
|
57
|
+
unsupportedFunction: string;
|
|
58
|
+
};
|
|
59
|
+
timer: {
|
|
60
|
+
badUnits: string;
|
|
61
|
+
cancel: string;
|
|
62
|
+
expired: string;
|
|
63
|
+
resume: string;
|
|
64
|
+
setMilliseconds: string;
|
|
65
|
+
setSeconds: string;
|
|
66
|
+
setMinutes: string;
|
|
67
|
+
setHours: string;
|
|
66
68
|
};
|
|
67
69
|
config: {
|
|
68
|
-
migrate: string;
|
|
69
|
-
migrationDetails1: string;
|
|
70
|
-
migrationDetails2: string;
|
|
71
|
-
migrationDetails3: string;
|
|
72
|
-
migrationDetails4: string;
|
|
73
|
-
migrationDetails5: string;
|
|
74
|
-
migrationRestartTitle: string;
|
|
75
|
-
migrationRestartDescription: string;
|
|
76
|
-
support: string;
|
|
77
|
-
thankYou: string;
|
|
78
|
-
yes: string;
|
|
79
|
-
no: string;
|
|
80
70
|
description: {
|
|
81
71
|
commands: string;
|
|
82
72
|
cron: string;
|
|
83
73
|
limiter: string;
|
|
84
74
|
random: string;
|
|
85
|
-
timerControlled: string;
|
|
86
|
-
timer: string;
|
|
87
75
|
schedule: string;
|
|
76
|
+
timer: string;
|
|
77
|
+
timerControlled: string;
|
|
88
78
|
};
|
|
89
79
|
enumNames: {
|
|
90
80
|
auto: string;
|
|
@@ -111,8 +101,8 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
111
101
|
minutely: string;
|
|
112
102
|
month: string;
|
|
113
103
|
monthly: string;
|
|
114
|
-
off: string;
|
|
115
104
|
occupancySensor: string;
|
|
105
|
+
off: string;
|
|
116
106
|
on: string;
|
|
117
107
|
open: string;
|
|
118
108
|
outlet: string;
|
|
@@ -126,24 +116,36 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
126
116
|
switch: string;
|
|
127
117
|
thermostat: string;
|
|
128
118
|
unsecured: string;
|
|
119
|
+
week: string;
|
|
129
120
|
weekdays: string;
|
|
130
121
|
weekends: string;
|
|
131
|
-
week: string;
|
|
132
122
|
weekly: string;
|
|
133
123
|
window: string;
|
|
134
124
|
windowCovering: string;
|
|
135
125
|
yearly: string;
|
|
136
126
|
};
|
|
127
|
+
migrate: string;
|
|
128
|
+
migrationDetails1: string;
|
|
129
|
+
migrationDetails2: string;
|
|
130
|
+
migrationDetails3: string;
|
|
131
|
+
migrationDetails4: string;
|
|
132
|
+
migrationDetails5: string;
|
|
133
|
+
migrationRestartDescription: string;
|
|
134
|
+
migrationRestartTitle: string;
|
|
135
|
+
no: string;
|
|
136
|
+
support: string;
|
|
137
|
+
thankYou: string;
|
|
138
|
+
yes: string;
|
|
137
139
|
title: {
|
|
138
140
|
accessory: string;
|
|
139
|
-
commands: string;
|
|
140
141
|
commandClose: string;
|
|
141
|
-
commandOn: string;
|
|
142
142
|
commandOff: string;
|
|
143
|
+
commandOn: string;
|
|
143
144
|
commandOpen: string;
|
|
144
145
|
commandLock: string;
|
|
145
|
-
|
|
146
|
+
commands: string;
|
|
146
147
|
commandTemperature: string;
|
|
148
|
+
commandUnlock: string;
|
|
147
149
|
cron: string;
|
|
148
150
|
cronCustom: string;
|
|
149
151
|
defaultBrightness: string;
|
|
@@ -155,19 +157,19 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
155
157
|
enableWebook: string;
|
|
156
158
|
groupName: string;
|
|
157
159
|
interval: string;
|
|
158
|
-
name: string;
|
|
159
160
|
limit: string;
|
|
160
161
|
limiter: string;
|
|
162
|
+
name: string;
|
|
161
163
|
period: string;
|
|
162
164
|
preset: string;
|
|
165
|
+
random: string;
|
|
163
166
|
resetOnRestart: string;
|
|
164
|
-
timer: string;
|
|
165
|
-
timerControlled: string;
|
|
166
167
|
schedule: string;
|
|
167
168
|
sensor: string;
|
|
169
|
+
timer: string;
|
|
170
|
+
timerControlled: string;
|
|
168
171
|
type: string;
|
|
169
172
|
units: string;
|
|
170
|
-
random: string;
|
|
171
173
|
};
|
|
172
174
|
};
|
|
173
175
|
sensor: {
|
|
@@ -204,9 +206,9 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
204
206
|
startup: {
|
|
205
207
|
migrationBridge: string;
|
|
206
208
|
migrationComplete: string;
|
|
207
|
-
migrationNoAccessories: string;
|
|
208
|
-
migrationIgnore: string;
|
|
209
209
|
migrationFailed: string;
|
|
210
|
+
migrationIgnore: string;
|
|
211
|
+
migrationNoAccessories: string;
|
|
210
212
|
migrationRevert: string;
|
|
211
213
|
newAccessory: string;
|
|
212
214
|
removeAccessory: string;
|
|
@@ -230,4 +232,4 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
230
232
|
unregisteredId: string;
|
|
231
233
|
};
|
|
232
234
|
};
|
|
233
|
-
export default
|
|
235
|
+
export default TODO_REPLACE_THIS_WITH_ISO_CODE;
|
package/dist/i18n/template.js
CHANGED
|
@@ -3,6 +3,6 @@ import en from './en.js';
|
|
|
3
3
|
const overrides = {
|
|
4
4
|
// Copy strings from en.js to here and translate
|
|
5
5
|
};
|
|
6
|
-
const
|
|
7
|
-
export default
|
|
6
|
+
const TODO_REPLACE_THIS_WITH_ISO_CODE = merge({}, en, overrides);
|
|
7
|
+
export default TODO_REPLACE_THIS_WITH_ISO_CODE;
|
|
8
8
|
//# sourceMappingURL=template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../src/i18n/template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,MAAM,SAAS,GAAG;AAEhB,gDAAgD;CAEjD,CAAC;AAEF,MAAM,
|
|
1
|
+
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../src/i18n/template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,MAAM,SAAS,GAAG;AAEhB,gDAAgD;CAEjD,CAAC;AAEF,MAAM,+BAA+B,GAAG,KAAK,CAAC,EAAE,EAAE,EAAE,EAAE,SAAS,CAAC,CAAC;AAEjE,eAAe,+BAA+B,CAAC"}
|
|
@@ -5,11 +5,12 @@ export default class Limiter extends Timeout {
|
|
|
5
5
|
private readonly config;
|
|
6
6
|
static new(config: LimiterConfig, caller: string, log: Log, disableLogging: boolean): Limiter | undefined;
|
|
7
7
|
private limit;
|
|
8
|
-
private startedAtTimestamp?;
|
|
9
8
|
private constructor();
|
|
10
9
|
private get limitStorageKey();
|
|
11
10
|
start(callback: () => Promise<void>): void;
|
|
11
|
+
cancel(): void;
|
|
12
12
|
reset(): void;
|
|
13
|
+
teardown(): void;
|
|
13
14
|
private resetTimeRemaining;
|
|
14
15
|
private resetPeriod;
|
|
15
16
|
private storeLimit;
|