7
7
import * as grpc from "@grpc/grpc-js" ;
8
8
import { handleClientStreamingCall } from "@grpc/grpc-js/build/src/server-call" ;
9
9
import * as cc_arduino_cli_commands_v1_commands_pb from "../../../../../cc/arduino/cli/commands/v1/commands_pb" ;
10
+ import * as google_rpc_status_pb from "../../../../../google/rpc/status_pb" ;
10
11
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb" ;
11
12
import * as cc_arduino_cli_commands_v1_board_pb from "../../../../../cc/arduino/cli/commands/v1/board_pb" ;
12
13
import * as cc_arduino_cli_commands_v1_compile_pb from "../../../../../cc/arduino/cli/commands/v1/compile_pb" ;
@@ -15,9 +16,9 @@ import * as cc_arduino_cli_commands_v1_upload_pb from "../../../../../cc/arduino
15
16
import * as cc_arduino_cli_commands_v1_lib_pb from "../../../../../cc/arduino/cli/commands/v1/lib_pb" ;
16
17
17
18
interface IArduinoCoreServiceService extends grpc . ServiceDefinition < grpc . UntypedServiceImplementation > {
19
+ create : IArduinoCoreServiceService_ICreate ;
18
20
init : IArduinoCoreServiceService_IInit ;
19
21
destroy : IArduinoCoreServiceService_IDestroy ;
20
- rescan : IArduinoCoreServiceService_IRescan ;
21
22
updateIndex : IArduinoCoreServiceService_IUpdateIndex ;
22
23
updateLibrariesIndex : IArduinoCoreServiceService_IUpdateLibrariesIndex ;
23
24
updateCoreLibrariesIndex : IArduinoCoreServiceService_IUpdateCoreLibrariesIndex ;
@@ -54,6 +55,15 @@ interface IArduinoCoreServiceService extends grpc.ServiceDefinition<grpc.Untyped
54
55
libraryList : IArduinoCoreServiceService_ILibraryList ;
55
56
}
56
57
58
+ interface IArduinoCoreServiceService_ICreate extends grpc . MethodDefinition < cc_arduino_cli_commands_v1_commands_pb . CreateRequest , cc_arduino_cli_commands_v1_commands_pb . CreateResponse > {
59
+ path : "/cc.arduino.cli.commands.v1.ArduinoCoreService/Create" ;
60
+ requestStream : false ;
61
+ responseStream : false ;
62
+ requestSerialize : grpc . serialize < cc_arduino_cli_commands_v1_commands_pb . CreateRequest > ;
63
+ requestDeserialize : grpc . deserialize < cc_arduino_cli_commands_v1_commands_pb . CreateRequest > ;
64
+ responseSerialize : grpc . serialize < cc_arduino_cli_commands_v1_commands_pb . CreateResponse > ;
65
+ responseDeserialize : grpc . deserialize < cc_arduino_cli_commands_v1_commands_pb . CreateResponse > ;
66
+ }
57
67
interface IArduinoCoreServiceService_IInit extends grpc . MethodDefinition < cc_arduino_cli_commands_v1_commands_pb . InitRequest , cc_arduino_cli_commands_v1_commands_pb . InitResponse > {
58
68
path : "/cc.arduino.cli.commands.v1.ArduinoCoreService/Init" ;
59
69
requestStream : false ;
@@ -72,15 +82,6 @@ interface IArduinoCoreServiceService_IDestroy extends grpc.MethodDefinition<cc_a
72
82
responseSerialize : grpc . serialize < cc_arduino_cli_commands_v1_commands_pb . DestroyResponse > ;
73
83
responseDeserialize : grpc . deserialize < cc_arduino_cli_commands_v1_commands_pb . DestroyResponse > ;
74
84
}
75
- interface IArduinoCoreServiceService_IRescan extends grpc . MethodDefinition < cc_arduino_cli_commands_v1_commands_pb . RescanRequest , cc_arduino_cli_commands_v1_commands_pb . RescanResponse > {
76
- path : "/cc.arduino.cli.commands.v1.ArduinoCoreService/Rescan" ;
77
- requestStream : false ;
78
- responseStream : false ;
79
- requestSerialize : grpc . serialize < cc_arduino_cli_commands_v1_commands_pb . RescanRequest > ;
80
- requestDeserialize : grpc . deserialize < cc_arduino_cli_commands_v1_commands_pb . RescanRequest > ;
81
- responseSerialize : grpc . serialize < cc_arduino_cli_commands_v1_commands_pb . RescanResponse > ;
82
- responseDeserialize : grpc . deserialize < cc_arduino_cli_commands_v1_commands_pb . RescanResponse > ;
83
- }
84
85
interface IArduinoCoreServiceService_IUpdateIndex extends grpc . MethodDefinition < cc_arduino_cli_commands_v1_commands_pb . UpdateIndexRequest , cc_arduino_cli_commands_v1_commands_pb . UpdateIndexResponse > {
85
86
path : "/cc.arduino.cli.commands.v1.ArduinoCoreService/UpdateIndex" ;
86
87
requestStream : false ;
@@ -391,9 +392,9 @@ interface IArduinoCoreServiceService_ILibraryList extends grpc.MethodDefinition<
391
392
export const ArduinoCoreServiceService : IArduinoCoreServiceService ;
392
393
393
394
export interface IArduinoCoreServiceServer {
395
+ create : grpc . handleUnaryCall < cc_arduino_cli_commands_v1_commands_pb . CreateRequest , cc_arduino_cli_commands_v1_commands_pb . CreateResponse > ;
394
396
init : grpc . handleServerStreamingCall < cc_arduino_cli_commands_v1_commands_pb . InitRequest , cc_arduino_cli_commands_v1_commands_pb . InitResponse > ;
395
397
destroy : grpc . handleUnaryCall < cc_arduino_cli_commands_v1_commands_pb . DestroyRequest , cc_arduino_cli_commands_v1_commands_pb . DestroyResponse > ;
396
- rescan : grpc . handleUnaryCall < cc_arduino_cli_commands_v1_commands_pb . RescanRequest , cc_arduino_cli_commands_v1_commands_pb . RescanResponse > ;
397
398
updateIndex : grpc . handleServerStreamingCall < cc_arduino_cli_commands_v1_commands_pb . UpdateIndexRequest , cc_arduino_cli_commands_v1_commands_pb . UpdateIndexResponse > ;
398
399
updateLibrariesIndex : grpc . handleServerStreamingCall < cc_arduino_cli_commands_v1_commands_pb . UpdateLibrariesIndexRequest , cc_arduino_cli_commands_v1_commands_pb . UpdateLibrariesIndexResponse > ;
399
400
updateCoreLibrariesIndex : grpc . handleServerStreamingCall < cc_arduino_cli_commands_v1_commands_pb . UpdateCoreLibrariesIndexRequest , cc_arduino_cli_commands_v1_commands_pb . UpdateCoreLibrariesIndexResponse > ;
@@ -431,14 +432,14 @@ export interface IArduinoCoreServiceServer {
431
432
}
432
433
433
434
export interface IArduinoCoreServiceClient {
435
+ create ( request : cc_arduino_cli_commands_v1_commands_pb . CreateRequest , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . CreateResponse ) => void ) : grpc . ClientUnaryCall ;
436
+ create ( request : cc_arduino_cli_commands_v1_commands_pb . CreateRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . CreateResponse ) => void ) : grpc . ClientUnaryCall ;
437
+ create ( request : cc_arduino_cli_commands_v1_commands_pb . CreateRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . CreateResponse ) => void ) : grpc . ClientUnaryCall ;
434
438
init ( request : cc_arduino_cli_commands_v1_commands_pb . InitRequest , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . InitResponse > ;
435
439
init ( request : cc_arduino_cli_commands_v1_commands_pb . InitRequest , metadata ?: grpc . Metadata , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . InitResponse > ;
436
440
destroy ( request : cc_arduino_cli_commands_v1_commands_pb . DestroyRequest , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . DestroyResponse ) => void ) : grpc . ClientUnaryCall ;
437
441
destroy ( request : cc_arduino_cli_commands_v1_commands_pb . DestroyRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . DestroyResponse ) => void ) : grpc . ClientUnaryCall ;
438
442
destroy ( request : cc_arduino_cli_commands_v1_commands_pb . DestroyRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . DestroyResponse ) => void ) : grpc . ClientUnaryCall ;
439
- rescan ( request : cc_arduino_cli_commands_v1_commands_pb . RescanRequest , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . RescanResponse ) => void ) : grpc . ClientUnaryCall ;
440
- rescan ( request : cc_arduino_cli_commands_v1_commands_pb . RescanRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . RescanResponse ) => void ) : grpc . ClientUnaryCall ;
441
- rescan ( request : cc_arduino_cli_commands_v1_commands_pb . RescanRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . RescanResponse ) => void ) : grpc . ClientUnaryCall ;
442
443
updateIndex ( request : cc_arduino_cli_commands_v1_commands_pb . UpdateIndexRequest , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . UpdateIndexResponse > ;
443
444
updateIndex ( request : cc_arduino_cli_commands_v1_commands_pb . UpdateIndexRequest , metadata ?: grpc . Metadata , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . UpdateIndexResponse > ;
444
445
updateLibrariesIndex ( request : cc_arduino_cli_commands_v1_commands_pb . UpdateLibrariesIndexRequest , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . UpdateLibrariesIndexResponse > ;
@@ -526,14 +527,14 @@ export interface IArduinoCoreServiceClient {
526
527
527
528
export class ArduinoCoreServiceClient extends grpc . Client implements IArduinoCoreServiceClient {
528
529
constructor ( address : string , credentials : grpc . ChannelCredentials , options ?: Partial < grpc . ClientOptions > ) ;
530
+ public create ( request : cc_arduino_cli_commands_v1_commands_pb . CreateRequest , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . CreateResponse ) => void ) : grpc . ClientUnaryCall ;
531
+ public create ( request : cc_arduino_cli_commands_v1_commands_pb . CreateRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . CreateResponse ) => void ) : grpc . ClientUnaryCall ;
532
+ public create ( request : cc_arduino_cli_commands_v1_commands_pb . CreateRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . CreateResponse ) => void ) : grpc . ClientUnaryCall ;
529
533
public init ( request : cc_arduino_cli_commands_v1_commands_pb . InitRequest , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . InitResponse > ;
530
534
public init ( request : cc_arduino_cli_commands_v1_commands_pb . InitRequest , metadata ?: grpc . Metadata , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . InitResponse > ;
531
535
public destroy ( request : cc_arduino_cli_commands_v1_commands_pb . DestroyRequest , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . DestroyResponse ) => void ) : grpc . ClientUnaryCall ;
532
536
public destroy ( request : cc_arduino_cli_commands_v1_commands_pb . DestroyRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . DestroyResponse ) => void ) : grpc . ClientUnaryCall ;
533
537
public destroy ( request : cc_arduino_cli_commands_v1_commands_pb . DestroyRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . DestroyResponse ) => void ) : grpc . ClientUnaryCall ;
534
- public rescan ( request : cc_arduino_cli_commands_v1_commands_pb . RescanRequest , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . RescanResponse ) => void ) : grpc . ClientUnaryCall ;
535
- public rescan ( request : cc_arduino_cli_commands_v1_commands_pb . RescanRequest , metadata : grpc . Metadata , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . RescanResponse ) => void ) : grpc . ClientUnaryCall ;
536
- public rescan ( request : cc_arduino_cli_commands_v1_commands_pb . RescanRequest , metadata : grpc . Metadata , options : Partial < grpc . CallOptions > , callback : ( error : grpc . ServiceError | null , response : cc_arduino_cli_commands_v1_commands_pb . RescanResponse ) => void ) : grpc . ClientUnaryCall ;
537
538
public updateIndex ( request : cc_arduino_cli_commands_v1_commands_pb . UpdateIndexRequest , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . UpdateIndexResponse > ;
538
539
public updateIndex ( request : cc_arduino_cli_commands_v1_commands_pb . UpdateIndexRequest , metadata ?: grpc . Metadata , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . UpdateIndexResponse > ;
539
540
public updateLibrariesIndex ( request : cc_arduino_cli_commands_v1_commands_pb . UpdateLibrariesIndexRequest , options ?: Partial < grpc . CallOptions > ) : grpc . ClientReadableStream < cc_arduino_cli_commands_v1_commands_pb . UpdateLibrariesIndexResponse > ;
0 commit comments