@iobroker/types
Advanced tools
Comparing version 6.0.12-alpha.0-20240907-52bf8f589 to 6.0.12-alpha.0-20240911-b159ac233
@@ -489,3 +489,3 @@ import type * as os from 'node:os'; | ||
/** | ||
* Object which defines, if the adapter supports receiving messages via sendTo. | ||
* Object which defines if the adapter supports receiving messages via sendTo. | ||
* Additionally, it defines if specific messages are supported. | ||
@@ -526,4 +526,4 @@ * 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...) | ||
/** | ||
* Hyperlink, where information about the license can be found. For non-free licenses the linked page should contain information about free features (if applicable), time of validity, link to shop and seller information. | ||
* This is required if the license type is different from 'free'. For 'free' licenses an optional link to the license file can be placed here. | ||
* Hyperlink, where information about the license can be found. For non-free licenses, the linked page should contain information about free features (if applicable), time of validity, link to shop and seller information. | ||
* This is required if the license type is different from 'free'. For 'free' licenses, an optional link to the license file can be placed here. | ||
*/ | ||
@@ -539,4 +539,4 @@ link?: string; | ||
/** | ||
* Hyperlink, where information about the license can be found. For non-free licenses the linked page should contain information about free features (if applicable), time of validity, link to shop and seller information. | ||
* This is required if the license type is different from 'free'. For 'free' licenses an optional link to the license file can be placed here. | ||
* Hyperlink, where information about the license can be found. For non-free licenses, the linked page should contain information about free features (if applicable), time of validity, link to shop and seller information. | ||
* This is required if the license type is different from 'free'. For 'free' licenses, an optional link to the license file can be placed here. | ||
*/ | ||
@@ -1095,3 +1095,3 @@ link: string; | ||
interface Notification { | ||
/** Each adapter can define its own "scopes" for own notifications with its own categories which then will be available in the system. Adapters should only register one scope which matches the name of the adapter. */ | ||
/** E.g., `system`. Each adapter can define its own "scopes" for own notifications with its own categories which then will be available in the system. Adapters should only register one scope which matches the name of the adapter. */ | ||
scope: string; | ||
@@ -1098,0 +1098,0 @@ /** The human-readable name of this scope */ |
@@ -326,2 +326,9 @@ // Types which are safe to share within this repository AND publicly | ||
} | ||
/** Additional context for the notification which can be used by notification processing adapters */ | ||
interface NotificationContextData { | ||
/** Use a `key` specific to the adapter or if a feature is supported by all adapters of a type, the type (e.g. `messaging`) is also fine. */ | ||
[adapterNameOrAdapterType: string]: unknown; | ||
} | ||
interface AdapterConfig { | ||
@@ -328,0 +335,0 @@ // This is a stub to be augmented in every adapter |
{ | ||
"name": "@iobroker/types", | ||
"version": "6.0.12-alpha.0-20240907-52bf8f589", | ||
"version": "6.0.12-alpha.0-20240911-b159ac233", | ||
"engines": { | ||
@@ -44,3 +44,3 @@ "node": ">=12.0.0" | ||
}, | ||
"gitHead": "bb3b41d995857d6c3eda9264077168cb9dc561db" | ||
"gitHead": "170d556732bf8b902b83fd56a5d28021f60fb420" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171889
3311