import { AssetConfig, PairConfig, PairMarketDataConfig, SpotConfig } from "../shared/catalog-config.js"; //#region src/catalogs/market-data-catalog.d.ts /** * Enriched pair config where baseAsset/quoteAsset are full AssetConfig objects * instead of just string identifiers. */ interface EnrichedPairConfig extends Omit { /** Optional only for snapshots created before quantity scales were retained. */ baseQuantityScale?: PairConfig["baseQuantityScale"]; quoteQuantityScale?: PairConfig["quoteQuantityScale"]; baseAsset: AssetConfig; quoteAsset: AssetConfig; listingAt: number | null; delistingAt: number | null; } interface MarketCatalogData { readonly assets: readonly AssetConfig[]; readonly pairs: readonly EnrichedPairConfig[]; readonly tsSec?: number; } type MarketCatalogSeed = SpotConfig | { readonly assets: readonly AssetConfig[]; readonly pairs: readonly (PairConfig | EnrichedPairConfig)[]; readonly tsSec?: number; }; //#endregion export { EnrichedPairConfig, MarketCatalogData, MarketCatalogSeed }; //# sourceMappingURL=market-data-catalog.d.ts.map