UNPKG

@knowmax/genericlist-core

Version:

Knowmax Generic list with basic CRUD support without any user interface implementation.

4 lines (3 loc) 361 B
import { GenericList, IGenericListConfiguration } from '.'; /** Generic hook for specified type and configuration. Attempts to cache lists using endpoint as key. Automatically loads data, updates token and selected application. */ export declare const useList: <T extends object>(configuration: IGenericListConfiguration, autoLoad?: boolean) => GenericList<T>;