UNPKG

751 BTypeScriptView Raw
1import { Outline } from 'graphql-language-service-types';
2declare const OUTLINEABLE_KINDS: {
3 Field: boolean;
4 OperationDefinition: boolean;
5 Document: boolean;
6 SelectionSet: boolean;
7 Name: boolean;
8 FragmentDefinition: boolean;
9 FragmentSpread: boolean;
10 InlineFragment: boolean;
11 ObjectTypeDefinition: boolean;
12 InputObjectTypeDefinition: boolean;
13 InterfaceTypeDefinition: boolean;
14 EnumTypeDefinition: boolean;
15 EnumValueDefinition: boolean;
16 InputValueDefinition: boolean;
17 FieldDefinition: boolean;
18};
19export declare type OutlineableKinds = keyof typeof OUTLINEABLE_KINDS;
20export declare function getOutline(documentText: string): Outline | null;
21export {};
22//# sourceMappingURL=getOutline.d.ts.map
\No newline at end of file