1 | import { DocumentNode } from 'graphql';
|
2 | export declare type DirectiveArgs = {
|
3 | [name: string]: any;
|
4 | };
|
5 | export declare type DirectiveUsage = {
|
6 | name: string;
|
7 | args: DirectiveArgs;
|
8 | };
|
9 | export declare type TypeAndFieldToDirectives = {
|
10 | [typeAndField: string]: DirectiveUsage[];
|
11 | };
|
12 | interface Options {
|
13 | includeInputTypes?: boolean;
|
14 | }
|
15 | export declare function getFieldsWithDirectives(documentNode: DocumentNode, options?: Options): TypeAndFieldToDirectives;
|
16 | export {};
|