@whisk/graphql 0.0.13 → 0.0.15
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whisk/graphql",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/office-supply-ventures/whisk-sdk.git",
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
"build": "tsup",
|
|
39
39
|
"dev": "tsup --watch",
|
|
40
40
|
"schema:sync": "tsx scripts/fetch-schema.ts && gql-tada generate-output",
|
|
41
|
-
"check:types": "
|
|
41
|
+
"check:types": "tsgo --noEmit"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -81,10 +81,11 @@ export type introspection_types = {
|
|
|
81
81
|
'Reward': { kind: 'OBJECT'; name: 'Reward'; fields: { 'apr': { name: 'apr'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'asset': { name: 'asset'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Token'; ofType: null; }; } }; }; };
|
|
82
82
|
'RiskAssessment': { kind: 'OBJECT'; name: 'RiskAssessment'; fields: { 'steakhouse': { name: 'steakhouse'; type: { kind: 'OBJECT'; name: 'SteakhouseRiskAssessment'; ofType: null; } }; }; };
|
|
83
83
|
'SteakhouseRiskAssessment': { kind: 'OBJECT'; name: 'SteakhouseRiskAssessment'; fields: { 'rating': { name: 'rating'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'score': { name: 'score'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
|
|
84
|
-
'SteakhouseTvl': { kind: 'OBJECT'; name: 'SteakhouseTvl'; fields: { 'byAssetCategory': { name: 'byAssetCategory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByAssetCategory'; ofType: null; }; }; }; } }; 'byChain': { name: 'byChain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByChain'; ofType: null; }; }; }; } }; 'byProtocol': { name: 'byProtocol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByProtocol'; ofType: null; }; }; }; } }; 'computedAt': { name: 'computedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'totalUsd': { name: 'totalUsd'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
|
|
85
|
-
'SteakhouseTvlByAssetCategory': { kind: 'OBJECT'; name: 'SteakhouseTvlByAssetCategory'; fields: { 'category': { name: 'category'; type: { kind: '
|
|
84
|
+
'SteakhouseTvl': { kind: 'OBJECT'; name: 'SteakhouseTvl'; fields: { 'byAssetCategory': { name: 'byAssetCategory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByAssetCategory'; ofType: null; }; }; }; } }; 'byChain': { name: 'byChain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByChain'; ofType: null; }; }; }; } }; 'byProtocol': { name: 'byProtocol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByProtocol'; ofType: null; }; }; }; } }; 'computedAt': { name: 'computedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'current': { name: 'current'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlSnapshot'; ofType: null; }; } }; 'historical': { name: 'historical'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlSnapshot'; ofType: null; }; }; }; } }; 'totalUsd': { name: 'totalUsd'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
|
|
85
|
+
'SteakhouseTvlByAssetCategory': { kind: 'OBJECT'; name: 'SteakhouseTvlByAssetCategory'; fields: { 'category': { name: 'category'; type: { kind: 'ENUM'; name: 'TokenCategory'; ofType: null; } }; 'tvlUsd': { name: 'tvlUsd'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
|
|
86
86
|
'SteakhouseTvlByChain': { kind: 'OBJECT'; name: 'SteakhouseTvlByChain'; fields: { 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'tvlUsd': { name: 'tvlUsd'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
|
|
87
87
|
'SteakhouseTvlByProtocol': { kind: 'OBJECT'; name: 'SteakhouseTvlByProtocol'; fields: { 'protocol': { name: 'protocol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'Erc4626VaultProtocol'; ofType: null; }; } }; 'tvlUsd': { name: 'tvlUsd'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
|
|
88
|
+
'SteakhouseTvlSnapshot': { kind: 'OBJECT'; name: 'SteakhouseTvlSnapshot'; fields: { 'byAssetCategory': { name: 'byAssetCategory'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByAssetCategory'; ofType: null; }; }; }; } }; 'byChain': { name: 'byChain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByChain'; ofType: null; }; }; }; } }; 'byProtocol': { name: 'byProtocol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvlByProtocol'; ofType: null; }; }; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'totalUsd': { name: 'totalUsd'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
|
|
88
89
|
'String': unknown;
|
|
89
90
|
'TimeSeriesPoint': { kind: 'OBJECT'; name: 'TimeSeriesPoint'; fields: { 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'value': { name: 'value'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; }; };
|
|
90
91
|
'Token': { kind: 'OBJECT'; name: 'Token'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Address'; ofType: null; }; } }; 'category': { name: 'category'; type: { kind: 'ENUM'; name: 'TokenCategory'; ofType: null; } }; 'chain': { name: 'chain'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; } }; 'decimals': { name: 'decimals'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'icon': { name: 'icon'; type: { kind: 'SCALAR'; name: 'URL'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'priceUsd': { name: 'priceUsd'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'riskAssessment': { name: 'riskAssessment'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'RiskAssessment'; ofType: null; }; } }; 'symbol': { name: 'symbol'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'yield': { name: 'yield'; type: { kind: 'OBJECT'; name: 'YieldInfo'; ofType: null; } }; }; };
|
|
@@ -101,7 +102,7 @@ export type introspection_types = {
|
|
|
101
102
|
'VaultProtocol': { name: 'VaultProtocol'; enumValues: 'euler_v2' | 'euler_earn' | 'morpho' | 'enzyme' | 'mellow' | 'midas' | 'turtle_club' | 'silo' | 'reserve' | 'napier' | 'gearbox' | 'pendle' | 'lista'; };
|
|
102
103
|
'VaultType': { name: 'VaultType'; enumValues: 'lending' | 'staking' | 'index'; };
|
|
103
104
|
'VaultV1Adapter': { kind: 'OBJECT'; name: 'VaultV1Adapter'; fields: { 'adapterAddress': { name: 'adapterAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Address'; ofType: null; }; } }; 'adapterCap': { name: 'adapterCap'; type: { kind: 'OBJECT'; name: 'AdapterCap'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'riskAssessment': { name: 'riskAssessment'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'RiskAssessment'; ofType: null; }; } }; 'vault': { name: 'vault'; type: { kind: 'OBJECT'; name: 'MorphoVault'; ofType: null; } }; }; };
|
|
104
|
-
'YieldInfo': { kind: 'OBJECT'; name: 'YieldInfo'; fields: { 'intrinsicApy': { name: 'intrinsicApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'maturity': { name: 'maturity'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; }; };
|
|
105
|
+
'YieldInfo': { kind: 'OBJECT'; name: 'YieldInfo'; fields: { 'intrinsicApy': { name: 'intrinsicApy'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'maturity': { name: 'maturity'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'trailingPeriod': { name: 'trailingPeriod'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; }; };
|
|
105
106
|
};
|
|
106
107
|
|
|
107
108
|
/** An IntrospectionQuery representation of your schema.
|