graphql-compose-mongoose
Version:
Plugin for `graphql-compose` which derive a graphql types from a mongoose model.
9 lines • 727 B
TypeScript
import type { ComposeWithMongooseOpts } from '../../composeWithMongoose';
type FieldMap = {
[fieldName: string]: string[] | typeof undefined;
};
export declare function mergeStringAndStringArraysFields(baseField?: string[] | string, childField?: string[] | string, argOptsTypes?: string[] | string): string[] | typeof undefined;
export declare function mergeFieldMaps(baseFieldMap?: FieldMap, childFieldMap?: FieldMap): FieldMap | typeof undefined;
export declare function mergeCustomizationOptions<TContext>(baseCOptions: ComposeWithMongooseOpts<TContext>, childCOptions?: ComposeWithMongooseOpts<TContext>): ComposeWithMongooseOpts<TContext> | undefined;
export {};
//# sourceMappingURL=mergeCustomizationOptions.d.ts.map