From 434aa8343fdcbb4d5002f934979913c099489bee Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 16 Nov 2025 19:08:29 +0800 Subject: sdk, del --- .../@grpc/grpc-js/build/src/make-client.d.ts | 72 ---------------------- 1 file changed, 72 deletions(-) delete mode 100644 frontend-old/node_modules/@grpc/grpc-js/build/src/make-client.d.ts (limited to 'frontend-old/node_modules/@grpc/grpc-js/build/src/make-client.d.ts') diff --git a/frontend-old/node_modules/@grpc/grpc-js/build/src/make-client.d.ts b/frontend-old/node_modules/@grpc/grpc-js/build/src/make-client.d.ts deleted file mode 100644 index 39b59c1..0000000 --- a/frontend-old/node_modules/@grpc/grpc-js/build/src/make-client.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -/// -import { ChannelCredentials } from './channel-credentials'; -import { ChannelOptions } from './channel-options'; -import { Client } from './client'; -import { UntypedServiceImplementation } from './server'; -export interface Serialize { - (value: T): Buffer; -} -export interface Deserialize { - (bytes: Buffer): T; -} -export interface ClientMethodDefinition { - path: string; - requestStream: boolean; - responseStream: boolean; - requestSerialize: Serialize; - responseDeserialize: Deserialize; - originalName?: string; -} -export interface ServerMethodDefinition { - path: string; - requestStream: boolean; - responseStream: boolean; - responseSerialize: Serialize; - requestDeserialize: Deserialize; - originalName?: string; -} -export interface MethodDefinition extends ClientMethodDefinition, ServerMethodDefinition { -} -export type ServiceDefinition = { - readonly [index in keyof ImplementationType]: MethodDefinition; -}; -export interface ProtobufTypeDefinition { - format: string; - type: object; - fileDescriptorProtos: Buffer[]; -} -export interface PackageDefinition { - [index: string]: ServiceDefinition | ProtobufTypeDefinition; -} -export interface ServiceClient extends Client { - [methodName: string]: Function; -} -export interface ServiceClientConstructor { - new (address: string, credentials: ChannelCredentials, options?: Partial): ServiceClient; - service: ServiceDefinition; - serviceName: string; -} -/** - * Creates a constructor for a client with the given methods, as specified in - * the methods argument. The resulting class will have an instance method for - * each method in the service, which is a partial application of one of the - * [Client]{@link grpc.Client} request methods, depending on `requestSerialize` - * and `responseSerialize`, with the `method`, `serialize`, and `deserialize` - * arguments predefined. - * @param methods An object mapping method names to - * method attributes - * @param serviceName The fully qualified name of the service - * @param classOptions An options object. - * @return New client constructor, which is a subclass of - * {@link grpc.Client}, and has the same arguments as that constructor. - */ -export declare function makeClientConstructor(methods: ServiceDefinition, serviceName: string, classOptions?: {}): ServiceClientConstructor; -export interface GrpcObject { - [index: string]: GrpcObject | ServiceClientConstructor | ProtobufTypeDefinition; -} -/** - * Load a gRPC package definition as a gRPC object hierarchy. - * @param packageDef The package definition object. - * @return The resulting gRPC object. - */ -export declare function loadPackageDefinition(packageDef: PackageDefinition): GrpcObject; -- cgit v1.2.3