MCPcopy
hub / github.com/upstash/context7 / SearchResult

Interface SearchResult

packages/mcp/src/lib/types.ts:1–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface SearchResult {
2 id: string;
3 title: string;
4 description: string;
5 branch: string;
6 lastUpdateDate: string;
7 state: DocumentState;
8 totalTokens: number;
9 totalSnippets: number;
10 stars?: number;
11 trustScore?: number;
12 benchmarkScore?: number;
13 versions?: string[];
14 source?: string;
15}
16
17export interface SearchResponse {
18 error?: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected