From 0343d00d363c8575eec34df97cc590e0679544b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Rosi=C5=84ski?= Date: Sun, 10 Nov 2024 20:58:38 +0100 Subject: [PATCH] run proto2ts --- integration/grpc-js/simple.ts | 15 +++++---------- integration/nestjs-metadata-grpc-js/hero.ts | 4 ++-- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/integration/grpc-js/simple.ts b/integration/grpc-js/simple.ts index c1b084901..cecb91249 100644 --- a/integration/grpc-js/simple.ts +++ b/integration/grpc-js/simple.ts @@ -3,22 +3,17 @@ /* eslint-disable */ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; -import { - ChannelCredentials, - Client, +import { ChannelCredentials, Client, makeGenericClientConstructor, Metadata } from "@grpc/grpc-js"; +import type { + CallOptions, ClientDuplexStream, + ClientOptions, ClientReadableStream, + ClientUnaryCall, ClientWritableStream, handleBidiStreamingCall, handleClientStreamingCall, handleServerStreamingCall, - makeGenericClientConstructor, - Metadata, -} from "@grpc/grpc-js"; -import type { - CallOptions, - ClientOptions, - ClientUnaryCall, handleUnaryCall, ServiceError, UntypedServiceImplementation, diff --git a/integration/nestjs-metadata-grpc-js/hero.ts b/integration/nestjs-metadata-grpc-js/hero.ts index c0f79bfeb..ba008e03f 100644 --- a/integration/nestjs-metadata-grpc-js/hero.ts +++ b/integration/nestjs-metadata-grpc-js/hero.ts @@ -3,8 +3,8 @@ /* eslint-disable */ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; -import { handleBidiStreamingCall, Metadata } from "@grpc/grpc-js"; -import type { handleUnaryCall, UntypedServiceImplementation } from "@grpc/grpc-js"; +import { Metadata } from "@grpc/grpc-js"; +import type { handleBidiStreamingCall, handleUnaryCall, UntypedServiceImplementation } from "@grpc/grpc-js"; import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices"; import { Observable } from "rxjs";