UNPKG

httpyac

Version:

HTTP/REST CLI Client for *.http files

21 lines (20 loc) 554 B
import { RequestBodyImport } from './httpRequest'; import { HttpSymbol } from './httpSymbol'; export interface ParserRequestBody { rawBody: Array<string | RequestBodyImport>; symbol?: HttpSymbol; } export interface ParserContextData { metaTitle?: string; request_body?: ParserRequestBody; codeBlocks?: Array<{ startLine: number; endLine: number; }>; httpResponseSymbol?: { symbol: HttpSymbol; body: Array<string>; }; gql?: Record<string, string>; readonly [key: string]: unknown; }