Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@iobroker/types

Package Overview
Dependencies
Maintainers
6
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iobroker/types - npm Package Compare versions

Comparing version 5.0.1-alpha.0-20230522-ba81a916 to 5.0.1-alpha.0-20230523-959e51d6

25

build/objects.d.ts

@@ -306,3 +306,3 @@ import * as os from 'os';

type InstanceMode = 'none' | 'daemon' | 'subscribe' | 'schedule' | 'once' | 'extension';
interface InstanceCommon extends ObjectCommon {
interface InstanceCommon extends AdapterCommon {
version: string;

@@ -331,3 +331,2 @@ /** The name of the host where this instance is running */

preserveSettings?: string | string[];
installedVersion?: string;
installedFrom?: string;

@@ -444,2 +443,16 @@ /** Arguments passed to the adapter process, this disables compact mode */

/**
* Object which defines, if the adapter supports receiving messages via sendTo.
* Additionally, it defines if specific messages are supported.
* If one property is enabled, the object `system.adapter.<adaptername>.<adapterinstance>.messagebox will be created to send messages to the adapter (used for email, pushover, etc...)
*/
interface SupportedMessages {
/** If custom messages are supported (same as legacy messagebox) */
custom: boolean;
/** If notification handling is supported, for information, see https://github.com/foxriver76/ioBroker.notification-manager#requirements-for-messaging-adapters */
notifications: boolean;
/** If adapter supports signal stopInstance. Use number if you need more than 1000 ms for stop routine. The signal will be sent before stop to the adapter. (used if problems occurred with SIGTERM). */
stopInstance: boolean | number;
}
interface AdapterCommon extends ObjectCommon {

@@ -500,7 +513,9 @@ /** Custom attributes to be shown in admin in the object browser */

/** Whether the admin tab is written in materialize style. Required for Admin 3+ */
materializeTab: boolean;
materializeTab?: boolean;
/** Whether the admin configuration dialog is written in materialize style. Required for Admin 3+ */
materialize: boolean;
/** If `true`, the object `system.adapter.<adaptername>.<adapterinstance>.messagebox will be created to send messages to the adapter (used for email, pushover, etc...) */
/** @deprecated Use @see supportedMessages up from controller v5 */
messagebox?: true;
/** Messages which are supported by the adapter, supportedMessages.custom: true is the equivalent to messagebox: true */
supportedMessages?: SupportedMessages;
mode: InstanceMode;

@@ -552,3 +567,3 @@ /** Name of the adapter (without leading `ioBroker.`) */

supportCustoms?: boolean;
/** Whether the adapter supports the signal stopInstance via messagebox */
/** @deprecated Use @see supportedMessages up from controller v5 */
supportStopInstance?: boolean;

@@ -555,0 +570,0 @@ /** The translated names of this adapter to be shown in the admin UI */

4

package.json
{
"name": "@iobroker/types",
"version": "5.0.1-alpha.0-20230522-ba81a916",
"version": "5.0.1-alpha.0-20230523-959e51d6",
"engines": {

@@ -44,3 +44,3 @@ "node": ">=12.0.0"

},
"gitHead": "bc9d92f1d5a4e89de2b5b7cc1058eaa76af7eee3"
"gitHead": "b1153ce178b50bb2a79e5b3182c8026720521610"
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc