@iobroker/dm-utils 0.2.0 → 0.2.2
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 +3 -0
- package/build/types/base.d.ts +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -294,6 +294,9 @@ This method returns a promise that resolves to a `ProgressDialog` object.
|
|
|
294
294
|
### **WORK IN PROGRESS**
|
|
295
295
|
-->
|
|
296
296
|
## Changelog
|
|
297
|
+
### 0.2.2 (2024-06-26)
|
|
298
|
+
* (bluefox) packages updated
|
|
299
|
+
|
|
297
300
|
### 0.2.0 (2024-05-29)
|
|
298
301
|
* (bluefox) enhanced type exports
|
|
299
302
|
* (bluefox) added confirmation and input text options
|
package/build/types/base.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ export interface ActionBase<T extends ActionType> {
|
|
|
14
14
|
color?: Color;
|
|
15
15
|
backgroundColor?: Color;
|
|
16
16
|
/** If true, the user will be asked for confirmation before executing the action */
|
|
17
|
-
confirmation
|
|
17
|
+
confirmation?: boolean | ioBroker.StringOrTranslated;
|
|
18
18
|
/** If defined, before the action is triggered, the non-empty text or number or checkbox will be asked */
|
|
19
|
-
inputBefore
|
|
19
|
+
inputBefore?: {
|
|
20
20
|
/** This label will be shown for the text input */
|
|
21
21
|
label: ioBroker.StringOrTranslated;
|
|
22
22
|
/** This type of input will be shown. Default is type */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/dm-utils",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "ioBroker Device Manager utilities for backend",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
"author": "UncleSamSwiss",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@iobroker/adapter-core": "^3.1.
|
|
24
|
+
"@iobroker/adapter-core": "^3.1.6"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@alcalzone/release-script": "^3.7.0",
|
|
28
28
|
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
29
|
-
"@types/node": "^20.
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
31
|
-
"@typescript-eslint/parser": "^7.
|
|
29
|
+
"@types/node": "^20.14.9",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
31
|
+
"@typescript-eslint/parser": "^7.14.1",
|
|
32
32
|
"eslint": "^8.57.0",
|
|
33
33
|
"eslint-config-prettier": "^9.1.0",
|
|
34
|
-
"prettier": "^3.2
|
|
35
|
-
"typescript": "^5.
|
|
34
|
+
"prettier": "^3.3.2",
|
|
35
|
+
"typescript": "^5.5.2"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"LICENSE",
|