You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Custom attributes to be shown in admin in the object browser */
@@ -635,9 +635,11 @@ declare global {
635
635
/** How the adapter will mainly receive its data. Set this together with @see connectionType */
636
636
dataSource?: 'poll'|'push'|'assumption';
637
637
/** A record of ioBroker adapters (including "js-controller") and version ranges which are required for this adapter on the same host. */
638
-
dependencies?: Depdendencies;
638
+
dependencies?: Dependencies;
639
639
/** A record of ioBroker adapters (including "js-controller") and version ranges which are required for this adapter in the whole system. */
640
-
globalDependencies?: Depdendencies;
640
+
globalDependencies?: Dependencies;
641
+
/** Similar to `dependencies`, but only checked if the specified adapter is already installed. If the adapter is not installed, the version check will pass */
Copy file name to clipboardExpand all lines: schemas/io-package.json
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1181,6 +1181,15 @@
1181
1181
]
1182
1182
}
1183
1183
},
1184
+
"ifInstalledDependencies": {
1185
+
"description": "Object like {\"admin\": \">=2.0.0\", \"javascript\": \">=3.0.0\"} that describes which versions of ioBroker modules are required for this adapter on one of the hosts, but only if this adapter is installed",
1186
+
"type": "object",
1187
+
"patternProperties": {
1188
+
".+": {
1189
+
"type": "string"
1190
+
}
1191
+
}
1192
+
},
1184
1193
"icon": {
1185
1194
"description": "name of the local icon (should be located in subdirectory \"admin\")",
0 commit comments