UNPKG

nestjs-protobuf-es

Version:

Protobuf-ES integration for NestJS

8 lines (7 loc) 409 B
import { type DescFile, type DescService } from '@bufbuild/protobuf'; import type { ServiceDefinition } from '@grpc/grpc-js'; import type { MessagePopulationOptions } from './types'; /** * Generates grpc service definitions. */ export declare function generateGrpcServices(input: (DescFile | DescService) | (DescFile | DescService)[], options?: MessagePopulationOptions): Record<string, ServiceDefinition>;