Forked from npacker/web-tools
Project Files
src / cache / web-search-results-payload.ts
import type { WebSearchResult } from "../duckduckgo"
/**
* Cached wire shape for a web search, stored in the TTLCache.
*/
export interface WebSearchResultsPayload {
/** Result records carrying the DuckDuckGo title/url/snippet plus optional enrichment metadata. */
results: WebSearchResult[]
/** Number of results in `results`. */
count: number
}