mirror of
https://github.com/koush/scrypted.git
synced 2026-06-11 13:20:30 +01:00
sdk: add context to notification on triggering event, if any
This commit is contained in:
@@ -588,6 +588,7 @@ class NotifierOptions(TypedDict):
|
||||
data: Any
|
||||
dir: NotificationDirection
|
||||
lang: str
|
||||
recordedEvent: RecordedEvent
|
||||
renotify: bool
|
||||
requireInteraction: bool
|
||||
silent: bool
|
||||
|
||||
@@ -221,6 +221,7 @@ export interface NotifierOptions {
|
||||
tag?: string;
|
||||
timestamp?: number;
|
||||
vibrate?: VibratePattern;
|
||||
recordedEvent?: RecordedEvent;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user