get-arguments-with-directives.d.cts 404 B

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