mavsdk-types 1.0.1 → 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 -5
- 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: component_information/component_information.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 component_information_component_information_pb from '../component_information/component_information_pb';
|
|
20
|
+
import * as component_information_component_information_pb from '../component_information/component_information_pb'; // proto import: "component_information/component_information.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class ComponentInformationServiceClient {
|
|
@@ -30,7 +34,7 @@ export class ComponentInformationServiceClient {
|
|
|
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 ComponentInformationServiceClient {
|
|
|
48
52
|
|
|
49
53
|
accessFloatParams(
|
|
50
54
|
request: component_information_component_information_pb.AccessFloatParamsRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<component_information_component_information_pb.AccessFloatParamsResponse>;
|
|
52
56
|
|
|
53
57
|
accessFloatParams(
|
|
54
58
|
request: component_information_component_information_pb.AccessFloatParamsRequest,
|
|
@@ -58,7 +62,7 @@ export class ComponentInformationServiceClient {
|
|
|
58
62
|
|
|
59
63
|
accessFloatParams(
|
|
60
64
|
request: component_information_component_information_pb.AccessFloatParamsRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: component_information_component_information_pb.AccessFloatParamsResponse) => 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: component_information_server/component_information_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 component_information_server_component_information_server_pb from '../component_information_server/component_information_server_pb';
|
|
20
|
+
import * as component_information_server_component_information_server_pb from '../component_information_server/component_information_server_pb'; // proto import: "component_information_server/component_information_server.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class ComponentInformationServerServiceClient {
|
|
@@ -30,7 +34,7 @@ export class ComponentInformationServerServiceClient {
|
|
|
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 ComponentInformationServerServiceClient {
|
|
|
48
52
|
|
|
49
53
|
provideFloatParam(
|
|
50
54
|
request: component_information_server_component_information_server_pb.ProvideFloatParamRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<component_information_server_component_information_server_pb.ProvideFloatParamResponse>;
|
|
52
56
|
|
|
53
57
|
provideFloatParam(
|
|
54
58
|
request: component_information_server_component_information_server_pb.ProvideFloatParamRequest,
|
|
@@ -58,7 +62,7 @@ export class ComponentInformationServerServiceClient {
|
|
|
58
62
|
|
|
59
63
|
provideFloatParam(
|
|
60
64
|
request: component_information_server_component_information_server_pb.ProvideFloatParamRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: component_information_server_component_information_server_pb.ProvideFloatParamResponse) => 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: core/core.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 core_core_pb from '../core/core_pb';
|
|
20
|
+
import * as core_core_pb from '../core/core_pb'; // proto import: "core/core.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class CoreServiceClient {
|
|
@@ -30,7 +34,7 @@ export class CoreServiceClient {
|
|
|
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
|
}
|
|
@@ -70,7 +74,7 @@ export class CoreServiceClient {
|
|
|
70
74
|
|
|
71
75
|
setMavlinkTimeout(
|
|
72
76
|
request: core_core_pb.SetMavlinkTimeoutRequest,
|
|
73
|
-
metadata
|
|
77
|
+
metadata?: grpcWeb.Metadata | null): Promise<core_core_pb.SetMavlinkTimeoutResponse>;
|
|
74
78
|
|
|
75
79
|
setMavlinkTimeout(
|
|
76
80
|
request: core_core_pb.SetMavlinkTimeoutRequest,
|
|
@@ -80,7 +84,7 @@ export class CoreServiceClient {
|
|
|
80
84
|
|
|
81
85
|
setMavlinkTimeout(
|
|
82
86
|
request: core_core_pb.SetMavlinkTimeoutRequest,
|
|
83
|
-
metadata
|
|
87
|
+
metadata?: grpcWeb.Metadata | null,
|
|
84
88
|
callback?: (err: grpcWeb.RpcError,
|
|
85
89
|
response: core_core_pb.SetMavlinkTimeoutResponse) => void) {
|
|
86
90
|
if (callback !== undefined) {
|
package/core/core_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
|
goog.exportSymbol('proto.mavsdk.rpc.core.ConnectionState', null, global);
|
|
26
17
|
goog.exportSymbol('proto.mavsdk.rpc.core.ConnectionStateResponse', null, global);
|
|
@@ -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: failure/failure.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 failure_failure_pb from '../failure/failure_pb';
|
|
20
|
+
import * as failure_failure_pb from '../failure/failure_pb'; // proto import: "failure/failure.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class FailureServiceClient {
|
|
@@ -30,7 +34,7 @@ export class FailureServiceClient {
|
|
|
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 FailureServiceClient {
|
|
|
48
52
|
|
|
49
53
|
inject(
|
|
50
54
|
request: failure_failure_pb.InjectRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<failure_failure_pb.InjectResponse>;
|
|
52
56
|
|
|
53
57
|
inject(
|
|
54
58
|
request: failure_failure_pb.InjectRequest,
|
|
@@ -58,7 +62,7 @@ export class FailureServiceClient {
|
|
|
58
62
|
|
|
59
63
|
inject(
|
|
60
64
|
request: failure_failure_pb.InjectRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: failure_failure_pb.InjectResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
package/failure/failure_pb.d.ts
CHANGED
package/failure/failure_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: follow_me/follow_me.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 follow_me_follow_me_pb from '../follow_me/follow_me_pb';
|
|
20
|
+
import * as follow_me_follow_me_pb from '../follow_me/follow_me_pb'; // proto import: "follow_me/follow_me.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class FollowMeServiceClient {
|
|
@@ -30,7 +34,7 @@ export class FollowMeServiceClient {
|
|
|
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 FollowMeServiceClient {
|
|
|
48
52
|
|
|
49
53
|
getConfig(
|
|
50
54
|
request: follow_me_follow_me_pb.GetConfigRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.GetConfigResponse>;
|
|
52
56
|
|
|
53
57
|
getConfig(
|
|
54
58
|
request: follow_me_follow_me_pb.GetConfigRequest,
|
|
@@ -58,7 +62,7 @@ export class FollowMeServiceClient {
|
|
|
58
62
|
|
|
59
63
|
getConfig(
|
|
60
64
|
request: follow_me_follow_me_pb.GetConfigRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: follow_me_follow_me_pb.GetConfigResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -91,7 +95,7 @@ export class FollowMeServiceClient {
|
|
|
91
95
|
|
|
92
96
|
setConfig(
|
|
93
97
|
request: follow_me_follow_me_pb.SetConfigRequest,
|
|
94
|
-
metadata
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.SetConfigResponse>;
|
|
95
99
|
|
|
96
100
|
setConfig(
|
|
97
101
|
request: follow_me_follow_me_pb.SetConfigRequest,
|
|
@@ -101,7 +105,7 @@ export class FollowMeServiceClient {
|
|
|
101
105
|
|
|
102
106
|
setConfig(
|
|
103
107
|
request: follow_me_follow_me_pb.SetConfigRequest,
|
|
104
|
-
metadata
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
105
109
|
callback?: (err: grpcWeb.RpcError,
|
|
106
110
|
response: follow_me_follow_me_pb.SetConfigResponse) => void) {
|
|
107
111
|
if (callback !== undefined) {
|
|
@@ -134,7 +138,7 @@ export class FollowMeServiceClient {
|
|
|
134
138
|
|
|
135
139
|
isActive(
|
|
136
140
|
request: follow_me_follow_me_pb.IsActiveRequest,
|
|
137
|
-
metadata
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.IsActiveResponse>;
|
|
138
142
|
|
|
139
143
|
isActive(
|
|
140
144
|
request: follow_me_follow_me_pb.IsActiveRequest,
|
|
@@ -144,7 +148,7 @@ export class FollowMeServiceClient {
|
|
|
144
148
|
|
|
145
149
|
isActive(
|
|
146
150
|
request: follow_me_follow_me_pb.IsActiveRequest,
|
|
147
|
-
metadata
|
|
151
|
+
metadata?: grpcWeb.Metadata | null,
|
|
148
152
|
callback?: (err: grpcWeb.RpcError,
|
|
149
153
|
response: follow_me_follow_me_pb.IsActiveResponse) => void) {
|
|
150
154
|
if (callback !== undefined) {
|
|
@@ -177,7 +181,7 @@ export class FollowMeServiceClient {
|
|
|
177
181
|
|
|
178
182
|
setTargetLocation(
|
|
179
183
|
request: follow_me_follow_me_pb.SetTargetLocationRequest,
|
|
180
|
-
metadata
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.SetTargetLocationResponse>;
|
|
181
185
|
|
|
182
186
|
setTargetLocation(
|
|
183
187
|
request: follow_me_follow_me_pb.SetTargetLocationRequest,
|
|
@@ -187,7 +191,7 @@ export class FollowMeServiceClient {
|
|
|
187
191
|
|
|
188
192
|
setTargetLocation(
|
|
189
193
|
request: follow_me_follow_me_pb.SetTargetLocationRequest,
|
|
190
|
-
metadata
|
|
194
|
+
metadata?: grpcWeb.Metadata | null,
|
|
191
195
|
callback?: (err: grpcWeb.RpcError,
|
|
192
196
|
response: follow_me_follow_me_pb.SetTargetLocationResponse) => void) {
|
|
193
197
|
if (callback !== undefined) {
|
|
@@ -220,7 +224,7 @@ export class FollowMeServiceClient {
|
|
|
220
224
|
|
|
221
225
|
getLastLocation(
|
|
222
226
|
request: follow_me_follow_me_pb.GetLastLocationRequest,
|
|
223
|
-
metadata
|
|
227
|
+
metadata?: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.GetLastLocationResponse>;
|
|
224
228
|
|
|
225
229
|
getLastLocation(
|
|
226
230
|
request: follow_me_follow_me_pb.GetLastLocationRequest,
|
|
@@ -230,7 +234,7 @@ export class FollowMeServiceClient {
|
|
|
230
234
|
|
|
231
235
|
getLastLocation(
|
|
232
236
|
request: follow_me_follow_me_pb.GetLastLocationRequest,
|
|
233
|
-
metadata
|
|
237
|
+
metadata?: grpcWeb.Metadata | null,
|
|
234
238
|
callback?: (err: grpcWeb.RpcError,
|
|
235
239
|
response: follow_me_follow_me_pb.GetLastLocationResponse) => void) {
|
|
236
240
|
if (callback !== undefined) {
|
|
@@ -263,7 +267,7 @@ export class FollowMeServiceClient {
|
|
|
263
267
|
|
|
264
268
|
start(
|
|
265
269
|
request: follow_me_follow_me_pb.StartRequest,
|
|
266
|
-
metadata
|
|
270
|
+
metadata?: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.StartResponse>;
|
|
267
271
|
|
|
268
272
|
start(
|
|
269
273
|
request: follow_me_follow_me_pb.StartRequest,
|
|
@@ -273,7 +277,7 @@ export class FollowMeServiceClient {
|
|
|
273
277
|
|
|
274
278
|
start(
|
|
275
279
|
request: follow_me_follow_me_pb.StartRequest,
|
|
276
|
-
metadata
|
|
280
|
+
metadata?: grpcWeb.Metadata | null,
|
|
277
281
|
callback?: (err: grpcWeb.RpcError,
|
|
278
282
|
response: follow_me_follow_me_pb.StartResponse) => void) {
|
|
279
283
|
if (callback !== undefined) {
|
|
@@ -306,7 +310,7 @@ export class FollowMeServiceClient {
|
|
|
306
310
|
|
|
307
311
|
stop(
|
|
308
312
|
request: follow_me_follow_me_pb.StopRequest,
|
|
309
|
-
metadata
|
|
313
|
+
metadata?: grpcWeb.Metadata | null): Promise<follow_me_follow_me_pb.StopResponse>;
|
|
310
314
|
|
|
311
315
|
stop(
|
|
312
316
|
request: follow_me_follow_me_pb.StopRequest,
|
|
@@ -316,7 +320,7 @@ export class FollowMeServiceClient {
|
|
|
316
320
|
|
|
317
321
|
stop(
|
|
318
322
|
request: follow_me_follow_me_pb.StopRequest,
|
|
319
|
-
metadata
|
|
323
|
+
metadata?: grpcWeb.Metadata | null,
|
|
320
324
|
callback?: (err: grpcWeb.RpcError,
|
|
321
325
|
response: follow_me_follow_me_pb.StopResponse) => void) {
|
|
322
326
|
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: ftp/ftp.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 ftp_ftp_pb from '../ftp/ftp_pb';
|
|
20
|
+
import * as ftp_ftp_pb from '../ftp/ftp_pb'; // proto import: "ftp/ftp.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class FtpServiceClient {
|
|
@@ -30,7 +34,7 @@ export class FtpServiceClient {
|
|
|
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
|
}
|
|
@@ -92,7 +96,7 @@ export class FtpServiceClient {
|
|
|
92
96
|
|
|
93
97
|
listDirectory(
|
|
94
98
|
request: ftp_ftp_pb.ListDirectoryRequest,
|
|
95
|
-
metadata
|
|
99
|
+
metadata?: grpcWeb.Metadata | null): Promise<ftp_ftp_pb.ListDirectoryResponse>;
|
|
96
100
|
|
|
97
101
|
listDirectory(
|
|
98
102
|
request: ftp_ftp_pb.ListDirectoryRequest,
|
|
@@ -102,7 +106,7 @@ export class FtpServiceClient {
|
|
|
102
106
|
|
|
103
107
|
listDirectory(
|
|
104
108
|
request: ftp_ftp_pb.ListDirectoryRequest,
|
|
105
|
-
metadata
|
|
109
|
+
metadata?: grpcWeb.Metadata | null,
|
|
106
110
|
callback?: (err: grpcWeb.RpcError,
|
|
107
111
|
response: ftp_ftp_pb.ListDirectoryResponse) => void) {
|
|
108
112
|
if (callback !== undefined) {
|
|
@@ -135,7 +139,7 @@ export class FtpServiceClient {
|
|
|
135
139
|
|
|
136
140
|
createDirectory(
|
|
137
141
|
request: ftp_ftp_pb.CreateDirectoryRequest,
|
|
138
|
-
metadata
|
|
142
|
+
metadata?: grpcWeb.Metadata | null): Promise<ftp_ftp_pb.CreateDirectoryResponse>;
|
|
139
143
|
|
|
140
144
|
createDirectory(
|
|
141
145
|
request: ftp_ftp_pb.CreateDirectoryRequest,
|
|
@@ -145,7 +149,7 @@ export class FtpServiceClient {
|
|
|
145
149
|
|
|
146
150
|
createDirectory(
|
|
147
151
|
request: ftp_ftp_pb.CreateDirectoryRequest,
|
|
148
|
-
metadata
|
|
152
|
+
metadata?: grpcWeb.Metadata | null,
|
|
149
153
|
callback?: (err: grpcWeb.RpcError,
|
|
150
154
|
response: ftp_ftp_pb.CreateDirectoryResponse) => void) {
|
|
151
155
|
if (callback !== undefined) {
|
|
@@ -178,7 +182,7 @@ export class FtpServiceClient {
|
|
|
178
182
|
|
|
179
183
|
removeDirectory(
|
|
180
184
|
request: ftp_ftp_pb.RemoveDirectoryRequest,
|
|
181
|
-
metadata
|
|
185
|
+
metadata?: grpcWeb.Metadata | null): Promise<ftp_ftp_pb.RemoveDirectoryResponse>;
|
|
182
186
|
|
|
183
187
|
removeDirectory(
|
|
184
188
|
request: ftp_ftp_pb.RemoveDirectoryRequest,
|
|
@@ -188,7 +192,7 @@ export class FtpServiceClient {
|
|
|
188
192
|
|
|
189
193
|
removeDirectory(
|
|
190
194
|
request: ftp_ftp_pb.RemoveDirectoryRequest,
|
|
191
|
-
metadata
|
|
195
|
+
metadata?: grpcWeb.Metadata | null,
|
|
192
196
|
callback?: (err: grpcWeb.RpcError,
|
|
193
197
|
response: ftp_ftp_pb.RemoveDirectoryResponse) => void) {
|
|
194
198
|
if (callback !== undefined) {
|
|
@@ -221,7 +225,7 @@ export class FtpServiceClient {
|
|
|
221
225
|
|
|
222
226
|
removeFile(
|
|
223
227
|
request: ftp_ftp_pb.RemoveFileRequest,
|
|
224
|
-
metadata
|
|
228
|
+
metadata?: grpcWeb.Metadata | null): Promise<ftp_ftp_pb.RemoveFileResponse>;
|
|
225
229
|
|
|
226
230
|
removeFile(
|
|
227
231
|
request: ftp_ftp_pb.RemoveFileRequest,
|
|
@@ -231,7 +235,7 @@ export class FtpServiceClient {
|
|
|
231
235
|
|
|
232
236
|
removeFile(
|
|
233
237
|
request: ftp_ftp_pb.RemoveFileRequest,
|
|
234
|
-
metadata
|
|
238
|
+
metadata?: grpcWeb.Metadata | null,
|
|
235
239
|
callback?: (err: grpcWeb.RpcError,
|
|
236
240
|
response: ftp_ftp_pb.RemoveFileResponse) => void) {
|
|
237
241
|
if (callback !== undefined) {
|
|
@@ -264,7 +268,7 @@ export class FtpServiceClient {
|
|
|
264
268
|
|
|
265
269
|
rename(
|
|
266
270
|
request: ftp_ftp_pb.RenameRequest,
|
|
267
|
-
metadata
|
|
271
|
+
metadata?: grpcWeb.Metadata | null): Promise<ftp_ftp_pb.RenameResponse>;
|
|
268
272
|
|
|
269
273
|
rename(
|
|
270
274
|
request: ftp_ftp_pb.RenameRequest,
|
|
@@ -274,7 +278,7 @@ export class FtpServiceClient {
|
|
|
274
278
|
|
|
275
279
|
rename(
|
|
276
280
|
request: ftp_ftp_pb.RenameRequest,
|
|
277
|
-
metadata
|
|
281
|
+
metadata?: grpcWeb.Metadata | null,
|
|
278
282
|
callback?: (err: grpcWeb.RpcError,
|
|
279
283
|
response: ftp_ftp_pb.RenameResponse) => void) {
|
|
280
284
|
if (callback !== undefined) {
|
|
@@ -307,7 +311,7 @@ export class FtpServiceClient {
|
|
|
307
311
|
|
|
308
312
|
areFilesIdentical(
|
|
309
313
|
request: ftp_ftp_pb.AreFilesIdenticalRequest,
|
|
310
|
-
metadata
|
|
314
|
+
metadata?: grpcWeb.Metadata | null): Promise<ftp_ftp_pb.AreFilesIdenticalResponse>;
|
|
311
315
|
|
|
312
316
|
areFilesIdentical(
|
|
313
317
|
request: ftp_ftp_pb.AreFilesIdenticalRequest,
|
|
@@ -317,7 +321,7 @@ export class FtpServiceClient {
|
|
|
317
321
|
|
|
318
322
|
areFilesIdentical(
|
|
319
323
|
request: ftp_ftp_pb.AreFilesIdenticalRequest,
|
|
320
|
-
metadata
|
|
324
|
+
metadata?: grpcWeb.Metadata | null,
|
|
321
325
|
callback?: (err: grpcWeb.RpcError,
|
|
322
326
|
response: ftp_ftp_pb.AreFilesIdenticalResponse) => void) {
|
|
323
327
|
if (callback !== undefined) {
|
|
@@ -350,7 +354,7 @@ export class FtpServiceClient {
|
|
|
350
354
|
|
|
351
355
|
setTargetCompid(
|
|
352
356
|
request: ftp_ftp_pb.SetTargetCompidRequest,
|
|
353
|
-
metadata
|
|
357
|
+
metadata?: grpcWeb.Metadata | null): Promise<ftp_ftp_pb.SetTargetCompidResponse>;
|
|
354
358
|
|
|
355
359
|
setTargetCompid(
|
|
356
360
|
request: ftp_ftp_pb.SetTargetCompidRequest,
|
|
@@ -360,7 +364,7 @@ export class FtpServiceClient {
|
|
|
360
364
|
|
|
361
365
|
setTargetCompid(
|
|
362
366
|
request: ftp_ftp_pb.SetTargetCompidRequest,
|
|
363
|
-
metadata
|
|
367
|
+
metadata?: grpcWeb.Metadata | null,
|
|
364
368
|
callback?: (err: grpcWeb.RpcError,
|
|
365
369
|
response: ftp_ftp_pb.SetTargetCompidResponse) => void) {
|
|
366
370
|
if (callback !== undefined) {
|
package/ftp/ftp_pb.d.ts
CHANGED
|
@@ -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 SubscribeDownloadRequest extends jspb.Message {
|