mirror of
https://github.com/koush/scrypted.git
synced 2026-09-17 09:10:38 +01:00
sdk: critical alerts
This commit is contained in:
4
sdk/package-lock.json
generated
4
sdk/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/sdk",
|
||||
"version": "0.3.108",
|
||||
"version": "0.3.109",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/sdk",
|
||||
"version": "0.3.108",
|
||||
"version": "0.3.109",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@babel/preset-typescript": "^7.26.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/sdk",
|
||||
"version": "0.3.108",
|
||||
"version": "0.3.109",
|
||||
"description": "",
|
||||
"main": "dist/src/index.js",
|
||||
"exports": {
|
||||
|
||||
4
sdk/types/package-lock.json
generated
4
sdk/types/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/types",
|
||||
"version": "0.3.100",
|
||||
"version": "0.3.101",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/types",
|
||||
"version": "0.3.100",
|
||||
"version": "0.3.101",
|
||||
"license": "ISC"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/types",
|
||||
"version": "0.3.100",
|
||||
"version": "0.3.101",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"author": "",
|
||||
|
||||
@@ -669,6 +669,7 @@ class NotifierOptions(TypedDict):
|
||||
badge: str
|
||||
body: str
|
||||
bodyWithSubtitle: str
|
||||
critical: bool
|
||||
data: Any
|
||||
dir: NotificationDirection
|
||||
image: str
|
||||
@@ -953,7 +954,7 @@ class TamperState(TypedDict):
|
||||
pass
|
||||
|
||||
|
||||
TYPES_VERSION = "0.3.100"
|
||||
TYPES_VERSION = "0.3.101"
|
||||
|
||||
|
||||
class AirPurifier:
|
||||
|
||||
@@ -242,6 +242,7 @@ export interface NotifierOptions {
|
||||
renotify?: boolean;
|
||||
requireInteraction?: boolean;
|
||||
silent?: boolean;
|
||||
critical?: boolean;
|
||||
/**
|
||||
* Collapse key/id.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user