Skip to content

Latest commit

 

History

History
80 lines (44 loc) · 1.59 KB

SearchResult.md

File metadata and controls

80 lines (44 loc) · 1.59 KB

fooddata-central-api / Exports / SearchResult

Interface: SearchResult

Table of contents

Properties

Properties

currentPage

currentPage: number

The current page of results being returned.

Defined in

src/types.ts:290


foodSearchCriteria

foodSearchCriteria: FoodSearchCriteria

A copy of the criteria that were used in the search.

Defined in

src/types.ts:279


foods

foods: SearchResultFood[]

The list of foods found matching the search criteria. See Food Fields below.

Defined in

src/types.ts:301


totalHits

totalHits: number

The total number of foods found matching the search criteria.

Example

1034

Defined in

src/types.ts:285


totalPages

totalPages: number

The total number of pages found matching the search criteria.

Defined in

src/types.ts:295