@whisk/graphql 0.0.16 → 0.0.17

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.16",
3
+ "version": "0.0.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/office-supply-ventures/whisk-sdk.git",
@@ -78,10 +78,11 @@ export type introspection_types = {
78
78
  'OnchainAmount': { kind: 'OBJECT'; name: 'OnchainAmount'; fields: { 'formatted': { name: 'formatted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'raw': { name: 'raw'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; } }; }; };
79
79
  'PageInfo': { kind: 'OBJECT'; name: 'PageInfo'; fields: { 'endCursor': { name: 'endCursor'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'hasNextPage': { name: 'hasNextPage'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'hasPreviousPage': { name: 'hasPreviousPage'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'startCursor': { name: 'startCursor'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; };
80
80
  'Protocol': { kind: 'OBJECT'; name: 'Protocol'; fields: { 'icon': { name: 'icon'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
81
- 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'aeraVaultPositions': { name: 'aeraVaultPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AeraVaultPositionPage'; ofType: null; }; } }; 'aeraVaults': { name: 'aeraVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AeraVaultPage'; ofType: null; }; } }; 'chains': { name: 'chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; }; }; } }; 'erc4626VaultPositions': { name: 'erc4626VaultPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc4626VaultPositionPage'; ofType: null; }; } }; 'erc4626Vaults': { name: 'erc4626Vaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc4626VaultPage'; ofType: null; }; } }; 'identities': { name: 'identities'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Identity'; ofType: null; }; }; }; } }; 'identity': { name: 'identity'; type: { kind: 'OBJECT'; name: 'Identity'; ofType: null; } }; 'merklAccountRewards': { name: 'merklAccountRewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MerklAccountReward'; ofType: null; }; }; }; } }; 'morphoMarketPositions': { name: 'morphoMarketPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MorphoMarketPositionPage'; ofType: null; }; } }; 'morphoMarkets': { name: 'morphoMarkets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MorphoMarketPage'; ofType: null; }; } }; 'morphoVaultPositions': { name: 'morphoVaultPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MorphoVaultPositionPage'; ofType: null; }; } }; 'morphoVaults': { name: 'morphoVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MorphoVaultPage'; ofType: null; }; } }; 'steakhouseTvl': { name: 'steakhouseTvl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvl'; ofType: null; }; } }; 'tokenHoldings': { name: 'tokenHoldings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenHolding'; ofType: null; }; }; } }; 'tokens': { name: 'tokens'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'Token'; ofType: null; }; }; } }; 'vaults': { name: 'vaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'Vault'; ofType: null; }; }; } }; }; };
81
+ 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'aeraVaultPositions': { name: 'aeraVaultPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AeraVaultPositionPage'; ofType: null; }; } }; 'aeraVaults': { name: 'aeraVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AeraVaultPage'; ofType: null; }; } }; 'chains': { name: 'chains'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Chain'; ofType: null; }; }; }; } }; 'erc4626VaultPositions': { name: 'erc4626VaultPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc4626VaultPositionPage'; ofType: null; }; } }; 'erc4626Vaults': { name: 'erc4626Vaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Erc4626VaultPage'; ofType: null; }; } }; 'identities': { name: 'identities'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Identity'; ofType: null; }; }; }; } }; 'identity': { name: 'identity'; type: { kind: 'OBJECT'; name: 'Identity'; ofType: null; } }; 'merklAccountRewards': { name: 'merklAccountRewards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MerklAccountReward'; ofType: null; }; }; }; } }; 'morphoMarketPositions': { name: 'morphoMarketPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MorphoMarketPositionPage'; ofType: null; }; } }; 'morphoMarkets': { name: 'morphoMarkets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MorphoMarketPage'; ofType: null; }; } }; 'morphoVaultPositions': { name: 'morphoVaultPositions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MorphoVaultPositionPage'; ofType: null; }; } }; 'morphoVaults': { name: 'morphoVaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'MorphoVaultPage'; ofType: null; }; } }; 'steakhouseStats': { name: 'steakhouseStats'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseStats'; ofType: null; }; } }; 'steakhouseTvl': { name: 'steakhouseTvl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvl'; ofType: null; }; } }; 'tokenHoldings': { name: 'tokenHoldings'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'TokenHolding'; ofType: null; }; }; } }; 'tokens': { name: 'tokens'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'Token'; ofType: null; }; }; } }; 'vaults': { name: 'vaults'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'Vault'; ofType: null; }; }; } }; }; };
82
82
  '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; }; } }; }; };
83
83
  'RiskAssessment': { kind: 'OBJECT'; name: 'RiskAssessment'; fields: { 'steakhouse': { name: 'steakhouse'; type: { kind: 'OBJECT'; name: 'SteakhouseRiskAssessment'; ofType: null; } }; }; };
84
84
  '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; }; } }; }; };
85
+ 'SteakhouseStats': { kind: 'OBJECT'; name: 'SteakhouseStats'; fields: { 'tvl': { name: 'tvl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SteakhouseTvl'; ofType: null; }; } }; 'uniqueDepositors': { name: 'uniqueDepositors'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; }; };
85
86
  '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; }; } }; }; };
86
87
  '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; }; } }; }; };
87
88
  '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; }; } }; }; };
@@ -13,7 +13,8 @@ type Query {
13
13
  morphoVaults(where: MorphoVaultFilter, before: String, after: String, limit: Int): MorphoVaultPage!
14
14
  morphoMarketPositions(where: MorphoMarketPositionFilter!, before: String, after: String, limit: Int): MorphoMarketPositionPage!
15
15
  morphoVaultPositions(where: MorphoVaultPositionFilter!, before: String, after: String, limit: Int): MorphoVaultPositionPage!
16
- steakhouseTvl: SteakhouseTvl! @deprecated(reason: "Schema is subject to change, not yet stable")
16
+ steakhouseStats: SteakhouseStats!
17
+ steakhouseTvl: SteakhouseTvl! @deprecated(reason: "Use steakhouseStats.tvl instead")
17
18
  vaults(inputs: [VaultInput!]!): [Vault]!
18
19
  }
19
20
 
@@ -739,6 +740,11 @@ type RiskAssessment {
739
740
  steakhouse: SteakhouseRiskAssessment
740
741
  }
741
742
 
743
+ type SteakhouseStats {
744
+ tvl: SteakhouseTvl!
745
+ uniqueDepositors: Int
746
+ }
747
+
742
748
  type SteakhouseTvlSnapshot {
743
749
  timestamp: Int!
744
750
  totalUsd: Float!