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

    Type Alias SettingAction

    SettingAction:
        | { type: typeof SWITCH_CHANGE; name: string; checked: boolean }
        | {
            type: typeof NESTED_SWITCH_CHANGE;
            group: SettingGroup;
            name: string;
            checked: boolean;
        }
        | {
            type: typeof NESTED_BUTTON_CLICK;
            group: SettingGroup;
            name: string;
            value: string;
        }
        | { type: typeof INPUT_CHANGE; name: string; value: string }
        | { type: typeof SUPPLIER_TOGGLE; value: SupplierClassName[] }
        | { type: typeof PRICE_TRACKING_CHANGE; value: PriceTracking }
        | { type: typeof CACHE_CHANGE; value: CacheSettings }
        | { type: typeof RESTORE_DEFAULTS }