@mantlebee/ts-data
    Preparing search index...

    Type Alias InMemoryQueryItemsReader<TItem>

    The two readers of a DataSource over a list, returned by createInMemoryQueryItemsReader.

    type InMemoryQueryItemsReader<TItem = Any> = {
        countReader: QueryItemsReader<TItem, number>;
        reader: QueryItemsReader<TItem>;
    }

    Type Parameters

    • TItem = Any

      Type of the items.

    Index
    countReader: QueryItemsReader<TItem, number>

    Resolves the number of items matching the payload, for the PaginationExtension.

    Resolves the items matching the payload: filtered, sorted, projected, then paged.