sdk: critical alerts

This commit is contained in:
Koushik Dutta
2025-01-31 20:13:58 -08:00
parent 1300073712
commit fa8a756059
6 changed files with 9 additions and 7 deletions

4
sdk/package-lock.json generated
View File

@@ -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",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/sdk",
"version": "0.3.108",
"version": "0.3.109",
"description": "",
"main": "dist/src/index.js",
"exports": {

View File

@@ -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"
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/types",
"version": "0.3.100",
"version": "0.3.101",
"description": "",
"main": "dist/index.js",
"author": "",

View File

@@ -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:

View File

@@ -242,6 +242,7 @@ export interface NotifierOptions {
renotify?: boolean;
requireInteraction?: boolean;
silent?: boolean;
critical?: boolean;
/**
* Collapse key/id.
*/