update BEP typing for metadata
Signed-off-by: Frank Ye <franky@spotify.com>
This commit is contained in:
@@ -211,10 +211,7 @@ export type NotificationPayload = {
|
||||
topic?: string;
|
||||
scope?: string;
|
||||
icon?: string;
|
||||
metadata?: Array<{
|
||||
type: string;
|
||||
value: JsonValue;
|
||||
}>;
|
||||
metadata?: { [KMetadataKey in string]?: JsonValue };
|
||||
};
|
||||
|
||||
export type Notification = {
|
||||
|
||||
Reference in New Issue
Block a user