@matterbridge/types 3.5.3

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.
@@ -0,0 +1,54 @@
1
+ /**
2
+ * This file contains the types for WebSocket messages.
3
+ *
4
+ * @file frontendTypes.ts
5
+ * @author Luca Liguori
6
+ * @created 2025-09-17
7
+ * @version 1.0.0
8
+ * @license Apache-2.0
9
+ *
10
+ * Copyright 2025, 2026, 2027 Luca Liguori.
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ /**
25
+ * Type guard to check if a message is a WsMessageApiRequest.
26
+ *
27
+ * @param {WsMessage} msg - The message to check.
28
+ *
29
+ * @returns {msg is WsMessageApiRequest} True if the message is a WsMessageApiRequest, false otherwise.
30
+ */
31
+ export function isApiRequest(msg) {
32
+ return msg.id !== 0 && msg.src === 'Frontend' && msg.dst === 'Matterbridge';
33
+ }
34
+ /**
35
+ * Type guard to check if a message is a WsMessageApiResponse.
36
+ *
37
+ * @param {WsMessage} msg - The message to check.
38
+ *
39
+ * @returns {msg is WsMessageApiResponse} True if the message is a WsMessageApiResponse, false otherwise.
40
+ */
41
+ export function isApiResponse(msg) {
42
+ return msg.id !== 0 && msg.src === 'Matterbridge' && msg.dst === 'Frontend';
43
+ }
44
+ /**
45
+ * Type guard to check if a message is a WsMessageBroadcast.
46
+ *
47
+ * @param {WsMessage} msg - The message to check.
48
+ *
49
+ * @returns {msg is WsMessageBroadcast} True if the message is a WsMessageBroadcast, false otherwise.
50
+ */
51
+ export function isBroadcast(msg) {
52
+ return msg.id === 0 && msg.src === 'Matterbridge' && msg.dst === 'Frontend';
53
+ }
54
+ //# sourceMappingURL=frontendTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"frontendTypes.js","sourceRoot":"","sources":["../src/frontendTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAgoBH;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAAC,GAAc;IACzC,OAAO,GAAG,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,CAAC,GAAG,KAAK,UAAU,IAAI,GAAG,CAAC,GAAG,KAAK,cAAc,CAAC;AAC9E,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,GAAc;IAC1C,OAAO,GAAG,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,CAAC,GAAG,KAAK,cAAc,IAAI,GAAG,CAAC,GAAG,KAAK,UAAU,CAAC;AAC9E,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CAAC,GAAc;IACxC,OAAO,GAAG,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,CAAC,GAAG,KAAK,cAAc,IAAI,GAAG,CAAC,GAAG,KAAK,UAAU,CAAC;AAC9E,CAAC"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * This file contains the types for MatterbridgePlatform.
3
+ *
4
+ * @file matterbridgePlatformTypes.ts
5
+ * @author Luca Liguori
6
+ * @created 2024-03-21
7
+ * @version 1.7.0
8
+ * @license Apache-2.0
9
+ *
10
+ * Copyright 2024, 2025, 2026 Luca Liguori.
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ import type { VendorId } from '@matter/main/types';
25
+ import type { SystemInformation } from './matterbridgeTypes.js';
26
+ /** Platform configuration value type. */
27
+ export type PlatformConfigValue = string | number | boolean | bigint | object | undefined | null;
28
+ /** Platform configuration type. */
29
+ export type PlatformConfig = {
30
+ name: string;
31
+ type: string;
32
+ version: string;
33
+ debug: boolean;
34
+ unregisterOnShutdown: boolean;
35
+ } & Record<string, PlatformConfigValue>;
36
+ /** Platform schema value type. */
37
+ export type PlatformSchemaValue = string | number | boolean | bigint | object | undefined | null;
38
+ /** Platform schema type. */
39
+ export type PlatformSchema = Record<string, PlatformSchemaValue>;
40
+ /** A type representing a subset of readonly properties of Matterbridge for platform use. */
41
+ export type PlatformMatterbridge = {
42
+ readonly systemInformation: Readonly<Pick<SystemInformation, 'interfaceName' | 'macAddress' | 'ipv4Address' | 'ipv6Address' | 'nodeVersion' | 'hostname' | 'user' | 'osType' | 'osRelease' | 'osPlatform' | 'osArch' | 'totalMemory' | 'freeMemory' | 'systemUptime' | 'processUptime' | 'cpuUsage' | 'processCpuUsage' | 'rss' | 'heapTotal' | 'heapUsed'>>;
43
+ readonly rootDirectory: string;
44
+ readonly homeDirectory: string;
45
+ readonly matterbridgeDirectory: string;
46
+ readonly matterbridgePluginDirectory: string;
47
+ readonly matterbridgeCertDirectory: string;
48
+ readonly globalModulesDirectory: string;
49
+ readonly matterbridgeVersion: string;
50
+ readonly matterbridgeLatestVersion: string;
51
+ readonly matterbridgeDevVersion: string;
52
+ readonly frontendVersion: string;
53
+ readonly bridgeMode: 'bridge' | 'childbridge' | 'controller' | '';
54
+ readonly restartMode: 'service' | 'docker' | '';
55
+ readonly virtualMode: 'disabled' | 'outlet' | 'light' | 'switch' | 'mounted_switch';
56
+ readonly aggregatorVendorId: VendorId;
57
+ readonly aggregatorVendorName: string;
58
+ readonly aggregatorProductId: number;
59
+ readonly aggregatorProductName: string;
60
+ };
61
+ //# sourceMappingURL=matterbridgePlatformTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matterbridgePlatformTypes.d.ts","sourceRoot":"","sources":["../src/matterbridgePlatformTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,yCAAyC;AACzC,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AAEjG,mCAAmC;AACnC,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC;IAAC,oBAAoB,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AAElK,kCAAkC;AAClC,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AAEjG,4BAA4B;AAC5B,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AAEjE,4FAA4F;AAC5F,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,iBAAiB,EAAE,QAAQ,CAClC,IAAI,CACF,iBAAiB,EACf,eAAe,GACf,YAAY,GACZ,aAAa,GACb,aAAa,GACb,aAAa,GACb,UAAU,GACV,MAAM,GACN,QAAQ,GACR,WAAW,GACX,YAAY,GACZ,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,cAAc,GACd,eAAe,GACf,UAAU,GACV,iBAAiB,GACjB,KAAK,GACL,WAAW,GACX,UAAU,CACb,CACF,CAAC;IACF,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,2BAA2B,EAAE,MAAM,CAAC;IAC7C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,EAAE,CAAC;IAClE,QAAQ,CAAC,WAAW,EAAE,SAAS,GAAG,QAAQ,GAAG,EAAE,CAAC;IAChD,QAAQ,CAAC,WAAW,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IACpF,QAAQ,CAAC,kBAAkB,EAAE,QAAQ,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;CACxC,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file contains the types for MatterbridgePlatform.
3
+ *
4
+ * @file matterbridgePlatformTypes.ts
5
+ * @author Luca Liguori
6
+ * @created 2024-03-21
7
+ * @version 1.7.0
8
+ * @license Apache-2.0
9
+ *
10
+ * Copyright 2024, 2025, 2026 Luca Liguori.
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ export {};
25
+ //# sourceMappingURL=matterbridgePlatformTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matterbridgePlatformTypes.js","sourceRoot":"","sources":["../src/matterbridgePlatformTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG"}
@@ -0,0 +1,284 @@
1
+ /**
2
+ * This file contains the types for Matterbridge.
3
+ *
4
+ * @file matterbridgeTypes.ts
5
+ * @author Luca Liguori
6
+ * @created 2024-07-12
7
+ * @version 1.0.3
8
+ * @license Apache-2.0
9
+ *
10
+ * Copyright 2023, 2024, 2025 Luca Liguori.
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ import type { LogLevel } from 'node-ansi-logger';
25
+ import type { FabricIndex, VendorId, EndpointNumber, Semtag } from '@matter/types';
26
+ import type { AdministratorCommissioning } from '@matter/types/clusters/administrator-commissioning';
27
+ import type { PlatformConfig, PlatformSchema } from './matterbridgePlatformTypes.js';
28
+ export declare const plg = "\u001B[38;5;33m";
29
+ export declare const dev = "\u001B[38;5;79m";
30
+ export declare const typ = "\u001B[38;5;207m";
31
+ export declare const MATTERBRIDGE_LOGGER_FILE = "matterbridge.log";
32
+ export declare const MATTER_LOGGER_FILE = "matter.log";
33
+ export declare const NODE_STORAGE_DIR = "storage";
34
+ export declare const MATTER_STORAGE_NAME = "matterstorage";
35
+ export declare const MATTERBRIDGE_DIAGNOSTIC_FILE = "diagnostic.log";
36
+ export declare const MATTERBRIDGE_HISTORY_FILE = "history.html";
37
+ export type MaybePromise<T> = T | Promise<T>;
38
+ export type PluginName = string;
39
+ /**
40
+ * A type representing a read-only subset of the Matterbridge properties.
41
+ */
42
+ export type SharedMatterbridge = Readonly<{
43
+ systemInformation: {
44
+ interfaceName: string;
45
+ macAddress: string;
46
+ ipv4Address: string;
47
+ ipv6Address: string;
48
+ nodeVersion: string;
49
+ hostname: string;
50
+ user: string;
51
+ osType: string;
52
+ osRelease: string;
53
+ osPlatform: string;
54
+ osArch: string;
55
+ totalMemory: string;
56
+ freeMemory: string;
57
+ systemUptime: string;
58
+ processUptime: string;
59
+ cpuUsage: string;
60
+ processCpuUsage: string;
61
+ rss: string;
62
+ heapTotal: string;
63
+ heapUsed: string;
64
+ };
65
+ rootDirectory: string;
66
+ homeDirectory: string;
67
+ matterbridgeDirectory: string;
68
+ matterbridgePluginDirectory: string;
69
+ matterbridgeCertDirectory: string;
70
+ globalModulesDirectory: string;
71
+ matterbridgeVersion: string;
72
+ matterbridgeLatestVersion: string;
73
+ matterbridgeDevVersion: string;
74
+ frontendVersion: string;
75
+ bridgeMode: 'bridge' | 'childbridge' | 'controller' | '';
76
+ restartMode: 'service' | 'docker' | '';
77
+ virtualMode: 'disabled' | 'outlet' | 'light' | 'switch' | 'mounted_switch';
78
+ profile: string | undefined;
79
+ logLevel: LogLevel;
80
+ fileLogger: boolean;
81
+ matterLogLevel: LogLevel;
82
+ matterFileLogger: boolean;
83
+ mdnsInterface: string | undefined;
84
+ ipv4Address: string | undefined;
85
+ ipv6Address: string | undefined;
86
+ port: number | undefined;
87
+ discriminator: number | undefined;
88
+ passcode: number | undefined;
89
+ shellySysUpdate: boolean;
90
+ shellyMainUpdate: boolean;
91
+ }>;
92
+ /** Define an interface for the frontend */
93
+ export interface ApiPlugin extends StoragePlugin {
94
+ latestVersion?: string;
95
+ devVersion?: string;
96
+ homepage?: string;
97
+ help?: string;
98
+ changelog?: string;
99
+ funding?: string;
100
+ locked?: boolean;
101
+ error?: boolean;
102
+ loaded?: boolean;
103
+ started?: boolean;
104
+ configured?: boolean;
105
+ /** Signal that the config has changed and a restart is required */
106
+ restartRequired?: boolean;
107
+ registeredDevices?: number;
108
+ configJson?: PlatformConfig;
109
+ schemaJson?: PlatformSchema;
110
+ hasWhiteList?: boolean;
111
+ hasBlackList?: boolean;
112
+ matter?: ApiMatter;
113
+ }
114
+ /** Define an interface for storing the plugin information */
115
+ export interface StoragePlugin {
116
+ name: string;
117
+ path: string;
118
+ type: 'DynamicPlatform' | 'AccessoryPlatform' | 'AnyPlatform';
119
+ version: string;
120
+ description: string;
121
+ author: string;
122
+ enabled: boolean;
123
+ }
124
+ /** Define an interface for the system information */
125
+ export interface SystemInformation {
126
+ interfaceName: string;
127
+ macAddress: string;
128
+ ipv4Address: string;
129
+ ipv6Address: string;
130
+ nodeVersion: string;
131
+ hostname: string;
132
+ user: string;
133
+ osType: string;
134
+ osRelease: string;
135
+ osPlatform: string;
136
+ osArch: string;
137
+ totalMemory: string;
138
+ freeMemory: string;
139
+ systemUptime: string;
140
+ processUptime: string;
141
+ cpuUsage: string;
142
+ processCpuUsage: string;
143
+ rss: string;
144
+ heapTotal: string;
145
+ heapUsed: string;
146
+ }
147
+ /** Define an interface for the matterbridge information */
148
+ export interface MatterbridgeInformation {
149
+ rootDirectory: string;
150
+ homeDirectory: string;
151
+ matterbridgeDirectory: string;
152
+ matterbridgePluginDirectory: string;
153
+ matterbridgeCertDirectory: string;
154
+ globalModulesDirectory: string;
155
+ matterbridgeVersion: string;
156
+ matterbridgeLatestVersion: string;
157
+ matterbridgeDevVersion: string;
158
+ frontendVersion: string;
159
+ bridgeMode: string;
160
+ restartMode: string;
161
+ virtualMode: 'disabled' | 'outlet' | 'light' | 'switch' | 'mounted_switch';
162
+ profile: string | undefined;
163
+ readOnly: boolean;
164
+ shellyBoard: boolean;
165
+ shellySysUpdate: boolean;
166
+ shellyMainUpdate: boolean;
167
+ loggerLevel: LogLevel;
168
+ fileLogger: boolean;
169
+ matterLoggerLevel: number;
170
+ matterFileLogger: boolean;
171
+ matterMdnsInterface: string | undefined;
172
+ matterIpv4Address: string | undefined;
173
+ matterIpv6Address: string | undefined;
174
+ matterPort: number;
175
+ matterDiscriminator: number | undefined;
176
+ matterPasscode: number | undefined;
177
+ restartRequired: boolean;
178
+ fixedRestartRequired: boolean;
179
+ updateRequired: boolean;
180
+ }
181
+ /** Define an interface for sanitized exposed fabric information suitable for API responses */
182
+ export interface SanitizedExposedFabricInformation {
183
+ fabricIndex: FabricIndex;
184
+ fabricId: string;
185
+ nodeId: string;
186
+ rootNodeId: string;
187
+ rootVendorId: VendorId;
188
+ rootVendorName: string;
189
+ label: string;
190
+ }
191
+ /** Define an interface for sanitized session information suitable for API responses */
192
+ export interface SanitizedSession {
193
+ name: string;
194
+ nodeId: string;
195
+ peerNodeId: string;
196
+ fabric?: SanitizedExposedFabricInformation;
197
+ isPeerActive: boolean;
198
+ lastInteractionTimestamp: string;
199
+ lastActiveTimestamp: string;
200
+ numberOfActiveSubscriptions: number;
201
+ }
202
+ /** Define an interface for API device information */
203
+ export interface ApiDevice {
204
+ pluginName: string;
205
+ type: string;
206
+ endpoint: EndpointNumber | undefined;
207
+ name: string;
208
+ serial: string;
209
+ productUrl: string;
210
+ configUrl?: string;
211
+ uniqueId: string;
212
+ reachable: boolean;
213
+ powerSource?: 'ac' | 'dc' | 'ok' | 'warning' | 'critical';
214
+ batteryLevel?: number;
215
+ cluster: string;
216
+ matter?: ApiMatter;
217
+ }
218
+ /** Define an interface for base device information */
219
+ export interface BaseDevice {
220
+ mode: 'server' | 'matter' | undefined;
221
+ plugin: string | undefined;
222
+ configUrl: string | undefined;
223
+ deviceName: string | undefined;
224
+ serialNumber: string | undefined;
225
+ uniqueId: string | undefined;
226
+ vendorId: number | undefined;
227
+ vendorName: string | undefined;
228
+ productId: number | undefined;
229
+ productName: string | undefined;
230
+ softwareVersion: number | undefined;
231
+ softwareVersionString: string | undefined;
232
+ hardwareVersion: number | undefined;
233
+ hardwareVersionString: string | undefined;
234
+ productUrl: string;
235
+ tagList: Semtag[] | undefined;
236
+ originalId: string | undefined;
237
+ name: string | undefined;
238
+ deviceType: number | undefined;
239
+ number: EndpointNumber | undefined;
240
+ id: string | undefined;
241
+ }
242
+ /** Define an interface for API matter information */
243
+ export interface ApiMatter {
244
+ id: string;
245
+ online: boolean;
246
+ commissioned: boolean;
247
+ advertising: boolean;
248
+ advertiseTime: number;
249
+ windowStatus: AdministratorCommissioning.CommissioningWindowStatus;
250
+ fabricInformations: SanitizedExposedFabricInformation[];
251
+ sessionInformations: SanitizedSession[];
252
+ qrPairingCode: string;
253
+ manualPairingCode: string;
254
+ serialNumber: string | undefined;
255
+ }
256
+ /** Define an interface for API clusters information */
257
+ export interface ApiClusters {
258
+ plugin: string;
259
+ deviceName: string;
260
+ serialNumber: string;
261
+ /** Endpoint number */
262
+ number: EndpointNumber;
263
+ /** Endpoint id */
264
+ id: string;
265
+ deviceTypes: number[];
266
+ clusters: Cluster[];
267
+ }
268
+ /** Define an interface for Cluster information in ApiClusters */
269
+ export interface Cluster {
270
+ /** Endpoint number > string */
271
+ endpoint: string;
272
+ /** Endpoint number */
273
+ number: EndpointNumber;
274
+ /** Endpoint id or main for the device root endpoint */
275
+ id: string;
276
+ deviceTypes: number[];
277
+ clusterName: string;
278
+ clusterId: string;
279
+ attributeName: string;
280
+ attributeId: string;
281
+ attributeValue: string;
282
+ attributeLocalValue: unknown;
283
+ }
284
+ //# sourceMappingURL=matterbridgeTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matterbridgeTypes.d.ts","sourceRoot":"","sources":["../src/matterbridgeTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;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M,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,0BAA0B,CAAC,yBAAyB,CAAC;IACnE,kBAAkB,EAAE,iCAAiC,EAAE,CAAC;IACxD,mBAAmB,EAAE,gBAAgB,EAAE,CAAC;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED,uDAAuD;AACvD,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,sBAAsB;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,kBAAkB;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB;AAED,iEAAiE;AACjE,MAAM,WAAW,OAAO;IACtB,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,sBAAsB;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,uDAAuD;IACvD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,OAAO,CAAC;CAC9B"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file contains the types for Matterbridge.
3
+ *
4
+ * @file matterbridgeTypes.ts
5
+ * @author Luca Liguori
6
+ * @created 2024-07-12
7
+ * @version 1.0.3
8
+ * @license Apache-2.0
9
+ *
10
+ * Copyright 2023, 2024, 2025 Luca Liguori.
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ // Default colors
25
+ export const plg = '\u001B[38;5;33m';
26
+ export const dev = '\u001B[38;5;79m';
27
+ export const typ = '\u001B[38;5;207m';
28
+ // Default names
29
+ export const MATTERBRIDGE_LOGGER_FILE = 'matterbridge.log';
30
+ export const MATTER_LOGGER_FILE = 'matter.log';
31
+ export const NODE_STORAGE_DIR = 'storage';
32
+ export const MATTER_STORAGE_NAME = 'matterstorage';
33
+ export const MATTERBRIDGE_DIAGNOSTIC_FILE = 'diagnostic.log';
34
+ export const MATTERBRIDGE_HISTORY_FILE = 'history.html';
35
+ //# sourceMappingURL=matterbridgeTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matterbridgeTypes.js","sourceRoot":"","sources":["../src/matterbridgeTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAWH,iBAAiB;AACjB,MAAM,CAAC,MAAM,GAAG,GAAG,iBAAiB,CAAC;AACrC,MAAM,CAAC,MAAM,GAAG,GAAG,iBAAiB,CAAC;AACrC,MAAM,CAAC,MAAM,GAAG,GAAG,kBAAkB,CAAC;AAEtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAC3D,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAC/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAAC;AAC1C,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACnD,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,CAAC;AAC7D,MAAM,CAAC,MAAM,yBAAyB,GAAG,cAAc,CAAC"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * This file contains the worker types.
3
+ *
4
+ * @file workerTypes.ts
5
+ * @author Luca Liguori
6
+ * @created 2025-11-25
7
+ * @version 1.1.0
8
+ * @license Apache-2.0
9
+ *
10
+ * Copyright 2025, 2026, 2027 Luca Liguori.
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ import type { LogLevel } from 'node-ansi-logger';
25
+ /** Control messages sent through parentPort manager <-> workers */
26
+ export type ParentPortMessage = {
27
+ type: 'init';
28
+ threadName: string | null;
29
+ threadId: number;
30
+ success: boolean;
31
+ } | {
32
+ type: 'ping';
33
+ threadName: string | null;
34
+ threadId: number;
35
+ } | {
36
+ type: 'pong';
37
+ threadName: string | null;
38
+ threadId: number;
39
+ } | {
40
+ type: 'log';
41
+ threadName: string | null;
42
+ threadId: number;
43
+ logName: string | undefined;
44
+ logLevel: LogLevel;
45
+ message: string;
46
+ } | {
47
+ type: 'exit';
48
+ threadName: string | null;
49
+ threadId: number;
50
+ success: boolean;
51
+ };
52
+ //# sourceMappingURL=workerTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workerTypes.d.ts","sourceRoot":"","sources":["../src/workerTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,mEAAmE;AACnE,MAAM,MAAM,iBAAiB,GACzB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,GAC/E;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAC7D;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAC7D;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAC9H;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file contains the worker types.
3
+ *
4
+ * @file workerTypes.ts
5
+ * @author Luca Liguori
6
+ * @created 2025-11-25
7
+ * @version 1.1.0
8
+ * @license Apache-2.0
9
+ *
10
+ * Copyright 2025, 2026, 2027 Luca Liguori.
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ export {};
25
+ //# sourceMappingURL=workerTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workerTypes.js","sourceRoot":"","sources":["../src/workerTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG"}
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@matterbridge/types",
3
+ "version": "3.5.3",
4
+ "description": "Matterbridge types library",
5
+ "author": "https://github.com/Luligu",
6
+ "homepage": "https://matterbridge.io/",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/Luligu/matterbridge.git",
10
+ "directory": "packages/types"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/Luligu/matterbridge/issues"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "keywords": [],
19
+ "license": "Apache-2.0",
20
+ "funding": {
21
+ "type": "buymeacoffee",
22
+ "url": "https://www.buymeacoffee.com/luligugithub"
23
+ },
24
+ "type": "module",
25
+ "main": "./dist/export.js",
26
+ "types": "./dist/export.d.ts",
27
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/export.d.ts",
30
+ "import": "./dist/export.js"
31
+ }
32
+ },
33
+ "engines": {
34
+ "node": ">=20.0.0 <21.0.0 || >=22.0.0 <23.0.0 || >=24.0.0 <25.0.0"
35
+ },
36
+ "files": [
37
+ "bin",
38
+ "dist",
39
+ "npm-shrinkwrap.json",
40
+ "CHANGELOG.md"
41
+ ],
42
+ "overrides": {
43
+ "eslint": "9.39.2",
44
+ "@eslint/js": "9.39.2"
45
+ },
46
+ "dependencies": {
47
+ "node-ansi-logger": "3.2.0"
48
+ }
49
+ }