@iobroker/types 5.0.14 → 5.0.15-alpha.0-20231024-8aaeaa08

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.
Files changed (2) hide show
  1. package/build/objects.d.ts +12 -0
  2. package/package.json +2 -2
@@ -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,8 @@ 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;
339
351
 
340
352
  // Make it possible to narrow the object type using the custom property
341
353
  custom?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/types",
3
- "version": "5.0.14",
3
+ "version": "5.0.15-alpha.0-20231024-8aaeaa08",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
@@ -41,5 +41,5 @@
41
41
  ]
42
42
  }
43
43
  },
44
- "gitHead": "531699fe22093d68af5a7d90cf93409f83a267d0"
44
+ "gitHead": "8906ccd305ffae6d104f74af12006ae294fcfaef"
45
45
  }