@uniswap/client-data-api 0.0.295 → 0.0.297
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/buf/validate/validate_pb.d.ts +4833 -0
- package/dist/buf/validate/validate_pb.js +356 -0
- package/dist/data/v1/api-DataApiService_connectquery.d.ts +88 -200
- package/dist/data/v1/api-DataApiService_connectquery.js +24 -224
- package/dist/data/v1/api_pb.d.ts +843 -845
- package/dist/data/v1/api_pb.js +393 -2676
- package/dist/data/v1/featureGating_pb.d.ts +31 -26
- package/dist/data/v1/featureGating_pb.js +13 -50
- package/dist/data/v1/plan_pb.d.ts +29 -0
- package/dist/data/v1/plan_pb.js +30 -69
- package/dist/data/v1/poolTypes_pb.d.ts +118 -127
- package/dist/data/v1/poolTypes_pb.js +47 -438
- package/dist/data/v1/types_pb.d.ts +1276 -1334
- package/dist/data/v1/types_pb.js +249 -2021
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +16 -38
- package/dist/data/v1/workerService-WorkerService_connectquery.js +6 -44
- package/dist/data/v1/workerService_pb.d.ts +99 -92
- package/dist/data/v1/workerService_pb.js +37 -248
- package/dist/data/v2/api-DataApiService_connectquery.d.ts +148 -335
- package/dist/data/v2/api-DataApiService_connectquery.js +39 -374
- package/dist/data/v2/api_pb.d.ts +1087 -1054
- package/dist/data/v2/api_pb.js +483 -3805
- package/dist/data/v2/categories_pb.d.ts +130 -142
- package/dist/data/v2/categories_pb.js +55 -457
- package/dist/data/v2/common_pb.d.ts +23 -25
- package/dist/data/v2/common_pb.js +12 -59
- package/dist/data/v2/earn_pb.d.ts +92 -92
- package/dist/data/v2/earn_pb.js +33 -229
- package/dist/data/v2/hooks_pb.d.ts +119 -135
- package/dist/data/v2/hooks_pb.js +49 -315
- package/dist/data/v2/search-SearchService_connectquery.d.ts +4 -11
- package/dist/data/v2/search-SearchService_connectquery.js +3 -14
- package/dist/data/v2/search_pb.d.ts +139 -120
- package/dist/data/v2/search_pb.js +34 -225
- package/dist/data/v2/tokenGroups_pb.d.ts +31 -36
- package/dist/data/v2/tokenGroups_pb.js +16 -126
- package/dist/data/v2/types_pb.d.ts +1823 -1846
- package/dist/data/v2/types_pb.js +282 -2141
- package/dist/data/v2/workerService-WorkerService_connectquery.d.ts +4 -11
- package/dist/data/v2/workerService-WorkerService_connectquery.js +3 -14
- package/dist/data/v2/workerService_pb.d.ts +35 -22
- package/dist/data/v2/workerService_pb.js +20 -47
- package/package.json +1 -1
- package/dist/data/v1/api_connect.d.ts +0 -208
- package/dist/data/v1/api_connect.js +0 -212
- package/dist/data/v1/workerService_connect.d.ts +0 -46
- package/dist/data/v1/workerService_connect.js +0 -50
- package/dist/data/v2/api_connect.d.ts +0 -343
- package/dist/data/v2/api_connect.js +0 -347
- package/dist/data/v2/search_connect.d.ts +0 -21
- package/dist/data/v2/search_connect.js +0 -25
- package/dist/data/v2/workerService_connect.d.ts +0 -23
- package/dist/data/v2/workerService_connect.js +0 -27
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { RankedMultichainToken, TokenRankStats } from "./types_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file data/v2/tokenGroups.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_data_v2_tokenGroups: GenFile;
|
|
4
8
|
/**
|
|
5
9
|
* @generated from message data.v2.TokenGroup
|
|
6
10
|
*/
|
|
7
|
-
export
|
|
11
|
+
export type TokenGroup = Message<"data.v2.TokenGroup"> & {
|
|
8
12
|
/**
|
|
9
13
|
* frozen slug, never renamed: 'tsla'
|
|
10
14
|
*
|
|
@@ -29,27 +33,24 @@ export declare class TokenGroup extends Message<TokenGroup> {
|
|
|
29
33
|
* @generated from field: string logo_url = 5;
|
|
30
34
|
*/
|
|
31
35
|
logoUrl: string;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenGroup;
|
|
39
|
-
static equals(a: TokenGroup | PlainMessage<TokenGroup> | undefined, b: TokenGroup | PlainMessage<TokenGroup> | undefined): boolean;
|
|
40
|
-
}
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message data.v2.TokenGroup.
|
|
39
|
+
* Use `create(TokenGroupSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export declare const TokenGroupSchema: GenMessage<TokenGroup>;
|
|
41
42
|
/**
|
|
42
43
|
* @generated from message data.v2.RankedTokenGroup
|
|
43
44
|
*/
|
|
44
|
-
export
|
|
45
|
+
export type RankedTokenGroup = Message<"data.v2.RankedTokenGroup"> & {
|
|
45
46
|
/**
|
|
46
47
|
* @generated from field: data.v2.TokenGroup group = 1;
|
|
47
48
|
*/
|
|
48
|
-
group?: TokenGroup;
|
|
49
|
+
group?: TokenGroup | undefined;
|
|
49
50
|
/**
|
|
50
51
|
* @generated from field: data.v2.TokenRankStats stats = 2;
|
|
51
52
|
*/
|
|
52
|
-
stats?: TokenRankStats;
|
|
53
|
+
stats?: TokenRankStats | undefined;
|
|
53
54
|
/**
|
|
54
55
|
* Sorted volume_1d DESC.
|
|
55
56
|
*
|
|
@@ -62,19 +63,16 @@ export declare class RankedTokenGroup extends Message<RankedTokenGroup> {
|
|
|
62
63
|
* @generated from field: double price_deviation_pct = 4;
|
|
63
64
|
*/
|
|
64
65
|
priceDeviationPct: number;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RankedTokenGroup;
|
|
72
|
-
static equals(a: RankedTokenGroup | PlainMessage<RankedTokenGroup> | undefined, b: RankedTokenGroup | PlainMessage<RankedTokenGroup> | undefined): boolean;
|
|
73
|
-
}
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message data.v2.RankedTokenGroup.
|
|
69
|
+
* Use `create(RankedTokenGroupSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export declare const RankedTokenGroupSchema: GenMessage<RankedTokenGroup>;
|
|
74
72
|
/**
|
|
75
73
|
* @generated from message data.v2.TokenGroupListFilter
|
|
76
74
|
*/
|
|
77
|
-
export
|
|
75
|
+
export type TokenGroupListFilter = Message<"data.v2.TokenGroupListFilter"> & {
|
|
78
76
|
/**
|
|
79
77
|
* OR; asset-class categories only
|
|
80
78
|
*
|
|
@@ -93,13 +91,10 @@ export declare class TokenGroupListFilter extends Message<TokenGroupListFilter>
|
|
|
93
91
|
*
|
|
94
92
|
* @generated from field: optional string search_query = 2;
|
|
95
93
|
*/
|
|
96
|
-
searchQuery?: string;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenGroupListFilter;
|
|
104
|
-
static equals(a: TokenGroupListFilter | PlainMessage<TokenGroupListFilter> | undefined, b: TokenGroupListFilter | PlainMessage<TokenGroupListFilter> | undefined): boolean;
|
|
105
|
-
}
|
|
94
|
+
searchQuery?: string | undefined;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message data.v2.TokenGroupListFilter.
|
|
98
|
+
* Use `create(TokenGroupListFilterSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export declare const TokenGroupListFilterSchema: GenMessage<TokenGroupListFilter>;
|
|
@@ -1,134 +1,24 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v2/tokenGroups.proto (package data.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import { RankedMultichainToken, TokenRankStats } from "./types_pb.js";
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_data_v2_types } from "./types_pb";
|
|
7
6
|
/**
|
|
8
|
-
*
|
|
7
|
+
* Describes the file data/v2/tokenGroups.proto.
|
|
9
8
|
*/
|
|
10
|
-
export
|
|
11
|
-
constructor(data) {
|
|
12
|
-
super();
|
|
13
|
-
/**
|
|
14
|
-
* frozen slug, never renamed: 'tsla'
|
|
15
|
-
*
|
|
16
|
-
* @generated from field: string id = 1;
|
|
17
|
-
*/
|
|
18
|
-
this.id = "";
|
|
19
|
-
/**
|
|
20
|
-
* @generated from field: string display_name = 2;
|
|
21
|
-
*/
|
|
22
|
-
this.displayName = "";
|
|
23
|
-
/**
|
|
24
|
-
* @generated from field: string ticker = 3;
|
|
25
|
-
*/
|
|
26
|
-
this.ticker = "";
|
|
27
|
-
/**
|
|
28
|
-
* 'stocks' | 'etfs' | 'commodities'
|
|
29
|
-
*
|
|
30
|
-
* @generated from field: string category_id = 4;
|
|
31
|
-
*/
|
|
32
|
-
this.categoryId = "";
|
|
33
|
-
/**
|
|
34
|
-
* @generated from field: string logo_url = 5;
|
|
35
|
-
*/
|
|
36
|
-
this.logoUrl = "";
|
|
37
|
-
proto3.util.initPartial(data, this);
|
|
38
|
-
}
|
|
39
|
-
static fromBinary(bytes, options) {
|
|
40
|
-
return new TokenGroup().fromBinary(bytes, options);
|
|
41
|
-
}
|
|
42
|
-
static fromJson(jsonValue, options) {
|
|
43
|
-
return new TokenGroup().fromJson(jsonValue, options);
|
|
44
|
-
}
|
|
45
|
-
static fromJsonString(jsonString, options) {
|
|
46
|
-
return new TokenGroup().fromJsonString(jsonString, options);
|
|
47
|
-
}
|
|
48
|
-
static equals(a, b) {
|
|
49
|
-
return proto3.util.equals(TokenGroup, a, b);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
TokenGroup.runtime = proto3;
|
|
53
|
-
TokenGroup.typeName = "data.v2.TokenGroup";
|
|
54
|
-
TokenGroup.fields = proto3.util.newFieldList(() => [
|
|
55
|
-
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
|
-
{ no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
57
|
-
{ no: 3, name: "ticker", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
|
-
{ no: 4, name: "category_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
59
|
-
{ no: 5, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
|
-
]);
|
|
9
|
+
export const file_data_v2_tokenGroups = /*@__PURE__*/ fileDesc("ChlkYXRhL3YyL3Rva2VuR3JvdXBzLnByb3RvEgdkYXRhLnYyImUKClRva2VuR3JvdXASCgoCaWQYASABKAkSFAoMZGlzcGxheV9uYW1lGAIgASgJEg4KBnRpY2tlchgDIAEoCRITCgtjYXRlZ29yeV9pZBgEIAEoCRIQCghsb2dvX3VybBgFIAEoCSKsAQoQUmFua2VkVG9rZW5Hcm91cBIiCgVncm91cBgBIAEoCzITLmRhdGEudjIuVG9rZW5Hcm91cBImCgVzdGF0cxgCIAEoCzIXLmRhdGEudjIuVG9rZW5SYW5rU3RhdHMSLwoHbWVtYmVycxgDIAMoCzIeLmRhdGEudjIuUmFua2VkTXVsdGljaGFpblRva2VuEhsKE3ByaWNlX2RldmlhdGlvbl9wY3QYBCABKAEiWAoUVG9rZW5Hcm91cExpc3RGaWx0ZXISFAoMY2F0ZWdvcnlfaWRzGAEgAygJEhkKDHNlYXJjaF9xdWVyeRgCIAEoCUgAiAEBQg8KDV9zZWFyY2hfcXVlcnliBnByb3RvMw", [file_data_v2_types]);
|
|
61
10
|
/**
|
|
62
|
-
*
|
|
11
|
+
* Describes the message data.v2.TokenGroup.
|
|
12
|
+
* Use `create(TokenGroupSchema)` to create a new message.
|
|
63
13
|
*/
|
|
64
|
-
export
|
|
65
|
-
constructor(data) {
|
|
66
|
-
super();
|
|
67
|
-
/**
|
|
68
|
-
* Sorted volume_1d DESC.
|
|
69
|
-
*
|
|
70
|
-
* @generated from field: repeated data.v2.RankedMultichainToken members = 3;
|
|
71
|
-
*/
|
|
72
|
-
this.members = [];
|
|
73
|
-
/**
|
|
74
|
-
* Max % deviation of any member's price from stats.price. Always set; 0 when single-member.
|
|
75
|
-
*
|
|
76
|
-
* @generated from field: double price_deviation_pct = 4;
|
|
77
|
-
*/
|
|
78
|
-
this.priceDeviationPct = 0;
|
|
79
|
-
proto3.util.initPartial(data, this);
|
|
80
|
-
}
|
|
81
|
-
static fromBinary(bytes, options) {
|
|
82
|
-
return new RankedTokenGroup().fromBinary(bytes, options);
|
|
83
|
-
}
|
|
84
|
-
static fromJson(jsonValue, options) {
|
|
85
|
-
return new RankedTokenGroup().fromJson(jsonValue, options);
|
|
86
|
-
}
|
|
87
|
-
static fromJsonString(jsonString, options) {
|
|
88
|
-
return new RankedTokenGroup().fromJsonString(jsonString, options);
|
|
89
|
-
}
|
|
90
|
-
static equals(a, b) {
|
|
91
|
-
return proto3.util.equals(RankedTokenGroup, a, b);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
RankedTokenGroup.runtime = proto3;
|
|
95
|
-
RankedTokenGroup.typeName = "data.v2.RankedTokenGroup";
|
|
96
|
-
RankedTokenGroup.fields = proto3.util.newFieldList(() => [
|
|
97
|
-
{ no: 1, name: "group", kind: "message", T: TokenGroup },
|
|
98
|
-
{ no: 2, name: "stats", kind: "message", T: TokenRankStats },
|
|
99
|
-
{ no: 3, name: "members", kind: "message", T: RankedMultichainToken, repeated: true },
|
|
100
|
-
{ no: 4, name: "price_deviation_pct", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
|
|
101
|
-
]);
|
|
14
|
+
export const TokenGroupSchema = /*@__PURE__*/ messageDesc(file_data_v2_tokenGroups, 0);
|
|
102
15
|
/**
|
|
103
|
-
*
|
|
16
|
+
* Describes the message data.v2.RankedTokenGroup.
|
|
17
|
+
* Use `create(RankedTokenGroupSchema)` to create a new message.
|
|
104
18
|
*/
|
|
105
|
-
export
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
* @generated from field: repeated string category_ids = 1;
|
|
112
|
-
*/
|
|
113
|
-
this.categoryIds = [];
|
|
114
|
-
proto3.util.initPartial(data, this);
|
|
115
|
-
}
|
|
116
|
-
static fromBinary(bytes, options) {
|
|
117
|
-
return new TokenGroupListFilter().fromBinary(bytes, options);
|
|
118
|
-
}
|
|
119
|
-
static fromJson(jsonValue, options) {
|
|
120
|
-
return new TokenGroupListFilter().fromJson(jsonValue, options);
|
|
121
|
-
}
|
|
122
|
-
static fromJsonString(jsonString, options) {
|
|
123
|
-
return new TokenGroupListFilter().fromJsonString(jsonString, options);
|
|
124
|
-
}
|
|
125
|
-
static equals(a, b) {
|
|
126
|
-
return proto3.util.equals(TokenGroupListFilter, a, b);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
TokenGroupListFilter.runtime = proto3;
|
|
130
|
-
TokenGroupListFilter.typeName = "data.v2.TokenGroupListFilter";
|
|
131
|
-
TokenGroupListFilter.fields = proto3.util.newFieldList(() => [
|
|
132
|
-
{ no: 1, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
133
|
-
{ no: 2, name: "search_query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
134
|
-
]);
|
|
19
|
+
export const RankedTokenGroupSchema = /*@__PURE__*/ messageDesc(file_data_v2_tokenGroups, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message data.v2.TokenGroupListFilter.
|
|
22
|
+
* Use `create(TokenGroupListFilterSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const TokenGroupListFilterSchema = /*@__PURE__*/ messageDesc(file_data_v2_tokenGroups, 2);
|