UNPKG

379 BTypeScriptView Raw
1export declare type GraphiQLData = {
2 endpointURL: string;
3 subscriptionsEndpoint?: string;
4 query?: string;
5 variables?: Object;
6 operationName?: string;
7 result?: Object;
8 passHeader?: string;
9 editorTheme?: string;
10 websocketConnectionParams?: Object;
11 rewriteURL?: boolean;
12};
13export declare function renderGraphiQL(data: GraphiQLData): string;