@uniswap/client-data-api 0.0.263 → 0.0.264
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
import { TokensSort } from "./types_pb.js";
|
|
4
|
+
import { TokenGroup } from "./tokenGroups_pb.js";
|
|
4
5
|
/**
|
|
5
6
|
* @generated from enum data.v2.CategoryClass
|
|
6
7
|
*/
|
|
@@ -192,6 +193,13 @@ export declare class RankedCategory extends Message<RankedCategory> {
|
|
|
192
193
|
* @generated from field: repeated data.v2.CategoryTopToken top_tokens = 3;
|
|
193
194
|
*/
|
|
194
195
|
topTokens: CategoryTopToken[];
|
|
196
|
+
/**
|
|
197
|
+
* A grouped category's (Category.grouped) first page rows, in its default
|
|
198
|
+
* order; empty for the others. Clients pile these over top_tokens when set.
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: repeated data.v2.TokenGroup top_groups = 4;
|
|
201
|
+
*/
|
|
202
|
+
topGroups: TokenGroup[];
|
|
195
203
|
constructor(data?: PartialMessage<RankedCategory>);
|
|
196
204
|
static readonly runtime: typeof proto3;
|
|
197
205
|
static readonly typeName = "data.v2.RankedCategory";
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
|
|
6
6
|
import { TokensSort } from "./types_pb.js";
|
|
7
|
+
import { TokenGroup } from "./tokenGroups_pb.js";
|
|
7
8
|
/**
|
|
8
9
|
* @generated from enum data.v2.CategoryClass
|
|
9
10
|
*/
|
|
@@ -235,6 +236,13 @@ export class RankedCategory extends Message {
|
|
|
235
236
|
* @generated from field: repeated data.v2.CategoryTopToken top_tokens = 3;
|
|
236
237
|
*/
|
|
237
238
|
this.topTokens = [];
|
|
239
|
+
/**
|
|
240
|
+
* A grouped category's (Category.grouped) first page rows, in its default
|
|
241
|
+
* order; empty for the others. Clients pile these over top_tokens when set.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: repeated data.v2.TokenGroup top_groups = 4;
|
|
244
|
+
*/
|
|
245
|
+
this.topGroups = [];
|
|
238
246
|
proto3.util.initPartial(data, this);
|
|
239
247
|
}
|
|
240
248
|
static fromBinary(bytes, options) {
|
|
@@ -256,6 +264,7 @@ RankedCategory.fields = proto3.util.newFieldList(() => [
|
|
|
256
264
|
{ no: 1, name: "category", kind: "message", T: Category },
|
|
257
265
|
{ no: 2, name: "stats", kind: "message", T: CategoryAggregateStats },
|
|
258
266
|
{ no: 3, name: "top_tokens", kind: "message", T: CategoryTopToken, repeated: true },
|
|
267
|
+
{ no: 4, name: "top_groups", kind: "message", T: TokenGroup, repeated: true },
|
|
259
268
|
]);
|
|
260
269
|
/**
|
|
261
270
|
* @generated from message data.v2.TimeSeriesPoint
|