@matterbridge/types 3.10.14-dev-20261014-8d92b7f → 3.10.14-dev-20261014-2811fdc
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LogLevel } from 'node-ansi-logger';
|
|
2
2
|
import type { ApiSelectDevice, ApiSelectEntity, ApiSettings, PluginStatusUpdate, RefreshRequiredChanged, WsMessageBroadcast } from './frontendTypes.js';
|
|
3
3
|
import type { PlatformConfig, PlatformMatterbridge, PlatformSchema } from './matterbridgePlatformTypes.js';
|
|
4
|
-
import type { ApiDevice, ApiMatter, ApiPlugin, BaseDevice, BridgeStatus, SharedMatterbridge, StoragePlugin } from './matterbridgeTypes.js';
|
|
4
|
+
import type { ApiClusters, ApiDevice, ApiMatter, ApiPlugin, BaseDevice, BridgeStatus, SharedMatterbridge, StoragePlugin } from './matterbridgeTypes.js';
|
|
5
5
|
import type { ThreadNames, WorkerData } from './workerTypes.js';
|
|
6
6
|
export type WorkerSrcType = 'cli' | 'manager' | 'matterbridge' | 'plugins' | 'devices' | 'frontend' | 'matter' | 'platform' | 'spawn' | 'updates';
|
|
7
7
|
export type WorkerDstType = 'cli' | 'manager' | 'matterbridge' | 'plugins' | 'devices' | 'frontend' | 'matter' | 'platform' | 'spawn' | 'updates' | 'all';
|
|
@@ -117,7 +117,8 @@ export type WorkerMessageTypes = {
|
|
|
117
117
|
platform_get_apidevices: {
|
|
118
118
|
request: {
|
|
119
119
|
params: {
|
|
120
|
-
|
|
120
|
+
pluginName: string;
|
|
121
|
+
extended: boolean;
|
|
121
122
|
};
|
|
122
123
|
};
|
|
123
124
|
response: {
|
|
@@ -126,10 +127,25 @@ export type WorkerMessageTypes = {
|
|
|
126
127
|
};
|
|
127
128
|
};
|
|
128
129
|
};
|
|
130
|
+
platform_get_apiclusters: {
|
|
131
|
+
request: {
|
|
132
|
+
params: {
|
|
133
|
+
pluginName: string;
|
|
134
|
+
number: number;
|
|
135
|
+
serialNumber: string;
|
|
136
|
+
uniqueId: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
response: {
|
|
140
|
+
result: {
|
|
141
|
+
clusters: ApiClusters;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
129
145
|
platform_get_apiselectdevices: {
|
|
130
146
|
request: {
|
|
131
147
|
params: {
|
|
132
|
-
|
|
148
|
+
pluginName: string;
|
|
133
149
|
};
|
|
134
150
|
};
|
|
135
151
|
response: {
|
|
@@ -141,7 +157,7 @@ export type WorkerMessageTypes = {
|
|
|
141
157
|
platform_get_apiselectentities: {
|
|
142
158
|
request: {
|
|
143
159
|
params: {
|
|
144
|
-
|
|
160
|
+
pluginName: string;
|
|
145
161
|
};
|
|
146
162
|
};
|
|
147
163
|
response: {
|
|
@@ -1047,6 +1063,7 @@ export type WorkerMessageTypes = {
|
|
|
1047
1063
|
request: {
|
|
1048
1064
|
params: {
|
|
1049
1065
|
pluginName?: string;
|
|
1066
|
+
extended?: boolean;
|
|
1050
1067
|
};
|
|
1051
1068
|
};
|
|
1052
1069
|
response: {
|
package/dist/frontendTypes.d.ts
CHANGED
|
@@ -73,7 +73,6 @@ export interface WsMessagePingRequest extends WsMessageBaseApiRequest {
|
|
|
73
73
|
export interface WsMessagePingResponse extends WsMessageSuccessApiResponse {
|
|
74
74
|
method: 'pong';
|
|
75
75
|
response: 'pong';
|
|
76
|
-
success: true;
|
|
77
76
|
}
|
|
78
77
|
export interface WsMessageApiLoginRequest extends WsMessageBaseApiRequest {
|
|
79
78
|
method: '/api/login';
|
|
@@ -271,6 +270,7 @@ export interface WsMessageApiDevicesRequest extends WsMessageBaseApiRequest {
|
|
|
271
270
|
method: '/api/devices';
|
|
272
271
|
params: {
|
|
273
272
|
pluginName?: string;
|
|
273
|
+
extended: boolean;
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
276
|
export interface WsMessageApiDevicesResponse extends WsMessageSuccessApiResponse {
|
|
@@ -280,10 +280,10 @@ export interface WsMessageApiDevicesResponse extends WsMessageSuccessApiResponse
|
|
|
280
280
|
export interface WsMessageApiClustersRequest extends WsMessageBaseApiRequest {
|
|
281
281
|
method: '/api/clusters';
|
|
282
282
|
params: {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
serialNumber
|
|
286
|
-
uniqueId
|
|
283
|
+
pluginName: string;
|
|
284
|
+
number: number;
|
|
285
|
+
serialNumber: string;
|
|
286
|
+
uniqueId: string;
|
|
287
287
|
};
|
|
288
288
|
}
|
|
289
289
|
export interface WsMessageApiClustersResponse extends WsMessageSuccessApiResponse {
|
package/package.json
CHANGED