graphql-compose-mongoose
Version:
Plugin for `graphql-compose` which derive a graphql types from a mongoose model.
8 lines • 464 B
TypeScript
import type { NestedAliasesMap } from '../resolvers/helpers';
export declare function toMongoDottedObject(obj: Record<string, any>, aliases?: NestedAliasesMap, target?: Record<string, any>): {
[dottedPath: string]: any;
};
export declare function toMongoFilterDottedObject(obj: Record<string, any>, aliases?: NestedAliasesMap, target?: Record<string, any>, prefix?: string): {
[dottedPath: string]: any;
};
//# sourceMappingURL=toMongoDottedObject.d.ts.map