@graphql-mesh/transport-rest
Version:
10 lines (9 loc) • 465 B
TypeScript
import type { ASTNode, ConstDirectiveNode, GraphQLInputType } from 'graphql';
import { type DirectiveAnnotation } from '@graphql-tools/utils';
export declare function getDirectiveAnnotations(directableObj: {
astNode?: ASTNode & {
directives?: readonly ConstDirectiveNode[];
};
extensions?: Record<string, any>;
}): DirectiveAnnotation[];
export declare function serializeArgumentsForInterpolation(argValue: any, argType: GraphQLInputType): any;