flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
30
BACK_BACK/node_modules/express-graphql/renderGraphiQL.d.ts
generated
vendored
Executable file
30
BACK_BACK/node_modules/express-graphql/renderGraphiQL.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
import type { FormattedExecutionResult } from 'graphql';
|
||||
export interface GraphiQLData {
|
||||
query?: string | null;
|
||||
variables?: {
|
||||
readonly [name: string]: unknown;
|
||||
} | null;
|
||||
operationName?: string | null;
|
||||
result?: FormattedExecutionResult;
|
||||
}
|
||||
export interface GraphiQLOptions {
|
||||
/**
|
||||
* An optional GraphQL string to use when no query is provided and no stored
|
||||
* query exists from a previous session. If undefined is provided, GraphiQL
|
||||
* will use its own default query.
|
||||
*/
|
||||
defaultQuery?: string;
|
||||
/**
|
||||
* An optional boolean which enables the header editor when true.
|
||||
* Defaults to false.
|
||||
*/
|
||||
headerEditorEnabled?: boolean;
|
||||
}
|
||||
/**
|
||||
* When express-graphql receives a request which does not Accept JSON, but does
|
||||
* Accept HTML, it may present GraphiQL, the in-browser GraphQL explorer IDE.
|
||||
*
|
||||
* When shown, it will be pre-populated with the result of having executed the
|
||||
* requested query.
|
||||
*/
|
||||
export declare function renderGraphiQL(data: GraphiQLData, options?: GraphiQLOptions): string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue