inversify-graphql
Version:
Builds dependency-inverted GraphQL schemas with InversifyJS
12 lines (11 loc) • 482 B
TypeScript
import * as gql from 'graphql';
import { ITypeCache } from './interfaces-private';
import { InversifyUnionConfig } from './interfaces';
export declare abstract class InversifyUnionTypeBuilder<TSource, TContext> {
protected built: gql.GraphQLUnionType;
protected building?: boolean;
protected extensions: 'all' | 'noDirect' | 'none';
protected builders: ITypeCache;
abstract config(): InversifyUnionConfig<TSource, TContext>;
build(): gql.GraphQLUnionType;
}