1234567891011121314151617181920212223242526272829303132333435 |
- import { FormattedExecutionResult } from 'graphql';
- export interface GraphiQLData {
- query?: string | null;
- variables?: { readonly [name: string]: unknown } | null;
- operationName?: string | null;
- result?: FormattedExecutionResult;
- }
- export interface GraphiQLOptions {
-
- defaultQuery?: string;
-
- headerEditorEnabled?: boolean;
- }
- export function renderGraphiQL(
- data: GraphiQLData,
- options?: GraphiQLOptions,
- ): string;
|