polen
Version:
A framework for delightful GraphQL developer portals
25 lines • 805 B
TypeScript
/**
* Example usage of the GraphQL Document Analysis library
*
* This demonstrates how to use the foundational layer for extracting
* identifiers and context from GraphQL documents - the building block
* for the interactive GraphQL Document Component.
*/
import { GraphQLDocument } from './$.js';
/**
* Demonstrate basic analysis
*/
export declare const analyzeExample: () => GraphQLDocument.AnalysisResult;
/**
* Demonstrate identifier lookup by position
*/
export declare const demonstratePositionLookup: () => void;
/**
* Demonstrate how this enables hyperlink generation
*/
export declare const demonstrateHyperlinkGeneration: () => void;
/**
* Show the foundation for hover tooltips
*/
export declare const demonstrateTooltipFoundation: () => void;
//# sourceMappingURL=example.d.ts.map