@uniswap/client-data-api 0.0.16 → 0.0.17
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 +90 -1
- package/dist/data/v1/api_pb.js +110 -1
- package/dist/data/v1/types_pb.d.ts +87 -0
- package/dist/data/v1/types_pb.js +110 -0
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +14 -1
- package/dist/data/v1/workerService-WorkerService_connectquery.js +14 -1
- package/dist/data/v1/workerService_connect.d.ts +10 -1
- package/dist/data/v1/workerService_connect.js +10 -1
- package/dist/data/v1/workerService_pb.d.ts +30 -0
- package/dist/data/v1/workerService_pb.js +54 -0
- 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, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
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";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
5
5
|
*/
|
|
@@ -208,3 +208,16 @@ export declare const getRewards: {
|
|
|
208
208
|
readonly typeName: "data.v1.DataApiService";
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
|
+
/**
|
|
212
|
+
* @generated from rpc data.v1.DataApiService.ListTopPools
|
|
213
|
+
*/
|
|
214
|
+
export declare const listTopPools: {
|
|
215
|
+
readonly localName: "listTopPools";
|
|
216
|
+
readonly name: "ListTopPools";
|
|
217
|
+
readonly kind: MethodKind.Unary;
|
|
218
|
+
readonly I: typeof ListTopPoolsRequest;
|
|
219
|
+
readonly O: typeof ListTopPoolsResponse;
|
|
220
|
+
readonly service: {
|
|
221
|
+
readonly typeName: "data.v1.DataApiService";
|
|
222
|
+
};
|
|
223
|
+
};
|
|
@@ -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, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
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";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
9
9
|
*/
|
|
@@ -212,3 +212,16 @@ export const getRewards = {
|
|
|
212
212
|
typeName: "data.v1.DataApiService"
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
|
+
/**
|
|
216
|
+
* @generated from rpc data.v1.DataApiService.ListTopPools
|
|
217
|
+
*/
|
|
218
|
+
export const listTopPools = {
|
|
219
|
+
localName: "listTopPools",
|
|
220
|
+
name: "ListTopPools",
|
|
221
|
+
kind: MethodKind.Unary,
|
|
222
|
+
I: ListTopPoolsRequest,
|
|
223
|
+
O: ListTopPoolsResponse,
|
|
224
|
+
service: {
|
|
225
|
+
typeName: "data.v1.DataApiService"
|
|
226
|
+
}
|
|
227
|
+
};
|
|
@@ -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, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
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";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.DataApiService
|
|
@@ -150,5 +150,14 @@ export declare const DataApiService: {
|
|
|
150
150
|
readonly O: typeof GetRewardsResponse;
|
|
151
151
|
readonly kind: MethodKind.Unary;
|
|
152
152
|
};
|
|
153
|
+
/**
|
|
154
|
+
* @generated from rpc data.v1.DataApiService.ListTopPools
|
|
155
|
+
*/
|
|
156
|
+
readonly listTopPools: {
|
|
157
|
+
readonly name: "ListTopPools";
|
|
158
|
+
readonly I: typeof ListTopPoolsRequest;
|
|
159
|
+
readonly O: typeof ListTopPoolsResponse;
|
|
160
|
+
readonly kind: MethodKind.Unary;
|
|
161
|
+
};
|
|
153
162
|
};
|
|
154
163
|
};
|
|
@@ -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, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
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";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.DataApiService
|
|
@@ -154,5 +154,14 @@ export const DataApiService = {
|
|
|
154
154
|
O: GetRewardsResponse,
|
|
155
155
|
kind: MethodKind.Unary,
|
|
156
156
|
},
|
|
157
|
+
/**
|
|
158
|
+
* @generated from rpc data.v1.DataApiService.ListTopPools
|
|
159
|
+
*/
|
|
160
|
+
listTopPools: {
|
|
161
|
+
name: "ListTopPools",
|
|
162
|
+
I: ListTopPoolsRequest,
|
|
163
|
+
O: ListTopPoolsResponse,
|
|
164
|
+
kind: MethodKind.Unary,
|
|
165
|
+
},
|
|
157
166
|
}
|
|
158
167
|
};
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
-
import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
3
|
+
import { Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
4
4
|
import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
|
|
5
5
|
/**
|
|
6
6
|
* @generated from enum data.v1.Platform
|
|
@@ -28,6 +28,35 @@ export declare enum OrderBy {
|
|
|
28
28
|
*/
|
|
29
29
|
CREATION_DATE = 1
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum data.v1.TopPoolsOrderBy
|
|
33
|
+
*/
|
|
34
|
+
export declare enum TopPoolsOrderBy {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_UNSPECIFIED = 0;
|
|
37
|
+
*/
|
|
38
|
+
UNSPECIFIED = 0,
|
|
39
|
+
/**
|
|
40
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_TVL = 1;
|
|
41
|
+
*/
|
|
42
|
+
TVL = 1,
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_VOLUME_1D = 2;
|
|
45
|
+
*/
|
|
46
|
+
VOLUME_1D = 2,
|
|
47
|
+
/**
|
|
48
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_VOLUME_30D = 3;
|
|
49
|
+
*/
|
|
50
|
+
VOLUME_30D = 3,
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_APR = 4;
|
|
53
|
+
*/
|
|
54
|
+
APR = 4,
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_REWARD_APR = 5;
|
|
57
|
+
*/
|
|
58
|
+
REWARD_APR = 5
|
|
59
|
+
}
|
|
31
60
|
/**
|
|
32
61
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
33
62
|
*/
|
|
@@ -918,3 +947,63 @@ export declare class GetRewardsResponse extends Message<GetRewardsResponse> {
|
|
|
918
947
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRewardsResponse;
|
|
919
948
|
static equals(a: GetRewardsResponse | PlainMessage<GetRewardsResponse> | undefined, b: GetRewardsResponse | PlainMessage<GetRewardsResponse> | undefined): boolean;
|
|
920
949
|
}
|
|
950
|
+
/**
|
|
951
|
+
* @generated from message data.v1.ListTopPoolsRequest
|
|
952
|
+
*/
|
|
953
|
+
export declare class ListTopPoolsRequest extends Message<ListTopPoolsRequest> {
|
|
954
|
+
/**
|
|
955
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
956
|
+
*/
|
|
957
|
+
chainIds: number[];
|
|
958
|
+
/**
|
|
959
|
+
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 2;
|
|
960
|
+
*/
|
|
961
|
+
protocolVersions: ProtocolVersion[];
|
|
962
|
+
/**
|
|
963
|
+
* @generated from field: optional data.v1.TopPoolsOrderBy order_by = 3;
|
|
964
|
+
*/
|
|
965
|
+
orderBy?: TopPoolsOrderBy;
|
|
966
|
+
/**
|
|
967
|
+
* default false
|
|
968
|
+
*
|
|
969
|
+
* @generated from field: optional bool ascending = 4;
|
|
970
|
+
*/
|
|
971
|
+
ascending?: boolean;
|
|
972
|
+
/**
|
|
973
|
+
* @generated from field: optional uint32 page_size = 5;
|
|
974
|
+
*/
|
|
975
|
+
pageSize?: number;
|
|
976
|
+
/**
|
|
977
|
+
* @generated from field: optional string page_token = 6;
|
|
978
|
+
*/
|
|
979
|
+
pageToken?: string;
|
|
980
|
+
constructor(data?: PartialMessage<ListTopPoolsRequest>);
|
|
981
|
+
static readonly runtime: typeof proto3;
|
|
982
|
+
static readonly typeName = "data.v1.ListTopPoolsRequest";
|
|
983
|
+
static readonly fields: FieldList;
|
|
984
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTopPoolsRequest;
|
|
985
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTopPoolsRequest;
|
|
986
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopPoolsRequest;
|
|
987
|
+
static equals(a: ListTopPoolsRequest | PlainMessage<ListTopPoolsRequest> | undefined, b: ListTopPoolsRequest | PlainMessage<ListTopPoolsRequest> | undefined): boolean;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* @generated from message data.v1.ListTopPoolsResponse
|
|
991
|
+
*/
|
|
992
|
+
export declare class ListTopPoolsResponse extends Message<ListTopPoolsResponse> {
|
|
993
|
+
/**
|
|
994
|
+
* @generated from field: repeated data.v1.Pool pools = 1;
|
|
995
|
+
*/
|
|
996
|
+
pools: Pool$1[];
|
|
997
|
+
/**
|
|
998
|
+
* @generated from field: optional string next_page_token = 2;
|
|
999
|
+
*/
|
|
1000
|
+
nextPageToken?: string;
|
|
1001
|
+
constructor(data?: PartialMessage<ListTopPoolsResponse>);
|
|
1002
|
+
static readonly runtime: typeof proto3;
|
|
1003
|
+
static readonly typeName = "data.v1.ListTopPoolsResponse";
|
|
1004
|
+
static readonly fields: FieldList;
|
|
1005
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTopPoolsResponse;
|
|
1006
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTopPoolsResponse;
|
|
1007
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTopPoolsResponse;
|
|
1008
|
+
static equals(a: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined, b: ListTopPoolsResponse | PlainMessage<ListTopPoolsResponse> | undefined): boolean;
|
|
1009
|
+
}
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
-
import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
6
|
+
import { Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
7
7
|
import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
|
|
8
8
|
/**
|
|
9
9
|
* @generated from enum data.v1.Platform
|
|
@@ -43,6 +43,45 @@ proto3.util.setEnumType(OrderBy, "data.v1.OrderBy", [
|
|
|
43
43
|
{ no: 0, name: "ORDER_BY_UNSPECIFIED" },
|
|
44
44
|
{ no: 1, name: "ORDER_BY_CREATION_DATE" },
|
|
45
45
|
]);
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum data.v1.TopPoolsOrderBy
|
|
48
|
+
*/
|
|
49
|
+
export var TopPoolsOrderBy;
|
|
50
|
+
(function (TopPoolsOrderBy) {
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_UNSPECIFIED = 0;
|
|
53
|
+
*/
|
|
54
|
+
TopPoolsOrderBy[TopPoolsOrderBy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_TVL = 1;
|
|
57
|
+
*/
|
|
58
|
+
TopPoolsOrderBy[TopPoolsOrderBy["TVL"] = 1] = "TVL";
|
|
59
|
+
/**
|
|
60
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_VOLUME_1D = 2;
|
|
61
|
+
*/
|
|
62
|
+
TopPoolsOrderBy[TopPoolsOrderBy["VOLUME_1D"] = 2] = "VOLUME_1D";
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_VOLUME_30D = 3;
|
|
65
|
+
*/
|
|
66
|
+
TopPoolsOrderBy[TopPoolsOrderBy["VOLUME_30D"] = 3] = "VOLUME_30D";
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_APR = 4;
|
|
69
|
+
*/
|
|
70
|
+
TopPoolsOrderBy[TopPoolsOrderBy["APR"] = 4] = "APR";
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: TOP_POOLS_ORDER_BY_REWARD_APR = 5;
|
|
73
|
+
*/
|
|
74
|
+
TopPoolsOrderBy[TopPoolsOrderBy["REWARD_APR"] = 5] = "REWARD_APR";
|
|
75
|
+
})(TopPoolsOrderBy || (TopPoolsOrderBy = {}));
|
|
76
|
+
// Retrieve enum metadata with: proto3.getEnumType(TopPoolsOrderBy)
|
|
77
|
+
proto3.util.setEnumType(TopPoolsOrderBy, "data.v1.TopPoolsOrderBy", [
|
|
78
|
+
{ no: 0, name: "TOP_POOLS_ORDER_BY_UNSPECIFIED" },
|
|
79
|
+
{ no: 1, name: "TOP_POOLS_ORDER_BY_TVL" },
|
|
80
|
+
{ no: 2, name: "TOP_POOLS_ORDER_BY_VOLUME_1D" },
|
|
81
|
+
{ no: 3, name: "TOP_POOLS_ORDER_BY_VOLUME_30D" },
|
|
82
|
+
{ no: 4, name: "TOP_POOLS_ORDER_BY_APR" },
|
|
83
|
+
{ no: 5, name: "TOP_POOLS_ORDER_BY_REWARD_APR" },
|
|
84
|
+
]);
|
|
46
85
|
/**
|
|
47
86
|
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
48
87
|
*/
|
|
@@ -1322,3 +1361,73 @@ GetRewardsResponse.typeName = "data.v1.GetRewardsResponse";
|
|
|
1322
1361
|
GetRewardsResponse.fields = proto3.util.newFieldList(() => [
|
|
1323
1362
|
{ no: 1, name: "total_unclaimed_amount_uni", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1324
1363
|
]);
|
|
1364
|
+
/**
|
|
1365
|
+
* @generated from message data.v1.ListTopPoolsRequest
|
|
1366
|
+
*/
|
|
1367
|
+
export class ListTopPoolsRequest extends Message {
|
|
1368
|
+
constructor(data) {
|
|
1369
|
+
super();
|
|
1370
|
+
/**
|
|
1371
|
+
* @generated from field: repeated uint32 chain_ids = 1;
|
|
1372
|
+
*/
|
|
1373
|
+
this.chainIds = [];
|
|
1374
|
+
/**
|
|
1375
|
+
* @generated from field: repeated pools.v1.ProtocolVersion protocol_versions = 2;
|
|
1376
|
+
*/
|
|
1377
|
+
this.protocolVersions = [];
|
|
1378
|
+
proto3.util.initPartial(data, this);
|
|
1379
|
+
}
|
|
1380
|
+
static fromBinary(bytes, options) {
|
|
1381
|
+
return new ListTopPoolsRequest().fromBinary(bytes, options);
|
|
1382
|
+
}
|
|
1383
|
+
static fromJson(jsonValue, options) {
|
|
1384
|
+
return new ListTopPoolsRequest().fromJson(jsonValue, options);
|
|
1385
|
+
}
|
|
1386
|
+
static fromJsonString(jsonString, options) {
|
|
1387
|
+
return new ListTopPoolsRequest().fromJsonString(jsonString, options);
|
|
1388
|
+
}
|
|
1389
|
+
static equals(a, b) {
|
|
1390
|
+
return proto3.util.equals(ListTopPoolsRequest, a, b);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
ListTopPoolsRequest.runtime = proto3;
|
|
1394
|
+
ListTopPoolsRequest.typeName = "data.v1.ListTopPoolsRequest";
|
|
1395
|
+
ListTopPoolsRequest.fields = proto3.util.newFieldList(() => [
|
|
1396
|
+
{ no: 1, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
1397
|
+
{ no: 2, name: "protocol_versions", kind: "enum", T: proto3.getEnumType(ProtocolVersion), repeated: true },
|
|
1398
|
+
{ no: 3, name: "order_by", kind: "enum", T: proto3.getEnumType(TopPoolsOrderBy), opt: true },
|
|
1399
|
+
{ no: 4, name: "ascending", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1400
|
+
{ no: 5, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1401
|
+
{ no: 6, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1402
|
+
]);
|
|
1403
|
+
/**
|
|
1404
|
+
* @generated from message data.v1.ListTopPoolsResponse
|
|
1405
|
+
*/
|
|
1406
|
+
export class ListTopPoolsResponse extends Message {
|
|
1407
|
+
constructor(data) {
|
|
1408
|
+
super();
|
|
1409
|
+
/**
|
|
1410
|
+
* @generated from field: repeated data.v1.Pool pools = 1;
|
|
1411
|
+
*/
|
|
1412
|
+
this.pools = [];
|
|
1413
|
+
proto3.util.initPartial(data, this);
|
|
1414
|
+
}
|
|
1415
|
+
static fromBinary(bytes, options) {
|
|
1416
|
+
return new ListTopPoolsResponse().fromBinary(bytes, options);
|
|
1417
|
+
}
|
|
1418
|
+
static fromJson(jsonValue, options) {
|
|
1419
|
+
return new ListTopPoolsResponse().fromJson(jsonValue, options);
|
|
1420
|
+
}
|
|
1421
|
+
static fromJsonString(jsonString, options) {
|
|
1422
|
+
return new ListTopPoolsResponse().fromJsonString(jsonString, options);
|
|
1423
|
+
}
|
|
1424
|
+
static equals(a, b) {
|
|
1425
|
+
return proto3.util.equals(ListTopPoolsResponse, a, b);
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
ListTopPoolsResponse.runtime = proto3;
|
|
1429
|
+
ListTopPoolsResponse.typeName = "data.v1.ListTopPoolsResponse";
|
|
1430
|
+
ListTopPoolsResponse.fields = proto3.util.newFieldList(() => [
|
|
1431
|
+
{ no: 1, name: "pools", kind: "message", T: Pool$1, repeated: true },
|
|
1432
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1433
|
+
]);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { ProtocolVersion } from "./poolTypes_pb.js";
|
|
3
4
|
/**
|
|
4
5
|
* @generated from enum data.v1.TokenType
|
|
5
6
|
*/
|
|
@@ -1168,3 +1169,89 @@ export declare class TransactionFee extends Message<TransactionFee> {
|
|
|
1168
1169
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransactionFee;
|
|
1169
1170
|
static equals(a: TransactionFee | PlainMessage<TransactionFee> | undefined, b: TransactionFee | PlainMessage<TransactionFee> | undefined): boolean;
|
|
1170
1171
|
}
|
|
1172
|
+
/**
|
|
1173
|
+
* @generated from message data.v1.PoolStats
|
|
1174
|
+
*/
|
|
1175
|
+
export declare class PoolStats extends Message<PoolStats> {
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from field: double tvl = 1;
|
|
1178
|
+
*/
|
|
1179
|
+
tvl: number;
|
|
1180
|
+
/**
|
|
1181
|
+
* @generated from field: double volume_1d = 2;
|
|
1182
|
+
*/
|
|
1183
|
+
volume1d: number;
|
|
1184
|
+
/**
|
|
1185
|
+
* @generated from field: double volume_30d = 3;
|
|
1186
|
+
*/
|
|
1187
|
+
volume30d: number;
|
|
1188
|
+
/**
|
|
1189
|
+
* @generated from field: float apr = 4;
|
|
1190
|
+
*/
|
|
1191
|
+
apr: number;
|
|
1192
|
+
/**
|
|
1193
|
+
* @generated from field: float reward_apr = 5;
|
|
1194
|
+
*/
|
|
1195
|
+
rewardApr: number;
|
|
1196
|
+
/**
|
|
1197
|
+
* @generated from field: float total_apr = 6;
|
|
1198
|
+
*/
|
|
1199
|
+
totalApr: number;
|
|
1200
|
+
constructor(data?: PartialMessage<PoolStats>);
|
|
1201
|
+
static readonly runtime: typeof proto3;
|
|
1202
|
+
static readonly typeName = "data.v1.PoolStats";
|
|
1203
|
+
static readonly fields: FieldList;
|
|
1204
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PoolStats;
|
|
1205
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PoolStats;
|
|
1206
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PoolStats;
|
|
1207
|
+
static equals(a: PoolStats | PlainMessage<PoolStats> | undefined, b: PoolStats | PlainMessage<PoolStats> | undefined): boolean;
|
|
1208
|
+
}
|
|
1209
|
+
/**
|
|
1210
|
+
* @generated from message data.v1.Pool
|
|
1211
|
+
*/
|
|
1212
|
+
export declare class Pool extends Message<Pool> {
|
|
1213
|
+
/**
|
|
1214
|
+
* @generated from field: uint32 chain_id = 1;
|
|
1215
|
+
*/
|
|
1216
|
+
chainId: number;
|
|
1217
|
+
/**
|
|
1218
|
+
* @generated from field: string pool_id = 2;
|
|
1219
|
+
*/
|
|
1220
|
+
poolId: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* @generated from field: data.v1.Token token0 = 3;
|
|
1223
|
+
*/
|
|
1224
|
+
token0?: Token;
|
|
1225
|
+
/**
|
|
1226
|
+
* @generated from field: data.v1.Token token1 = 4;
|
|
1227
|
+
*/
|
|
1228
|
+
token1?: Token;
|
|
1229
|
+
/**
|
|
1230
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
|
|
1231
|
+
*/
|
|
1232
|
+
protocolVersion: ProtocolVersion;
|
|
1233
|
+
/**
|
|
1234
|
+
* @generated from field: uint32 fee_tier = 6;
|
|
1235
|
+
*/
|
|
1236
|
+
feeTier: number;
|
|
1237
|
+
/**
|
|
1238
|
+
* @generated from field: bool is_dynamic_fee = 7;
|
|
1239
|
+
*/
|
|
1240
|
+
isDynamicFee: boolean;
|
|
1241
|
+
/**
|
|
1242
|
+
* @generated from field: optional string hook_address = 8;
|
|
1243
|
+
*/
|
|
1244
|
+
hookAddress?: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* @generated from field: data.v1.PoolStats stats = 9;
|
|
1247
|
+
*/
|
|
1248
|
+
stats?: PoolStats;
|
|
1249
|
+
constructor(data?: PartialMessage<Pool>);
|
|
1250
|
+
static readonly runtime: typeof proto3;
|
|
1251
|
+
static readonly typeName = "data.v1.Pool";
|
|
1252
|
+
static readonly fields: FieldList;
|
|
1253
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pool;
|
|
1254
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pool;
|
|
1255
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pool;
|
|
1256
|
+
static equals(a: Pool | PlainMessage<Pool> | undefined, b: Pool | PlainMessage<Pool> | undefined): boolean;
|
|
1257
|
+
}
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
|
+
import { ProtocolVersion } from "./poolTypes_pb.js";
|
|
6
7
|
/**
|
|
7
8
|
* @generated from enum data.v1.TokenType
|
|
8
9
|
*/
|
|
@@ -1539,3 +1540,112 @@ TransactionFee.fields = proto3.util.newFieldList(() => [
|
|
|
1539
1540
|
{ no: 3, name: "symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1540
1541
|
{ no: 4, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1541
1542
|
]);
|
|
1543
|
+
/**
|
|
1544
|
+
* @generated from message data.v1.PoolStats
|
|
1545
|
+
*/
|
|
1546
|
+
export class PoolStats extends Message {
|
|
1547
|
+
constructor(data) {
|
|
1548
|
+
super();
|
|
1549
|
+
/**
|
|
1550
|
+
* @generated from field: double tvl = 1;
|
|
1551
|
+
*/
|
|
1552
|
+
this.tvl = 0;
|
|
1553
|
+
/**
|
|
1554
|
+
* @generated from field: double volume_1d = 2;
|
|
1555
|
+
*/
|
|
1556
|
+
this.volume1d = 0;
|
|
1557
|
+
/**
|
|
1558
|
+
* @generated from field: double volume_30d = 3;
|
|
1559
|
+
*/
|
|
1560
|
+
this.volume30d = 0;
|
|
1561
|
+
/**
|
|
1562
|
+
* @generated from field: float apr = 4;
|
|
1563
|
+
*/
|
|
1564
|
+
this.apr = 0;
|
|
1565
|
+
/**
|
|
1566
|
+
* @generated from field: float reward_apr = 5;
|
|
1567
|
+
*/
|
|
1568
|
+
this.rewardApr = 0;
|
|
1569
|
+
/**
|
|
1570
|
+
* @generated from field: float total_apr = 6;
|
|
1571
|
+
*/
|
|
1572
|
+
this.totalApr = 0;
|
|
1573
|
+
proto3.util.initPartial(data, this);
|
|
1574
|
+
}
|
|
1575
|
+
static fromBinary(bytes, options) {
|
|
1576
|
+
return new PoolStats().fromBinary(bytes, options);
|
|
1577
|
+
}
|
|
1578
|
+
static fromJson(jsonValue, options) {
|
|
1579
|
+
return new PoolStats().fromJson(jsonValue, options);
|
|
1580
|
+
}
|
|
1581
|
+
static fromJsonString(jsonString, options) {
|
|
1582
|
+
return new PoolStats().fromJsonString(jsonString, options);
|
|
1583
|
+
}
|
|
1584
|
+
static equals(a, b) {
|
|
1585
|
+
return proto3.util.equals(PoolStats, a, b);
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
PoolStats.runtime = proto3;
|
|
1589
|
+
PoolStats.typeName = "data.v1.PoolStats";
|
|
1590
|
+
PoolStats.fields = proto3.util.newFieldList(() => [
|
|
1591
|
+
{ no: 1, name: "tvl", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1592
|
+
{ no: 2, name: "volume_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1593
|
+
{ no: 3, name: "volume_30d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
1594
|
+
{ no: 4, name: "apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1595
|
+
{ no: 5, name: "reward_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1596
|
+
{ no: 6, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
1597
|
+
]);
|
|
1598
|
+
/**
|
|
1599
|
+
* @generated from message data.v1.Pool
|
|
1600
|
+
*/
|
|
1601
|
+
export class Pool extends Message {
|
|
1602
|
+
constructor(data) {
|
|
1603
|
+
super();
|
|
1604
|
+
/**
|
|
1605
|
+
* @generated from field: uint32 chain_id = 1;
|
|
1606
|
+
*/
|
|
1607
|
+
this.chainId = 0;
|
|
1608
|
+
/**
|
|
1609
|
+
* @generated from field: string pool_id = 2;
|
|
1610
|
+
*/
|
|
1611
|
+
this.poolId = "";
|
|
1612
|
+
/**
|
|
1613
|
+
* @generated from field: pools.v1.ProtocolVersion protocol_version = 5;
|
|
1614
|
+
*/
|
|
1615
|
+
this.protocolVersion = ProtocolVersion.UNSPECIFIED;
|
|
1616
|
+
/**
|
|
1617
|
+
* @generated from field: uint32 fee_tier = 6;
|
|
1618
|
+
*/
|
|
1619
|
+
this.feeTier = 0;
|
|
1620
|
+
/**
|
|
1621
|
+
* @generated from field: bool is_dynamic_fee = 7;
|
|
1622
|
+
*/
|
|
1623
|
+
this.isDynamicFee = false;
|
|
1624
|
+
proto3.util.initPartial(data, this);
|
|
1625
|
+
}
|
|
1626
|
+
static fromBinary(bytes, options) {
|
|
1627
|
+
return new Pool().fromBinary(bytes, options);
|
|
1628
|
+
}
|
|
1629
|
+
static fromJson(jsonValue, options) {
|
|
1630
|
+
return new Pool().fromJson(jsonValue, options);
|
|
1631
|
+
}
|
|
1632
|
+
static fromJsonString(jsonString, options) {
|
|
1633
|
+
return new Pool().fromJsonString(jsonString, options);
|
|
1634
|
+
}
|
|
1635
|
+
static equals(a, b) {
|
|
1636
|
+
return proto3.util.equals(Pool, a, b);
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
Pool.runtime = proto3;
|
|
1640
|
+
Pool.typeName = "data.v1.Pool";
|
|
1641
|
+
Pool.fields = proto3.util.newFieldList(() => [
|
|
1642
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1643
|
+
{ no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1644
|
+
{ no: 3, name: "token0", kind: "message", T: Token },
|
|
1645
|
+
{ no: 4, name: "token1", kind: "message", T: Token },
|
|
1646
|
+
{ no: 5, name: "protocol_version", kind: "enum", T: proto3.getEnumType(ProtocolVersion) },
|
|
1647
|
+
{ no: 6, name: "fee_tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1648
|
+
{ no: 7, name: "is_dynamic_fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1649
|
+
{ no: 8, name: "hook_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1650
|
+
{ no: 9, name: "stats", kind: "message", T: PoolStats },
|
|
1651
|
+
]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
|
|
2
|
+
import { IngestPoolsFromQueueRequest, IngestPoolsFromQueueResponse, IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.WorkerService.IngestPoolsFromS3
|
|
5
5
|
*/
|
|
@@ -13,3 +13,16 @@ export declare const ingestPoolsFromS3: {
|
|
|
13
13
|
readonly typeName: "data.v1.WorkerService";
|
|
14
14
|
};
|
|
15
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;
|
|
25
|
+
readonly service: {
|
|
26
|
+
readonly typeName: "data.v1.WorkerService";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
|
|
6
|
+
import { IngestPoolsFromQueueRequest, IngestPoolsFromQueueResponse, IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.WorkerService.IngestPoolsFromS3
|
|
9
9
|
*/
|
|
@@ -17,3 +17,16 @@ export const ingestPoolsFromS3 = {
|
|
|
17
17
|
typeName: "data.v1.WorkerService"
|
|
18
18
|
}
|
|
19
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,
|
|
29
|
+
service: {
|
|
30
|
+
typeName: "data.v1.WorkerService"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
|
|
1
|
+
import { IngestPoolsFromQueueRequest, IngestPoolsFromQueueResponse, IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.WorkerService
|
|
@@ -15,5 +15,14 @@ export declare const WorkerService: {
|
|
|
15
15
|
readonly O: typeof IngestPoolsFromS3Response;
|
|
16
16
|
readonly kind: MethodKind.Unary;
|
|
17
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;
|
|
25
|
+
readonly kind: MethodKind.Unary;
|
|
26
|
+
};
|
|
18
27
|
};
|
|
19
28
|
};
|
|
@@ -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 { IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
|
|
5
|
+
import { IngestPoolsFromQueueRequest, IngestPoolsFromQueueResponse, IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.WorkerService
|
|
@@ -19,5 +19,14 @@ export const WorkerService = {
|
|
|
19
19
|
O: IngestPoolsFromS3Response,
|
|
20
20
|
kind: MethodKind.Unary,
|
|
21
21
|
},
|
|
22
|
+
/**
|
|
23
|
+
* @generated from rpc data.v1.WorkerService.IngestPoolsFromQueue
|
|
24
|
+
*/
|
|
25
|
+
ingestPoolsFromQueue: {
|
|
26
|
+
name: "IngestPoolsFromQueue",
|
|
27
|
+
I: IngestPoolsFromQueueRequest,
|
|
28
|
+
O: IngestPoolsFromQueueResponse,
|
|
29
|
+
kind: MethodKind.Unary,
|
|
30
|
+
},
|
|
22
31
|
}
|
|
23
32
|
};
|
|
@@ -72,3 +72,33 @@ export declare class IngestPoolsFromS3Response extends Message<IngestPoolsFromS3
|
|
|
72
72
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestPoolsFromS3Response;
|
|
73
73
|
static equals(a: IngestPoolsFromS3Response | PlainMessage<IngestPoolsFromS3Response> | undefined, b: IngestPoolsFromS3Response | PlainMessage<IngestPoolsFromS3Response> | undefined): boolean;
|
|
74
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;
|
|
104
|
+
}
|
|
@@ -119,3 +119,57 @@ export class IngestPoolsFromS3Response extends Message {
|
|
|
119
119
|
IngestPoolsFromS3Response.runtime = proto3;
|
|
120
120
|
IngestPoolsFromS3Response.typeName = "data.v1.IngestPoolsFromS3Response";
|
|
121
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(() => []);
|