Skip to content

Commit

Permalink
sdk: add collapseId to notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 5, 2025
1 parent b046822 commit 0547ed9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 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.104",
"version": "0.3.105",
"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.96",
"version": "0.3.97",
"description": "",
"main": "dist/index.js",
"author": "",
Expand Down
3 changes: 2 additions & 1 deletion sdk/types/scrypted_python/scrypted_sdk/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ class NotifierOptions(TypedDict):
badge: str
body: str
bodyWithSubtitle: str
collapseId: str
data: Any
dir: NotificationDirection
image: str
Expand Down Expand Up @@ -951,7 +952,7 @@ class TamperState(TypedDict):
pass


TYPES_VERSION = "0.3.96"
TYPES_VERSION = "0.3.97"


class AirPurifier:
Expand Down
1 change: 1 addition & 0 deletions sdk/types/src/types.input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export interface NotifierOptions {
timestamp?: number;
vibrate?: VibratePattern;
recordedEvent?: RecordedEvent & { id: string };
collapseId?: string;

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

0 comments on commit 0547ed9

Please sign in to comment.