@iobroker/dm-utils 0.1.2 → 0.1.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.
package/README.md CHANGED
@@ -294,7 +294,7 @@ This method returns a promise that resolves to a `ProgressDialog` object.
294
294
  ### **WORK IN PROGRESS**
295
295
  -->
296
296
  ## Changelog
297
- ### 0.1.2 (2023-12-10)
297
+ ### 0.1.3 (2023-12-10)
298
298
  * (bluefox) added some fields to DeviceInfo interface
299
299
  * (bluefox) added control possibilities
300
300
 
@@ -36,7 +36,7 @@ export interface ControlBase {
36
36
  color?: Color;
37
37
  }[];
38
38
  }
39
- export interface DeviceControl<T extends ActionType = "api"> extends ActionBase<T> {
39
+ export interface DeviceControl<T extends ActionType = "api"> extends ControlBase {
40
40
  handler?: T extends "api" ? never : (deviceId: string, actionId: string, state: ControlState, context: MessageContext) => RetVal<ErrorResponse | ioBroker.State>;
41
41
  getStateHandler?: T extends "api" ? never : (deviceId: string, actionId: string, context: MessageContext) => RetVal<ErrorResponse | ioBroker.State>;
42
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/dm-utils",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "ioBroker Device Manager utilities for backend",
5
5
  "main": "build/index.js",
6
6
  "publishConfig": {