mirror of https://github.com/grpc/grpc-node.git
				
				
				
			proto-loader: Revert 'Import internal files with extension'
This commit is contained in:
		
							parent
							
								
									6f5a955d8c
								
							
						
					
					
						commit
						d3e16a43ea
					
				|  | @ -153,7 +153,7 @@ function getImportLine(dependency: Protobuf.Type | Protobuf.Enum | Protobuf.Serv | |||
|       throw new Error('Invalid object passed to getImportLine'); | ||||
|     } | ||||
|   } | ||||
|   return `import type { ${importedTypes} } from '${filePath}.ts';` | ||||
|   return `import type { ${importedTypes} } from '${filePath}';` | ||||
| } | ||||
| 
 | ||||
| function getChildMessagesAndEnums(namespace: Protobuf.NamespaceBase): (Protobuf.Type | Protobuf.Enum)[] { | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| import type * as grpc from '@grpc/grpc-js'; | ||||
| import type { EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader'; | ||||
| 
 | ||||
| import type { OperationsClient as _google_longrunning_OperationsClient, OperationsDefinition as _google_longrunning_OperationsDefinition } from './google/longrunning/Operations.ts'; | ||||
| import type { EchoClient as _google_showcase_v1beta1_EchoClient, EchoDefinition as _google_showcase_v1beta1_EchoDefinition } from './google/showcase/v1beta1/Echo.ts'; | ||||
| import type { OperationsClient as _google_longrunning_OperationsClient, OperationsDefinition as _google_longrunning_OperationsDefinition } from './google/longrunning/Operations'; | ||||
| import type { EchoClient as _google_showcase_v1beta1_EchoClient, EchoDefinition as _google_showcase_v1beta1_EchoDefinition } from './google/showcase/v1beta1/Echo'; | ||||
| 
 | ||||
| type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = { | ||||
|   new(...args: ConstructorParameters<Constructor>): Subtype; | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: deps/googleapis/google/api/http.proto
 | ||||
| 
 | ||||
| import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule.ts'; | ||||
| import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule'; | ||||
| 
 | ||||
| /** | ||||
|  * Defines the HTTP configuration for an API service. It contains a list of | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| // Original file: deps/googleapis/google/api/http.proto
 | ||||
| 
 | ||||
| import type { ICustomHttpPattern as I_google_api_CustomHttpPattern, OCustomHttpPattern as O_google_api_CustomHttpPattern } from '../../google/api/CustomHttpPattern.ts'; | ||||
| import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule.ts'; | ||||
| import type { ICustomHttpPattern as I_google_api_CustomHttpPattern, OCustomHttpPattern as O_google_api_CustomHttpPattern } from '../../google/api/CustomHttpPattern'; | ||||
| import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule'; | ||||
| 
 | ||||
| /** | ||||
|  * # gRPC Transcoding | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: deps/googleapis/google/longrunning/operations.proto
 | ||||
| 
 | ||||
| import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../google/longrunning/Operation.ts'; | ||||
| import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../google/longrunning/Operation'; | ||||
| 
 | ||||
| /** | ||||
|  * The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| // Original file: deps/googleapis/google/longrunning/operations.proto
 | ||||
| 
 | ||||
| import type { IAny as I_google_protobuf_Any, OAny as O_google_protobuf_Any } from '../../google/protobuf/Any.ts'; | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../google/rpc/Status.ts'; | ||||
| import type { IAny as I_google_protobuf_Any, OAny as O_google_protobuf_Any } from '../../google/protobuf/Any'; | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../google/rpc/Status'; | ||||
| 
 | ||||
| /** | ||||
|  * This resource represents a long-running operation that is the result of a | ||||
|  |  | |||
|  | @ -2,14 +2,14 @@ | |||
| 
 | ||||
| import type * as grpc from '@grpc/grpc-js' | ||||
| import type { MethodDefinition } from '@grpc/proto-loader' | ||||
| import type { ICancelOperationRequest as I_google_longrunning_CancelOperationRequest, OCancelOperationRequest as O_google_longrunning_CancelOperationRequest } from '../../google/longrunning/CancelOperationRequest.ts'; | ||||
| import type { IDeleteOperationRequest as I_google_longrunning_DeleteOperationRequest, ODeleteOperationRequest as O_google_longrunning_DeleteOperationRequest } from '../../google/longrunning/DeleteOperationRequest.ts'; | ||||
| import type { IEmpty as I_google_protobuf_Empty, OEmpty as O_google_protobuf_Empty } from '../../google/protobuf/Empty.ts'; | ||||
| import type { IGetOperationRequest as I_google_longrunning_GetOperationRequest, OGetOperationRequest as O_google_longrunning_GetOperationRequest } from '../../google/longrunning/GetOperationRequest.ts'; | ||||
| import type { IListOperationsRequest as I_google_longrunning_ListOperationsRequest, OListOperationsRequest as O_google_longrunning_ListOperationsRequest } from '../../google/longrunning/ListOperationsRequest.ts'; | ||||
| import type { IListOperationsResponse as I_google_longrunning_ListOperationsResponse, OListOperationsResponse as O_google_longrunning_ListOperationsResponse } from '../../google/longrunning/ListOperationsResponse.ts'; | ||||
| import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../google/longrunning/Operation.ts'; | ||||
| import type { IWaitOperationRequest as I_google_longrunning_WaitOperationRequest, OWaitOperationRequest as O_google_longrunning_WaitOperationRequest } from '../../google/longrunning/WaitOperationRequest.ts'; | ||||
| import type { ICancelOperationRequest as I_google_longrunning_CancelOperationRequest, OCancelOperationRequest as O_google_longrunning_CancelOperationRequest } from '../../google/longrunning/CancelOperationRequest'; | ||||
| import type { IDeleteOperationRequest as I_google_longrunning_DeleteOperationRequest, ODeleteOperationRequest as O_google_longrunning_DeleteOperationRequest } from '../../google/longrunning/DeleteOperationRequest'; | ||||
| import type { IEmpty as I_google_protobuf_Empty, OEmpty as O_google_protobuf_Empty } from '../../google/protobuf/Empty'; | ||||
| import type { IGetOperationRequest as I_google_longrunning_GetOperationRequest, OGetOperationRequest as O_google_longrunning_GetOperationRequest } from '../../google/longrunning/GetOperationRequest'; | ||||
| import type { IListOperationsRequest as I_google_longrunning_ListOperationsRequest, OListOperationsRequest as O_google_longrunning_ListOperationsRequest } from '../../google/longrunning/ListOperationsRequest'; | ||||
| import type { IListOperationsResponse as I_google_longrunning_ListOperationsResponse, OListOperationsResponse as O_google_longrunning_ListOperationsResponse } from '../../google/longrunning/ListOperationsResponse'; | ||||
| import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../google/longrunning/Operation'; | ||||
| import type { IWaitOperationRequest as I_google_longrunning_WaitOperationRequest, OWaitOperationRequest as O_google_longrunning_WaitOperationRequest } from '../../google/longrunning/WaitOperationRequest'; | ||||
| 
 | ||||
| /** | ||||
|  * Manages long-running operations with an API service. | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: deps/googleapis/google/longrunning/operations.proto
 | ||||
| 
 | ||||
| import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../google/protobuf/Duration.ts'; | ||||
| import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../google/protobuf/Duration'; | ||||
| 
 | ||||
| /** | ||||
|  * The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. | ||||
|  |  | |||
|  | @ -1,10 +1,10 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IFieldDescriptorProto as I_google_protobuf_FieldDescriptorProto, OFieldDescriptorProto as O_google_protobuf_FieldDescriptorProto } from '../../google/protobuf/FieldDescriptorProto.ts'; | ||||
| import type { IDescriptorProto as I_google_protobuf_DescriptorProto, ODescriptorProto as O_google_protobuf_DescriptorProto } from '../../google/protobuf/DescriptorProto.ts'; | ||||
| import type { IEnumDescriptorProto as I_google_protobuf_EnumDescriptorProto, OEnumDescriptorProto as O_google_protobuf_EnumDescriptorProto } from '../../google/protobuf/EnumDescriptorProto.ts'; | ||||
| import type { IMessageOptions as I_google_protobuf_MessageOptions, OMessageOptions as O_google_protobuf_MessageOptions } from '../../google/protobuf/MessageOptions.ts'; | ||||
| import type { IOneofDescriptorProto as I_google_protobuf_OneofDescriptorProto, OOneofDescriptorProto as O_google_protobuf_OneofDescriptorProto } from '../../google/protobuf/OneofDescriptorProto.ts'; | ||||
| import type { IFieldDescriptorProto as I_google_protobuf_FieldDescriptorProto, OFieldDescriptorProto as O_google_protobuf_FieldDescriptorProto } from '../../google/protobuf/FieldDescriptorProto'; | ||||
| import type { IDescriptorProto as I_google_protobuf_DescriptorProto, ODescriptorProto as O_google_protobuf_DescriptorProto } from '../../google/protobuf/DescriptorProto'; | ||||
| import type { IEnumDescriptorProto as I_google_protobuf_EnumDescriptorProto, OEnumDescriptorProto as O_google_protobuf_EnumDescriptorProto } from '../../google/protobuf/EnumDescriptorProto'; | ||||
| import type { IMessageOptions as I_google_protobuf_MessageOptions, OMessageOptions as O_google_protobuf_MessageOptions } from '../../google/protobuf/MessageOptions'; | ||||
| import type { IOneofDescriptorProto as I_google_protobuf_OneofDescriptorProto, OOneofDescriptorProto as O_google_protobuf_OneofDescriptorProto } from '../../google/protobuf/OneofDescriptorProto'; | ||||
| 
 | ||||
| export interface I_google_protobuf_DescriptorProto_ExtensionRange { | ||||
|   'start'?: (number); | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IEnumValueDescriptorProto as I_google_protobuf_EnumValueDescriptorProto, OEnumValueDescriptorProto as O_google_protobuf_EnumValueDescriptorProto } from '../../google/protobuf/EnumValueDescriptorProto.ts'; | ||||
| import type { IEnumOptions as I_google_protobuf_EnumOptions, OEnumOptions as O_google_protobuf_EnumOptions } from '../../google/protobuf/EnumOptions.ts'; | ||||
| import type { IEnumValueDescriptorProto as I_google_protobuf_EnumValueDescriptorProto, OEnumValueDescriptorProto as O_google_protobuf_EnumValueDescriptorProto } from '../../google/protobuf/EnumValueDescriptorProto'; | ||||
| import type { IEnumOptions as I_google_protobuf_EnumOptions, OEnumOptions as O_google_protobuf_EnumOptions } from '../../google/protobuf/EnumOptions'; | ||||
| 
 | ||||
| export interface IEnumDescriptorProto { | ||||
|   'name'?: (string); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption.ts'; | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption'; | ||||
| 
 | ||||
| export interface IEnumOptions { | ||||
|   'allowAlias'?: (boolean); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IEnumValueOptions as I_google_protobuf_EnumValueOptions, OEnumValueOptions as O_google_protobuf_EnumValueOptions } from '../../google/protobuf/EnumValueOptions.ts'; | ||||
| import type { IEnumValueOptions as I_google_protobuf_EnumValueOptions, OEnumValueOptions as O_google_protobuf_EnumValueOptions } from '../../google/protobuf/EnumValueOptions'; | ||||
| 
 | ||||
| export interface IEnumValueDescriptorProto { | ||||
|   'name'?: (string); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption.ts'; | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption'; | ||||
| 
 | ||||
| export interface IEnumValueOptions { | ||||
|   'deprecated'?: (boolean); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IFieldOptions as I_google_protobuf_FieldOptions, OFieldOptions as O_google_protobuf_FieldOptions } from '../../google/protobuf/FieldOptions.ts'; | ||||
| import type { IFieldOptions as I_google_protobuf_FieldOptions, OFieldOptions as O_google_protobuf_FieldOptions } from '../../google/protobuf/FieldOptions'; | ||||
| 
 | ||||
| // Original file: null
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption.ts'; | ||||
| import type { IFieldBehavior as I_google_api_FieldBehavior, OFieldBehavior as O_google_api_FieldBehavior } from '../../google/api/FieldBehavior.ts'; | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption'; | ||||
| import type { IFieldBehavior as I_google_api_FieldBehavior, OFieldBehavior as O_google_api_FieldBehavior } from '../../google/api/FieldBehavior'; | ||||
| 
 | ||||
| // Original file: null
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,11 +1,11 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IDescriptorProto as I_google_protobuf_DescriptorProto, ODescriptorProto as O_google_protobuf_DescriptorProto } from '../../google/protobuf/DescriptorProto.ts'; | ||||
| import type { IEnumDescriptorProto as I_google_protobuf_EnumDescriptorProto, OEnumDescriptorProto as O_google_protobuf_EnumDescriptorProto } from '../../google/protobuf/EnumDescriptorProto.ts'; | ||||
| import type { IServiceDescriptorProto as I_google_protobuf_ServiceDescriptorProto, OServiceDescriptorProto as O_google_protobuf_ServiceDescriptorProto } from '../../google/protobuf/ServiceDescriptorProto.ts'; | ||||
| import type { IFieldDescriptorProto as I_google_protobuf_FieldDescriptorProto, OFieldDescriptorProto as O_google_protobuf_FieldDescriptorProto } from '../../google/protobuf/FieldDescriptorProto.ts'; | ||||
| import type { IFileOptions as I_google_protobuf_FileOptions, OFileOptions as O_google_protobuf_FileOptions } from '../../google/protobuf/FileOptions.ts'; | ||||
| import type { ISourceCodeInfo as I_google_protobuf_SourceCodeInfo, OSourceCodeInfo as O_google_protobuf_SourceCodeInfo } from '../../google/protobuf/SourceCodeInfo.ts'; | ||||
| import type { IDescriptorProto as I_google_protobuf_DescriptorProto, ODescriptorProto as O_google_protobuf_DescriptorProto } from '../../google/protobuf/DescriptorProto'; | ||||
| import type { IEnumDescriptorProto as I_google_protobuf_EnumDescriptorProto, OEnumDescriptorProto as O_google_protobuf_EnumDescriptorProto } from '../../google/protobuf/EnumDescriptorProto'; | ||||
| import type { IServiceDescriptorProto as I_google_protobuf_ServiceDescriptorProto, OServiceDescriptorProto as O_google_protobuf_ServiceDescriptorProto } from '../../google/protobuf/ServiceDescriptorProto'; | ||||
| import type { IFieldDescriptorProto as I_google_protobuf_FieldDescriptorProto, OFieldDescriptorProto as O_google_protobuf_FieldDescriptorProto } from '../../google/protobuf/FieldDescriptorProto'; | ||||
| import type { IFileOptions as I_google_protobuf_FileOptions, OFileOptions as O_google_protobuf_FileOptions } from '../../google/protobuf/FileOptions'; | ||||
| import type { ISourceCodeInfo as I_google_protobuf_SourceCodeInfo, OSourceCodeInfo as O_google_protobuf_SourceCodeInfo } from '../../google/protobuf/SourceCodeInfo'; | ||||
| 
 | ||||
| export interface IFileDescriptorProto { | ||||
|   'name'?: (string); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IFileDescriptorProto as I_google_protobuf_FileDescriptorProto, OFileDescriptorProto as O_google_protobuf_FileDescriptorProto } from '../../google/protobuf/FileDescriptorProto.ts'; | ||||
| import type { IFileDescriptorProto as I_google_protobuf_FileDescriptorProto, OFileDescriptorProto as O_google_protobuf_FileDescriptorProto } from '../../google/protobuf/FileDescriptorProto'; | ||||
| 
 | ||||
| export interface IFileDescriptorSet { | ||||
|   'file'?: (I_google_protobuf_FileDescriptorProto)[]; | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption.ts'; | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption'; | ||||
| 
 | ||||
| // Original file: null
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption.ts'; | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption'; | ||||
| 
 | ||||
| export interface IMessageOptions { | ||||
|   'messageSetWireFormat'?: (boolean); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IMethodOptions as I_google_protobuf_MethodOptions, OMethodOptions as O_google_protobuf_MethodOptions } from '../../google/protobuf/MethodOptions.ts'; | ||||
| import type { IMethodOptions as I_google_protobuf_MethodOptions, OMethodOptions as O_google_protobuf_MethodOptions } from '../../google/protobuf/MethodOptions'; | ||||
| 
 | ||||
| export interface IMethodDescriptorProto { | ||||
|   'name'?: (string); | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption.ts'; | ||||
| import type { IOperationInfo as I_google_longrunning_OperationInfo, OOperationInfo as O_google_longrunning_OperationInfo } from '../../google/longrunning/OperationInfo.ts'; | ||||
| import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule.ts'; | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption'; | ||||
| import type { IOperationInfo as I_google_longrunning_OperationInfo, OOperationInfo as O_google_longrunning_OperationInfo } from '../../google/longrunning/OperationInfo'; | ||||
| import type { IHttpRule as I_google_api_HttpRule, OHttpRule as O_google_api_HttpRule } from '../../google/api/HttpRule'; | ||||
| 
 | ||||
| export interface IMethodOptions { | ||||
|   'deprecated'?: (boolean); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IOneofOptions as I_google_protobuf_OneofOptions, OOneofOptions as O_google_protobuf_OneofOptions } from '../../google/protobuf/OneofOptions.ts'; | ||||
| import type { IOneofOptions as I_google_protobuf_OneofOptions, OOneofOptions as O_google_protobuf_OneofOptions } from '../../google/protobuf/OneofOptions'; | ||||
| 
 | ||||
| export interface IOneofDescriptorProto { | ||||
|   'name'?: (string); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption.ts'; | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption'; | ||||
| 
 | ||||
| export interface IOneofOptions { | ||||
|   'uninterpretedOption'?: (I_google_protobuf_UninterpretedOption)[]; | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IMethodDescriptorProto as I_google_protobuf_MethodDescriptorProto, OMethodDescriptorProto as O_google_protobuf_MethodDescriptorProto } from '../../google/protobuf/MethodDescriptorProto.ts'; | ||||
| import type { IServiceOptions as I_google_protobuf_ServiceOptions, OServiceOptions as O_google_protobuf_ServiceOptions } from '../../google/protobuf/ServiceOptions.ts'; | ||||
| import type { IMethodDescriptorProto as I_google_protobuf_MethodDescriptorProto, OMethodDescriptorProto as O_google_protobuf_MethodDescriptorProto } from '../../google/protobuf/MethodDescriptorProto'; | ||||
| import type { IServiceOptions as I_google_protobuf_ServiceOptions, OServiceOptions as O_google_protobuf_ServiceOptions } from '../../google/protobuf/ServiceOptions'; | ||||
| 
 | ||||
| export interface IServiceDescriptorProto { | ||||
|   'name'?: (string); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: null
 | ||||
| 
 | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption.ts'; | ||||
| import type { IUninterpretedOption as I_google_protobuf_UninterpretedOption, OUninterpretedOption as O_google_protobuf_UninterpretedOption } from '../../google/protobuf/UninterpretedOption'; | ||||
| 
 | ||||
| export interface IServiceOptions { | ||||
|   'deprecated'?: (boolean); | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: deps/googleapis/google/rpc/status.proto
 | ||||
| 
 | ||||
| import type { IAny as I_google_protobuf_Any, OAny as O_google_protobuf_Any } from '../../google/protobuf/Any.ts'; | ||||
| import type { IAny as I_google_protobuf_Any, OAny as O_google_protobuf_Any } from '../../google/protobuf/Any'; | ||||
| 
 | ||||
| /** | ||||
|  * The `Status` type defines a logical error model that is suitable for | ||||
|  |  | |||
|  | @ -1,8 +1,8 @@ | |||
| // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
 | ||||
| 
 | ||||
| import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../../google/protobuf/Duration.ts'; | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status.ts'; | ||||
| import type { IBlockResponse as I_google_showcase_v1beta1_BlockResponse, OBlockResponse as O_google_showcase_v1beta1_BlockResponse } from '../../../google/showcase/v1beta1/BlockResponse.ts'; | ||||
| import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../../google/protobuf/Duration'; | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status'; | ||||
| import type { IBlockResponse as I_google_showcase_v1beta1_BlockResponse, OBlockResponse as O_google_showcase_v1beta1_BlockResponse } from '../../../google/showcase/v1beta1/BlockResponse'; | ||||
| 
 | ||||
| /** | ||||
|  * The request for Block method. | ||||
|  |  | |||
|  | @ -2,15 +2,15 @@ | |||
| 
 | ||||
| import type * as grpc from '@grpc/grpc-js' | ||||
| import type { MethodDefinition } from '@grpc/proto-loader' | ||||
| import type { IBlockRequest as I_google_showcase_v1beta1_BlockRequest, OBlockRequest as O_google_showcase_v1beta1_BlockRequest } from '../../../google/showcase/v1beta1/BlockRequest.ts'; | ||||
| import type { IBlockResponse as I_google_showcase_v1beta1_BlockResponse, OBlockResponse as O_google_showcase_v1beta1_BlockResponse } from '../../../google/showcase/v1beta1/BlockResponse.ts'; | ||||
| import type { IEchoRequest as I_google_showcase_v1beta1_EchoRequest, OEchoRequest as O_google_showcase_v1beta1_EchoRequest } from '../../../google/showcase/v1beta1/EchoRequest.ts'; | ||||
| import type { IEchoResponse as I_google_showcase_v1beta1_EchoResponse, OEchoResponse as O_google_showcase_v1beta1_EchoResponse } from '../../../google/showcase/v1beta1/EchoResponse.ts'; | ||||
| import type { IExpandRequest as I_google_showcase_v1beta1_ExpandRequest, OExpandRequest as O_google_showcase_v1beta1_ExpandRequest } from '../../../google/showcase/v1beta1/ExpandRequest.ts'; | ||||
| import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../../google/longrunning/Operation.ts'; | ||||
| import type { IPagedExpandRequest as I_google_showcase_v1beta1_PagedExpandRequest, OPagedExpandRequest as O_google_showcase_v1beta1_PagedExpandRequest } from '../../../google/showcase/v1beta1/PagedExpandRequest.ts'; | ||||
| import type { IPagedExpandResponse as I_google_showcase_v1beta1_PagedExpandResponse, OPagedExpandResponse as O_google_showcase_v1beta1_PagedExpandResponse } from '../../../google/showcase/v1beta1/PagedExpandResponse.ts'; | ||||
| import type { IWaitRequest as I_google_showcase_v1beta1_WaitRequest, OWaitRequest as O_google_showcase_v1beta1_WaitRequest } from '../../../google/showcase/v1beta1/WaitRequest.ts'; | ||||
| import type { IBlockRequest as I_google_showcase_v1beta1_BlockRequest, OBlockRequest as O_google_showcase_v1beta1_BlockRequest } from '../../../google/showcase/v1beta1/BlockRequest'; | ||||
| import type { IBlockResponse as I_google_showcase_v1beta1_BlockResponse, OBlockResponse as O_google_showcase_v1beta1_BlockResponse } from '../../../google/showcase/v1beta1/BlockResponse'; | ||||
| import type { IEchoRequest as I_google_showcase_v1beta1_EchoRequest, OEchoRequest as O_google_showcase_v1beta1_EchoRequest } from '../../../google/showcase/v1beta1/EchoRequest'; | ||||
| import type { IEchoResponse as I_google_showcase_v1beta1_EchoResponse, OEchoResponse as O_google_showcase_v1beta1_EchoResponse } from '../../../google/showcase/v1beta1/EchoResponse'; | ||||
| import type { IExpandRequest as I_google_showcase_v1beta1_ExpandRequest, OExpandRequest as O_google_showcase_v1beta1_ExpandRequest } from '../../../google/showcase/v1beta1/ExpandRequest'; | ||||
| import type { IOperation as I_google_longrunning_Operation, OOperation as O_google_longrunning_Operation } from '../../../google/longrunning/Operation'; | ||||
| import type { IPagedExpandRequest as I_google_showcase_v1beta1_PagedExpandRequest, OPagedExpandRequest as O_google_showcase_v1beta1_PagedExpandRequest } from '../../../google/showcase/v1beta1/PagedExpandRequest'; | ||||
| import type { IPagedExpandResponse as I_google_showcase_v1beta1_PagedExpandResponse, OPagedExpandResponse as O_google_showcase_v1beta1_PagedExpandResponse } from '../../../google/showcase/v1beta1/PagedExpandResponse'; | ||||
| import type { IWaitRequest as I_google_showcase_v1beta1_WaitRequest, OWaitRequest as O_google_showcase_v1beta1_WaitRequest } from '../../../google/showcase/v1beta1/WaitRequest'; | ||||
| 
 | ||||
| /** | ||||
|  * This service is used showcase the four main types of rpcs - unary, server | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
 | ||||
| 
 | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status.ts'; | ||||
| import type { ISeverity as I_google_showcase_v1beta1_Severity, OSeverity as O_google_showcase_v1beta1_Severity } from '../../../google/showcase/v1beta1/Severity.ts'; | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status'; | ||||
| import type { ISeverity as I_google_showcase_v1beta1_Severity, OSeverity as O_google_showcase_v1beta1_Severity } from '../../../google/showcase/v1beta1/Severity'; | ||||
| 
 | ||||
| /** | ||||
|  * The request message used for the Echo, Collect and Chat methods. | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
 | ||||
| 
 | ||||
| import type { ISeverity as I_google_showcase_v1beta1_Severity, OSeverity as O_google_showcase_v1beta1_Severity } from '../../../google/showcase/v1beta1/Severity.ts'; | ||||
| import type { ISeverity as I_google_showcase_v1beta1_Severity, OSeverity as O_google_showcase_v1beta1_Severity } from '../../../google/showcase/v1beta1/Severity'; | ||||
| 
 | ||||
| /** | ||||
|  * The response message for the Echo methods. | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
 | ||||
| 
 | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status.ts'; | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status'; | ||||
| 
 | ||||
| /** | ||||
|  * The request message for the Expand method. | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
 | ||||
| 
 | ||||
| import type { IEchoResponse as I_google_showcase_v1beta1_EchoResponse, OEchoResponse as O_google_showcase_v1beta1_EchoResponse } from '../../../google/showcase/v1beta1/EchoResponse.ts'; | ||||
| import type { IEchoResponse as I_google_showcase_v1beta1_EchoResponse, OEchoResponse as O_google_showcase_v1beta1_EchoResponse } from '../../../google/showcase/v1beta1/EchoResponse'; | ||||
| 
 | ||||
| /** | ||||
|  * The response for the PagedExpand method. | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
 | ||||
| 
 | ||||
| import type { ITimestamp as I_google_protobuf_Timestamp, OTimestamp as O_google_protobuf_Timestamp } from '../../../google/protobuf/Timestamp.ts'; | ||||
| import type { ITimestamp as I_google_protobuf_Timestamp, OTimestamp as O_google_protobuf_Timestamp } from '../../../google/protobuf/Timestamp'; | ||||
| 
 | ||||
| /** | ||||
|  * The metadata for Wait operation. | ||||
|  |  | |||
|  | @ -1,9 +1,9 @@ | |||
| // Original file: deps/gapic-showcase/schema/google/showcase/v1beta1/echo.proto
 | ||||
| 
 | ||||
| import type { ITimestamp as I_google_protobuf_Timestamp, OTimestamp as O_google_protobuf_Timestamp } from '../../../google/protobuf/Timestamp.ts'; | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status.ts'; | ||||
| import type { IWaitResponse as I_google_showcase_v1beta1_WaitResponse, OWaitResponse as O_google_showcase_v1beta1_WaitResponse } from '../../../google/showcase/v1beta1/WaitResponse.ts'; | ||||
| import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../../google/protobuf/Duration.ts'; | ||||
| import type { ITimestamp as I_google_protobuf_Timestamp, OTimestamp as O_google_protobuf_Timestamp } from '../../../google/protobuf/Timestamp'; | ||||
| import type { IStatus as I_google_rpc_Status, OStatus as O_google_rpc_Status } from '../../../google/rpc/Status'; | ||||
| import type { IWaitResponse as I_google_showcase_v1beta1_WaitResponse, OWaitResponse as O_google_showcase_v1beta1_WaitResponse } from '../../../google/showcase/v1beta1/WaitResponse'; | ||||
| import type { IDuration as I_google_protobuf_Duration, ODuration as O_google_protobuf_Duration } from '../../../google/protobuf/Duration'; | ||||
| 
 | ||||
| /** | ||||
|  * The request for Wait method. | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| { | ||||
|   "name": "@grpc/proto-loader", | ||||
|   "version": "0.7.11", | ||||
|   "version": "0.7.12", | ||||
|   "author": "Google Inc.", | ||||
|   "contributors": [ | ||||
|     { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue