Skip to content

Interface: ServableResourcefulIndexResult<ReturnType>

Extends

Type Parameters

Type ParameterDefault type
ReturnTypeany

Properties

PropertyTypeDescriptionInherited from
aggregationsResourcefulIndexAggregateResultsAggregation results organized by field name and operation typeResourcefulIndexResult.aggregations
pagenumberThe current page number (1-based)ResourcefulIndexResult.page
perPagenumberNumber of records per pageResourcefulIndexResult.perPage
recordsPartial<ReturnType>[]Array of records with only the requested and accessible fieldsOmit.records
totalnumberTotal number of records matching the filter (before pagination)ResourcefulIndexResult.total