Skip to content

Commit

Permalink
sdk: add id to recorded event on notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Aug 29, 2024
1 parent 0fbe3e4 commit dc5a612
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/sdk",
"version": "0.3.60",
"version": "0.3.61",
"description": "",
"main": "dist/src/index.js",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions sdk/types/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/types",
"version": "0.3.56",
"version": "0.3.57",
"description": "",
"main": "dist/index.js",
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion sdk/types/scrypted_python/scrypted_sdk/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ class NotifierOptions(TypedDict):
dir: NotificationDirection
image: str
lang: str
recordedEvent: RecordedEvent
recordedEvent: Union[RecordedEvent, Any]
renotify: bool
requireInteraction: bool
silent: bool
Expand Down
2 changes: 1 addition & 1 deletion sdk/types/src/types.input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export interface NotifierOptions {
tag?: string;
timestamp?: number;
vibrate?: VibratePattern;
recordedEvent?: RecordedEvent;
recordedEvent?: RecordedEvent & { id: string };

// removed from typescript dom?
actions?: NotificationAction[];
Expand Down

0 comments on commit dc5a612

Please sign in to comment.