homebridge-dummy 1.3.0-beta.0 → 1.3.0-beta.1
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 +3 -4
- 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.js +14 -9
- 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 +85 -85
- package/dist/i18n/en.js +85 -85
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/i18n.d.ts +86 -87
- package/dist/i18n/i18n.js +0 -6
- package/dist/i18n/i18n.js.map +1 -1
- package/dist/i18n/template.d.ts +87 -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.js +3 -3
- package/dist/timeout/timer.js.map +1 -1
- package/dist/tools/storage.d.ts +14 -7
- package/dist/tools/storage.js +35 -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,76 @@ 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
|
+
setMilliseconds: string;
|
|
71
|
+
setSeconds: string;
|
|
72
|
+
setMinutes: string;
|
|
73
|
+
setHours: string;
|
|
75
74
|
};
|
|
76
75
|
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
76
|
description: {
|
|
90
77
|
commands: string;
|
|
91
78
|
cron: string;
|
|
92
79
|
limiter: string;
|
|
93
80
|
random: string;
|
|
94
|
-
timerControlled: string;
|
|
95
|
-
timer: string;
|
|
96
81
|
schedule: string;
|
|
82
|
+
timer: string;
|
|
83
|
+
timerControlled: string;
|
|
97
84
|
};
|
|
98
85
|
enumNames: {
|
|
99
86
|
auto: string;
|
|
@@ -120,8 +107,8 @@ declare const translations: {
|
|
|
120
107
|
minutely: string;
|
|
121
108
|
month: string;
|
|
122
109
|
monthly: string;
|
|
123
|
-
off: string;
|
|
124
110
|
occupancySensor: string;
|
|
111
|
+
off: string;
|
|
125
112
|
on: string;
|
|
126
113
|
open: string;
|
|
127
114
|
outlet: string;
|
|
@@ -135,24 +122,36 @@ declare const translations: {
|
|
|
135
122
|
switch: string;
|
|
136
123
|
thermostat: string;
|
|
137
124
|
unsecured: string;
|
|
125
|
+
week: string;
|
|
138
126
|
weekdays: string;
|
|
139
127
|
weekends: string;
|
|
140
|
-
week: string;
|
|
141
128
|
weekly: string;
|
|
142
129
|
window: string;
|
|
143
130
|
windowCovering: string;
|
|
144
131
|
yearly: string;
|
|
145
132
|
};
|
|
133
|
+
migrate: string;
|
|
134
|
+
migrationDetails1: string;
|
|
135
|
+
migrationDetails2: string;
|
|
136
|
+
migrationDetails3: string;
|
|
137
|
+
migrationDetails4: string;
|
|
138
|
+
migrationDetails5: string;
|
|
139
|
+
migrationRestartDescription: string;
|
|
140
|
+
migrationRestartTitle: string;
|
|
141
|
+
no: string;
|
|
142
|
+
support: string;
|
|
143
|
+
thankYou: string;
|
|
144
|
+
yes: string;
|
|
146
145
|
title: {
|
|
147
146
|
accessory: string;
|
|
148
|
-
commands: string;
|
|
149
147
|
commandClose: string;
|
|
150
|
-
commandOn: string;
|
|
151
148
|
commandOff: string;
|
|
149
|
+
commandOn: string;
|
|
152
150
|
commandOpen: string;
|
|
153
151
|
commandLock: string;
|
|
154
|
-
|
|
152
|
+
commands: string;
|
|
155
153
|
commandTemperature: string;
|
|
154
|
+
commandUnlock: string;
|
|
156
155
|
cron: string;
|
|
157
156
|
cronCustom: string;
|
|
158
157
|
defaultBrightness: string;
|
|
@@ -164,19 +163,19 @@ declare const translations: {
|
|
|
164
163
|
enableWebook: string;
|
|
165
164
|
groupName: string;
|
|
166
165
|
interval: string;
|
|
167
|
-
name: string;
|
|
168
166
|
limit: string;
|
|
169
167
|
limiter: string;
|
|
168
|
+
name: string;
|
|
170
169
|
period: string;
|
|
171
170
|
preset: string;
|
|
171
|
+
random: string;
|
|
172
172
|
resetOnRestart: string;
|
|
173
|
-
timer: string;
|
|
174
|
-
timerControlled: string;
|
|
175
173
|
schedule: string;
|
|
176
174
|
sensor: string;
|
|
175
|
+
timer: string;
|
|
176
|
+
timerControlled: string;
|
|
177
177
|
type: string;
|
|
178
178
|
units: string;
|
|
179
|
-
random: string;
|
|
180
179
|
};
|
|
181
180
|
};
|
|
182
181
|
sensor: {
|
|
@@ -213,9 +212,9 @@ declare const translations: {
|
|
|
213
212
|
startup: {
|
|
214
213
|
migrationBridge: string;
|
|
215
214
|
migrationComplete: string;
|
|
216
|
-
migrationNoAccessories: string;
|
|
217
|
-
migrationIgnore: string;
|
|
218
215
|
migrationFailed: string;
|
|
216
|
+
migrationIgnore: string;
|
|
217
|
+
migrationNoAccessories: string;
|
|
219
218
|
migrationRevert: string;
|
|
220
219
|
newAccessory: string;
|
|
221
220
|
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,78 @@
|
|
|
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
|
+
setMilliseconds: string;
|
|
63
|
+
setSeconds: string;
|
|
64
|
+
setMinutes: string;
|
|
65
|
+
setHours: string;
|
|
66
66
|
};
|
|
67
67
|
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
68
|
description: {
|
|
81
69
|
commands: string;
|
|
82
70
|
cron: string;
|
|
83
71
|
limiter: string;
|
|
84
72
|
random: string;
|
|
85
|
-
timerControlled: string;
|
|
86
|
-
timer: string;
|
|
87
73
|
schedule: string;
|
|
74
|
+
timer: string;
|
|
75
|
+
timerControlled: string;
|
|
88
76
|
};
|
|
89
77
|
enumNames: {
|
|
90
78
|
auto: string;
|
|
@@ -111,8 +99,8 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
111
99
|
minutely: string;
|
|
112
100
|
month: string;
|
|
113
101
|
monthly: string;
|
|
114
|
-
off: string;
|
|
115
102
|
occupancySensor: string;
|
|
103
|
+
off: string;
|
|
116
104
|
on: string;
|
|
117
105
|
open: string;
|
|
118
106
|
outlet: string;
|
|
@@ -126,24 +114,36 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
126
114
|
switch: string;
|
|
127
115
|
thermostat: string;
|
|
128
116
|
unsecured: string;
|
|
117
|
+
week: string;
|
|
129
118
|
weekdays: string;
|
|
130
119
|
weekends: string;
|
|
131
|
-
week: string;
|
|
132
120
|
weekly: string;
|
|
133
121
|
window: string;
|
|
134
122
|
windowCovering: string;
|
|
135
123
|
yearly: string;
|
|
136
124
|
};
|
|
125
|
+
migrate: string;
|
|
126
|
+
migrationDetails1: string;
|
|
127
|
+
migrationDetails2: string;
|
|
128
|
+
migrationDetails3: string;
|
|
129
|
+
migrationDetails4: string;
|
|
130
|
+
migrationDetails5: string;
|
|
131
|
+
migrationRestartDescription: string;
|
|
132
|
+
migrationRestartTitle: string;
|
|
133
|
+
no: string;
|
|
134
|
+
support: string;
|
|
135
|
+
thankYou: string;
|
|
136
|
+
yes: string;
|
|
137
137
|
title: {
|
|
138
138
|
accessory: string;
|
|
139
|
-
commands: string;
|
|
140
139
|
commandClose: string;
|
|
141
|
-
commandOn: string;
|
|
142
140
|
commandOff: string;
|
|
141
|
+
commandOn: string;
|
|
143
142
|
commandOpen: string;
|
|
144
143
|
commandLock: string;
|
|
145
|
-
|
|
144
|
+
commands: string;
|
|
146
145
|
commandTemperature: string;
|
|
146
|
+
commandUnlock: string;
|
|
147
147
|
cron: string;
|
|
148
148
|
cronCustom: string;
|
|
149
149
|
defaultBrightness: string;
|
|
@@ -155,19 +155,19 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
155
155
|
enableWebook: string;
|
|
156
156
|
groupName: string;
|
|
157
157
|
interval: string;
|
|
158
|
-
name: string;
|
|
159
158
|
limit: string;
|
|
160
159
|
limiter: string;
|
|
160
|
+
name: string;
|
|
161
161
|
period: string;
|
|
162
162
|
preset: string;
|
|
163
|
+
random: string;
|
|
163
164
|
resetOnRestart: string;
|
|
164
|
-
timer: string;
|
|
165
|
-
timerControlled: string;
|
|
166
165
|
schedule: string;
|
|
167
166
|
sensor: string;
|
|
167
|
+
timer: string;
|
|
168
|
+
timerControlled: string;
|
|
168
169
|
type: string;
|
|
169
170
|
units: string;
|
|
170
|
-
random: string;
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
173
|
sensor: {
|
|
@@ -204,9 +204,9 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
204
204
|
startup: {
|
|
205
205
|
migrationBridge: string;
|
|
206
206
|
migrationComplete: string;
|
|
207
|
-
migrationNoAccessories: string;
|
|
208
|
-
migrationIgnore: string;
|
|
209
207
|
migrationFailed: string;
|
|
208
|
+
migrationIgnore: string;
|
|
209
|
+
migrationNoAccessories: string;
|
|
210
210
|
migrationRevert: string;
|
|
211
211
|
newAccessory: string;
|
|
212
212
|
removeAccessory: string;
|
|
@@ -230,4 +230,4 @@ declare const REPLACE_THIS_WITH_ISO_CODE: {
|
|
|
230
230
|
unregisteredId: string;
|
|
231
231
|
};
|
|
232
232
|
};
|
|
233
|
-
export default
|
|
233
|
+
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;
|