node_modules.graphql-config.lib.utils.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 { GraphQLSchema, IntrospectionQuery } from 'graphql';
import { GraphQLConfigData, IntrospectionResult } from './types';
export declare function readConfig(configPath: string): GraphQLConfigData;
export declare function writeConfig(configPath: string, config: GraphQLConfigData): void;
export declare function normalizeGlob(glob: string): string;
export declare function matchesGlobs(filePath: string, configDir: string, globs?: string[]): boolean;
export declare function validateConfig(config: GraphQLConfigData): void;
export declare function mergeConfigs(dest: GraphQLConfigData, src: GraphQLConfigData): GraphQLConfigData;
export declare function schemaToIntrospection(schema: GraphQLSchema): Promise;
export declare function introspectionToSchema(introspection: IntrospectionResult | (IntrospectionQuery & {
errors: undefined;
data: undefined;
})): GraphQLSchema;
export declare function readSchema(path: any): GraphQLSchema;
export declare function writeSchema(path: string, schema: GraphQLSchema, schemaExtensions?: {
[name: string]: string;
}): Promise;
export declare function getSchemaExtensions(path: string): {
[name: string]: string;
};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy