@iobroker/types 7.1.1 → 7.1.2-alpha.1-20260507-9a5979255

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.
@@ -533,9 +533,9 @@ declare global {
533
533
  /**
534
534
  * This structure defines the widgets for "devices" adapter
535
535
  */
536
- export interface DevicesWidget {
537
- /** Link to the file with components relatively to `admin/dm-widgets` in admin or `${adapterName}` in web */
538
- url: string;
536
+ export interface DevicesWidgets {
537
+ /** Link to the file with components relatively to `admin/dm-widgets` in admin or `${adapterName}` in web. Default is customDevices.js */
538
+ url?: string;
539
539
  /** Description of the components (widgets). It could be multiple widgets in one adapter */
540
540
  components: {
541
541
  /** Name of the class */
@@ -543,7 +543,7 @@ declare global {
543
543
  /** Title */
544
544
  label: ioBroker.StringOrTranslated;
545
545
  /** Description */
546
- description: ioBroker.StringOrTranslated;
546
+ description?: ioBroker.StringOrTranslated;
547
547
  /** Icon as a link to picture imageName.png relative to the admin folder or base64 */
548
548
  icon: string;
549
549
  }[];
@@ -701,7 +701,7 @@ declare global {
701
701
  /** Similar to `dependencies`, but only checked if the specified adapter is already installed. If the adapter is not installed, the version check will pass */
702
702
  ifInstalledDependencies?: { [adapterName: string]: string };
703
703
  /** Definition of the widgets for "devices" adapter */
704
- deviceWidgets?: Record<string, DevicesWidget>;
704
+ deviceWidgets?: DevicesWidgets;
705
705
  /** Which files outside the README.md have documentation for the adapter */
706
706
  docs?: Partial<Record<Languages, string | string[]>>;
707
707
  /** Whether new instances should be enabled by default. *Should* be `false`! */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/types",
3
- "version": "7.1.1",
3
+ "version": "7.1.2-alpha.1-20260507-9a5979255",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
@@ -41,5 +41,5 @@
41
41
  ]
42
42
  }
43
43
  },
44
- "gitHead": "1332337f3af5deaa2de65ac5fc0eef2ad5db4f5d"
44
+ "gitHead": "6b6e7739b9240f64ad1ab8a7149232b338fe742e"
45
45
  }