@sentio/protos 2.8.0 → 2.9.0-rc.2
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/lib/processor/protos/processor.d.ts +29 -0
- package/lib/processor/protos/processor.js +149 -0
- package/lib/processor/protos/processor.js.map +1 -1
- package/lib/service/price/protos/price.d.ts +1 -1
- package/lib/service/price/protos/price.js +7 -7
- package/lib/service/price/protos/price.js.map +1 -1
- package/package.json +2 -2
- package/src/processor/protos/processor.ts +174 -0
- package/src/service/price/protos/price.ts +8 -8
|
@@ -45,7 +45,7 @@ export interface BatchGetPricesResponse_CoinPrice_Price {
|
|
|
45
45
|
export interface ListCoinsRequest {
|
|
46
46
|
limit: number;
|
|
47
47
|
offset: number;
|
|
48
|
-
|
|
48
|
+
searchQuery: string;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export interface ListCoinsResponse {
|
|
@@ -568,7 +568,7 @@ export const BatchGetPricesResponse_CoinPrice_Price = {
|
|
|
568
568
|
};
|
|
569
569
|
|
|
570
570
|
function createBaseListCoinsRequest(): ListCoinsRequest {
|
|
571
|
-
return { limit: 0, offset: 0,
|
|
571
|
+
return { limit: 0, offset: 0, searchQuery: "" };
|
|
572
572
|
}
|
|
573
573
|
|
|
574
574
|
export const ListCoinsRequest = {
|
|
@@ -579,8 +579,8 @@ export const ListCoinsRequest = {
|
|
|
579
579
|
if (message.offset !== 0) {
|
|
580
580
|
writer.uint32(16).int32(message.offset);
|
|
581
581
|
}
|
|
582
|
-
if (message.
|
|
583
|
-
writer.uint32(26).string(message.
|
|
582
|
+
if (message.searchQuery !== "") {
|
|
583
|
+
writer.uint32(26).string(message.searchQuery);
|
|
584
584
|
}
|
|
585
585
|
return writer;
|
|
586
586
|
},
|
|
@@ -599,7 +599,7 @@ export const ListCoinsRequest = {
|
|
|
599
599
|
message.offset = reader.int32();
|
|
600
600
|
break;
|
|
601
601
|
case 3:
|
|
602
|
-
message.
|
|
602
|
+
message.searchQuery = reader.string();
|
|
603
603
|
break;
|
|
604
604
|
default:
|
|
605
605
|
reader.skipType(tag & 7);
|
|
@@ -613,7 +613,7 @@ export const ListCoinsRequest = {
|
|
|
613
613
|
return {
|
|
614
614
|
limit: isSet(object.limit) ? Number(object.limit) : 0,
|
|
615
615
|
offset: isSet(object.offset) ? Number(object.offset) : 0,
|
|
616
|
-
|
|
616
|
+
searchQuery: isSet(object.searchQuery) ? String(object.searchQuery) : "",
|
|
617
617
|
};
|
|
618
618
|
},
|
|
619
619
|
|
|
@@ -621,7 +621,7 @@ export const ListCoinsRequest = {
|
|
|
621
621
|
const obj: any = {};
|
|
622
622
|
message.limit !== undefined && (obj.limit = Math.round(message.limit));
|
|
623
623
|
message.offset !== undefined && (obj.offset = Math.round(message.offset));
|
|
624
|
-
message.
|
|
624
|
+
message.searchQuery !== undefined && (obj.searchQuery = message.searchQuery);
|
|
625
625
|
return obj;
|
|
626
626
|
},
|
|
627
627
|
|
|
@@ -633,7 +633,7 @@ export const ListCoinsRequest = {
|
|
|
633
633
|
const message = createBaseListCoinsRequest();
|
|
634
634
|
message.limit = object.limit ?? 0;
|
|
635
635
|
message.offset = object.offset ?? 0;
|
|
636
|
-
message.
|
|
636
|
+
message.searchQuery = object.searchQuery ?? "";
|
|
637
637
|
return message;
|
|
638
638
|
},
|
|
639
639
|
};
|