MCPcopy
hub / github.com/graphql/graphiql / GraphQLInfoOptions

Interface GraphQLInfoOptions

packages/codemirror-graphql/src/info.ts:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33import type { Maybe } from 'graphql-language-service';
34
35export interface GraphQLInfoOptions {
36 schema?: GraphQLSchema;
37 onClick?: Maybe<(ref: Maybe<SchemaReference>, e: MouseEvent) => void>;
38 renderDescription?: (str: string) => string;
39 render?: () => string;
40}
41
42/**
43 * Registers GraphQL "info" tooltips for CodeMirror.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected