From 5e0f9328aa3776813e05cc2d93690ce040841891 Mon Sep 17 00:00:00 2001 From: ayushsatyam146 Date: Thu, 29 May 2025 18:40:57 +0530 Subject: [PATCH] Updating res.proto with metadata isWatchable field --- res.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/res.proto b/res.proto index b23b16f..06d0623 100644 --- a/res.proto +++ b/res.proto @@ -8,10 +8,15 @@ enum Status { ERR = 1; } +message Metadata { + bool isWatchable = 1; // Unix timestamp when response was generated +} + message Result { Status status = 1; string message = 2; uint64 fingerprint64 = 3; + optional Metadata metadata = 4; // Added metadata field oneof response { TYPERes TYPERes = 11; PINGRes PINGRes = 12; @@ -214,4 +219,4 @@ message ZCOUNTWATCHRes { } message ZCARDWATCHRes { -} +}