node_modules.graphql-import.dist.definition.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apollo-client-maven-plugin Show documentation
Show all versions of apollo-client-maven-plugin Show documentation
Maven plugin for generating graphql clients
import { TypeDefinitionNode, DirectiveDefinitionNode } from 'graphql';
export declare type ValidDefinitionNode = DirectiveDefinitionNode | TypeDefinitionNode;
export interface DefinitionMap {
[key: string]: ValidDefinitionNode;
}
/**
* Post processing of all imported type definitions. Loops over each of the
* imported type definitions, and processes it using collectNewTypeDefinitions.
*
* @param allDefinitions All definitions from all schemas
* @param definitionPool Current definitions (from first schema)
* @param newTypeDefinitions All imported definitions
* @returns Final collection of type definitions for the resulting schema
*/
export declare function completeDefinitionPool(allDefinitions: ValidDefinitionNode[], definitionPool: ValidDefinitionNode[], newTypeDefinitions: ValidDefinitionNode[]): ValidDefinitionNode[];
© 2015 - 2025 Weber Informatics LLC | Privacy Policy