graphql-compose
Version:
GraphQL schema builder from different data sources with middleware extensions.
17 lines • 597 B
TypeScript
export declare type ObjMap<T> = Record<string, T>;
export declare type ObjMapReadOnly<T> = Readonly<Record<string, Readonly<T>>>;
export declare type MaybePromise<T> = Promise<T> | T;
export declare type Thunk<T> = (() => any) | T;
export declare type ThunkWithSchemaComposer<T, SC> = ((schemaComposer: SC) => T) | T;
export declare type DirectiveArgs = {
[key: string]: any;
};
export declare type Directive = {
name: string;
args?: DirectiveArgs;
};
export declare type Extensions = {
[key: string]: any;
directives?: Directive[];
};
//# sourceMappingURL=definitions.d.ts.map