// @flow strict type GraphiQLData = {| query: ?string, variables: ?{ +[name: string]: mixed, ... }, operationName: ?string, result?: mixed, options: GraphiQLOptions, |}; export type 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, |}; // Ensures string values are safe to be used within a