matterbridge 1.2.3 → 1.2.5
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 +189 -171
- package/README.md +379 -297
- package/TODO.md +7 -0
- package/dist/AirQualityCluster.d.ts +134 -104
- package/dist/AirQualityCluster.d.ts.map +1 -1
- package/dist/AirQualityCluster.js +43 -26
- package/dist/AirQualityCluster.js.map +1 -1
- package/dist/EveHistoryCluster.d.ts +446 -0
- package/dist/EveHistoryCluster.d.ts.map +1 -0
- package/dist/EveHistoryCluster.js +170 -0
- package/dist/EveHistoryCluster.js.map +1 -0
- package/dist/TvocCluster.d.ts +364 -148
- package/dist/TvocCluster.d.ts.map +1 -1
- package/dist/TvocCluster.js +115 -32
- package/dist/TvocCluster.js.map +1 -1
- package/dist/cli.js +6 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/matterbridge.d.ts +9 -1
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +338 -150
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeController.d.ts.map +1 -1
- package/dist/matterbridgeController.js +9 -0
- package/dist/matterbridgeController.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +1254 -9
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +372 -91
- package/dist/matterbridgeDevice.js.map +1 -1
- package/frontend/build/asset-manifest.json +3 -3
- package/frontend/build/index.html +1 -1
- package/frontend/build/matterbridge 32x32.png +0 -0
- package/frontend/build/matterbridge 64x64.png +0 -0
- package/frontend/build/static/css/main.61f6cf42.css.map +1 -1
- package/frontend/build/static/js/main.6b861489.js +3 -0
- package/frontend/build/static/js/main.6b861489.js.map +1 -0
- package/matterbridge.service +18 -0
- package/package.json +88 -87
- package/frontend/build/Matterbridge.jpg +0 -0
- package/frontend/build/static/js/main.e3553a4d.js +0 -3
- package/frontend/build/static/js/main.e3553a4d.js.map +0 -1
- /package/frontend/build/static/js/{main.e3553a4d.js.LICENSE.txt → main.6b861489.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file contains the cluster EveHistory.
|
|
3
|
+
*
|
|
4
|
+
* @file EveHistoryCluster.ts
|
|
5
|
+
* @author Luca Liguori
|
|
6
|
+
* @date 2023-12-26
|
|
7
|
+
* @version 1.0.10
|
|
8
|
+
*
|
|
9
|
+
* Copyright 2023, 2024 Luca Liguori.
|
|
10
|
+
*
|
|
11
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
+
* you may not use this file except in compliance with the License.
|
|
13
|
+
* You may obtain a copy of the License at
|
|
14
|
+
*
|
|
15
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
*
|
|
17
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
+
* See the License for the specific language governing permissions and
|
|
21
|
+
* limitations under the License. *
|
|
22
|
+
*/
|
|
23
|
+
import { MutableCluster, OptionalAttribute, WritableAttribute } from '@project-chip/matter-node.js/cluster';
|
|
24
|
+
import { Attribute, OptionalWritableAttribute } from '@project-chip/matter-node.js/cluster';
|
|
25
|
+
import { BitFlag } from '@project-chip/matter-node.js/schema';
|
|
26
|
+
import { Identity } from '@project-chip/matter-node.js/util';
|
|
27
|
+
export declare namespace EveHistory {
|
|
28
|
+
const enum WeatherTrend {
|
|
29
|
+
BLANK = 0,
|
|
30
|
+
SUN = 1,
|
|
31
|
+
CLOUDS_SUN = 3,
|
|
32
|
+
RAIN = 5,
|
|
33
|
+
RAIN_WIND = 12
|
|
34
|
+
}
|
|
35
|
+
const enum Sensitivity {
|
|
36
|
+
HIGH = 0,
|
|
37
|
+
MEDIUM = 4,
|
|
38
|
+
LOW = 7
|
|
39
|
+
}
|
|
40
|
+
const enum TemperatureDisplayUnits {
|
|
41
|
+
CELSIUS = 0,
|
|
42
|
+
FAHRENHEIT = 1
|
|
43
|
+
}
|
|
44
|
+
const EveDoorComponent: {
|
|
45
|
+
readonly attributes: {
|
|
46
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
47
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
48
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
49
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
50
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
51
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
52
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
53
|
+
readonly TimesOpened: OptionalAttribute<number, any>;
|
|
54
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
55
|
+
readonly RLoc: Attribute<number, any>;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
const EveMotionComponent: {
|
|
59
|
+
readonly attributes: {
|
|
60
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
61
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
62
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
63
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
64
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
65
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
66
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
67
|
+
readonly MotionSensitivity: OptionalWritableAttribute<number, any>;
|
|
68
|
+
readonly RLoc: Attribute<number, any>;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
const EveEnergyComponent: {
|
|
72
|
+
readonly attributes: {
|
|
73
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
74
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
75
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
76
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
77
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
78
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
79
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
80
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
81
|
+
readonly Voltage: OptionalAttribute<number, any>;
|
|
82
|
+
readonly Current: OptionalAttribute<number, any>;
|
|
83
|
+
readonly Consumption: OptionalAttribute<number, any>;
|
|
84
|
+
readonly TotalConsumption: OptionalAttribute<number, any>;
|
|
85
|
+
readonly EnergyUnknown: OptionalAttribute<number, any>;
|
|
86
|
+
readonly ChildLock: OptionalWritableAttribute<boolean, any>;
|
|
87
|
+
readonly RLoc: Attribute<number, any>;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
const EveWeatherComponent: {
|
|
91
|
+
readonly attributes: {
|
|
92
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
93
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
94
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
95
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
96
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
97
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
98
|
+
readonly RLoc: Attribute<number, any>;
|
|
99
|
+
readonly Elevation: OptionalWritableAttribute<number, any>;
|
|
100
|
+
readonly AirPressure: OptionalAttribute<number, any>;
|
|
101
|
+
readonly WeatherTrend: OptionalAttribute<number, any>;
|
|
102
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
const EveRoomComponent: {
|
|
106
|
+
readonly attributes: {
|
|
107
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
108
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
109
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
110
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
111
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
112
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
113
|
+
readonly RLoc: Attribute<number, any>;
|
|
114
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
enum Feature {
|
|
118
|
+
EveDoor = "EveDoor"
|
|
119
|
+
}
|
|
120
|
+
enum Feature {
|
|
121
|
+
EveMotion = "EveMotion"
|
|
122
|
+
}
|
|
123
|
+
enum Feature {
|
|
124
|
+
EveEnergy = "EveEnergy"
|
|
125
|
+
}
|
|
126
|
+
enum Feature {
|
|
127
|
+
EveWeather = "EveWeather"
|
|
128
|
+
}
|
|
129
|
+
enum Feature {
|
|
130
|
+
EveRoom = "EveRoom"
|
|
131
|
+
}
|
|
132
|
+
const Base: {
|
|
133
|
+
readonly id: 319486977;
|
|
134
|
+
readonly name: "EveHistory";
|
|
135
|
+
readonly revision: 1;
|
|
136
|
+
readonly features: {
|
|
137
|
+
readonly eveDoor: BitFlag;
|
|
138
|
+
readonly eveMotion: BitFlag;
|
|
139
|
+
readonly eveEnergy: BitFlag;
|
|
140
|
+
readonly eveWeather: BitFlag;
|
|
141
|
+
readonly eveRoom: BitFlag;
|
|
142
|
+
};
|
|
143
|
+
readonly attributes: {
|
|
144
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
145
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
146
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
147
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
148
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
149
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
150
|
+
readonly TimesOpened: OptionalAttribute<number, any>;
|
|
151
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
152
|
+
readonly Voltage: OptionalAttribute<number, any>;
|
|
153
|
+
readonly Current: OptionalAttribute<number, any>;
|
|
154
|
+
readonly Consumption: OptionalAttribute<number, any>;
|
|
155
|
+
readonly TotalConsumption: OptionalAttribute<number, any>;
|
|
156
|
+
readonly EnergyUnknown: OptionalAttribute<number, any>;
|
|
157
|
+
readonly MotionSensitivity: OptionalWritableAttribute<number, any>;
|
|
158
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
159
|
+
readonly ChildLock: OptionalWritableAttribute<boolean, any>;
|
|
160
|
+
readonly RLoc: Attribute<number, any>;
|
|
161
|
+
readonly Elevation: OptionalWritableAttribute<number, any>;
|
|
162
|
+
readonly AirPressure: OptionalAttribute<number, any>;
|
|
163
|
+
readonly WeatherTrend: OptionalAttribute<number, any>;
|
|
164
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
165
|
+
};
|
|
166
|
+
readonly extensions: readonly [{
|
|
167
|
+
readonly flags: {
|
|
168
|
+
readonly eveDoor: true;
|
|
169
|
+
};
|
|
170
|
+
readonly component: {
|
|
171
|
+
readonly attributes: {
|
|
172
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
173
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
174
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
175
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
176
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
177
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
178
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
179
|
+
readonly TimesOpened: OptionalAttribute<number, any>;
|
|
180
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
181
|
+
readonly RLoc: Attribute<number, any>;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
}, {
|
|
185
|
+
readonly flags: {
|
|
186
|
+
readonly eveMotion: true;
|
|
187
|
+
};
|
|
188
|
+
readonly component: {
|
|
189
|
+
readonly attributes: {
|
|
190
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
191
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
192
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
193
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
194
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
195
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
196
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
197
|
+
readonly MotionSensitivity: OptionalWritableAttribute<number, any>;
|
|
198
|
+
readonly RLoc: Attribute<number, any>;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
}, {
|
|
202
|
+
readonly flags: {
|
|
203
|
+
readonly eveEnergy: true;
|
|
204
|
+
};
|
|
205
|
+
readonly component: {
|
|
206
|
+
readonly attributes: {
|
|
207
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
208
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
209
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
210
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
211
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
212
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
213
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
214
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
215
|
+
readonly Voltage: OptionalAttribute<number, any>;
|
|
216
|
+
readonly Current: OptionalAttribute<number, any>;
|
|
217
|
+
readonly Consumption: OptionalAttribute<number, any>;
|
|
218
|
+
readonly TotalConsumption: OptionalAttribute<number, any>;
|
|
219
|
+
readonly EnergyUnknown: OptionalAttribute<number, any>;
|
|
220
|
+
readonly ChildLock: OptionalWritableAttribute<boolean, any>;
|
|
221
|
+
readonly RLoc: Attribute<number, any>;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
}, {
|
|
225
|
+
readonly flags: {
|
|
226
|
+
readonly eveWeather: true;
|
|
227
|
+
};
|
|
228
|
+
readonly component: {
|
|
229
|
+
readonly attributes: {
|
|
230
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
231
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
232
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
233
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
234
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
235
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
236
|
+
readonly RLoc: Attribute<number, any>;
|
|
237
|
+
readonly Elevation: OptionalWritableAttribute<number, any>;
|
|
238
|
+
readonly AirPressure: OptionalAttribute<number, any>;
|
|
239
|
+
readonly WeatherTrend: OptionalAttribute<number, any>;
|
|
240
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
}, {
|
|
244
|
+
readonly flags: {
|
|
245
|
+
readonly eveRoom: true;
|
|
246
|
+
};
|
|
247
|
+
readonly component: {
|
|
248
|
+
readonly attributes: {
|
|
249
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
250
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
251
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
252
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
253
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
254
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
255
|
+
readonly RLoc: Attribute<number, any>;
|
|
256
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
}];
|
|
260
|
+
};
|
|
261
|
+
const ClusterInstance: MutableCluster<{
|
|
262
|
+
readonly id: 319486977;
|
|
263
|
+
readonly name: "EveHistory";
|
|
264
|
+
readonly revision: 1;
|
|
265
|
+
readonly features: {
|
|
266
|
+
readonly eveDoor: BitFlag;
|
|
267
|
+
readonly eveMotion: BitFlag;
|
|
268
|
+
readonly eveEnergy: BitFlag;
|
|
269
|
+
readonly eveWeather: BitFlag;
|
|
270
|
+
readonly eveRoom: BitFlag;
|
|
271
|
+
};
|
|
272
|
+
readonly attributes: {
|
|
273
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
274
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
275
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
276
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
277
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
278
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
279
|
+
readonly TimesOpened: OptionalAttribute<number, any>;
|
|
280
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
281
|
+
readonly Voltage: OptionalAttribute<number, any>;
|
|
282
|
+
readonly Current: OptionalAttribute<number, any>;
|
|
283
|
+
readonly Consumption: OptionalAttribute<number, any>;
|
|
284
|
+
readonly TotalConsumption: OptionalAttribute<number, any>;
|
|
285
|
+
readonly EnergyUnknown: OptionalAttribute<number, any>;
|
|
286
|
+
readonly MotionSensitivity: OptionalWritableAttribute<number, any>;
|
|
287
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
288
|
+
readonly ChildLock: OptionalWritableAttribute<boolean, any>;
|
|
289
|
+
readonly RLoc: Attribute<number, any>;
|
|
290
|
+
readonly Elevation: OptionalWritableAttribute<number, any>;
|
|
291
|
+
readonly AirPressure: OptionalAttribute<number, any>;
|
|
292
|
+
readonly WeatherTrend: OptionalAttribute<number, any>;
|
|
293
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
294
|
+
};
|
|
295
|
+
readonly extensions: readonly [{
|
|
296
|
+
readonly flags: {
|
|
297
|
+
readonly eveDoor: true;
|
|
298
|
+
};
|
|
299
|
+
readonly component: {
|
|
300
|
+
readonly attributes: {
|
|
301
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
302
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
303
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
304
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
305
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
306
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
307
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
308
|
+
readonly TimesOpened: OptionalAttribute<number, any>;
|
|
309
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
310
|
+
readonly RLoc: Attribute<number, any>;
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
}, {
|
|
314
|
+
readonly flags: {
|
|
315
|
+
readonly eveMotion: true;
|
|
316
|
+
};
|
|
317
|
+
readonly component: {
|
|
318
|
+
readonly attributes: {
|
|
319
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
320
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
321
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
322
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
323
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
324
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
325
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
326
|
+
readonly MotionSensitivity: OptionalWritableAttribute<number, any>;
|
|
327
|
+
readonly RLoc: Attribute<number, any>;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
}, {
|
|
331
|
+
readonly flags: {
|
|
332
|
+
readonly eveEnergy: true;
|
|
333
|
+
};
|
|
334
|
+
readonly component: {
|
|
335
|
+
readonly attributes: {
|
|
336
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
337
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
338
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
339
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
340
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
341
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
342
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
343
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
344
|
+
readonly Voltage: OptionalAttribute<number, any>;
|
|
345
|
+
readonly Current: OptionalAttribute<number, any>;
|
|
346
|
+
readonly Consumption: OptionalAttribute<number, any>;
|
|
347
|
+
readonly TotalConsumption: OptionalAttribute<number, any>;
|
|
348
|
+
readonly EnergyUnknown: OptionalAttribute<number, any>;
|
|
349
|
+
readonly ChildLock: OptionalWritableAttribute<boolean, any>;
|
|
350
|
+
readonly RLoc: Attribute<number, any>;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
}, {
|
|
354
|
+
readonly flags: {
|
|
355
|
+
readonly eveWeather: true;
|
|
356
|
+
};
|
|
357
|
+
readonly component: {
|
|
358
|
+
readonly attributes: {
|
|
359
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
360
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
361
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
362
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
363
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
364
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
365
|
+
readonly RLoc: Attribute<number, any>;
|
|
366
|
+
readonly Elevation: OptionalWritableAttribute<number, any>;
|
|
367
|
+
readonly AirPressure: OptionalAttribute<number, any>;
|
|
368
|
+
readonly WeatherTrend: OptionalAttribute<number, any>;
|
|
369
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
}, {
|
|
373
|
+
readonly flags: {
|
|
374
|
+
readonly eveRoom: true;
|
|
375
|
+
};
|
|
376
|
+
readonly component: {
|
|
377
|
+
readonly attributes: {
|
|
378
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
379
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
380
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
381
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
382
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
383
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
384
|
+
readonly RLoc: Attribute<number, any>;
|
|
385
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
}];
|
|
389
|
+
}>;
|
|
390
|
+
interface Cluster extends Identity<typeof ClusterInstance> {
|
|
391
|
+
}
|
|
392
|
+
const Cluster: Cluster;
|
|
393
|
+
const CompleteInstance: MutableCluster<{
|
|
394
|
+
readonly id: import("@project-chip/matter-node.js/util").Branded<319486977, "ClusterId">;
|
|
395
|
+
readonly name: "EveHistory";
|
|
396
|
+
readonly revision: 1;
|
|
397
|
+
readonly features: {
|
|
398
|
+
readonly eveDoor: BitFlag;
|
|
399
|
+
readonly eveMotion: BitFlag;
|
|
400
|
+
readonly eveEnergy: BitFlag;
|
|
401
|
+
readonly eveWeather: BitFlag;
|
|
402
|
+
readonly eveRoom: BitFlag;
|
|
403
|
+
};
|
|
404
|
+
readonly attributes: {
|
|
405
|
+
readonly ConfigDataGet: Attribute<Uint8Array, any>;
|
|
406
|
+
readonly ConfigDataSet: WritableAttribute<Uint8Array, any>;
|
|
407
|
+
readonly HistoryStatus: Attribute<Uint8Array, any>;
|
|
408
|
+
readonly HistoryEntries: Attribute<Uint8Array, any>;
|
|
409
|
+
readonly HistoryRequest: WritableAttribute<Uint8Array, any>;
|
|
410
|
+
readonly HistorySetTime: WritableAttribute<Uint8Array, any>;
|
|
411
|
+
readonly TimesOpened: OptionalAttribute<number, any>;
|
|
412
|
+
readonly LastEvent: OptionalAttribute<number, any>;
|
|
413
|
+
readonly Voltage: OptionalAttribute<number, any>;
|
|
414
|
+
readonly Current: OptionalAttribute<number, any>;
|
|
415
|
+
readonly Consumption: OptionalAttribute<number, any>;
|
|
416
|
+
readonly TotalConsumption: OptionalAttribute<number, any>;
|
|
417
|
+
readonly EnergyUnknown: OptionalAttribute<number, any>;
|
|
418
|
+
readonly MotionSensitivity: OptionalWritableAttribute<number, any>;
|
|
419
|
+
readonly ResetTotal: OptionalWritableAttribute<number, any>;
|
|
420
|
+
readonly ChildLock: OptionalWritableAttribute<boolean, any>;
|
|
421
|
+
readonly RLoc: Attribute<number, any>;
|
|
422
|
+
readonly Elevation: OptionalWritableAttribute<number, any>;
|
|
423
|
+
readonly AirPressure: OptionalAttribute<number, any>;
|
|
424
|
+
readonly WeatherTrend: OptionalAttribute<number, any>;
|
|
425
|
+
readonly TemperatureDisplayUnits: OptionalWritableAttribute<number, any>;
|
|
426
|
+
readonly clusterRevision: Attribute<number, never>;
|
|
427
|
+
readonly featureMap: Attribute<import("@project-chip/matter-node.js/schema").TypeFromPartialBitSchema<{
|
|
428
|
+
readonly eveDoor: BitFlag;
|
|
429
|
+
readonly eveMotion: BitFlag;
|
|
430
|
+
readonly eveEnergy: BitFlag;
|
|
431
|
+
readonly eveWeather: BitFlag;
|
|
432
|
+
readonly eveRoom: BitFlag;
|
|
433
|
+
}>, never>;
|
|
434
|
+
readonly attributeList: Attribute<import("@project-chip/matter.js/datatype").AttributeId[], never>;
|
|
435
|
+
readonly eventList: Attribute<import("@project-chip/matter.js/datatype").EventId[], never>;
|
|
436
|
+
readonly acceptedCommandList: Attribute<import("@project-chip/matter.js/datatype").CommandId[], never>;
|
|
437
|
+
readonly generatedCommandList: Attribute<import("@project-chip/matter.js/datatype").CommandId[], never>;
|
|
438
|
+
};
|
|
439
|
+
}>;
|
|
440
|
+
interface Complete extends Identity<typeof CompleteInstance> {
|
|
441
|
+
}
|
|
442
|
+
const Complete: Complete;
|
|
443
|
+
}
|
|
444
|
+
export type EveHistoryCluster = typeof EveHistory.Cluster;
|
|
445
|
+
export declare const EveHistoryCluster: EveHistory.Cluster;
|
|
446
|
+
//# sourceMappingURL=EveHistoryCluster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EveHistoryCluster.d.ts","sourceRoot":"","sources":["../src/EveHistoryCluster.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAmB,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAC7H,OAAO,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAE9D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAE7D,yBAAiB,UAAU,CAAC;IAC1B,WAAkB,YAAY;QAE5B,KAAK,IAAI;QACT,GAAG,IAAI;QACP,UAAU,IAAI;QACd,IAAI,IAAI;QACR,SAAS,KAAK;K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M,QAAQ,EAAE,QAA2B,CAAC;CACpD;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,UAAU,CAAC,OAAO,CAAC;AAC1D,eAAO,MAAM,iBAAiB,oBAAqB,CAAC"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file contains the cluster EveHistory.
|
|
3
|
+
*
|
|
4
|
+
* @file EveHistoryCluster.ts
|
|
5
|
+
* @author Luca Liguori
|
|
6
|
+
* @date 2023-12-26
|
|
7
|
+
* @version 1.0.10
|
|
8
|
+
*
|
|
9
|
+
* Copyright 2023, 2024 Luca Liguori.
|
|
10
|
+
*
|
|
11
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
+
* you may not use this file except in compliance with the License.
|
|
13
|
+
* You may obtain a copy of the License at
|
|
14
|
+
*
|
|
15
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
*
|
|
17
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
+
* See the License for the specific language governing permissions and
|
|
21
|
+
* limitations under the License. *
|
|
22
|
+
*/
|
|
23
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
24
|
+
import { ClusterRegistry, MutableCluster, OptionalAttribute, WritableAttribute } from '@project-chip/matter-node.js/cluster';
|
|
25
|
+
import { Attribute, OptionalWritableAttribute } from '@project-chip/matter-node.js/cluster';
|
|
26
|
+
import { BitFlag } from '@project-chip/matter-node.js/schema';
|
|
27
|
+
import { TlvUInt32, TlvBoolean, TlvFloat, TlvByteString } from '@project-chip/matter-node.js/tlv';
|
|
28
|
+
export var EveHistory;
|
|
29
|
+
(function (EveHistory) {
|
|
30
|
+
EveHistory.EveDoorComponent = MutableCluster.Component({
|
|
31
|
+
attributes: {
|
|
32
|
+
ConfigDataGet: Attribute(0x130a0000, TlvByteString),
|
|
33
|
+
ConfigDataSet: WritableAttribute(0x130a0001, TlvByteString),
|
|
34
|
+
HistoryStatus: Attribute(0x130a0002, TlvByteString),
|
|
35
|
+
HistoryEntries: Attribute(0x130a0003, TlvByteString),
|
|
36
|
+
HistoryRequest: WritableAttribute(0x130a0004, TlvByteString),
|
|
37
|
+
HistorySetTime: WritableAttribute(0x130a0005, TlvByteString),
|
|
38
|
+
LastEvent: OptionalAttribute(0x130a0007, TlvUInt32),
|
|
39
|
+
TimesOpened: OptionalAttribute(0x130a0006, TlvUInt32), // on Door
|
|
40
|
+
ResetTotal: OptionalWritableAttribute(0x130a000e, TlvUInt32), // on Energy and Door
|
|
41
|
+
RLoc: Attribute(0x130a0012, TlvUInt32), // on Eve app in the thread windows
|
|
42
|
+
},
|
|
43
|
+
});
|
|
44
|
+
EveHistory.EveMotionComponent = MutableCluster.Component({
|
|
45
|
+
attributes: {
|
|
46
|
+
ConfigDataGet: Attribute(0x130a0000, TlvByteString),
|
|
47
|
+
ConfigDataSet: WritableAttribute(0x130a0001, TlvByteString),
|
|
48
|
+
HistoryStatus: Attribute(0x130a0002, TlvByteString),
|
|
49
|
+
HistoryEntries: Attribute(0x130a0003, TlvByteString),
|
|
50
|
+
HistoryRequest: WritableAttribute(0x130a0004, TlvByteString),
|
|
51
|
+
HistorySetTime: WritableAttribute(0x130a0005, TlvByteString),
|
|
52
|
+
LastEvent: OptionalAttribute(0x130a0007, TlvUInt32),
|
|
53
|
+
MotionSensitivity: OptionalWritableAttribute(0x130a000d, TlvUInt32), // on Motion 0=High 4=Medium 7=Low
|
|
54
|
+
RLoc: Attribute(0x130a0012, TlvUInt32), // on Eve app in the thread windows
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
EveHistory.EveEnergyComponent = MutableCluster.Component({
|
|
58
|
+
attributes: {
|
|
59
|
+
ConfigDataGet: Attribute(0x130a0000, TlvByteString),
|
|
60
|
+
ConfigDataSet: WritableAttribute(0x130a0001, TlvByteString),
|
|
61
|
+
HistoryStatus: Attribute(0x130a0002, TlvByteString),
|
|
62
|
+
HistoryEntries: Attribute(0x130a0003, TlvByteString),
|
|
63
|
+
HistoryRequest: WritableAttribute(0x130a0004, TlvByteString),
|
|
64
|
+
HistorySetTime: WritableAttribute(0x130a0005, TlvByteString),
|
|
65
|
+
LastEvent: OptionalAttribute(0x130a0007, TlvUInt32),
|
|
66
|
+
ResetTotal: OptionalWritableAttribute(0x130a000e, TlvUInt32), // on Energy and Door
|
|
67
|
+
Voltage: OptionalAttribute(0x130a0008, TlvFloat),
|
|
68
|
+
Current: OptionalAttribute(0x130a0009, TlvFloat),
|
|
69
|
+
Consumption: OptionalAttribute(0x130a000a, TlvFloat),
|
|
70
|
+
TotalConsumption: OptionalAttribute(0x130a000b, TlvFloat),
|
|
71
|
+
EnergyUnknown: OptionalAttribute(0x130a000c, TlvUInt32), // on Energy always 0
|
|
72
|
+
ChildLock: OptionalWritableAttribute(0x130a0011, TlvBoolean), // on Energy
|
|
73
|
+
RLoc: Attribute(0x130a0012, TlvUInt32), // on Eve app in the thread windows
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
EveHistory.EveWeatherComponent = MutableCluster.Component({
|
|
77
|
+
attributes: {
|
|
78
|
+
ConfigDataGet: Attribute(0x130a0000, TlvByteString),
|
|
79
|
+
ConfigDataSet: WritableAttribute(0x130a0001, TlvByteString),
|
|
80
|
+
HistoryStatus: Attribute(0x130a0002, TlvByteString),
|
|
81
|
+
HistoryEntries: Attribute(0x130a0003, TlvByteString),
|
|
82
|
+
HistoryRequest: WritableAttribute(0x130a0004, TlvByteString),
|
|
83
|
+
HistorySetTime: WritableAttribute(0x130a0005, TlvByteString),
|
|
84
|
+
RLoc: Attribute(0x130a0012, TlvUInt32), // on Eve app in the thread windows
|
|
85
|
+
Elevation: OptionalWritableAttribute(0x130a0013, TlvFloat), // on Weather
|
|
86
|
+
AirPressure: OptionalAttribute(0x130a0014, TlvUInt32), // on Weather on the summary
|
|
87
|
+
WeatherTrend: OptionalAttribute(0x130a0015, TlvUInt32), // on Weather
|
|
88
|
+
TemperatureDisplayUnits: OptionalWritableAttribute(0x130a0016, TlvUInt32), // on Weather 0=CELSIUS 1=FAHRENHEIT
|
|
89
|
+
},
|
|
90
|
+
});
|
|
91
|
+
EveHistory.EveRoomComponent = MutableCluster.Component({
|
|
92
|
+
attributes: {
|
|
93
|
+
ConfigDataGet: Attribute(0x130a0000, TlvByteString),
|
|
94
|
+
ConfigDataSet: WritableAttribute(0x130a0001, TlvByteString),
|
|
95
|
+
HistoryStatus: Attribute(0x130a0002, TlvByteString),
|
|
96
|
+
HistoryEntries: Attribute(0x130a0003, TlvByteString),
|
|
97
|
+
HistoryRequest: WritableAttribute(0x130a0004, TlvByteString),
|
|
98
|
+
HistorySetTime: WritableAttribute(0x130a0005, TlvByteString),
|
|
99
|
+
RLoc: Attribute(0x130a0012, TlvUInt32), // on Eve app in the thread windows
|
|
100
|
+
TemperatureDisplayUnits: OptionalWritableAttribute(0x130a0016, TlvUInt32), // on Weather 0=CELSIUS 1=FAHRENHEIT
|
|
101
|
+
},
|
|
102
|
+
});
|
|
103
|
+
let Feature;
|
|
104
|
+
(function (Feature) {
|
|
105
|
+
Feature["EveDoor"] = "EveDoor";
|
|
106
|
+
})(Feature = EveHistory.Feature || (EveHistory.Feature = {}));
|
|
107
|
+
(function (Feature) {
|
|
108
|
+
Feature["EveMotion"] = "EveMotion";
|
|
109
|
+
})(Feature = EveHistory.Feature || (EveHistory.Feature = {}));
|
|
110
|
+
(function (Feature) {
|
|
111
|
+
Feature["EveEnergy"] = "EveEnergy";
|
|
112
|
+
})(Feature = EveHistory.Feature || (EveHistory.Feature = {}));
|
|
113
|
+
(function (Feature) {
|
|
114
|
+
Feature["EveWeather"] = "EveWeather";
|
|
115
|
+
})(Feature = EveHistory.Feature || (EveHistory.Feature = {}));
|
|
116
|
+
(function (Feature) {
|
|
117
|
+
Feature["EveRoom"] = "EveRoom";
|
|
118
|
+
})(Feature = EveHistory.Feature || (EveHistory.Feature = {}));
|
|
119
|
+
EveHistory.Base = MutableCluster.Component({
|
|
120
|
+
id: 0x130afc01,
|
|
121
|
+
name: 'EveHistory',
|
|
122
|
+
revision: 1,
|
|
123
|
+
features: {
|
|
124
|
+
eveDoor: BitFlag(0),
|
|
125
|
+
eveMotion: BitFlag(1),
|
|
126
|
+
eveEnergy: BitFlag(2),
|
|
127
|
+
eveWeather: BitFlag(3),
|
|
128
|
+
eveRoom: BitFlag(4),
|
|
129
|
+
},
|
|
130
|
+
attributes: {
|
|
131
|
+
ConfigDataGet: Attribute(0x130a0000, TlvByteString),
|
|
132
|
+
ConfigDataSet: WritableAttribute(0x130a0001, TlvByteString),
|
|
133
|
+
HistoryStatus: Attribute(0x130a0002, TlvByteString),
|
|
134
|
+
HistoryEntries: Attribute(0x130a0003, TlvByteString),
|
|
135
|
+
HistoryRequest: WritableAttribute(0x130a0004, TlvByteString),
|
|
136
|
+
HistorySetTime: WritableAttribute(0x130a0005, TlvByteString),
|
|
137
|
+
TimesOpened: OptionalAttribute(0x130a0006, TlvUInt32), // on Door
|
|
138
|
+
LastEvent: OptionalAttribute(0x130a0007, TlvUInt32), // Not used on Energy
|
|
139
|
+
Voltage: OptionalAttribute(0x130a0008, TlvFloat),
|
|
140
|
+
Current: OptionalAttribute(0x130a0009, TlvFloat),
|
|
141
|
+
Consumption: OptionalAttribute(0x130a000a, TlvFloat),
|
|
142
|
+
TotalConsumption: OptionalAttribute(0x130a000b, TlvFloat),
|
|
143
|
+
EnergyUnknown: OptionalAttribute(0x130a000c, TlvUInt32), // on Energy always 0
|
|
144
|
+
MotionSensitivity: OptionalWritableAttribute(0x130a000d, TlvUInt32), // on Motion 0=High 4=Medium 7=Low
|
|
145
|
+
ResetTotal: OptionalWritableAttribute(0x130a000e, TlvUInt32), // on Energy and Door
|
|
146
|
+
ChildLock: OptionalWritableAttribute(0x130a0011, TlvBoolean), // on Energy
|
|
147
|
+
RLoc: Attribute(0x130a0012, TlvUInt32), // on Eve app in the thread windows
|
|
148
|
+
Elevation: OptionalWritableAttribute(0x130a0013, TlvFloat), // on Weather
|
|
149
|
+
AirPressure: OptionalAttribute(0x130a0014, TlvUInt32), // on Weather on the summary
|
|
150
|
+
WeatherTrend: OptionalAttribute(0x130a0015, TlvUInt32), // on Weather
|
|
151
|
+
TemperatureDisplayUnits: OptionalWritableAttribute(0x130a0016, TlvUInt32), // on Weather 0=CELSIUS 1=FAHRENHEIT
|
|
152
|
+
},
|
|
153
|
+
extensions: MutableCluster.Extensions({ flags: { eveDoor: true }, component: EveHistory.EveDoorComponent }, { flags: { eveMotion: true }, component: EveHistory.EveMotionComponent }, { flags: { eveEnergy: true }, component: EveHistory.EveEnergyComponent }, { flags: { eveWeather: true }, component: EveHistory.EveWeatherComponent }, { flags: { eveRoom: true }, component: EveHistory.EveRoomComponent }),
|
|
154
|
+
});
|
|
155
|
+
EveHistory.ClusterInstance = MutableCluster({ ...EveHistory.Base });
|
|
156
|
+
EveHistory.Cluster = EveHistory.ClusterInstance;
|
|
157
|
+
EveHistory.CompleteInstance = MutableCluster({
|
|
158
|
+
id: EveHistory.Cluster.id,
|
|
159
|
+
name: EveHistory.Cluster.name,
|
|
160
|
+
revision: EveHistory.Cluster.revision,
|
|
161
|
+
features: EveHistory.Cluster.features,
|
|
162
|
+
attributes: {
|
|
163
|
+
...EveHistory.Cluster.attributes,
|
|
164
|
+
},
|
|
165
|
+
});
|
|
166
|
+
EveHistory.Complete = EveHistory.CompleteInstance;
|
|
167
|
+
})(EveHistory || (EveHistory = {}));
|
|
168
|
+
export const EveHistoryCluster = EveHistory.Cluster;
|
|
169
|
+
ClusterRegistry.register(EveHistory.Complete);
|
|
170
|
+
//# sourceMappingURL=EveHistoryCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EveHistoryCluster.js","sourceRoot":"","sources":["../src/EveHistoryCluster.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;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