@typus/typus-sdk 1.2.75 → 1.2.77
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.
|
@@ -165,7 +165,7 @@ function getAccumulatedRewardGeneratedUSD() {
|
|
|
165
165
|
queries: [
|
|
166
166
|
{
|
|
167
167
|
metricsQuery: {
|
|
168
|
-
query: "
|
|
168
|
+
query: "AccumulatedPremiumUSD",
|
|
169
169
|
alias: "",
|
|
170
170
|
id: "a",
|
|
171
171
|
labelSelector: {},
|
|
@@ -173,34 +173,14 @@ function getAccumulatedRewardGeneratedUSD() {
|
|
|
173
173
|
op: "SUM",
|
|
174
174
|
grouping: [],
|
|
175
175
|
},
|
|
176
|
-
functions: [
|
|
177
|
-
|
|
178
|
-
name: "sum_over_time",
|
|
179
|
-
arguments: [
|
|
180
|
-
{
|
|
181
|
-
durationValue: {
|
|
182
|
-
value: 100,
|
|
183
|
-
unit: "w",
|
|
184
|
-
},
|
|
185
|
-
},
|
|
186
|
-
],
|
|
187
|
-
},
|
|
188
|
-
],
|
|
189
|
-
disabled: true,
|
|
176
|
+
functions: [],
|
|
177
|
+
disabled: false,
|
|
190
178
|
},
|
|
191
179
|
dataSource: "METRICS",
|
|
192
180
|
sourceName: "",
|
|
193
181
|
},
|
|
194
182
|
],
|
|
195
|
-
formulas: [
|
|
196
|
-
{
|
|
197
|
-
expression: "a/2",
|
|
198
|
-
alias: "",
|
|
199
|
-
id: "A",
|
|
200
|
-
disabled: false,
|
|
201
|
-
functions: [],
|
|
202
|
-
},
|
|
203
|
-
],
|
|
183
|
+
formulas: [],
|
|
204
184
|
};
|
|
205
185
|
jsonDataV1 = JSON.stringify(requestDataV1);
|
|
206
186
|
return [4 /*yield*/, fetch(apiUrlV1, {
|