@devvit/protos 0.11.8-next-2025-02-25-e652b9a07.0 → 0.11.8-next-2025-02-26-c7c2cd822.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/meta.min.json +4 -4
- package/package.json +5 -5
- package/protos.min.js +1 -1
- package/protos.min.js.map +3 -3
- package/schema/devvit/plugin/redis/redisapi.proto +11 -0
- package/schema/snootobuf.devenv.lock +1396 -1113
- package/schema/snootobuf.lock +1396 -1113
- package/schema/snootobuf.redditapi.lock +1396 -1113
- package/schema/snootobuf.ts.lock +1396 -1113
- package/types/devvit/plugin/redis/redisapi.d.ts +52 -0
- package/types/devvit/plugin/redis/redisapi.d.ts.map +1 -1
- package/types/devvit/plugin/redis/redisapi.js +148 -0
- package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts +4 -1
- package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts.map +1 -1
- package/types/devvit/plugin/redis/redisapi.twirp-client.js +13 -1
- package/types/devvit/plugin/redis/redisapi.twirp.d.ts +3 -1
- package/types/devvit/plugin/redis/redisapi.twirp.d.ts.map +1 -1
- package/types/devvit/plugin/redis/redisapi.twirp.js +67 -1
@@ -32,6 +32,7 @@ service RedisAPI {
|
|
32
32
|
rpc Exists(KeysRequest) returns (ExistsResponse) {}
|
33
33
|
rpc Del(KeysRequest) returns (google.protobuf.Int64Value) {}
|
34
34
|
rpc Type(KeyRequest) returns (google.protobuf.StringValue) {}
|
35
|
+
rpc Rename(RenameRequest) returns (RenameResponse) {}
|
35
36
|
|
36
37
|
// Number operations
|
37
38
|
rpc IncrBy(IncrByRequest) returns (google.protobuf.Int64Value) {}
|
@@ -420,3 +421,13 @@ message HSetNXRequest {
|
|
420
421
|
TransactionId transaction_id = 4; // Optional transaction id
|
421
422
|
optional RedisKeyScope scope = 100;
|
422
423
|
}
|
424
|
+
|
425
|
+
message RenameRequest {
|
426
|
+
string key = 1;
|
427
|
+
string new_key = 2;
|
428
|
+
optional RedisKeyScope scope = 100;
|
429
|
+
}
|
430
|
+
|
431
|
+
message RenameResponse {
|
432
|
+
string result = 1;
|
433
|
+
}
|