ChemPal Documentation - v1.6.0
    Preparing search index...

    Variable IDB_STOREConst

    IDB_STORE: {
        SEARCH_RESULTS: "search_results";
        SEARCH_HISTORY: "search_history";
        SUPPLIER_QUERY_CACHE: "supplier_query_cache";
        SUPPLIER_PRODUCT_DATA_CACHE: "supplier_product_data_cache";
        SUPPLIER_STATS: "supplier_stats";
        EXCLUDED_PRODUCTS: "excluded_products";
        PRICE_HISTORY: "price_history";
        APP_META: "app_meta";
        EXPORTS: "exports";
    } = ...

    IndexedDB object-store names for the ChemPal database. Centralized here so the store names aren't hardcoded across idbCache.ts. Values are snake_case to match the CACHE storage-key convention.

    Type declaration

    • ReadonlySEARCH_RESULTS: "search_results"

      Current search results (single row keyed "current").

    • ReadonlySEARCH_HISTORY: "search_history"

      Persisted search history entries.

    • ReadonlySUPPLIER_QUERY_CACHE: "supplier_query_cache"

      Supplier query-result cache.

    • ReadonlySUPPLIER_PRODUCT_DATA_CACHE: "supplier_product_data_cache"

      Supplier product-detail cache.

    • ReadonlySUPPLIER_STATS: "supplier_stats"

      Daily supplier HTTP stats.

    • ReadonlyEXCLUDED_PRODUCTS: "excluded_products"

      User's excluded/ignored products (single row keyed "current").

    • ReadonlyPRICE_HISTORY: "price_history"

      Per-product/variant USD price history.

    • ReadonlyAPP_META: "app_meta"

      App metadata — single row keyed "current" recording the app version that last wrote/migrated the cache.

    • ReadonlyEXPORTS: "exports"

      Cached .xlsx result exports, keyed by a unique id, for the export-history list.