mavsdk-types 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -12
- package/action/ActionServiceClientPb.ts +51 -47
- package/action/action_pb.d.ts +1 -1
- package/action/action_pb.js +1 -10
- package/action_server/Action_serverServiceClientPb.ts +17 -13
- package/action_server/action_server_pb.d.ts +1 -1
- package/action_server/action_server_pb.js +1 -10
- package/calibration/CalibrationServiceClientPb.ts +9 -5
- package/calibration/calibration_pb.d.ts +1 -1
- package/calibration/calibration_pb.js +1 -10
- package/camera/CameraServiceClientPb.ts +37 -33
- package/camera/camera_pb.d.ts +1 -1
- package/camera/camera_pb.js +1 -10
- package/camera_server/Camera_serverServiceClientPb.ts +33 -29
- package/camera_server/camera_server_pb.d.ts +1 -1
- package/camera_server/camera_server_pb.js +1 -10
- package/component_information/Component_informationServiceClientPb.ts +9 -5
- package/component_information/component_information_pb.d.ts +1 -1
- package/component_information/component_information_pb.js +1 -10
- package/component_information_server/Component_information_serverServiceClientPb.ts +9 -5
- package/component_information_server/component_information_server_pb.d.ts +1 -1
- package/component_information_server/component_information_server_pb.js +1 -10
- package/core/CoreServiceClientPb.ts +9 -5
- package/core/core_pb.js +1 -10
- package/failure/FailureServiceClientPb.ts +9 -5
- package/failure/failure_pb.d.ts +1 -1
- package/failure/failure_pb.js +1 -10
- package/follow_me/Follow_meServiceClientPb.ts +21 -17
- package/follow_me/follow_me_pb.d.ts +1 -1
- package/follow_me/follow_me_pb.js +1 -10
- package/ftp/FtpServiceClientPb.ts +21 -17
- package/ftp/ftp_pb.d.ts +1 -1
- package/ftp/ftp_pb.js +1 -10
- package/ftp_server/Ftp_serverServiceClientPb.ts +9 -5
- package/ftp_server/ftp_server_pb.d.ts +1 -1
- package/ftp_server/ftp_server_pb.js +1 -10
- package/geofence/GeofenceServiceClientPb.ts +11 -7
- package/geofence/geofence_pb.d.ts +1 -1
- package/geofence/geofence_pb.js +1 -10
- package/gimbal/GimbalServiceClientPb.ts +21 -17
- package/gimbal/gimbal_pb.js +1 -10
- package/gripper/GripperServiceClientPb.ts +11 -7
- package/gripper/gripper_pb.js +1 -10
- package/info/InfoServiceClientPb.ts +17 -13
- package/info/info_pb.d.ts +1 -1
- package/info/info_pb.js +1 -10
- package/log_files/Log_filesServiceClientPb.ts +11 -7
- package/log_files/log_files_pb.d.ts +1 -1
- package/log_files/log_files_pb.js +1 -10
- package/manual_control/Manual_controlServiceClientPb.ts +13 -9
- package/manual_control/manual_control_pb.d.ts +1 -1
- package/manual_control/manual_control_pb.js +1 -10
- package/mavsdk_options_pb.d.ts +1 -1
- package/mavsdk_options_pb.js +1 -10
- package/mission/MissionServiceClientPb.ts +29 -25
- package/mission/mission_pb.d.ts +1 -1
- package/mission/mission_pb.js +1 -10
- package/mission_raw/Mission_rawServiceClientPb.ts +31 -27
- package/mission_raw/mission_raw_pb.d.ts +1 -1
- package/mission_raw/mission_raw_pb.js +1 -10
- package/mission_raw_server/Mission_raw_serverServiceClientPb.ts +9 -5
- package/mission_raw_server/mission_raw_server_pb.d.ts +1 -1
- package/mission_raw_server/mission_raw_server_pb.js +1 -10
- package/mocap/MocapServiceClientPb.ts +13 -9
- package/mocap/mocap_pb.d.ts +1 -1
- package/mocap/mocap_pb.js +3 -14
- package/offboard/OffboardServiceClientPb.ts +33 -29
- package/offboard/offboard_pb.d.ts +1 -1
- package/offboard/offboard_pb.js +3 -14
- package/package.json +5 -7
- package/param/ParamServiceClientPb.ts +23 -19
- package/param/param_pb.d.ts +1 -1
- package/param/param_pb.js +1 -10
- package/param_server/Param_serverServiceClientPb.ts +21 -17
- package/param_server/param_server_pb.d.ts +1 -1
- package/param_server/param_server_pb.js +1 -10
- package/rtk/RtkServiceClientPb.ts +9 -5
- package/rtk/rtk_pb.d.ts +1 -1
- package/rtk/rtk_pb.js +1 -10
- package/server_utility/Server_utilityServiceClientPb.ts +9 -5
- package/server_utility/server_utility_pb.d.ts +1 -1
- package/server_utility/server_utility_pb.js +1 -10
- package/shell/ShellServiceClientPb.ts +9 -5
- package/shell/shell_pb.d.ts +1 -1
- package/shell/shell_pb.js +1 -10
- package/telemetry/TelemetryServiceClientPb.ts +57 -53
- package/telemetry/telemetry_pb.d.ts +1 -1
- package/telemetry/telemetry_pb.js +7 -22
- package/telemetry_server/Telemetry_serverServiceClientPb.ts +37 -33
- package/telemetry_server/telemetry_server_pb.d.ts +1 -1
- package/telemetry_server/telemetry_server_pb.js +7 -22
- package/tracking_server/Tracking_serverServiceClientPb.ts +19 -15
- package/tracking_server/tracking_server_pb.d.ts +1 -1
- package/tracking_server/tracking_server_pb.js +1 -10
- package/transponder/TransponderServiceClientPb.ts +9 -5
- package/transponder/transponder_pb.js +1 -10
- package/tune/TuneServiceClientPb.ts +9 -5
- package/tune/tune_pb.js +3 -14
- package/winch/WinchServiceClientPb.ts +27 -23
- package/winch/winch_pb.d.ts +1 -1
- package/winch/winch_pb.js +1 -10
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: param_server/param_server.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as param_server_param_server_pb from '../param_server/param_server_pb';
|
|
20
|
+
import * as param_server_param_server_pb from '../param_server/param_server_pb'; // proto import: "param_server/param_server.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class ParamServerServiceClient {
|
|
@@ -30,7 +34,7 @@ export class ParamServerServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class ParamServerServiceClient {
|
|
|
48
52
|
|
|
49
53
|
retrieveParamInt(
|
|
50
54
|
request: param_server_param_server_pb.RetrieveParamIntRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_server_param_server_pb.RetrieveParamIntResponse>;
|
|
52
56
|
|
|
53
57
|
retrieveParamInt(
|
|
54
58
|
request: param_server_param_server_pb.RetrieveParamIntRequest,
|
|
@@ -58,7 +62,7 @@ export class ParamServerServiceClient {
|
|
|
58
62
|
|
|
59
63
|
retrieveParamInt(
|
|
60
64
|
request: param_server_param_server_pb.RetrieveParamIntRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: param_server_param_server_pb.RetrieveParamIntResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -91,7 +95,7 @@ export class ParamServerServiceClient {
|
|
|
91
95
|
|
|
92
96
|
provideParamInt(
|
|
93
97
|
request: param_server_param_server_pb.ProvideParamIntRequest,
|
|
94
|
-
metadata
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_server_param_server_pb.ProvideParamIntResponse>;
|
|
95
99
|
|
|
96
100
|
provideParamInt(
|
|
97
101
|
request: param_server_param_server_pb.ProvideParamIntRequest,
|
|
@@ -101,7 +105,7 @@ export class ParamServerServiceClient {
|
|
|
101
105
|
|
|
102
106
|
provideParamInt(
|
|
103
107
|
request: param_server_param_server_pb.ProvideParamIntRequest,
|
|
104
|
-
metadata
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
105
109
|
callback?: (err: grpcWeb.RpcError,
|
|
106
110
|
response: param_server_param_server_pb.ProvideParamIntResponse) => void) {
|
|
107
111
|
if (callback !== undefined) {
|
|
@@ -134,7 +138,7 @@ export class ParamServerServiceClient {
|
|
|
134
138
|
|
|
135
139
|
retrieveParamFloat(
|
|
136
140
|
request: param_server_param_server_pb.RetrieveParamFloatRequest,
|
|
137
|
-
metadata
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_server_param_server_pb.RetrieveParamFloatResponse>;
|
|
138
142
|
|
|
139
143
|
retrieveParamFloat(
|
|
140
144
|
request: param_server_param_server_pb.RetrieveParamFloatRequest,
|
|
@@ -144,7 +148,7 @@ export class ParamServerServiceClient {
|
|
|
144
148
|
|
|
145
149
|
retrieveParamFloat(
|
|
146
150
|
request: param_server_param_server_pb.RetrieveParamFloatRequest,
|
|
147
|
-
metadata
|
|
151
|
+
metadata?: grpcWeb.Metadata | null,
|
|
148
152
|
callback?: (err: grpcWeb.RpcError,
|
|
149
153
|
response: param_server_param_server_pb.RetrieveParamFloatResponse) => void) {
|
|
150
154
|
if (callback !== undefined) {
|
|
@@ -177,7 +181,7 @@ export class ParamServerServiceClient {
|
|
|
177
181
|
|
|
178
182
|
provideParamFloat(
|
|
179
183
|
request: param_server_param_server_pb.ProvideParamFloatRequest,
|
|
180
|
-
metadata
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_server_param_server_pb.ProvideParamFloatResponse>;
|
|
181
185
|
|
|
182
186
|
provideParamFloat(
|
|
183
187
|
request: param_server_param_server_pb.ProvideParamFloatRequest,
|
|
@@ -187,7 +191,7 @@ export class ParamServerServiceClient {
|
|
|
187
191
|
|
|
188
192
|
provideParamFloat(
|
|
189
193
|
request: param_server_param_server_pb.ProvideParamFloatRequest,
|
|
190
|
-
metadata
|
|
194
|
+
metadata?: grpcWeb.Metadata | null,
|
|
191
195
|
callback?: (err: grpcWeb.RpcError,
|
|
192
196
|
response: param_server_param_server_pb.ProvideParamFloatResponse) => void) {
|
|
193
197
|
if (callback !== undefined) {
|
|
@@ -220,7 +224,7 @@ export class ParamServerServiceClient {
|
|
|
220
224
|
|
|
221
225
|
retrieveParamCustom(
|
|
222
226
|
request: param_server_param_server_pb.RetrieveParamCustomRequest,
|
|
223
|
-
metadata
|
|
227
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_server_param_server_pb.RetrieveParamCustomResponse>;
|
|
224
228
|
|
|
225
229
|
retrieveParamCustom(
|
|
226
230
|
request: param_server_param_server_pb.RetrieveParamCustomRequest,
|
|
@@ -230,7 +234,7 @@ export class ParamServerServiceClient {
|
|
|
230
234
|
|
|
231
235
|
retrieveParamCustom(
|
|
232
236
|
request: param_server_param_server_pb.RetrieveParamCustomRequest,
|
|
233
|
-
metadata
|
|
237
|
+
metadata?: grpcWeb.Metadata | null,
|
|
234
238
|
callback?: (err: grpcWeb.RpcError,
|
|
235
239
|
response: param_server_param_server_pb.RetrieveParamCustomResponse) => void) {
|
|
236
240
|
if (callback !== undefined) {
|
|
@@ -263,7 +267,7 @@ export class ParamServerServiceClient {
|
|
|
263
267
|
|
|
264
268
|
provideParamCustom(
|
|
265
269
|
request: param_server_param_server_pb.ProvideParamCustomRequest,
|
|
266
|
-
metadata
|
|
270
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_server_param_server_pb.ProvideParamCustomResponse>;
|
|
267
271
|
|
|
268
272
|
provideParamCustom(
|
|
269
273
|
request: param_server_param_server_pb.ProvideParamCustomRequest,
|
|
@@ -273,7 +277,7 @@ export class ParamServerServiceClient {
|
|
|
273
277
|
|
|
274
278
|
provideParamCustom(
|
|
275
279
|
request: param_server_param_server_pb.ProvideParamCustomRequest,
|
|
276
|
-
metadata
|
|
280
|
+
metadata?: grpcWeb.Metadata | null,
|
|
277
281
|
callback?: (err: grpcWeb.RpcError,
|
|
278
282
|
response: param_server_param_server_pb.ProvideParamCustomResponse) => void) {
|
|
279
283
|
if (callback !== undefined) {
|
|
@@ -306,7 +310,7 @@ export class ParamServerServiceClient {
|
|
|
306
310
|
|
|
307
311
|
retrieveAllParams(
|
|
308
312
|
request: param_server_param_server_pb.RetrieveAllParamsRequest,
|
|
309
|
-
metadata
|
|
313
|
+
metadata?: grpcWeb.Metadata | null): Promise<param_server_param_server_pb.RetrieveAllParamsResponse>;
|
|
310
314
|
|
|
311
315
|
retrieveAllParams(
|
|
312
316
|
request: param_server_param_server_pb.RetrieveAllParamsRequest,
|
|
@@ -316,7 +320,7 @@ export class ParamServerServiceClient {
|
|
|
316
320
|
|
|
317
321
|
retrieveAllParams(
|
|
318
322
|
request: param_server_param_server_pb.RetrieveAllParamsRequest,
|
|
319
|
-
metadata
|
|
323
|
+
metadata?: grpcWeb.Metadata | null,
|
|
320
324
|
callback?: (err: grpcWeb.RpcError,
|
|
321
325
|
response: param_server_param_server_pb.RetrieveAllParamsResponse) => void) {
|
|
322
326
|
if (callback !== undefined) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as mavsdk_options_pb from '../mavsdk_options_pb';
|
|
3
|
+
import * as mavsdk_options_pb from '../mavsdk_options_pb'; // proto import: "mavsdk_options.proto"
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class RetrieveParamIntRequest extends jspb.Message {
|
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: rtk/rtk.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as rtk_rtk_pb from '../rtk/rtk_pb';
|
|
20
|
+
import * as rtk_rtk_pb from '../rtk/rtk_pb'; // proto import: "rtk/rtk.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class RtkServiceClient {
|
|
@@ -30,7 +34,7 @@ export class RtkServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class RtkServiceClient {
|
|
|
48
52
|
|
|
49
53
|
sendRtcmData(
|
|
50
54
|
request: rtk_rtk_pb.SendRtcmDataRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<rtk_rtk_pb.SendRtcmDataResponse>;
|
|
52
56
|
|
|
53
57
|
sendRtcmData(
|
|
54
58
|
request: rtk_rtk_pb.SendRtcmDataRequest,
|
|
@@ -58,7 +62,7 @@ export class RtkServiceClient {
|
|
|
58
62
|
|
|
59
63
|
sendRtcmData(
|
|
60
64
|
request: rtk_rtk_pb.SendRtcmDataRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: rtk_rtk_pb.SendRtcmDataResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
package/rtk/rtk_pb.d.ts
CHANGED
package/rtk/rtk_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: server_utility/server_utility.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as server_utility_server_utility_pb from '../server_utility/server_utility_pb';
|
|
20
|
+
import * as server_utility_server_utility_pb from '../server_utility/server_utility_pb'; // proto import: "server_utility/server_utility.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class ServerUtilityServiceClient {
|
|
@@ -30,7 +34,7 @@ export class ServerUtilityServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class ServerUtilityServiceClient {
|
|
|
48
52
|
|
|
49
53
|
sendStatusText(
|
|
50
54
|
request: server_utility_server_utility_pb.SendStatusTextRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<server_utility_server_utility_pb.SendStatusTextResponse>;
|
|
52
56
|
|
|
53
57
|
sendStatusText(
|
|
54
58
|
request: server_utility_server_utility_pb.SendStatusTextRequest,
|
|
@@ -58,7 +62,7 @@ export class ServerUtilityServiceClient {
|
|
|
58
62
|
|
|
59
63
|
sendStatusText(
|
|
60
64
|
request: server_utility_server_utility_pb.SendStatusTextRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: server_utility_server_utility_pb.SendStatusTextResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: shell/shell.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as shell_shell_pb from '../shell/shell_pb';
|
|
20
|
+
import * as shell_shell_pb from '../shell/shell_pb'; // proto import: "shell/shell.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class ShellServiceClient {
|
|
@@ -30,7 +34,7 @@ export class ShellServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class ShellServiceClient {
|
|
|
48
52
|
|
|
49
53
|
send(
|
|
50
54
|
request: shell_shell_pb.SendRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<shell_shell_pb.SendResponse>;
|
|
52
56
|
|
|
53
57
|
send(
|
|
54
58
|
request: shell_shell_pb.SendRequest,
|
|
@@ -58,7 +62,7 @@ export class ShellServiceClient {
|
|
|
58
62
|
|
|
59
63
|
send(
|
|
60
64
|
request: shell_shell_pb.SendRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: shell_shell_pb.SendResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
package/shell/shell_pb.d.ts
CHANGED
package/shell/shell_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|