@sentio/protos 2.57.10-rc.4 → 2.57.10
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 +0 -1
- package/lib/processor/protos/processor.d.ts.map +1 -1
- package/lib/processor/protos/processor.js +1 -15
- package/lib/processor/protos/processor.js.map +1 -1
- package/lib/service/common/protos/common.d.ts +3 -0
- package/lib/service/common/protos/common.d.ts.map +1 -1
- package/lib/service/common/protos/common.js +54 -2
- package/lib/service/common/protos/common.js.map +1 -1
- package/package.json +1 -1
- package/src/processor/protos/processor.ts +1 -17
- package/src/service/common/protos/common.ts +60 -2
package/package.json
CHANGED
|
@@ -416,7 +416,6 @@ export interface ExecutionConfig_DecoderWorkerConfig {
|
|
|
416
416
|
enabled: boolean;
|
|
417
417
|
workerCount?: number | undefined;
|
|
418
418
|
skipWhenDecodeFailed?: boolean | undefined;
|
|
419
|
-
recordTiming?: boolean | undefined;
|
|
420
419
|
}
|
|
421
420
|
|
|
422
421
|
export interface ProcessConfigRequest {
|
|
@@ -1547,7 +1546,7 @@ export const ExecutionConfig = {
|
|
|
1547
1546
|
};
|
|
1548
1547
|
|
|
1549
1548
|
function createBaseExecutionConfig_DecoderWorkerConfig(): ExecutionConfig_DecoderWorkerConfig {
|
|
1550
|
-
return { enabled: false, workerCount: undefined, skipWhenDecodeFailed: undefined
|
|
1549
|
+
return { enabled: false, workerCount: undefined, skipWhenDecodeFailed: undefined };
|
|
1551
1550
|
}
|
|
1552
1551
|
|
|
1553
1552
|
export const ExecutionConfig_DecoderWorkerConfig = {
|
|
@@ -1561,9 +1560,6 @@ export const ExecutionConfig_DecoderWorkerConfig = {
|
|
|
1561
1560
|
if (message.skipWhenDecodeFailed !== undefined) {
|
|
1562
1561
|
writer.uint32(24).bool(message.skipWhenDecodeFailed);
|
|
1563
1562
|
}
|
|
1564
|
-
if (message.recordTiming !== undefined) {
|
|
1565
|
-
writer.uint32(32).bool(message.recordTiming);
|
|
1566
|
-
}
|
|
1567
1563
|
return writer;
|
|
1568
1564
|
},
|
|
1569
1565
|
|
|
@@ -1595,13 +1591,6 @@ export const ExecutionConfig_DecoderWorkerConfig = {
|
|
|
1595
1591
|
|
|
1596
1592
|
message.skipWhenDecodeFailed = reader.bool();
|
|
1597
1593
|
continue;
|
|
1598
|
-
case 4:
|
|
1599
|
-
if (tag !== 32) {
|
|
1600
|
-
break;
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
message.recordTiming = reader.bool();
|
|
1604
|
-
continue;
|
|
1605
1594
|
}
|
|
1606
1595
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1607
1596
|
break;
|
|
@@ -1618,7 +1607,6 @@ export const ExecutionConfig_DecoderWorkerConfig = {
|
|
|
1618
1607
|
skipWhenDecodeFailed: isSet(object.skipWhenDecodeFailed)
|
|
1619
1608
|
? globalThis.Boolean(object.skipWhenDecodeFailed)
|
|
1620
1609
|
: undefined,
|
|
1621
|
-
recordTiming: isSet(object.recordTiming) ? globalThis.Boolean(object.recordTiming) : undefined,
|
|
1622
1610
|
};
|
|
1623
1611
|
},
|
|
1624
1612
|
|
|
@@ -1633,9 +1621,6 @@ export const ExecutionConfig_DecoderWorkerConfig = {
|
|
|
1633
1621
|
if (message.skipWhenDecodeFailed !== undefined) {
|
|
1634
1622
|
obj.skipWhenDecodeFailed = message.skipWhenDecodeFailed;
|
|
1635
1623
|
}
|
|
1636
|
-
if (message.recordTiming !== undefined) {
|
|
1637
|
-
obj.recordTiming = message.recordTiming;
|
|
1638
|
-
}
|
|
1639
1624
|
return obj;
|
|
1640
1625
|
},
|
|
1641
1626
|
|
|
@@ -1647,7 +1632,6 @@ export const ExecutionConfig_DecoderWorkerConfig = {
|
|
|
1647
1632
|
message.enabled = object.enabled ?? false;
|
|
1648
1633
|
message.workerCount = object.workerCount ?? undefined;
|
|
1649
1634
|
message.skipWhenDecodeFailed = object.skipWhenDecodeFailed ?? undefined;
|
|
1650
|
-
message.recordTiming = object.recordTiming ?? undefined;
|
|
1651
1635
|
return message;
|
|
1652
1636
|
},
|
|
1653
1637
|
};
|
|
@@ -667,6 +667,7 @@ export interface Query {
|
|
|
667
667
|
labelSelector: { [key: string]: string };
|
|
668
668
|
aggregate: Aggregate | undefined;
|
|
669
669
|
functions: Function[];
|
|
670
|
+
color: string;
|
|
670
671
|
disabled: boolean;
|
|
671
672
|
}
|
|
672
673
|
|
|
@@ -873,6 +874,7 @@ export interface SegmentationQuery {
|
|
|
873
874
|
groupBy: string[];
|
|
874
875
|
limit: number;
|
|
875
876
|
functions: Function[];
|
|
877
|
+
color: string;
|
|
876
878
|
disabled: boolean;
|
|
877
879
|
}
|
|
878
880
|
|
|
@@ -1481,6 +1483,7 @@ export interface PriceSegmentationQuery {
|
|
|
1481
1483
|
id: string;
|
|
1482
1484
|
alias: string;
|
|
1483
1485
|
coinId: CoinID[];
|
|
1486
|
+
color: string;
|
|
1484
1487
|
disabled: boolean;
|
|
1485
1488
|
}
|
|
1486
1489
|
|
|
@@ -5755,7 +5758,16 @@ export const Function = {
|
|
|
5755
5758
|
};
|
|
5756
5759
|
|
|
5757
5760
|
function createBaseQuery(): Query {
|
|
5758
|
-
return {
|
|
5761
|
+
return {
|
|
5762
|
+
query: "",
|
|
5763
|
+
alias: "",
|
|
5764
|
+
id: "",
|
|
5765
|
+
labelSelector: {},
|
|
5766
|
+
aggregate: undefined,
|
|
5767
|
+
functions: [],
|
|
5768
|
+
color: "",
|
|
5769
|
+
disabled: false,
|
|
5770
|
+
};
|
|
5759
5771
|
}
|
|
5760
5772
|
|
|
5761
5773
|
export const Query = {
|
|
@@ -5778,6 +5790,9 @@ export const Query = {
|
|
|
5778
5790
|
for (const v of message.functions) {
|
|
5779
5791
|
Function.encode(v!, writer.uint32(58).fork()).ldelim();
|
|
5780
5792
|
}
|
|
5793
|
+
if (message.color !== "") {
|
|
5794
|
+
writer.uint32(74).string(message.color);
|
|
5795
|
+
}
|
|
5781
5796
|
if (message.disabled !== false) {
|
|
5782
5797
|
writer.uint32(64).bool(message.disabled);
|
|
5783
5798
|
}
|
|
@@ -5836,6 +5851,13 @@ export const Query = {
|
|
|
5836
5851
|
|
|
5837
5852
|
message.functions.push(Function.decode(reader, reader.uint32()));
|
|
5838
5853
|
continue;
|
|
5854
|
+
case 9:
|
|
5855
|
+
if (tag !== 74) {
|
|
5856
|
+
break;
|
|
5857
|
+
}
|
|
5858
|
+
|
|
5859
|
+
message.color = reader.string();
|
|
5860
|
+
continue;
|
|
5839
5861
|
case 8:
|
|
5840
5862
|
if (tag !== 64) {
|
|
5841
5863
|
break;
|
|
@@ -5867,6 +5889,7 @@ export const Query = {
|
|
|
5867
5889
|
functions: globalThis.Array.isArray(object?.functions)
|
|
5868
5890
|
? object.functions.map((e: any) => Function.fromJSON(e))
|
|
5869
5891
|
: [],
|
|
5892
|
+
color: isSet(object.color) ? globalThis.String(object.color) : "",
|
|
5870
5893
|
disabled: isSet(object.disabled) ? globalThis.Boolean(object.disabled) : false,
|
|
5871
5894
|
};
|
|
5872
5895
|
},
|
|
@@ -5897,6 +5920,9 @@ export const Query = {
|
|
|
5897
5920
|
if (message.functions?.length) {
|
|
5898
5921
|
obj.functions = message.functions.map((e) => Function.toJSON(e));
|
|
5899
5922
|
}
|
|
5923
|
+
if (message.color !== "") {
|
|
5924
|
+
obj.color = message.color;
|
|
5925
|
+
}
|
|
5900
5926
|
if (message.disabled !== false) {
|
|
5901
5927
|
obj.disabled = message.disabled;
|
|
5902
5928
|
}
|
|
@@ -5924,6 +5950,7 @@ export const Query = {
|
|
|
5924
5950
|
? Aggregate.fromPartial(object.aggregate)
|
|
5925
5951
|
: undefined;
|
|
5926
5952
|
message.functions = object.functions?.map((e) => Function.fromPartial(e)) || [];
|
|
5953
|
+
message.color = object.color ?? "";
|
|
5927
5954
|
message.disabled = object.disabled ?? false;
|
|
5928
5955
|
return message;
|
|
5929
5956
|
},
|
|
@@ -6510,6 +6537,7 @@ function createBaseSegmentationQuery(): SegmentationQuery {
|
|
|
6510
6537
|
groupBy: [],
|
|
6511
6538
|
limit: 0,
|
|
6512
6539
|
functions: [],
|
|
6540
|
+
color: "",
|
|
6513
6541
|
disabled: false,
|
|
6514
6542
|
};
|
|
6515
6543
|
}
|
|
@@ -6540,6 +6568,9 @@ export const SegmentationQuery = {
|
|
|
6540
6568
|
for (const v of message.functions) {
|
|
6541
6569
|
Function.encode(v!, writer.uint32(74).fork()).ldelim();
|
|
6542
6570
|
}
|
|
6571
|
+
if (message.color !== "") {
|
|
6572
|
+
writer.uint32(82).string(message.color);
|
|
6573
|
+
}
|
|
6543
6574
|
if (message.disabled !== false) {
|
|
6544
6575
|
writer.uint32(56).bool(message.disabled);
|
|
6545
6576
|
}
|
|
@@ -6609,6 +6640,13 @@ export const SegmentationQuery = {
|
|
|
6609
6640
|
|
|
6610
6641
|
message.functions.push(Function.decode(reader, reader.uint32()));
|
|
6611
6642
|
continue;
|
|
6643
|
+
case 10:
|
|
6644
|
+
if (tag !== 82) {
|
|
6645
|
+
break;
|
|
6646
|
+
}
|
|
6647
|
+
|
|
6648
|
+
message.color = reader.string();
|
|
6649
|
+
continue;
|
|
6612
6650
|
case 7:
|
|
6613
6651
|
if (tag !== 56) {
|
|
6614
6652
|
break;
|
|
@@ -6639,6 +6677,7 @@ export const SegmentationQuery = {
|
|
|
6639
6677
|
functions: globalThis.Array.isArray(object?.functions)
|
|
6640
6678
|
? object.functions.map((e: any) => Function.fromJSON(e))
|
|
6641
6679
|
: [],
|
|
6680
|
+
color: isSet(object.color) ? globalThis.String(object.color) : "",
|
|
6642
6681
|
disabled: isSet(object.disabled) ? globalThis.Boolean(object.disabled) : false,
|
|
6643
6682
|
};
|
|
6644
6683
|
},
|
|
@@ -6669,6 +6708,9 @@ export const SegmentationQuery = {
|
|
|
6669
6708
|
if (message.functions?.length) {
|
|
6670
6709
|
obj.functions = message.functions.map((e) => Function.toJSON(e));
|
|
6671
6710
|
}
|
|
6711
|
+
if (message.color !== "") {
|
|
6712
|
+
obj.color = message.color;
|
|
6713
|
+
}
|
|
6672
6714
|
if (message.disabled !== false) {
|
|
6673
6715
|
obj.disabled = message.disabled;
|
|
6674
6716
|
}
|
|
@@ -6694,6 +6736,7 @@ export const SegmentationQuery = {
|
|
|
6694
6736
|
message.groupBy = object.groupBy?.map((e) => e) || [];
|
|
6695
6737
|
message.limit = object.limit ?? 0;
|
|
6696
6738
|
message.functions = object.functions?.map((e) => Function.fromPartial(e)) || [];
|
|
6739
|
+
message.color = object.color ?? "";
|
|
6697
6740
|
message.disabled = object.disabled ?? false;
|
|
6698
6741
|
return message;
|
|
6699
6742
|
},
|
|
@@ -9815,7 +9858,7 @@ export const CoinID_AddressIdentifier = {
|
|
|
9815
9858
|
};
|
|
9816
9859
|
|
|
9817
9860
|
function createBasePriceSegmentationQuery(): PriceSegmentationQuery {
|
|
9818
|
-
return { id: "", alias: "", coinId: [], disabled: false };
|
|
9861
|
+
return { id: "", alias: "", coinId: [], color: "", disabled: false };
|
|
9819
9862
|
}
|
|
9820
9863
|
|
|
9821
9864
|
export const PriceSegmentationQuery = {
|
|
@@ -9829,6 +9872,9 @@ export const PriceSegmentationQuery = {
|
|
|
9829
9872
|
for (const v of message.coinId) {
|
|
9830
9873
|
CoinID.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
9831
9874
|
}
|
|
9875
|
+
if (message.color !== "") {
|
|
9876
|
+
writer.uint32(34).string(message.color);
|
|
9877
|
+
}
|
|
9832
9878
|
if (message.disabled !== false) {
|
|
9833
9879
|
writer.uint32(72).bool(message.disabled);
|
|
9834
9880
|
}
|
|
@@ -9863,6 +9909,13 @@ export const PriceSegmentationQuery = {
|
|
|
9863
9909
|
|
|
9864
9910
|
message.coinId.push(CoinID.decode(reader, reader.uint32()));
|
|
9865
9911
|
continue;
|
|
9912
|
+
case 4:
|
|
9913
|
+
if (tag !== 34) {
|
|
9914
|
+
break;
|
|
9915
|
+
}
|
|
9916
|
+
|
|
9917
|
+
message.color = reader.string();
|
|
9918
|
+
continue;
|
|
9866
9919
|
case 9:
|
|
9867
9920
|
if (tag !== 72) {
|
|
9868
9921
|
break;
|
|
@@ -9884,6 +9937,7 @@ export const PriceSegmentationQuery = {
|
|
|
9884
9937
|
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
9885
9938
|
alias: isSet(object.alias) ? globalThis.String(object.alias) : "",
|
|
9886
9939
|
coinId: globalThis.Array.isArray(object?.coinId) ? object.coinId.map((e: any) => CoinID.fromJSON(e)) : [],
|
|
9940
|
+
color: isSet(object.color) ? globalThis.String(object.color) : "",
|
|
9887
9941
|
disabled: isSet(object.disabled) ? globalThis.Boolean(object.disabled) : false,
|
|
9888
9942
|
};
|
|
9889
9943
|
},
|
|
@@ -9899,6 +9953,9 @@ export const PriceSegmentationQuery = {
|
|
|
9899
9953
|
if (message.coinId?.length) {
|
|
9900
9954
|
obj.coinId = message.coinId.map((e) => CoinID.toJSON(e));
|
|
9901
9955
|
}
|
|
9956
|
+
if (message.color !== "") {
|
|
9957
|
+
obj.color = message.color;
|
|
9958
|
+
}
|
|
9902
9959
|
if (message.disabled !== false) {
|
|
9903
9960
|
obj.disabled = message.disabled;
|
|
9904
9961
|
}
|
|
@@ -9913,6 +9970,7 @@ export const PriceSegmentationQuery = {
|
|
|
9913
9970
|
message.id = object.id ?? "";
|
|
9914
9971
|
message.alias = object.alias ?? "";
|
|
9915
9972
|
message.coinId = object.coinId?.map((e) => CoinID.fromPartial(e)) || [];
|
|
9973
|
+
message.color = object.color ?? "";
|
|
9916
9974
|
message.disabled = object.disabled ?? false;
|
|
9917
9975
|
return message;
|
|
9918
9976
|
},
|