@iobroker/adapter-react-v5 7.4.9 → 7.4.10
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 +2 -2
- package/build/Components/ObjectBrowser.js +24 -2
- package/build/Components/ObjectBrowser.js.map +1 -1
- package/build/LegacyConnection.d.ts +13 -1
- package/build/LegacyConnection.js.map +1 -1
- package/build/types.d.ts +14 -1
- package/index.css +56 -0
- package/package.json +3 -2
|
@@ -15,6 +15,18 @@ declare global {
|
|
|
15
15
|
iob: any;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
+
type LogMessage = {
|
|
19
|
+
/** Log message */
|
|
20
|
+
message: string;
|
|
21
|
+
/** origin */
|
|
22
|
+
from: string;
|
|
23
|
+
/** timestamp in ms */
|
|
24
|
+
ts: number;
|
|
25
|
+
/** Log message */
|
|
26
|
+
severity: ioBroker.LogLevel;
|
|
27
|
+
/** unique ID of the message */
|
|
28
|
+
_id: number;
|
|
29
|
+
};
|
|
18
30
|
export type Severity = 'info' | 'notify' | 'alert';
|
|
19
31
|
type DockerInformation = {
|
|
20
32
|
/** If it is a Docker installation */
|
|
@@ -149,7 +161,7 @@ interface ConnectionProps {
|
|
|
149
161
|
/** Ready callback. */
|
|
150
162
|
onReady?: (objects: Record<string, ioBroker.Object>) => void;
|
|
151
163
|
/** Log callback. */
|
|
152
|
-
onLog?: (
|
|
164
|
+
onLog?: (message: LogMessage) => void;
|
|
153
165
|
/** Error callback. */
|
|
154
166
|
onError?: (error: any) => void;
|
|
155
167
|
/** Object change callback. */
|