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

Interface CommandRequest

packages/sdk/src/commands/command.ts:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5export type EndpointVariants = (typeof _ENDPOINTS)[number];
6
7export interface CommandRequest {
8 method?: "GET" | "POST";
9 body?: unknown;
10 query?: Record<string, string | number | boolean | undefined>;
11}
12
13export class Command<TResult> {
14 public readonly request: CommandRequest;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected