interface Config<S extends BaseObjectEntryStore<any>> {
    childDebounce?: number;
    dataReducer?: boolean;
    defaultData?: ExtractDataType<S>[];
    manualUpdate?: boolean;
    StoreClass: new (...args: any[]) => S;
}

Type Parameters

Hierarchy

Properties

childDebounce?: number

An integer between and including 0 - 1000; a debounce time in milliseconds for child store subscriptions to invoke ArrayObjectStore.updateSubscribers notifying subscribers to this array store. Default value: 250.

dataReducer?: boolean

When true a DynArrayReducer will be instantiated wrapping store data and accessible from ArrayObjectStore.dataReducer; default value: false.

defaultData?: ExtractDataType<S>[]

An array of default data objects.

manualUpdate?: boolean

When true ArrayObjectStore.updateSubscribers must be invoked with a single boolean parameter for subscribers to be updated; default value: false.

StoreClass: new (...args: any[]) => S

The entry store class that is instantiated.