@iobroker/dm-utils 0.6.11 → 1.0.0
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/LICENSE +1 -1
- package/README.md +6 -1
- package/build/types/base.d.ts +2 -0
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2023-
|
|
3
|
+
Copyright (c) 2023-2025 ioBroker Community Developers
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -295,6 +295,11 @@ This method returns a promise that resolves to a `ProgressDialog` object.
|
|
|
295
295
|
### **WORK IN PROGRESS**
|
|
296
296
|
-->
|
|
297
297
|
## Changelog
|
|
298
|
+
### 1.0.0 (2025-01-08)
|
|
299
|
+
|
|
300
|
+
* (@GermanBluefox) Added `disabled` options for a device
|
|
301
|
+
* (@GermanBluefox) Major release just because is good enough. No breaking changes.
|
|
302
|
+
|
|
298
303
|
### 0.6.11 (2024-12-11)
|
|
299
304
|
|
|
300
305
|
* (@GermanBluefox) Do not close handler for progress
|
|
@@ -366,7 +371,7 @@ This method returns a promise that resolves to a `ProgressDialog` object.
|
|
|
366
371
|
## License
|
|
367
372
|
MIT License
|
|
368
373
|
|
|
369
|
-
Copyright (c) 2023-
|
|
374
|
+
Copyright (c) 2023-2025 ioBroker Community Developers
|
|
370
375
|
|
|
371
376
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
372
377
|
of this software and associated documentation files (the "Software"), to deal
|
package/build/types/base.d.ts
CHANGED
|
@@ -101,6 +101,8 @@ export interface DeviceInfo<T extends ActionType = 'api'> {
|
|
|
101
101
|
actions?: DeviceAction<T>[];
|
|
102
102
|
controls?: DeviceControl<T>[];
|
|
103
103
|
hasDetails?: boolean;
|
|
104
|
+
/** undefined means, no "disabled" possibility, true means disabled, false means enabled */
|
|
105
|
+
disabled?: boolean;
|
|
104
106
|
group?: {
|
|
105
107
|
key: string;
|
|
106
108
|
name?: ioBroker.StringOrTranslated;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/dm-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "ioBroker Device Manager utilities for backend",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"release-patch": "release-script patch --yes",
|
|
17
17
|
"release-minor": "release-script minor --yes",
|
|
18
18
|
"release-major": "release-script major --yes",
|
|
19
|
-
"update-packages": "
|
|
19
|
+
"update-packages": "npx -y npm-check-updates --upgrade",
|
|
20
20
|
"npm": "npm i -f"
|
|
21
21
|
},
|
|
22
22
|
"author": "UncleSamSwiss",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@alcalzone/release-script": "^3.8.0",
|
|
29
29
|
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
30
30
|
"@iobroker/eslint-config": "^1.0.0",
|
|
31
|
-
"@types/node": "^22.10.
|
|
31
|
+
"@types/node": "^22.10.5",
|
|
32
32
|
"axios": "^1.7.9",
|
|
33
33
|
"typescript": "^5.7.2"
|
|
34
34
|
},
|