@iobroker/types 5.0.14 → 5.0.15-alpha.0-20231027-9ced50d9
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/objects.d.ts +16 -0
- package/package.json +2 -2
package/build/objects.d.ts
CHANGED
|
@@ -307,6 +307,16 @@ declare global {
|
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
type InstanceMode = 'none' | 'daemon' | 'subscribe' | 'schedule' | 'once' | 'extension';
|
|
310
|
+
|
|
311
|
+
interface AdminUi {
|
|
312
|
+
/** UI type of config page inside admin UI */
|
|
313
|
+
config: 'html' | 'json' | 'materialize' | 'none';
|
|
314
|
+
/** UI type of custom tab inside admin UI */
|
|
315
|
+
custom?: 'json';
|
|
316
|
+
/** UI type of tab inside admin UI */
|
|
317
|
+
tab?: 'html' | 'materialize';
|
|
318
|
+
}
|
|
319
|
+
|
|
310
320
|
interface InstanceCommon extends AdapterCommon {
|
|
311
321
|
version: string;
|
|
312
322
|
/** The name of the host where this instance is running */
|
|
@@ -336,6 +346,10 @@ declare global {
|
|
|
336
346
|
nodeProcessParams?: string[];
|
|
337
347
|
/** If adapter can consume log messages, like admin, javascript or logparser */
|
|
338
348
|
logTransporter?: boolean;
|
|
349
|
+
/** Type of the admin UI */
|
|
350
|
+
adminUI?: AdminUi;
|
|
351
|
+
/** Optional memory limit for this instance */
|
|
352
|
+
memoryLimitMB?: number;
|
|
339
353
|
|
|
340
354
|
// Make it possible to narrow the object type using the custom property
|
|
341
355
|
custom?: undefined;
|
|
@@ -566,6 +580,8 @@ declare global {
|
|
|
566
580
|
preserveSettings?: string | string[];
|
|
567
581
|
/** Which adapters must be restarted after installing or updating this adapter. */
|
|
568
582
|
restartAdapters?: string[];
|
|
583
|
+
/** CRON schedule to restart mode `daemon` adapters */
|
|
584
|
+
restartSchedule?: string;
|
|
569
585
|
/** If the adapter runs in `schedule` mode, this contains the CRON */
|
|
570
586
|
schedule?: string;
|
|
571
587
|
serviceStates?: boolean | string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/types",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.15-alpha.0-20231027-9ced50d9",
|
|
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": "90a195a807a6a04dfb7ae45f91cc1aeb86df86ce"
|
|
45
45
|
}
|