@iobroker/types
Advanced tools
Comparing version 6.0.12-alpha.0-20240920-4149909bc to 6.0.12-alpha.0-20240921-0dac039a7
@@ -377,7 +377,4 @@ import type * as os from 'node:os'; | ||
logTransporter?: boolean; | ||
/** Type of the admin UI */ | ||
adminUI?: AdminUi; | ||
/** Optional memory limit for this instance */ | ||
memoryLimitMB?: number; | ||
// Make it possible to narrow the object type using the custom property | ||
@@ -605,2 +602,4 @@ custom?: undefined; | ||
adminColumns?: string | (string | CustomAdminColumn)[]; | ||
/** Type of the admin UI */ | ||
adminUI?: AdminUi; | ||
/** Settings for custom Admin Tabs */ | ||
@@ -622,2 +621,3 @@ adminTab?: { | ||
}; | ||
/** If the mode is `schedule`, start one time adapter by ioBroker start, or by the configuration changes */ | ||
allowInit?: boolean; | ||
@@ -660,4 +660,5 @@ /** If the adapter should be automatically upgraded and which version ranges are supported */ | ||
installedFrom?: InstalledFrom; | ||
/** Which version of this adapter is installed */ | ||
/** Shows which version of this adapter is installed */ | ||
installedVersion: string; | ||
/** Keywords are used by search in admin. Do not write ioBroker here */ | ||
keywords?: string[]; | ||
@@ -668,2 +669,3 @@ /** A dictionary of links to web services this adapter provides */ | ||
localLink?: string; | ||
/** Default log level for this adapter. It can be changed for every instance separately */ | ||
loglevel?: LogLevel; | ||
@@ -682,2 +684,3 @@ /** Whether this adapter receives logs from other hosts and adapters (e.g., to store them somewhere) */ | ||
supportedMessages?: SupportedMessages; | ||
/** Running mode: `none`, `daemon`, `schedule`, `once`, `extension` */ | ||
mode: InstanceMode; | ||
@@ -711,2 +714,3 @@ /** Name of the adapter (without leading `ioBroker.`) */ | ||
os?: 'linux' | 'darwin' | 'win32' | Array<'linux' | 'darwin' | 'win32'>; | ||
/** Constant */ | ||
platform: 'Javascript/Node.js'; | ||
@@ -723,3 +727,2 @@ /** 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`. */ | ||
schedule?: string; | ||
serviceStates?: boolean | string; | ||
/** Whether this adapter may only be installed once per host */ | ||
@@ -733,2 +736,3 @@ singletonHost?: boolean; | ||
stopTimeout?: number; | ||
/** 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 */ | ||
subscribable?: boolean; | ||
@@ -777,2 +781,3 @@ /** If `true`, this adapter provides custom per-state settings. Requires a `custom_m.html` file in the `admin` directory. */ | ||
version: string; | ||
/** Definition of the vis-2 widgets */ | ||
visWidgets?: Record<string, VisWidget>; | ||
@@ -785,4 +790,6 @@ /** 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` */ | ||
webExtension?: string; | ||
webPreSettings?: any; // ? | ||
webservers?: any; // ? | ||
/** 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. */ | ||
webPreSettings?: Record<string, any>; | ||
/** @deprecated (where is it necessary?) Array of web server's instances that should serve content from the adapter's www folder */ | ||
webservers?: string[]; | ||
/** @deprecated (use localLinks) A list of pages that should be shown on the "web" index page */ | ||
@@ -792,2 +799,3 @@ welcomeScreen?: WelcomeScreenEntry[]; | ||
welcomeScreenPro?: WelcomeScreenEntry[]; | ||
/** @deprecated (rename the `www` folder in e.g. `adminWww`) If true, the `www` folder will be not uploaded into DB */ | ||
wwwDontUpload?: boolean; | ||
@@ -861,3 +869,3 @@ /** @deprecated Use 'common.licenseInformation' instead */ | ||
intro?: string[]; | ||
/** Which tabs are visible in admin in the left menu */ | ||
/** Defines which tabs are visible in the left menu of the admin */ | ||
tabsVisible?: { | ||
@@ -1021,2 +1029,3 @@ /** Name of the tab */ | ||
interface RepositoryJson { | ||
/** Information about the repository: creation time, name, is it stable */ | ||
_repoInfo: RepoInfo; | ||
@@ -1052,16 +1061,6 @@ | ||
interface InstanceObject extends BaseObject { | ||
interface InstanceObject extends Omit<AdapterObject, 'type'>, BaseObject { | ||
_id: ObjectIDs.Instance; | ||
type: 'instance'; | ||
common: InstanceCommon; | ||
/** These properties will be removed when foreign adapters access it */ | ||
protectedNative?: string[]; | ||
/** These properties will be automatically encrypted and decrypted when used with adapter.config */ | ||
encryptedNative?: string[]; | ||
/** Register notifications for the built-in notification system */ | ||
notifications?: Notification[]; | ||
/** Objects created for each instance, inside the namespace of this adapter */ | ||
instanceObjects: (StateObject | DeviceObject | ChannelObject | FolderObject | MetaObject)[]; | ||
/** Objects created for the adapter, anywhere in the global namespace */ | ||
objects: ioBroker.AnyObject[]; | ||
} | ||
@@ -1068,0 +1067,0 @@ |
{ | ||
"name": "@iobroker/types", | ||
"version": "6.0.12-alpha.0-20240920-4149909bc", | ||
"version": "6.0.12-alpha.0-20240921-0dac039a7", | ||
"engines": { | ||
@@ -44,3 +44,3 @@ "node": ">=12.0.0" | ||
}, | ||
"gitHead": "608ca68f05024bfc4e7944234a50d6e345581ac8" | ||
"gitHead": "bfa0b4e4fa2ce740673c89edf2eecdb2ff47a092" | ||
} |
172596
3312