@sentio/api 1.0.3-rc.41 → 1.0.3-rc.43
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/src/types.gen.d.ts +7 -0
- package/package.json +1 -1
- package/src/types.gen.ts +7 -0
package/dist/src/types.gen.d.ts
CHANGED
|
@@ -2069,6 +2069,7 @@ export declare namespace price_service {
|
|
|
2069
2069
|
type BatchGetPricesRequest = {
|
|
2070
2070
|
timestamps?: Array<string>;
|
|
2071
2071
|
coinIds?: Array<CoinId2>;
|
|
2072
|
+
experimentalFlag?: ExperimentalFlag;
|
|
2072
2073
|
};
|
|
2073
2074
|
type BatchGetPricesResponse = {
|
|
2074
2075
|
prices?: Array<BatchGetPricesResponseCoinPrice>;
|
|
@@ -2105,6 +2106,9 @@ export declare namespace price_service {
|
|
|
2105
2106
|
address?: string;
|
|
2106
2107
|
chain?: string;
|
|
2107
2108
|
};
|
|
2109
|
+
type ExperimentalFlag = {
|
|
2110
|
+
enablePythSource?: boolean;
|
|
2111
|
+
};
|
|
2108
2112
|
/**
|
|
2109
2113
|
* GetPriceResponse is the response for GetPrice.
|
|
2110
2114
|
*/
|
|
@@ -2117,6 +2121,7 @@ export declare namespace price_service {
|
|
|
2117
2121
|
* The actual timestamp of the price returned.
|
|
2118
2122
|
*/
|
|
2119
2123
|
timestamp?: string;
|
|
2124
|
+
source?: string;
|
|
2120
2125
|
};
|
|
2121
2126
|
type ListCoinsResponse2 = {
|
|
2122
2127
|
coins?: Array<CoinId2>;
|
|
@@ -2138,6 +2143,7 @@ export declare namespace price_service {
|
|
|
2138
2143
|
'coinId.address.address'?: string;
|
|
2139
2144
|
'coinId.address.chain'?: string;
|
|
2140
2145
|
source?: string;
|
|
2146
|
+
'experimentalFlag.enablePythSource'?: boolean;
|
|
2141
2147
|
};
|
|
2142
2148
|
url: '/api/v1/prices';
|
|
2143
2149
|
};
|
|
@@ -3109,6 +3115,7 @@ export declare namespace web_service {
|
|
|
3109
3115
|
showPercent?: boolean;
|
|
3110
3116
|
showValue?: boolean;
|
|
3111
3117
|
calculation?: ChartConfigCalculation;
|
|
3118
|
+
absValue?: boolean;
|
|
3112
3119
|
};
|
|
3113
3120
|
type ChartConfigPieConfigPieType = 'Pie' | 'Donut';
|
|
3114
3121
|
type ChartConfigQueryValueConfig = {
|
package/package.json
CHANGED
package/src/types.gen.ts
CHANGED
|
@@ -2079,6 +2079,7 @@ export namespace price_service {
|
|
|
2079
2079
|
export type BatchGetPricesRequest = {
|
|
2080
2080
|
timestamps?: Array<string>;
|
|
2081
2081
|
coinIds?: Array<CoinId2>;
|
|
2082
|
+
experimentalFlag?: ExperimentalFlag;
|
|
2082
2083
|
};
|
|
2083
2084
|
export type BatchGetPricesResponse = {
|
|
2084
2085
|
prices?: Array<BatchGetPricesResponseCoinPrice>;
|
|
@@ -2115,6 +2116,9 @@ export namespace price_service {
|
|
|
2115
2116
|
address?: string;
|
|
2116
2117
|
chain?: string;
|
|
2117
2118
|
};
|
|
2119
|
+
export type ExperimentalFlag = {
|
|
2120
|
+
enablePythSource?: boolean;
|
|
2121
|
+
};
|
|
2118
2122
|
/**
|
|
2119
2123
|
* GetPriceResponse is the response for GetPrice.
|
|
2120
2124
|
*/
|
|
@@ -2127,6 +2131,7 @@ export namespace price_service {
|
|
|
2127
2131
|
* The actual timestamp of the price returned.
|
|
2128
2132
|
*/
|
|
2129
2133
|
timestamp?: string;
|
|
2134
|
+
source?: string;
|
|
2130
2135
|
};
|
|
2131
2136
|
export type ListCoinsResponse2 = {
|
|
2132
2137
|
coins?: Array<CoinId2>;
|
|
@@ -2148,6 +2153,7 @@ export namespace price_service {
|
|
|
2148
2153
|
'coinId.address.address'?: string;
|
|
2149
2154
|
'coinId.address.chain'?: string;
|
|
2150
2155
|
source?: string;
|
|
2156
|
+
'experimentalFlag.enablePythSource'?: boolean;
|
|
2151
2157
|
};
|
|
2152
2158
|
url: '/api/v1/prices';
|
|
2153
2159
|
};
|
|
@@ -3122,6 +3128,7 @@ export namespace web_service {
|
|
|
3122
3128
|
showPercent?: boolean;
|
|
3123
3129
|
showValue?: boolean;
|
|
3124
3130
|
calculation?: ChartConfigCalculation;
|
|
3131
|
+
absValue?: boolean;
|
|
3125
3132
|
};
|
|
3126
3133
|
export type ChartConfigPieConfigPieType = 'Pie' | 'Donut';
|
|
3127
3134
|
export type ChartConfigQueryValueConfig = {
|