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

    Module helpers/settingsMigration

    Functions

    migrateUserSettings

    Migrates legacy flat user-settings keys into the current nested objects:

    • caching (boolean) + cacheTtlMinutes + doNotCacheEmptyResultscaching: { enabled, ttlMinutes, doNotCacheEmptyResults }
    • trackPriceHistory + priceHistoryMaxPointspriceTracking: { enabled, maxDataPoints }
    • suppliers (array) + disabledSuppliers + excludeNonShippingSuppliers + supplierResultLimitsuppliers: { enabled, disabled, excludeNonShipping, resultLimit }