@iobroker/types 7.1.2-alpha.0-20260409-feacb179d → 7.1.2

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 +11 -3
  2. package/package.json +2 -2
@@ -534,8 +534,8 @@ declare global {
534
534
  * This structure defines the widgets for "devices" adapter
535
535
  */
536
536
  export interface DevicesWidgets {
537
- /** Link to the file with components relatively to `admin/dm-widgets` in admin or `${adapterName}` in web */
538
- url: string;
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
  }[];
@@ -875,6 +875,14 @@ declare global {
875
875
  /** Load it as a TypeScript module */
876
876
  type?: 'module';
877
877
  };
878
+ /**
879
+ * Defines the default value for objectsWarnLimit,
880
+ * which is the maximum number of objects that can be stored in the system.
881
+ * If this limit is exceeded, a warning will be shown in the admin UI.
882
+ * This is used to prevent performance issues caused by too many objects.
883
+ * The system default is actually 5000
884
+ */
885
+ defaultObjectsWarnLimit?: number;
878
886
 
879
887
  // Make it possible to narrow the object type using the custom property
880
888
  custom?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/types",
3
- "version": "7.1.2-alpha.0-20260409-feacb179d",
3
+ "version": "7.1.2",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
@@ -41,5 +41,5 @@
41
41
  ]
42
42
  }
43
43
  },
44
- "gitHead": "830837528f484045e894105e6fc11d7f925e612a"
44
+ "gitHead": "095018313e1b815e4b496dc93462329fd5a7e45a"
45
45
  }