graphql-language-service
Version:
The official, runtime independent Language Service for GraphQL
22 lines • 729 B
TypeScript
import { Outline } from '../types';
declare const OUTLINEABLE_KINDS: {
Field: boolean;
OperationDefinition: boolean;
Document: boolean;
SelectionSet: boolean;
Name: boolean;
FragmentDefinition: boolean;
FragmentSpread: boolean;
InlineFragment: boolean;
ObjectTypeDefinition: boolean;
InputObjectTypeDefinition: boolean;
InterfaceTypeDefinition: boolean;
EnumTypeDefinition: boolean;
EnumValueDefinition: boolean;
InputValueDefinition: boolean;
FieldDefinition: boolean;
};
export declare type OutlineableKinds = keyof typeof OUTLINEABLE_KINDS;
export declare function getOutline(documentText: string): Outline | null;
export {};
//# sourceMappingURL=getOutline.d.ts.map