PassioSearchResult

Interface representing the structure of a Passio search result

Attribute
Description

results

Property for an array of FoodSearchResult objects or null.

alternatives

Property for an array of alternative strings or null.

// Interface representing the structure of a Passio search result
export interface PassioSearchResult {
  // Property for an array of FoodSearchResult objects or null
  results: PassioFoodDataInfo[] | null
  // Property for an array of alternative strings or null
  alternatives?: string[] | null
}

Last updated