@uniswap/client-data-api 0.0.17 → 0.0.18
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/dist/data/v1/api-DataApiService_connectquery.d.ts +14 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +14 -1
- package/dist/data/v1/api_connect.d.ts +10 -1
- package/dist/data/v1/api_connect.js +10 -1
- package/dist/data/v1/api_pb.d.ts +98 -0
- package/dist/data/v1/api_pb.js +139 -0
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +7 -20
- package/dist/data/v1/workerService-WorkerService_connectquery.js +7 -20
- package/dist/data/v1/workerService_connect.d.ts +6 -15
- package/dist/data/v1/workerService_connect.js +6 -15
- package/dist/data/v1/workerService_pb.d.ts +16 -92
- package/dist/data/v1/workerService_pb.js +18 -140
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
2
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
5
5
|
*/
|
|
@@ -221,3 +221,16 @@ export declare const listTopPools: {
|
|
|
221
221
|
readonly typeName: "data.v1.DataApiService";
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
|
+
/**
|
|
225
|
+
* @generated from rpc data.v1.DataApiService.GetProtocolStats
|
|
226
|
+
*/
|
|
227
|
+
export declare const getProtocolStats: {
|
|
228
|
+
readonly localName: "getProtocolStats";
|
|
229
|
+
readonly name: "GetProtocolStats";
|
|
230
|
+
readonly kind: MethodKind.Unary;
|
|
231
|
+
readonly I: typeof GetProtocolStatsRequest;
|
|
232
|
+
readonly O: typeof GetProtocolStatsResponse;
|
|
233
|
+
readonly service: {
|
|
234
|
+
readonly typeName: "data.v1.DataApiService";
|
|
235
|
+
};
|
|
236
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
6
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
9
9
|
*/
|
|
@@ -225,3 +225,16 @@ export const listTopPools = {
|
|
|
225
225
|
typeName: "data.v1.DataApiService"
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
|
+
/**
|
|
229
|
+
* @generated from rpc data.v1.DataApiService.GetProtocolStats
|
|
230
|
+
*/
|
|
231
|
+
export const getProtocolStats = {
|
|
232
|
+
localName: "getProtocolStats",
|
|
233
|
+
name: "GetProtocolStats",
|
|
234
|
+
kind: MethodKind.Unary,
|
|
235
|
+
I: GetProtocolStatsRequest,
|
|
236
|
+
O: GetProtocolStatsResponse,
|
|
237
|
+
service: {
|
|
238
|
+
typeName: "data.v1.DataApiService"
|
|
239
|
+
}
|
|
240
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
1
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.DataApiService
|
|
@@ -159,5 +159,14 @@ export declare const DataApiService: {
|
|
|
159
159
|
readonly O: typeof ListTopPoolsResponse;
|
|
160
160
|
readonly kind: MethodKind.Unary;
|
|
161
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* @generated from rpc data.v1.DataApiService.GetProtocolStats
|
|
164
|
+
*/
|
|
165
|
+
readonly getProtocolStats: {
|
|
166
|
+
readonly name: "GetProtocolStats";
|
|
167
|
+
readonly I: typeof GetProtocolStatsRequest;
|
|
168
|
+
readonly O: typeof GetProtocolStatsResponse;
|
|
169
|
+
readonly kind: MethodKind.Unary;
|
|
170
|
+
};
|
|
162
171
|
};
|
|
163
172
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/api.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
5
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.DataApiService
|
|
@@ -163,5 +163,14 @@ export const DataApiService = {
|
|
|
163
163
|
O: ListTopPoolsResponse,
|
|
164
164
|
kind: MethodKind.Unary,
|
|
165
165
|
},
|
|
166
|
+
/**
|
|
167
|
+
* @generated from rpc data.v1.DataApiService.GetProtocolStats
|
|
168
|
+
*/
|
|
169
|
+
getProtocolStats: {
|
|
170
|
+
name: "GetProtocolStats",
|
|
171
|
+
I: GetProtocolStatsRequest,
|
|
172
|
+
O: GetProtocolStatsResponse,
|
|
173
|
+
kind: MethodKind.Unary,
|
|
174
|
+
},
|
|
166
175
|
}
|
|
167
176
|
};
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -1007,3 +1007,101 @@ export declare class ListTopPoolsResponse extends Message<ListTopPoolsResponse>
|
|
|
1007
1007
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopPoolsResponse;
|
|
1008
1008
|
static equals(a: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined, b: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined): boolean;
|
|
1009
1009
|
}
|
|
1010
|
+
/**
|
|
1011
|
+
* @generated from message data.v1.GetProtocolStatsRequest
|
|
1012
|
+
*/
|
|
1013
|
+
export declare class GetProtocolStatsRequest extends Message<GetProtocolStatsRequest> {
|
|
1014
|
+
constructor(data?: PartialMessage<GetProtocolStatsRequest>);
|
|
1015
|
+
static readonly runtime: typeof proto3;
|
|
1016
|
+
static readonly typeName = "data.v1.GetProtocolStatsRequest";
|
|
1017
|
+
static readonly fields: FieldList;
|
|
1018
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProtocolStatsRequest;
|
|
1019
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProtocolStatsRequest;
|
|
1020
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolStatsRequest;
|
|
1021
|
+
static equals(a: GetProtocolStatsRequest | PlainMessage<GetProtocolStatsRequest> | undefined, b: GetProtocolStatsRequest | PlainMessage<GetProtocolStatsRequest> | undefined): boolean;
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* @generated from message data.v1.GetProtocolStatsResponse
|
|
1025
|
+
*/
|
|
1026
|
+
export declare class GetProtocolStatsResponse extends Message<GetProtocolStatsResponse> {
|
|
1027
|
+
/**
|
|
1028
|
+
* @generated from field: uint32 total_pools = 1;
|
|
1029
|
+
*/
|
|
1030
|
+
totalPools: number;
|
|
1031
|
+
/**
|
|
1032
|
+
* @generated from field: uint32 total_v2_pools = 2;
|
|
1033
|
+
*/
|
|
1034
|
+
totalV2Pools: number;
|
|
1035
|
+
/**
|
|
1036
|
+
* @generated from field: uint32 total_v3_pools = 3;
|
|
1037
|
+
*/
|
|
1038
|
+
totalV3Pools: number;
|
|
1039
|
+
/**
|
|
1040
|
+
* @generated from field: uint32 total_v4_pools = 4;
|
|
1041
|
+
*/
|
|
1042
|
+
totalV4Pools: number;
|
|
1043
|
+
/**
|
|
1044
|
+
* @generated from field: double tvl = 5;
|
|
1045
|
+
*/
|
|
1046
|
+
tvl: number;
|
|
1047
|
+
/**
|
|
1048
|
+
* @generated from field: double v2_tvl = 6;
|
|
1049
|
+
*/
|
|
1050
|
+
v2Tvl: number;
|
|
1051
|
+
/**
|
|
1052
|
+
* @generated from field: double v3_tvl = 7;
|
|
1053
|
+
*/
|
|
1054
|
+
v3Tvl: number;
|
|
1055
|
+
/**
|
|
1056
|
+
* @generated from field: double v4_tvl = 8;
|
|
1057
|
+
*/
|
|
1058
|
+
v4Tvl: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* @generated from field: double volume_1d = 9;
|
|
1061
|
+
*/
|
|
1062
|
+
volume1d: number;
|
|
1063
|
+
/**
|
|
1064
|
+
* @generated from field: double v2_volume_1d = 10;
|
|
1065
|
+
*/
|
|
1066
|
+
v2Volume1d: number;
|
|
1067
|
+
/**
|
|
1068
|
+
* @generated from field: double v3_volume_1d = 11;
|
|
1069
|
+
*/
|
|
1070
|
+
v3Volume1d: number;
|
|
1071
|
+
/**
|
|
1072
|
+
* @generated from field: double v4_volume_1d = 12;
|
|
1073
|
+
*/
|
|
1074
|
+
v4Volume1d: number;
|
|
1075
|
+
/**
|
|
1076
|
+
* @generated from field: float volume_change_1d = 13;
|
|
1077
|
+
*/
|
|
1078
|
+
volumeChange1d: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* @generated from field: float tvl_change_1d = 14;
|
|
1081
|
+
*/
|
|
1082
|
+
tvlChange1d: number;
|
|
1083
|
+
/**
|
|
1084
|
+
* @generated from field: float v2_tvl_change_1d = 15;
|
|
1085
|
+
*/
|
|
1086
|
+
v2TvlChange1d: number;
|
|
1087
|
+
/**
|
|
1088
|
+
* @generated from field: float v3_tvl_change_1d = 16;
|
|
1089
|
+
*/
|
|
1090
|
+
v3TvlChange1d: number;
|
|
1091
|
+
/**
|
|
1092
|
+
* @generated from field: float v4_tvl_change_1d = 17;
|
|
1093
|
+
*/
|
|
1094
|
+
v4TvlChange1d: number;
|
|
1095
|
+
/**
|
|
1096
|
+
* @generated from field: float total_pools_change_1d = 18;
|
|
1097
|
+
*/
|
|
1098
|
+
totalPoolsChange1d: number;
|
|
1099
|
+
constructor(data?: PartialMessage<GetProtocolStatsResponse>);
|
|
1100
|
+
static readonly runtime: typeof proto3;
|
|
1101
|
+
static readonly typeName = "data.v1.GetProtocolStatsResponse";
|
|
1102
|
+
static readonly fields: FieldList;
|
|
1103
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetProtocolStatsResponse;
|
|
1104
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetProtocolStatsResponse;
|
|
1105
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProtocolStatsResponse;
|
|
1106
|
+
static equals(a: GetProtocolStatsResponse | PlainMessage<GetProtocolStatsResponse> | undefined, b: GetProtocolStatsResponse | PlainMessage<GetProtocolStatsResponse> | undefined): boolean;
|
|
1107
|
+
}
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -1431,3 +1431,142 @@ ListTopPoolsResponse.fields = proto3.util.newFieldList(() => [
|
|
|
1431
1431
|
{ no: 1, name: "pools", kind: "message", T: Pool$1, repeated: true },
|
|
1432
1432
|
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1433
1433
|
]);
|
|
1434
|
+
/**
|
|
1435
|
+
* @generated from message data.v1.GetProtocolStatsRequest
|
|
1436
|
+
*/
|
|
1437
|
+
export class GetProtocolStatsRequest extends Message {
|
|
1438
|
+
constructor(data) {
|
|
1439
|
+
super();
|
|
1440
|
+
proto3.util.initPartial(data, this);
|
|
1441
|
+
}
|
|
1442
|
+
static fromBinary(bytes, options) {
|
|
1443
|
+
return new GetProtocolStatsRequest().fromBinary(bytes, options);
|
|
1444
|
+
}
|
|
1445
|
+
static fromJson(jsonValue, options) {
|
|
1446
|
+
return new GetProtocolStatsRequest().fromJson(jsonValue, options);
|
|
1447
|
+
}
|
|
1448
|
+
static fromJsonString(jsonString, options) {
|
|
1449
|
+
return new GetProtocolStatsRequest().fromJsonString(jsonString, options);
|
|
1450
|
+
}
|
|
1451
|
+
static equals(a, b) {
|
|
1452
|
+
return proto3.util.equals(GetProtocolStatsRequest, a, b);
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
GetProtocolStatsRequest.runtime = proto3;
|
|
1456
|
+
GetProtocolStatsRequest.typeName = "data.v1.GetProtocolStatsRequest";
|
|
1457
|
+
GetProtocolStatsRequest.fields = proto3.util.newFieldList(() => []);
|
|
1458
|
+
/**
|
|
1459
|
+
* @generated from message data.v1.GetProtocolStatsResponse
|
|
1460
|
+
*/
|
|
1461
|
+
export class GetProtocolStatsResponse extends Message {
|
|
1462
|
+
constructor(data) {
|
|
1463
|
+
super();
|
|
1464
|
+
/**
|
|
1465
|
+
* @generated from field: uint32 total_pools = 1;
|
|
1466
|
+
*/
|
|
1467
|
+
this.totalPools = 0;
|
|
1468
|
+
/**
|
|
1469
|
+
* @generated from field: uint32 total_v2_pools = 2;
|
|
1470
|
+
*/
|
|
1471
|
+
this.totalV2Pools = 0;
|
|
1472
|
+
/**
|
|
1473
|
+
* @generated from field: uint32 total_v3_pools = 3;
|
|
1474
|
+
*/
|
|
1475
|
+
this.totalV3Pools = 0;
|
|
1476
|
+
/**
|
|
1477
|
+
* @generated from field: uint32 total_v4_pools = 4;
|
|
1478
|
+
*/
|
|
1479
|
+
this.totalV4Pools = 0;
|
|
1480
|
+
/**
|
|
1481
|
+
* @generated from field: double tvl = 5;
|
|
1482
|
+
*/
|
|
1483
|
+
this.tvl = 0;
|
|
1484
|
+
/**
|
|
1485
|
+
* @generated from field: double v2_tvl = 6;
|
|
1486
|
+
*/
|
|
1487
|
+
this.v2Tvl = 0;
|
|
1488
|
+
/**
|
|
1489
|
+
* @generated from field: double v3_tvl = 7;
|
|
1490
|
+
*/
|
|
1491
|
+
this.v3Tvl = 0;
|
|
1492
|
+
/**
|
|
1493
|
+
* @generated from field: double v4_tvl = 8;
|
|
1494
|
+
*/
|
|
1495
|
+
this.v4Tvl = 0;
|
|
1496
|
+
/**
|
|
1497
|
+
* @generated from field: double volume_1d = 9;
|
|
1498
|
+
*/
|
|
1499
|
+
this.volume1d = 0;
|
|
1500
|
+
/**
|
|
1501
|
+
* @generated from field: double v2_volume_1d = 10;
|
|
1502
|
+
*/
|
|
1503
|
+
this.v2Volume1d = 0;
|
|
1504
|
+
/**
|
|
1505
|
+
* @generated from field: double v3_volume_1d = 11;
|
|
1506
|
+
*/
|
|
1507
|
+
this.v3Volume1d = 0;
|
|
1508
|
+
/**
|
|
1509
|
+
* @generated from field: double v4_volume_1d = 12;
|
|
1510
|
+
*/
|
|
1511
|
+
this.v4Volume1d = 0;
|
|
1512
|
+
/**
|
|
1513
|
+
* @generated from field: float volume_change_1d = 13;
|
|
1514
|
+
*/
|
|
1515
|
+
this.volumeChange1d = 0;
|
|
1516
|
+
/**
|
|
1517
|
+
* @generated from field: float tvl_change_1d = 14;
|
|
1518
|
+
*/
|
|
1519
|
+
this.tvlChange1d = 0;
|
|
1520
|
+
/**
|
|
1521
|
+
* @generated from field: float v2_tvl_change_1d = 15;
|
|
1522
|
+
*/
|
|
1523
|
+
this.v2TvlChange1d = 0;
|
|
1524
|
+
/**
|
|
1525
|
+
* @generated from field: float v3_tvl_change_1d = 16;
|
|
1526
|
+
*/
|
|
1527
|
+
this.v3TvlChange1d = 0;
|
|
1528
|
+
/**
|
|
1529
|
+
* @generated from field: float v4_tvl_change_1d = 17;
|
|
1530
|
+
*/
|
|
1531
|
+
this.v4TvlChange1d = 0;
|
|
1532
|
+
/**
|
|
1533
|
+
* @generated from field: float total_pools_change_1d = 18;
|
|
1534
|
+
*/
|
|
1535
|
+
this.totalPoolsChange1d = 0;
|
|
1536
|
+
proto3.util.initPartial(data, this);
|
|
1537
|
+
}
|
|
1538
|
+
static fromBinary(bytes, options) {
|
|
1539
|
+
return new GetProtocolStatsResponse().fromBinary(bytes, options);
|
|
1540
|
+
}
|
|
1541
|
+
static fromJson(jsonValue, options) {
|
|
1542
|
+
return new GetProtocolStatsResponse().fromJson(jsonValue, options);
|
|
1543
|
+
}
|
|
1544
|
+
static fromJsonString(jsonString, options) {
|
|
1545
|
+
return new GetProtocolStatsResponse().fromJsonString(jsonString, options);
|
|
1546
|
+
}
|
|
1547
|
+
static equals(a, b) {
|
|
1548
|
+
return proto3.util.equals(GetProtocolStatsResponse, a, b);
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
GetProtocolStatsResponse.runtime = proto3;
|
|
1552
|
+
GetProtocolStatsResponse.typeName = "data.v1.GetProtocolStatsResponse";
|
|
1553
|
+
GetProtocolStatsResponse.fields = proto3.util.newFieldList(() => [
|
|
1554
|
+
{ no: 1, name: "total_pools", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1555
|
+
{ no: 2, name: "total_v2_pools", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1556
|
+
{ no: 3, name: "total_v3_pools", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1557
|
+
{ no: 4, name: "total_v4_pools", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1558
|
+
{ no: 5, name: "tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1559
|
+
{ no: 6, name: "v2_tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1560
|
+
{ no: 7, name: "v3_tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1561
|
+
{ no: 8, name: "v4_tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1562
|
+
{ no: 9, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1563
|
+
{ no: 10, name: "v2_volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1564
|
+
{ no: 11, name: "v3_volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1565
|
+
{ no: 12, name: "v4_volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1566
|
+
{ no: 13, name: "volume_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1567
|
+
{ no: 14, name: "tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1568
|
+
{ no: 15, name: "v2_tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1569
|
+
{ no: 16, name: "v3_tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1570
|
+
{ no: 17, name: "v4_tvl_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1571
|
+
{ no: 18, name: "total_pools_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1572
|
+
]);
|
|
@@ -1,27 +1,14 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import {
|
|
2
|
+
import { RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
3
3
|
/**
|
|
4
|
-
* @generated from rpc data.v1.WorkerService.
|
|
4
|
+
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
7
|
-
readonly localName: "
|
|
8
|
-
readonly name: "
|
|
6
|
+
export declare const refreshProtocolStats: {
|
|
7
|
+
readonly localName: "refreshProtocolStats";
|
|
8
|
+
readonly name: "RefreshProtocolStats";
|
|
9
9
|
readonly kind: MethodKind.Unary;
|
|
10
|
-
readonly I: typeof
|
|
11
|
-
readonly O: typeof
|
|
12
|
-
readonly service: {
|
|
13
|
-
readonly typeName: "data.v1.WorkerService";
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @generated from rpc data.v1.WorkerService.IngestPoolsFromQueue
|
|
18
|
-
*/
|
|
19
|
-
export declare const ingestPoolsFromQueue: {
|
|
20
|
-
readonly localName: "ingestPoolsFromQueue";
|
|
21
|
-
readonly name: "IngestPoolsFromQueue";
|
|
22
|
-
readonly kind: MethodKind.Unary;
|
|
23
|
-
readonly I: typeof IngestPoolsFromQueueRequest;
|
|
24
|
-
readonly O: typeof IngestPoolsFromQueueResponse;
|
|
10
|
+
readonly I: typeof RefreshProtocolStatsRequest;
|
|
11
|
+
readonly O: typeof RefreshProtocolStatsResponse;
|
|
25
12
|
readonly service: {
|
|
26
13
|
readonly typeName: "data.v1.WorkerService";
|
|
27
14
|
};
|
|
@@ -3,29 +3,16 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import {
|
|
6
|
+
import { RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
7
7
|
/**
|
|
8
|
-
* @generated from rpc data.v1.WorkerService.
|
|
8
|
+
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
9
9
|
*/
|
|
10
|
-
export const
|
|
11
|
-
localName: "
|
|
12
|
-
name: "
|
|
10
|
+
export const refreshProtocolStats = {
|
|
11
|
+
localName: "refreshProtocolStats",
|
|
12
|
+
name: "RefreshProtocolStats",
|
|
13
13
|
kind: MethodKind.Unary,
|
|
14
|
-
I:
|
|
15
|
-
O:
|
|
16
|
-
service: {
|
|
17
|
-
typeName: "data.v1.WorkerService"
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @generated from rpc data.v1.WorkerService.IngestPoolsFromQueue
|
|
22
|
-
*/
|
|
23
|
-
export const ingestPoolsFromQueue = {
|
|
24
|
-
localName: "ingestPoolsFromQueue",
|
|
25
|
-
name: "IngestPoolsFromQueue",
|
|
26
|
-
kind: MethodKind.Unary,
|
|
27
|
-
I: IngestPoolsFromQueueRequest,
|
|
28
|
-
O: IngestPoolsFromQueueResponse,
|
|
14
|
+
I: RefreshProtocolStatsRequest,
|
|
15
|
+
O: RefreshProtocolStatsResponse,
|
|
29
16
|
service: {
|
|
30
17
|
typeName: "data.v1.WorkerService"
|
|
31
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.WorkerService
|
|
@@ -7,21 +7,12 @@ export declare const WorkerService: {
|
|
|
7
7
|
readonly typeName: "data.v1.WorkerService";
|
|
8
8
|
readonly methods: {
|
|
9
9
|
/**
|
|
10
|
-
* @generated from rpc data.v1.WorkerService.
|
|
10
|
+
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
11
11
|
*/
|
|
12
|
-
readonly
|
|
13
|
-
readonly name: "
|
|
14
|
-
readonly I: typeof
|
|
15
|
-
readonly O: typeof
|
|
16
|
-
readonly kind: MethodKind.Unary;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc data.v1.WorkerService.IngestPoolsFromQueue
|
|
20
|
-
*/
|
|
21
|
-
readonly ingestPoolsFromQueue: {
|
|
22
|
-
readonly name: "IngestPoolsFromQueue";
|
|
23
|
-
readonly I: typeof IngestPoolsFromQueueRequest;
|
|
24
|
-
readonly O: typeof IngestPoolsFromQueueResponse;
|
|
12
|
+
readonly refreshProtocolStats: {
|
|
13
|
+
readonly name: "RefreshProtocolStats";
|
|
14
|
+
readonly I: typeof RefreshProtocolStatsRequest;
|
|
15
|
+
readonly O: typeof RefreshProtocolStatsResponse;
|
|
25
16
|
readonly kind: MethodKind.Unary;
|
|
26
17
|
};
|
|
27
18
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import {
|
|
5
|
+
import { RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.WorkerService
|
|
@@ -11,21 +11,12 @@ export const WorkerService = {
|
|
|
11
11
|
typeName: "data.v1.WorkerService",
|
|
12
12
|
methods: {
|
|
13
13
|
/**
|
|
14
|
-
* @generated from rpc data.v1.WorkerService.
|
|
14
|
+
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
name: "
|
|
18
|
-
I:
|
|
19
|
-
O:
|
|
20
|
-
kind: MethodKind.Unary,
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* @generated from rpc data.v1.WorkerService.IngestPoolsFromQueue
|
|
24
|
-
*/
|
|
25
|
-
ingestPoolsFromQueue: {
|
|
26
|
-
name: "IngestPoolsFromQueue",
|
|
27
|
-
I: IngestPoolsFromQueueRequest,
|
|
28
|
-
O: IngestPoolsFromQueueResponse,
|
|
16
|
+
refreshProtocolStats: {
|
|
17
|
+
name: "RefreshProtocolStats",
|
|
18
|
+
I: RefreshProtocolStatsRequest,
|
|
19
|
+
O: RefreshProtocolStatsResponse,
|
|
29
20
|
kind: MethodKind.Unary,
|
|
30
21
|
},
|
|
31
22
|
}
|
|
@@ -1,104 +1,28 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
|
-
* @generated from message data.v1.
|
|
4
|
+
* @generated from message data.v1.RefreshProtocolStatsRequest
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
7
|
-
|
|
8
|
-
* @generated from field: data.v1.Bucket bucket = 1;
|
|
9
|
-
*/
|
|
10
|
-
bucket?: Bucket;
|
|
11
|
-
/**
|
|
12
|
-
* @generated from field: data.v1.S3Object object = 2;
|
|
13
|
-
*/
|
|
14
|
-
object?: S3Object;
|
|
15
|
-
/**
|
|
16
|
-
* @generated from field: string reason = 3;
|
|
17
|
-
*/
|
|
18
|
-
reason: string;
|
|
19
|
-
constructor(data?: PartialMessage<IngestPoolsFromS3Request>);
|
|
6
|
+
export declare class RefreshProtocolStatsRequest extends Message<RefreshProtocolStatsRequest> {
|
|
7
|
+
constructor(data?: PartialMessage<RefreshProtocolStatsRequest>);
|
|
20
8
|
static readonly runtime: typeof proto3;
|
|
21
|
-
static readonly typeName = "data.v1.
|
|
9
|
+
static readonly typeName = "data.v1.RefreshProtocolStatsRequest";
|
|
22
10
|
static readonly fields: FieldList;
|
|
23
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
24
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
25
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
26
|
-
static equals(a:
|
|
11
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshProtocolStatsRequest;
|
|
12
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshProtocolStatsRequest;
|
|
13
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshProtocolStatsRequest;
|
|
14
|
+
static equals(a: RefreshProtocolStatsRequest | PlainMessage<RefreshProtocolStatsRequest> | undefined, b: RefreshProtocolStatsRequest | PlainMessage<RefreshProtocolStatsRequest> | undefined): boolean;
|
|
27
15
|
}
|
|
28
16
|
/**
|
|
29
|
-
* @generated from message data.v1.
|
|
17
|
+
* @generated from message data.v1.RefreshProtocolStatsResponse
|
|
30
18
|
*/
|
|
31
|
-
export declare class
|
|
32
|
-
|
|
33
|
-
* @generated from field: string name = 1;
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
constructor(data?: PartialMessage<Bucket>);
|
|
19
|
+
export declare class RefreshProtocolStatsResponse extends Message<RefreshProtocolStatsResponse> {
|
|
20
|
+
constructor(data?: PartialMessage<RefreshProtocolStatsResponse>);
|
|
37
21
|
static readonly runtime: typeof proto3;
|
|
38
|
-
static readonly typeName = "data.v1.
|
|
22
|
+
static readonly typeName = "data.v1.RefreshProtocolStatsResponse";
|
|
39
23
|
static readonly fields: FieldList;
|
|
40
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
41
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
42
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
43
|
-
static equals(a:
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @generated from message data.v1.S3Object
|
|
47
|
-
*/
|
|
48
|
-
export declare class S3Object extends Message<S3Object> {
|
|
49
|
-
/**
|
|
50
|
-
* @generated from field: string key = 1;
|
|
51
|
-
*/
|
|
52
|
-
key: string;
|
|
53
|
-
constructor(data?: PartialMessage<S3Object>);
|
|
54
|
-
static readonly runtime: typeof proto3;
|
|
55
|
-
static readonly typeName = "data.v1.S3Object";
|
|
56
|
-
static readonly fields: FieldList;
|
|
57
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): S3Object;
|
|
58
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): S3Object;
|
|
59
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): S3Object;
|
|
60
|
-
static equals(a: S3Object | PlainMessage<S3Object> | undefined, b: S3Object | PlainMessage<S3Object> | undefined): boolean;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @generated from message data.v1.IngestPoolsFromS3Response
|
|
64
|
-
*/
|
|
65
|
-
export declare class IngestPoolsFromS3Response extends Message<IngestPoolsFromS3Response> {
|
|
66
|
-
constructor(data?: PartialMessage<IngestPoolsFromS3Response>);
|
|
67
|
-
static readonly runtime: typeof proto3;
|
|
68
|
-
static readonly typeName = "data.v1.IngestPoolsFromS3Response";
|
|
69
|
-
static readonly fields: FieldList;
|
|
70
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngestPoolsFromS3Response;
|
|
71
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngestPoolsFromS3Response;
|
|
72
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestPoolsFromS3Response;
|
|
73
|
-
static equals(a: IngestPoolsFromS3Response | PlainMessage<IngestPoolsFromS3Response> | undefined, b: IngestPoolsFromS3Response | PlainMessage<IngestPoolsFromS3Response> | undefined): boolean;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* @generated from message data.v1.IngestPoolsFromQueueRequest
|
|
77
|
-
*/
|
|
78
|
-
export declare class IngestPoolsFromQueueRequest extends Message<IngestPoolsFromQueueRequest> {
|
|
79
|
-
/**
|
|
80
|
-
* @generated from field: bool backfill = 1;
|
|
81
|
-
*/
|
|
82
|
-
backfill: boolean;
|
|
83
|
-
constructor(data?: PartialMessage<IngestPoolsFromQueueRequest>);
|
|
84
|
-
static readonly runtime: typeof proto3;
|
|
85
|
-
static readonly typeName = "data.v1.IngestPoolsFromQueueRequest";
|
|
86
|
-
static readonly fields: FieldList;
|
|
87
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngestPoolsFromQueueRequest;
|
|
88
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngestPoolsFromQueueRequest;
|
|
89
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestPoolsFromQueueRequest;
|
|
90
|
-
static equals(a: IngestPoolsFromQueueRequest | PlainMessage<IngestPoolsFromQueueRequest> | undefined, b: IngestPoolsFromQueueRequest | PlainMessage<IngestPoolsFromQueueRequest> | undefined): boolean;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* @generated from message data.v1.IngestPoolsFromQueueResponse
|
|
94
|
-
*/
|
|
95
|
-
export declare class IngestPoolsFromQueueResponse extends Message<IngestPoolsFromQueueResponse> {
|
|
96
|
-
constructor(data?: PartialMessage<IngestPoolsFromQueueResponse>);
|
|
97
|
-
static readonly runtime: typeof proto3;
|
|
98
|
-
static readonly typeName = "data.v1.IngestPoolsFromQueueResponse";
|
|
99
|
-
static readonly fields: FieldList;
|
|
100
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngestPoolsFromQueueResponse;
|
|
101
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngestPoolsFromQueueResponse;
|
|
102
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestPoolsFromQueueResponse;
|
|
103
|
-
static equals(a: IngestPoolsFromQueueResponse | PlainMessage<IngestPoolsFromQueueResponse> | undefined, b: IngestPoolsFromQueueResponse | PlainMessage<IngestPoolsFromQueueResponse> | undefined): boolean;
|
|
24
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshProtocolStatsResponse;
|
|
25
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshProtocolStatsResponse;
|
|
26
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshProtocolStatsResponse;
|
|
27
|
+
static equals(a: RefreshProtocolStatsResponse | PlainMessage<RefreshProtocolStatsResponse> | undefined, b: RefreshProtocolStatsResponse | PlainMessage<RefreshProtocolStatsResponse> | undefined): boolean;
|
|
104
28
|
}
|
|
@@ -4,172 +4,50 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
6
|
/**
|
|
7
|
-
* @generated from message data.v1.
|
|
7
|
+
* @generated from message data.v1.RefreshProtocolStatsRequest
|
|
8
8
|
*/
|
|
9
|
-
export class
|
|
9
|
+
export class RefreshProtocolStatsRequest extends Message {
|
|
10
10
|
constructor(data) {
|
|
11
11
|
super();
|
|
12
|
-
/**
|
|
13
|
-
* @generated from field: string reason = 3;
|
|
14
|
-
*/
|
|
15
|
-
this.reason = "";
|
|
16
12
|
proto3.util.initPartial(data, this);
|
|
17
13
|
}
|
|
18
14
|
static fromBinary(bytes, options) {
|
|
19
|
-
return new
|
|
15
|
+
return new RefreshProtocolStatsRequest().fromBinary(bytes, options);
|
|
20
16
|
}
|
|
21
17
|
static fromJson(jsonValue, options) {
|
|
22
|
-
return new
|
|
18
|
+
return new RefreshProtocolStatsRequest().fromJson(jsonValue, options);
|
|
23
19
|
}
|
|
24
20
|
static fromJsonString(jsonString, options) {
|
|
25
|
-
return new
|
|
21
|
+
return new RefreshProtocolStatsRequest().fromJsonString(jsonString, options);
|
|
26
22
|
}
|
|
27
23
|
static equals(a, b) {
|
|
28
|
-
return proto3.util.equals(
|
|
24
|
+
return proto3.util.equals(RefreshProtocolStatsRequest, a, b);
|
|
29
25
|
}
|
|
30
26
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
{ no: 1, name: "bucket", kind: "message", T: Bucket },
|
|
35
|
-
{ no: 2, name: "object", kind: "message", T: S3Object },
|
|
36
|
-
{ no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
37
|
-
]);
|
|
27
|
+
RefreshProtocolStatsRequest.runtime = proto3;
|
|
28
|
+
RefreshProtocolStatsRequest.typeName = "data.v1.RefreshProtocolStatsRequest";
|
|
29
|
+
RefreshProtocolStatsRequest.fields = proto3.util.newFieldList(() => []);
|
|
38
30
|
/**
|
|
39
|
-
* @generated from message data.v1.
|
|
31
|
+
* @generated from message data.v1.RefreshProtocolStatsResponse
|
|
40
32
|
*/
|
|
41
|
-
export class
|
|
33
|
+
export class RefreshProtocolStatsResponse extends Message {
|
|
42
34
|
constructor(data) {
|
|
43
35
|
super();
|
|
44
|
-
/**
|
|
45
|
-
* @generated from field: string name = 1;
|
|
46
|
-
*/
|
|
47
|
-
this.name = "";
|
|
48
36
|
proto3.util.initPartial(data, this);
|
|
49
37
|
}
|
|
50
38
|
static fromBinary(bytes, options) {
|
|
51
|
-
return new
|
|
39
|
+
return new RefreshProtocolStatsResponse().fromBinary(bytes, options);
|
|
52
40
|
}
|
|
53
41
|
static fromJson(jsonValue, options) {
|
|
54
|
-
return new
|
|
42
|
+
return new RefreshProtocolStatsResponse().fromJson(jsonValue, options);
|
|
55
43
|
}
|
|
56
44
|
static fromJsonString(jsonString, options) {
|
|
57
|
-
return new
|
|
45
|
+
return new RefreshProtocolStatsResponse().fromJsonString(jsonString, options);
|
|
58
46
|
}
|
|
59
47
|
static equals(a, b) {
|
|
60
|
-
return proto3.util.equals(
|
|
48
|
+
return proto3.util.equals(RefreshProtocolStatsResponse, a, b);
|
|
61
49
|
}
|
|
62
50
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
67
|
-
]);
|
|
68
|
-
/**
|
|
69
|
-
* @generated from message data.v1.S3Object
|
|
70
|
-
*/
|
|
71
|
-
export class S3Object extends Message {
|
|
72
|
-
constructor(data) {
|
|
73
|
-
super();
|
|
74
|
-
/**
|
|
75
|
-
* @generated from field: string key = 1;
|
|
76
|
-
*/
|
|
77
|
-
this.key = "";
|
|
78
|
-
proto3.util.initPartial(data, this);
|
|
79
|
-
}
|
|
80
|
-
static fromBinary(bytes, options) {
|
|
81
|
-
return new S3Object().fromBinary(bytes, options);
|
|
82
|
-
}
|
|
83
|
-
static fromJson(jsonValue, options) {
|
|
84
|
-
return new S3Object().fromJson(jsonValue, options);
|
|
85
|
-
}
|
|
86
|
-
static fromJsonString(jsonString, options) {
|
|
87
|
-
return new S3Object().fromJsonString(jsonString, options);
|
|
88
|
-
}
|
|
89
|
-
static equals(a, b) {
|
|
90
|
-
return proto3.util.equals(S3Object, a, b);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
S3Object.runtime = proto3;
|
|
94
|
-
S3Object.typeName = "data.v1.S3Object";
|
|
95
|
-
S3Object.fields = proto3.util.newFieldList(() => [
|
|
96
|
-
{ no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
97
|
-
]);
|
|
98
|
-
/**
|
|
99
|
-
* @generated from message data.v1.IngestPoolsFromS3Response
|
|
100
|
-
*/
|
|
101
|
-
export class IngestPoolsFromS3Response extends Message {
|
|
102
|
-
constructor(data) {
|
|
103
|
-
super();
|
|
104
|
-
proto3.util.initPartial(data, this);
|
|
105
|
-
}
|
|
106
|
-
static fromBinary(bytes, options) {
|
|
107
|
-
return new IngestPoolsFromS3Response().fromBinary(bytes, options);
|
|
108
|
-
}
|
|
109
|
-
static fromJson(jsonValue, options) {
|
|
110
|
-
return new IngestPoolsFromS3Response().fromJson(jsonValue, options);
|
|
111
|
-
}
|
|
112
|
-
static fromJsonString(jsonString, options) {
|
|
113
|
-
return new IngestPoolsFromS3Response().fromJsonString(jsonString, options);
|
|
114
|
-
}
|
|
115
|
-
static equals(a, b) {
|
|
116
|
-
return proto3.util.equals(IngestPoolsFromS3Response, a, b);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
IngestPoolsFromS3Response.runtime = proto3;
|
|
120
|
-
IngestPoolsFromS3Response.typeName = "data.v1.IngestPoolsFromS3Response";
|
|
121
|
-
IngestPoolsFromS3Response.fields = proto3.util.newFieldList(() => []);
|
|
122
|
-
/**
|
|
123
|
-
* @generated from message data.v1.IngestPoolsFromQueueRequest
|
|
124
|
-
*/
|
|
125
|
-
export class IngestPoolsFromQueueRequest extends Message {
|
|
126
|
-
constructor(data) {
|
|
127
|
-
super();
|
|
128
|
-
/**
|
|
129
|
-
* @generated from field: bool backfill = 1;
|
|
130
|
-
*/
|
|
131
|
-
this.backfill = false;
|
|
132
|
-
proto3.util.initPartial(data, this);
|
|
133
|
-
}
|
|
134
|
-
static fromBinary(bytes, options) {
|
|
135
|
-
return new IngestPoolsFromQueueRequest().fromBinary(bytes, options);
|
|
136
|
-
}
|
|
137
|
-
static fromJson(jsonValue, options) {
|
|
138
|
-
return new IngestPoolsFromQueueRequest().fromJson(jsonValue, options);
|
|
139
|
-
}
|
|
140
|
-
static fromJsonString(jsonString, options) {
|
|
141
|
-
return new IngestPoolsFromQueueRequest().fromJsonString(jsonString, options);
|
|
142
|
-
}
|
|
143
|
-
static equals(a, b) {
|
|
144
|
-
return proto3.util.equals(IngestPoolsFromQueueRequest, a, b);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
IngestPoolsFromQueueRequest.runtime = proto3;
|
|
148
|
-
IngestPoolsFromQueueRequest.typeName = "data.v1.IngestPoolsFromQueueRequest";
|
|
149
|
-
IngestPoolsFromQueueRequest.fields = proto3.util.newFieldList(() => [
|
|
150
|
-
{ no: 1, name: "backfill", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
151
|
-
]);
|
|
152
|
-
/**
|
|
153
|
-
* @generated from message data.v1.IngestPoolsFromQueueResponse
|
|
154
|
-
*/
|
|
155
|
-
export class IngestPoolsFromQueueResponse extends Message {
|
|
156
|
-
constructor(data) {
|
|
157
|
-
super();
|
|
158
|
-
proto3.util.initPartial(data, this);
|
|
159
|
-
}
|
|
160
|
-
static fromBinary(bytes, options) {
|
|
161
|
-
return new IngestPoolsFromQueueResponse().fromBinary(bytes, options);
|
|
162
|
-
}
|
|
163
|
-
static fromJson(jsonValue, options) {
|
|
164
|
-
return new IngestPoolsFromQueueResponse().fromJson(jsonValue, options);
|
|
165
|
-
}
|
|
166
|
-
static fromJsonString(jsonString, options) {
|
|
167
|
-
return new IngestPoolsFromQueueResponse().fromJsonString(jsonString, options);
|
|
168
|
-
}
|
|
169
|
-
static equals(a, b) {
|
|
170
|
-
return proto3.util.equals(IngestPoolsFromQueueResponse, a, b);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
IngestPoolsFromQueueResponse.runtime = proto3;
|
|
174
|
-
IngestPoolsFromQueueResponse.typeName = "data.v1.IngestPoolsFromQueueResponse";
|
|
175
|
-
IngestPoolsFromQueueResponse.fields = proto3.util.newFieldList(() => []);
|
|
51
|
+
RefreshProtocolStatsResponse.runtime = proto3;
|
|
52
|
+
RefreshProtocolStatsResponse.typeName = "data.v1.RefreshProtocolStatsResponse";
|
|
53
|
+
RefreshProtocolStatsResponse.fields = proto3.util.newFieldList(() => []);
|