@devvit/protos 0.11.8-next-2025-02-13-b7bcacfd0.0 → 0.11.8-next-2025-02-13-121a14e58.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { TwirpServer, TwirpError, TwirpErrorCode, TwirpContentType, chainInterceptors, } from 'twirp-ts';
2
- import { KeyRequest, SetRequest, KeysRequest, IncrByRequest, HSetRequest, HGetRequest, HMGetRequest, RedisValues, RedisFieldValues, HDelRequest, HScanRequest, HScanResponse, KeysResponse, HIncrByRequest, TransactionId, TransactionResponses, WatchRequest, KeyRangeRequest, SetRangeRequest, KeyValuesRequest, ExpireRequest, ZAddRequest, ZRangeRequest, ZMembers, ZRemRequest, ZRemRangeByLexRequest, ZRemRangeByRankRequest, ZRemRangeByScoreRequest, ZScoreRequest, ZRankRequest, ZIncrByRequest, ZScanRequest, ZScanResponse, BitfieldRequest, BitfieldResponse, } from './redisapi.js';
2
+ import { KeyRequest, SetRequest, KeysRequest, IncrByRequest, HSetRequest, HGetRequest, HMGetRequest, RedisValues, RedisFieldValues, HDelRequest, HScanRequest, HScanResponse, KeysResponse, HIncrByRequest, TransactionId, TransactionResponses, WatchRequest, KeyRangeRequest, SetRangeRequest, KeyValuesRequest, ExpireRequest, ZAddRequest, ZRangeRequest, ZMembers, ZRemRequest, ZRemRangeByLexRequest, ZRemRangeByRankRequest, ZRemRangeByScoreRequest, ZScoreRequest, ZRankRequest, ZRankResponse, ZIncrByRequest, ZScanRequest, ZScanResponse, BitfieldRequest, BitfieldResponse, } from './redisapi.js';
3
3
  import { StringValue, Int64Value, DoubleValue, } from '../../../google/protobuf/wrappers.js';
4
4
  import { Empty } from '../../../google/protobuf/empty.js';
5
5
  export var RedisAPIMethod;
@@ -1584,7 +1584,7 @@ async function handleRedisAPIZRankJSON(ctx, service, data, interceptors) {
1584
1584
  else {
1585
1585
  response = await service.ZRank(ctx, request);
1586
1586
  }
1587
- return JSON.stringify(Int64Value.toJSON(response));
1587
+ return JSON.stringify(ZRankResponse.toJSON(response));
1588
1588
  }
1589
1589
  async function handleRedisAPIZIncrByJSON(ctx, service, data, interceptors) {
1590
1590
  let request;
@@ -2461,7 +2461,7 @@ async function handleRedisAPIZRankProtobuf(ctx, service, data, interceptors) {
2461
2461
  else {
2462
2462
  response = await service.ZRank(ctx, request);
2463
2463
  }
2464
- return Buffer.from(Int64Value.encode(response).finish());
2464
+ return Buffer.from(ZRankResponse.encode(response).finish());
2465
2465
  }
2466
2466
  async function handleRedisAPIZIncrByProtobuf(ctx, service, data, interceptors) {
2467
2467
  let request;