ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface UserSettings

    Application configuration settings that control various features and behaviors. Used to store user preferences and feature flags.

    const userSettings: UserSettings = {
    showHelp: true,
    caching: true,
    currency: "USD",
    location: "US",
    suppliers: ["supplier1", "supplier2"],
    theme: "light"
    };
    interface UserSettings {
        showHelp: boolean;
        caching: boolean;
        autocomplete: boolean;
        currency: string;
        location: string;
        currencyRate?: number;
        shipsToMyLocation: boolean;
        foo: string;
        jason: boolean;
        antoine: boolean;
        popupSize: string;
        autoResize: boolean;
        someSetting: boolean;
        suppliers: string[];
        theme: string;
        showAllColumns: boolean;
        hideColumns: string[];
        showColumnFilters: boolean;
        columnFilterConfig: Record<string, ColumnMeta>;
        supplierResultLimit: number;
    }
    Index

    Properties

    showHelp: boolean

    Controls visibility of help tooltips throughout the application. Defaults to false.

    caching: boolean

    Enables or disables data caching functionality. Defaults to true.

    autocomplete: boolean

    Enables or disables search autocomplete suggestions. Defaults to true.

    currency: string

    Selected currency code for price display

    location: string

    User's geographical location for shipping calculations

    currencyRate?: number

    Currency rate for the user's currency

    shipsToMyLocation: boolean

    Filter products based on shipping availability to user's location. Defaults to false.

    foo: string

    Legacy feature flag for experimental functionality. Note: This feature is deprecated and will be removed in a future version. Use more specific feature flags instead.

    jason: boolean

    Feature flag for Jason's experimental features. Defaults to false.

    antoine: boolean

    Feature flag for Antoine's experimental features. Defaults to false.

    popupSize: string

    Dimensions of the popup window in format 'widthxheight'

    autoResize: boolean

    Controls automatic window resizing behavior. Defaults to true.

    someSetting: boolean

    Generic feature flag for experimental functionality. Defaults to false.

    suppliers: string[]

    List of supplier IDs that are enabled for searching

    theme: string

    Selected UI theme identifier

    showAllColumns: boolean

    Controls visibility of all available table columns. Defaults to true.

    hideColumns: string[]

    List of column identifiers that should be hidden from view

    showColumnFilters: boolean

    Controls visibility of column filter UI elements. Defaults to false.

    columnFilterConfig: Record<string, ColumnMeta>

    Configuration object for individual column filter settings.

    {
    price: {
    filterVariant: "range",
    rangeValues: [0, 1000]
    }
    }
    supplierResultLimit: number

    Number of results to display per supplier