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
* Moved adminUI to AdapterCommon
* minor typo adjustments and instanceObject now extends AdapterObject
* fix the extension of adapter object
---------
Co-authored-by: Max Hauser <[email protected]>
/** The keys of common attributes (e.g. `history`) which are not deleted in a `setObject` call even if they are not present. Deletion must be done explicitly by setting them to `null`. */
707
711
preserveSettings?: string|string[];
@@ -713,7 +717,6 @@ declare global {
713
717
restartSchedule?: string;
714
718
/** If the adapter runs in `schedule` mode, this contains the CRON */
715
719
schedule?: string;
716
-
serviceStates?: boolean|string;
717
720
/** Whether this adapter may only be installed once per host */
718
721
singletonHost?: boolean;
719
722
/** Whether this adapter may only be installed once in the whole system */
@@ -722,6 +725,7 @@ declare global {
722
725
stopBeforeUpdate?: boolean;
723
726
/** Overrides the default timeout that ioBroker will wait before force-stopping the adapter */
724
727
stopTimeout?: number;
728
+
/** This adapter supports a special mode: if someone subscribes on its states, it starts to read them. It is done to save the bandwidth or load of the slave device */
725
729
subscribable?: boolean;
726
730
/** If `true`, this adapter provides custom per-state settings. Requires a `custom_m.html` file in the `admin` directory. */
727
731
supportCustoms?: boolean;
@@ -765,19 +769,23 @@ declare global {
765
769
unsafePerm?: true;
766
770
/** The available version in the ioBroker repo. */
767
771
version: string;
772
+
/** Definition of the vis-2 widgets */
768
773
visWidgets?: Record<string,VisWidget>;
769
774
/** Include the adapter version in the URL of the web adapter, e.g. `http://ip:port/1.2.3/material` instead of `http://ip:port/material` */
770
775
webByVersion?: boolean;
771
776
/** Whether the web server in this adapter can be extended with plugin/extensions */
772
777
webExtendable?: boolean;
773
778
/** Relative path to a module that contains an extension for the web adapter. Use together with @see native.webInstance to configure which instances this affects */
774
779
webExtension?: string;
775
-
webPreSettings?: any;// ?
776
-
webservers?: any;// ?
780
+
/** List of parameters that must be included in info.js by webServer adapter. (Example material: `"webPreSettings": { "materialBackground": "native.loadingBackground" }`). Web adapter uses this setting to create a customized info.js file to provide some essential settings for index.html file before the socket connection is established to provide e.g., background color of the loading screen. */
781
+
webPreSettings?: Record<string,any>;
782
+
/** @deprecated (where is it necessary?) Array of web server's instances that should serve content from the adapter's www folder */
783
+
webservers?: string[];
777
784
/** @deprecated (use localLinks) A list of pages that should be shown on the "web" index page */
778
785
welcomeScreen?: WelcomeScreenEntry[];
779
786
/** @deprecated (use localLinks) A list of pages that should be shown on the ioBroker cloud index page */
780
787
welcomeScreenPro?: WelcomeScreenEntry[];
788
+
/** @deprecated (rename the `www` folder in e.g. `adminWww`) If true, the `www` folder will be not uploaded into DB */
781
789
wwwDontUpload?: boolean;
782
790
/** @deprecated Use 'common.licenseInformation' instead */
783
791
license?: string;
@@ -846,7 +854,7 @@ declare global {
846
854
};
847
855
/** Deactivated instances, that should not be shown in admin/Intro page */
848
856
intro?: string[];
849
-
/** Which tabs are visible in admin in the left menu */
857
+
/** Defines which tabs are visible in the left menu of the admin */
850
858
tabsVisible?: {
851
859
/** Name of the tab */
852
860
name: string;
@@ -1005,6 +1013,7 @@ declare global {
1005
1013
}
1006
1014
1007
1015
interfaceRepositoryJson{
1016
+
/** Information about the repository: creation time, name, is it stable */
0 commit comments