@zeitgeistpm/indexer
Advanced tools
Comparing version 3.17.0 to 3.18.0
@@ -244,3 +244,3 @@ import gql from 'graphql-tag'; | ||
MarketEvent["MarketResolved"] = "MarketResolved"; | ||
MarketEvent["PoolCreate"] = "PoolCreate"; | ||
MarketEvent["PoolDeployed"] = "PoolDeployed"; | ||
})(MarketEvent || (MarketEvent = {})); | ||
@@ -281,2 +281,16 @@ var MarketOrderByInput; | ||
MarketOrderByInput["MetadataDesc"] = "metadata_DESC"; | ||
MarketOrderByInput["NeoPoolCollateralAsc"] = "neoPool_collateral_ASC"; | ||
MarketOrderByInput["NeoPoolCollateralDesc"] = "neoPool_collateral_DESC"; | ||
MarketOrderByInput["NeoPoolCreatedAtAsc"] = "neoPool_createdAt_ASC"; | ||
MarketOrderByInput["NeoPoolCreatedAtDesc"] = "neoPool_createdAt_DESC"; | ||
MarketOrderByInput["NeoPoolIdAsc"] = "neoPool_id_ASC"; | ||
MarketOrderByInput["NeoPoolIdDesc"] = "neoPool_id_DESC"; | ||
MarketOrderByInput["NeoPoolLiquidityParameterAsc"] = "neoPool_liquidityParameter_ASC"; | ||
MarketOrderByInput["NeoPoolLiquidityParameterDesc"] = "neoPool_liquidityParameter_DESC"; | ||
MarketOrderByInput["NeoPoolMarketIdAsc"] = "neoPool_marketId_ASC"; | ||
MarketOrderByInput["NeoPoolMarketIdDesc"] = "neoPool_marketId_DESC"; | ||
MarketOrderByInput["NeoPoolPoolIdAsc"] = "neoPool_poolId_ASC"; | ||
MarketOrderByInput["NeoPoolPoolIdDesc"] = "neoPool_poolId_DESC"; | ||
MarketOrderByInput["NeoPoolSwapFeeAsc"] = "neoPool_swapFee_ASC"; | ||
MarketOrderByInput["NeoPoolSwapFeeDesc"] = "neoPool_swapFee_DESC"; | ||
MarketOrderByInput["OracleAsc"] = "oracle_ASC"; | ||
@@ -343,2 +357,31 @@ MarketOrderByInput["OracleDesc"] = "oracle_DESC"; | ||
})(MarketStatus || (MarketStatus = {})); | ||
var NeoPoolOrderByInput; | ||
(function (NeoPoolOrderByInput) { | ||
NeoPoolOrderByInput["AccountAccountIdAsc"] = "account_accountId_ASC"; | ||
NeoPoolOrderByInput["AccountAccountIdDesc"] = "account_accountId_DESC"; | ||
NeoPoolOrderByInput["AccountIdAsc"] = "account_id_ASC"; | ||
NeoPoolOrderByInput["AccountIdDesc"] = "account_id_DESC"; | ||
NeoPoolOrderByInput["AccountMarketIdAsc"] = "account_marketId_ASC"; | ||
NeoPoolOrderByInput["AccountMarketIdDesc"] = "account_marketId_DESC"; | ||
NeoPoolOrderByInput["CollateralAsc"] = "collateral_ASC"; | ||
NeoPoolOrderByInput["CollateralDesc"] = "collateral_DESC"; | ||
NeoPoolOrderByInput["CreatedAtAsc"] = "createdAt_ASC"; | ||
NeoPoolOrderByInput["CreatedAtDesc"] = "createdAt_DESC"; | ||
NeoPoolOrderByInput["IdAsc"] = "id_ASC"; | ||
NeoPoolOrderByInput["IdDesc"] = "id_DESC"; | ||
NeoPoolOrderByInput["LiquidityParameterAsc"] = "liquidityParameter_ASC"; | ||
NeoPoolOrderByInput["LiquidityParameterDesc"] = "liquidityParameter_DESC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerFeesAsc"] = "liquiditySharesManager_fees_ASC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerFeesDesc"] = "liquiditySharesManager_fees_DESC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerOwnerAsc"] = "liquiditySharesManager_owner_ASC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerOwnerDesc"] = "liquiditySharesManager_owner_DESC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerTotalSharesAsc"] = "liquiditySharesManager_totalShares_ASC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerTotalSharesDesc"] = "liquiditySharesManager_totalShares_DESC"; | ||
NeoPoolOrderByInput["MarketIdAsc"] = "marketId_ASC"; | ||
NeoPoolOrderByInput["MarketIdDesc"] = "marketId_DESC"; | ||
NeoPoolOrderByInput["PoolIdAsc"] = "poolId_ASC"; | ||
NeoPoolOrderByInput["PoolIdDesc"] = "poolId_DESC"; | ||
NeoPoolOrderByInput["SwapFeeAsc"] = "swapFee_ASC"; | ||
NeoPoolOrderByInput["SwapFeeDesc"] = "swapFee_DESC"; | ||
})(NeoPoolOrderByInput || (NeoPoolOrderByInput = {})); | ||
/** Ordering stats */ | ||
@@ -516,2 +559,25 @@ var OrderBy; | ||
`; | ||
const FullNeoPoolFragmentDoc = gql ` | ||
fragment FullNeoPool on NeoPool { | ||
account { | ||
accountId | ||
balances { | ||
assetId | ||
balance | ||
} | ||
} | ||
collateral | ||
createdAt | ||
id | ||
liquidityParameter | ||
liquiditySharesManager { | ||
fees | ||
owner | ||
totalShares | ||
} | ||
marketId | ||
poolId | ||
swapFee | ||
} | ||
`; | ||
const FullMarketFragmentDoc = gql ` | ||
@@ -557,2 +623,3 @@ fragment FullMarket on Market { | ||
} | ||
hasValidMetaCategories | ||
id | ||
@@ -566,3 +633,5 @@ img | ||
metadata | ||
hasValidMetaCategories | ||
neoPool { | ||
...FullNeoPool | ||
} | ||
oracle | ||
@@ -596,3 +665,4 @@ outcomeAssets | ||
} | ||
${FullPoolFragmentDoc}`; | ||
${FullNeoPoolFragmentDoc} | ||
${FullPoolFragmentDoc}`; | ||
const AccountBalancesDocument = gql ` | ||
@@ -688,2 +758,9 @@ query accountBalances($where: AccountBalanceWhereInput, $order: [AccountBalanceOrderByInput!], $offset: Int, $limit: Int) { | ||
`; | ||
const NeoPoolsDocument = gql ` | ||
query neoPools($where: NeoPoolWhereInput, $order: [NeoPoolOrderByInput!], $offset: Int, $limit: Int) { | ||
neoPools(where: $where, orderBy: $order, offset: $offset, limit: $limit) { | ||
...FullNeoPool | ||
} | ||
} | ||
${FullNeoPoolFragmentDoc}`; | ||
const PingQueryDocument = gql ` | ||
@@ -765,2 +842,5 @@ query pingQuery { | ||
}, | ||
neoPools(variables, requestHeaders) { | ||
return withWrapper((wrappedRequestHeaders) => client.request(NeoPoolsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'neoPools', 'query'); | ||
}, | ||
pingQuery(variables, requestHeaders) { | ||
@@ -784,3 +864,3 @@ return withWrapper((wrappedRequestHeaders) => client.request(PingQueryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'pingQuery', 'query'); | ||
export { AccountBalanceOrderByInput, AccountBalancesDocument, AccountOrderByInput, AssetKind, AssetOrderByInput, AssetsDocument, DisputeMechanism, FullAccountBalanceFragmentDoc, FullAssetFragmentDoc, FullHistoricalAccountBalanceFragmentDoc, FullHistoricalAssetsFragmentDoc, FullHistoricalSwapFragmentDoc, FullMarketFragmentDoc, FullMarketMetadataFragmentDoc, FullPoolFragmentDoc, HistoricalAccountBalanceOrderByInput, HistoricalAccountBalancesDocument, HistoricalAssetOrderByInput, HistoricalAssetsDocument, HistoricalMarketOrderByInput, HistoricalMarketsDocument, HistoricalPoolOrderByInput, HistoricalPoolsDocument, HistoricalSwapOrderByInput, HistoricalSwapsDocument, MarketCreation, MarketEvent, MarketMetadataDocument, MarketOrderByInput, MarketStatsDocument, MarketStatus, MarketStatusCountDocument, MarketsDocument, OrderBy, PingQueryDocument, PoolOrderByInput, PoolStatus, PoolsDocument, ScoringRule, SquidStatusDocument, StatsDocument, Unit, getSdk }; | ||
export { AccountBalanceOrderByInput, AccountBalancesDocument, AccountOrderByInput, AssetKind, AssetOrderByInput, AssetsDocument, DisputeMechanism, FullAccountBalanceFragmentDoc, FullAssetFragmentDoc, FullHistoricalAccountBalanceFragmentDoc, FullHistoricalAssetsFragmentDoc, FullHistoricalSwapFragmentDoc, FullMarketFragmentDoc, FullMarketMetadataFragmentDoc, FullNeoPoolFragmentDoc, FullPoolFragmentDoc, HistoricalAccountBalanceOrderByInput, HistoricalAccountBalancesDocument, HistoricalAssetOrderByInput, HistoricalAssetsDocument, HistoricalMarketOrderByInput, HistoricalMarketsDocument, HistoricalPoolOrderByInput, HistoricalPoolsDocument, HistoricalSwapOrderByInput, HistoricalSwapsDocument, MarketCreation, MarketEvent, MarketMetadataDocument, MarketOrderByInput, MarketStatsDocument, MarketStatus, MarketStatusCountDocument, MarketsDocument, NeoPoolOrderByInput, NeoPoolsDocument, OrderBy, PingQueryDocument, PoolOrderByInput, PoolStatus, PoolsDocument, ScoringRule, SquidStatusDocument, StatsDocument, Unit, getSdk }; | ||
//# sourceMappingURL=sdk.esm.js.map |
@@ -246,3 +246,3 @@ 'use strict'; | ||
MarketEvent["MarketResolved"] = "MarketResolved"; | ||
MarketEvent["PoolCreate"] = "PoolCreate"; | ||
MarketEvent["PoolDeployed"] = "PoolDeployed"; | ||
})(exports.MarketEvent || (exports.MarketEvent = {})); | ||
@@ -283,2 +283,16 @@ exports.MarketOrderByInput = void 0; | ||
MarketOrderByInput["MetadataDesc"] = "metadata_DESC"; | ||
MarketOrderByInput["NeoPoolCollateralAsc"] = "neoPool_collateral_ASC"; | ||
MarketOrderByInput["NeoPoolCollateralDesc"] = "neoPool_collateral_DESC"; | ||
MarketOrderByInput["NeoPoolCreatedAtAsc"] = "neoPool_createdAt_ASC"; | ||
MarketOrderByInput["NeoPoolCreatedAtDesc"] = "neoPool_createdAt_DESC"; | ||
MarketOrderByInput["NeoPoolIdAsc"] = "neoPool_id_ASC"; | ||
MarketOrderByInput["NeoPoolIdDesc"] = "neoPool_id_DESC"; | ||
MarketOrderByInput["NeoPoolLiquidityParameterAsc"] = "neoPool_liquidityParameter_ASC"; | ||
MarketOrderByInput["NeoPoolLiquidityParameterDesc"] = "neoPool_liquidityParameter_DESC"; | ||
MarketOrderByInput["NeoPoolMarketIdAsc"] = "neoPool_marketId_ASC"; | ||
MarketOrderByInput["NeoPoolMarketIdDesc"] = "neoPool_marketId_DESC"; | ||
MarketOrderByInput["NeoPoolPoolIdAsc"] = "neoPool_poolId_ASC"; | ||
MarketOrderByInput["NeoPoolPoolIdDesc"] = "neoPool_poolId_DESC"; | ||
MarketOrderByInput["NeoPoolSwapFeeAsc"] = "neoPool_swapFee_ASC"; | ||
MarketOrderByInput["NeoPoolSwapFeeDesc"] = "neoPool_swapFee_DESC"; | ||
MarketOrderByInput["OracleAsc"] = "oracle_ASC"; | ||
@@ -345,2 +359,31 @@ MarketOrderByInput["OracleDesc"] = "oracle_DESC"; | ||
})(exports.MarketStatus || (exports.MarketStatus = {})); | ||
exports.NeoPoolOrderByInput = void 0; | ||
(function (NeoPoolOrderByInput) { | ||
NeoPoolOrderByInput["AccountAccountIdAsc"] = "account_accountId_ASC"; | ||
NeoPoolOrderByInput["AccountAccountIdDesc"] = "account_accountId_DESC"; | ||
NeoPoolOrderByInput["AccountIdAsc"] = "account_id_ASC"; | ||
NeoPoolOrderByInput["AccountIdDesc"] = "account_id_DESC"; | ||
NeoPoolOrderByInput["AccountMarketIdAsc"] = "account_marketId_ASC"; | ||
NeoPoolOrderByInput["AccountMarketIdDesc"] = "account_marketId_DESC"; | ||
NeoPoolOrderByInput["CollateralAsc"] = "collateral_ASC"; | ||
NeoPoolOrderByInput["CollateralDesc"] = "collateral_DESC"; | ||
NeoPoolOrderByInput["CreatedAtAsc"] = "createdAt_ASC"; | ||
NeoPoolOrderByInput["CreatedAtDesc"] = "createdAt_DESC"; | ||
NeoPoolOrderByInput["IdAsc"] = "id_ASC"; | ||
NeoPoolOrderByInput["IdDesc"] = "id_DESC"; | ||
NeoPoolOrderByInput["LiquidityParameterAsc"] = "liquidityParameter_ASC"; | ||
NeoPoolOrderByInput["LiquidityParameterDesc"] = "liquidityParameter_DESC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerFeesAsc"] = "liquiditySharesManager_fees_ASC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerFeesDesc"] = "liquiditySharesManager_fees_DESC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerOwnerAsc"] = "liquiditySharesManager_owner_ASC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerOwnerDesc"] = "liquiditySharesManager_owner_DESC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerTotalSharesAsc"] = "liquiditySharesManager_totalShares_ASC"; | ||
NeoPoolOrderByInput["LiquiditySharesManagerTotalSharesDesc"] = "liquiditySharesManager_totalShares_DESC"; | ||
NeoPoolOrderByInput["MarketIdAsc"] = "marketId_ASC"; | ||
NeoPoolOrderByInput["MarketIdDesc"] = "marketId_DESC"; | ||
NeoPoolOrderByInput["PoolIdAsc"] = "poolId_ASC"; | ||
NeoPoolOrderByInput["PoolIdDesc"] = "poolId_DESC"; | ||
NeoPoolOrderByInput["SwapFeeAsc"] = "swapFee_ASC"; | ||
NeoPoolOrderByInput["SwapFeeDesc"] = "swapFee_DESC"; | ||
})(exports.NeoPoolOrderByInput || (exports.NeoPoolOrderByInput = {})); | ||
/** Ordering stats */ | ||
@@ -518,2 +561,25 @@ exports.OrderBy = void 0; | ||
`; | ||
const FullNeoPoolFragmentDoc = gql ` | ||
fragment FullNeoPool on NeoPool { | ||
account { | ||
accountId | ||
balances { | ||
assetId | ||
balance | ||
} | ||
} | ||
collateral | ||
createdAt | ||
id | ||
liquidityParameter | ||
liquiditySharesManager { | ||
fees | ||
owner | ||
totalShares | ||
} | ||
marketId | ||
poolId | ||
swapFee | ||
} | ||
`; | ||
const FullMarketFragmentDoc = gql ` | ||
@@ -559,2 +625,3 @@ fragment FullMarket on Market { | ||
} | ||
hasValidMetaCategories | ||
id | ||
@@ -568,3 +635,5 @@ img | ||
metadata | ||
hasValidMetaCategories | ||
neoPool { | ||
...FullNeoPool | ||
} | ||
oracle | ||
@@ -598,3 +667,4 @@ outcomeAssets | ||
} | ||
${FullPoolFragmentDoc}`; | ||
${FullNeoPoolFragmentDoc} | ||
${FullPoolFragmentDoc}`; | ||
const AccountBalancesDocument = gql ` | ||
@@ -690,2 +760,9 @@ query accountBalances($where: AccountBalanceWhereInput, $order: [AccountBalanceOrderByInput!], $offset: Int, $limit: Int) { | ||
`; | ||
const NeoPoolsDocument = gql ` | ||
query neoPools($where: NeoPoolWhereInput, $order: [NeoPoolOrderByInput!], $offset: Int, $limit: Int) { | ||
neoPools(where: $where, orderBy: $order, offset: $offset, limit: $limit) { | ||
...FullNeoPool | ||
} | ||
} | ||
${FullNeoPoolFragmentDoc}`; | ||
const PingQueryDocument = gql ` | ||
@@ -767,2 +844,5 @@ query pingQuery { | ||
}, | ||
neoPools(variables, requestHeaders) { | ||
return withWrapper((wrappedRequestHeaders) => client.request(NeoPoolsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'neoPools', 'query'); | ||
}, | ||
pingQuery(variables, requestHeaders) { | ||
@@ -795,2 +875,3 @@ return withWrapper((wrappedRequestHeaders) => client.request(PingQueryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), 'pingQuery', 'query'); | ||
exports.FullMarketMetadataFragmentDoc = FullMarketMetadataFragmentDoc; | ||
exports.FullNeoPoolFragmentDoc = FullNeoPoolFragmentDoc; | ||
exports.FullPoolFragmentDoc = FullPoolFragmentDoc; | ||
@@ -806,2 +887,3 @@ exports.HistoricalAccountBalancesDocument = HistoricalAccountBalancesDocument; | ||
exports.MarketsDocument = MarketsDocument; | ||
exports.NeoPoolsDocument = NeoPoolsDocument; | ||
exports.PingQueryDocument = PingQueryDocument; | ||
@@ -808,0 +890,0 @@ exports.PoolsDocument = PoolsDocument; |
import { GraphQLClient } from 'graphql-request'; | ||
import { augments } from './augments/index.esm.js'; | ||
import { getSdk } from './graphql/sdk.esm.js'; | ||
export { AccountBalanceOrderByInput, AccountBalancesDocument, AccountOrderByInput, AssetKind, AssetOrderByInput, AssetsDocument, DisputeMechanism, FullAccountBalanceFragmentDoc, FullAssetFragmentDoc, FullHistoricalAccountBalanceFragmentDoc, FullHistoricalAssetsFragmentDoc, FullHistoricalSwapFragmentDoc, FullMarketFragmentDoc, FullMarketMetadataFragmentDoc, FullPoolFragmentDoc, HistoricalAccountBalanceOrderByInput, HistoricalAccountBalancesDocument, HistoricalAssetOrderByInput, HistoricalAssetsDocument, HistoricalMarketOrderByInput, HistoricalMarketsDocument, HistoricalPoolOrderByInput, HistoricalPoolsDocument, HistoricalSwapOrderByInput, HistoricalSwapsDocument, MarketCreation, MarketEvent, MarketMetadataDocument, MarketOrderByInput, MarketStatsDocument, MarketStatus, MarketStatusCountDocument, MarketsDocument, OrderBy, PingQueryDocument, PoolOrderByInput, PoolStatus, PoolsDocument, ScoringRule, SquidStatusDocument, StatsDocument, Unit, getSdk } from './graphql/sdk.esm.js'; | ||
export { AccountBalanceOrderByInput, AccountBalancesDocument, AccountOrderByInput, AssetKind, AssetOrderByInput, AssetsDocument, DisputeMechanism, FullAccountBalanceFragmentDoc, FullAssetFragmentDoc, FullHistoricalAccountBalanceFragmentDoc, FullHistoricalAssetsFragmentDoc, FullHistoricalSwapFragmentDoc, FullMarketFragmentDoc, FullMarketMetadataFragmentDoc, FullNeoPoolFragmentDoc, FullPoolFragmentDoc, HistoricalAccountBalanceOrderByInput, HistoricalAccountBalancesDocument, HistoricalAssetOrderByInput, HistoricalAssetsDocument, HistoricalMarketOrderByInput, HistoricalMarketsDocument, HistoricalPoolOrderByInput, HistoricalPoolsDocument, HistoricalSwapOrderByInput, HistoricalSwapsDocument, MarketCreation, MarketEvent, MarketMetadataDocument, MarketOrderByInput, MarketStatsDocument, MarketStatus, MarketStatusCountDocument, MarketsDocument, NeoPoolOrderByInput, NeoPoolsDocument, OrderBy, PingQueryDocument, PoolOrderByInput, PoolStatus, PoolsDocument, ScoringRule, SquidStatusDocument, StatsDocument, Unit, getSdk } from './graphql/sdk.esm.js'; | ||
@@ -6,0 +6,0 @@ /** |
@@ -52,2 +52,3 @@ 'use strict'; | ||
exports.FullMarketMetadataFragmentDoc = sdk.FullMarketMetadataFragmentDoc; | ||
exports.FullNeoPoolFragmentDoc = sdk.FullNeoPoolFragmentDoc; | ||
exports.FullPoolFragmentDoc = sdk.FullPoolFragmentDoc; | ||
@@ -99,2 +100,7 @@ Object.defineProperty(exports, 'HistoricalAccountBalanceOrderByInput', { | ||
exports.MarketsDocument = sdk.MarketsDocument; | ||
Object.defineProperty(exports, 'NeoPoolOrderByInput', { | ||
enumerable: true, | ||
get: function () { return sdk.NeoPoolOrderByInput; } | ||
}); | ||
exports.NeoPoolsDocument = sdk.NeoPoolsDocument; | ||
Object.defineProperty(exports, 'OrderBy', { | ||
@@ -101,0 +107,0 @@ enumerable: true, |
{ | ||
"name": "@zeitgeistpm/indexer", | ||
"version": "3.17.0", | ||
"version": "3.18.0", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1150145
53
10112