Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SearchResult<T>

SearchResult is the object created after a successful search.

It houses the actual data as well as some additional meta information related to paging.

Type parameters

  • T: Object

Hierarchy

  • SearchResult

Index

Properties

Properties

data

data: T[]

data is the paginated data returned from the query.

meta

meta: { pagination: { current: CurrentSection; total: TotalSection } }

meta contains various useful pieces of information about the search result.

Type declaration

Generated using TypeDoc