UNPKG

@omnigraph/grpc

Version:
6 lines (5 loc) 452 B
import type { SchemaComposer } from 'graphql-compose'; import type { INamespace, Root } from 'protobufjs'; export declare function addIncludePathResolver(root: Root, includePaths: string[]): void; export declare function getTypeName(schemaComposer: SchemaComposer, pathWithName: string[] | undefined, isInput: boolean): string; export declare function walkToFindTypePath(rootJson: INamespace, pathWithName: string[], baseTypePath: string[]): string[];