UNPKG

387 BTypeScriptView Raw
1import { DocumentNode } from 'graphql';
2import { DirectiveUsage } from './types.js';
3export type ArgumentToDirectives = {
4 [argumentName: string]: DirectiveUsage[];
5};
6export type TypeAndFieldToArgumentDirectives = {
7 [typeAndField: string]: ArgumentToDirectives;
8};
9export declare function getArgumentsWithDirectives(documentNode: DocumentNode): TypeAndFieldToArgumentDirectives;