From 17b34e585f454334f0943d919f07f2c6c94035e7 Mon Sep 17 00:00:00 2001 From: Frank Ye Date: Thu, 14 Aug 2025 16:26:29 -0400 Subject: [PATCH] update BEP typing for metadata Signed-off-by: Frank Ye --- beps/0001-notifications-system/README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/beps/0001-notifications-system/README.md b/beps/0001-notifications-system/README.md index 03fb224e1c..bfea3115f9 100644 --- a/beps/0001-notifications-system/README.md +++ b/beps/0001-notifications-system/README.md @@ -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 = {