@devvit/protos 0.11.5-next-2024-12-09-cc5ef651d.0 → 0.11.5-next-2024-12-09-b30c26d0a.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,6 +37,7 @@ service RedisAPI {
37
37
  // Redis Hash operations
38
38
  rpc HSet(HSetRequest) returns (google.protobuf.Int64Value) {}
39
39
  rpc HGet(HGetRequest) returns (google.protobuf.StringValue) {}
40
+ rpc HMGet(HMGetRequest) returns (RedisValues) {}
40
41
  rpc HGetAll(KeyRequest) returns (RedisFieldValues) {}
41
42
  rpc HDel(HDelRequest) returns (google.protobuf.Int64Value) {}
42
43
  rpc HScan(HScanRequest) returns (HScanResponse);
@@ -233,6 +234,13 @@ message HGetRequest {
233
234
  optional RedisKeyScope scope = 100;
234
235
  }
235
236
 
237
+ message HMGetRequest {
238
+ string key = 1;
239
+ repeated string fields = 2;
240
+ TransactionId transaction_id = 3; // Optional transaction id
241
+ optional RedisKeyScope scope = 100;
242
+ }
243
+
236
244
  message HSetRequest {
237
245
  string key = 1;
238
246
  repeated RedisFieldValue fv = 2;