@iobroker/types 7.1.0 → 7.1.1-alpha.0-20260127-997e40b73
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/build/types.d.ts +15 -1
- package/package.json +2 -2
package/build/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
|
|
2
3
|
import { EventEmitter } from 'node:events';
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -949,6 +950,19 @@ export declare interface CheckStatesResult {
|
|
|
949
950
|
|
|
950
951
|
export declare type ClientUnsubscribeReason = MessageUnsubscribeReason | 'clientSubscribeError';
|
|
951
952
|
|
|
953
|
+
declare interface CommandResult {
|
|
954
|
+
/** Whether the command execution was successful */
|
|
955
|
+
success: boolean;
|
|
956
|
+
/** The exit code of the command execution */
|
|
957
|
+
exitCode: number;
|
|
958
|
+
/** The captured stdout */
|
|
959
|
+
stdout: string;
|
|
960
|
+
/** The captured stderr */
|
|
961
|
+
stderr: string;
|
|
962
|
+
/** The captured stdout and stderr, interleaved like it would appear on the console */
|
|
963
|
+
stdall: string;
|
|
964
|
+
}
|
|
965
|
+
|
|
952
966
|
export declare type CommandsPermissions = CommandsPermissionsObject | CommandsPermissionsEntry[];
|
|
953
967
|
|
|
954
968
|
export declare type CommandsPermissionsEntry = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/types",
|
|
3
|
-
"version": "7.1.0",
|
|
3
|
+
"version": "7.1.1-alpha.0-20260127-997e40b73",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12.0.0"
|
|
6
6
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
]
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a97005b2192fdea254de67924fb3ab0e411f918b"
|
|
45
45
|
}
|