@blueyerobotics/protocol-definitions 3.2.0-dc5787fd → 3.2.0-e9cac0e4
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/dist/aquatroll.d.ts +2 -8
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +19 -10
- package/dist/control.js +78 -10
- package/dist/google/protobuf/any.d.ts +2 -8
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.d.ts +2 -8
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -8
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +200 -19
- package/dist/message_formats.js +1167 -77
- package/dist/mission_planning.d.ts +2 -8
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +2 -8
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +20 -10
- package/dist/telemetry.js +151 -5
- package/package.json +1 -1
|
@@ -154,6 +154,22 @@ export declare enum NotificationLevel {
|
|
|
154
154
|
}
|
|
155
155
|
export declare function notificationLevelFromJSON(object: any): NotificationLevel;
|
|
156
156
|
export declare function notificationLevelToJSON(object: NotificationLevel): string;
|
|
157
|
+
/**
|
|
158
|
+
* Storage location.
|
|
159
|
+
*
|
|
160
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
161
|
+
*/
|
|
162
|
+
export declare enum StorageLocation {
|
|
163
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
164
|
+
STORAGE_LOCATION_UNSPECIFIED = 0,
|
|
165
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
166
|
+
STORAGE_LOCATION_INTERNAL = 1,
|
|
167
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
168
|
+
STORAGE_LOCATION_REMOVABLE = 2,
|
|
169
|
+
UNRECOGNIZED = -1
|
|
170
|
+
}
|
|
171
|
+
export declare function storageLocationFromJSON(object: any): StorageLocation;
|
|
172
|
+
export declare function storageLocationToJSON(object: StorageLocation): string;
|
|
157
173
|
/** Drone models produced by Blueye. */
|
|
158
174
|
export declare enum Model {
|
|
159
175
|
/** MODEL_UNSPECIFIED - ModelName not specified. */
|
|
@@ -194,11 +210,13 @@ export declare function pressureSensorTypeToJSON(object: PressureSensorType): st
|
|
|
194
210
|
export declare enum Resolution {
|
|
195
211
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
196
212
|
RESOLUTION_UNSPECIFIED = 0,
|
|
197
|
-
/**
|
|
198
|
-
|
|
199
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
213
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
214
|
+
RESOLUTION_VGA_480P = 4,
|
|
215
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
200
216
|
RESOLUTION_HD_720P = 2,
|
|
201
|
-
/**
|
|
217
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
218
|
+
RESOLUTION_FULLHD_1080P = 1,
|
|
219
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
202
220
|
RESOLUTION_UHD_4K = 3,
|
|
203
221
|
UNRECOGNIZED = -1
|
|
204
222
|
}
|
|
@@ -210,7 +228,7 @@ export declare enum Framerate {
|
|
|
210
228
|
FRAMERATE_UNSPECIFIED = 0,
|
|
211
229
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
212
230
|
FRAMERATE_FPS_30 = 1,
|
|
213
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
231
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
214
232
|
FRAMERATE_FPS_25 = 2,
|
|
215
233
|
UNRECOGNIZED = -1
|
|
216
234
|
}
|
|
@@ -228,6 +246,17 @@ export declare enum Camera {
|
|
|
228
246
|
}
|
|
229
247
|
export declare function cameraFromJSON(object: any): Camera;
|
|
230
248
|
export declare function cameraToJSON(object: Camera): string;
|
|
249
|
+
export declare enum StreamingProtocol {
|
|
250
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
251
|
+
STREAMING_PROTOCOL_UNSPECIFIED = 0,
|
|
252
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
253
|
+
STREAMING_PROTOCOL_RTSP_H264 = 1,
|
|
254
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
255
|
+
STREAMING_PROTOCOL_RTSP_MJPEG = 2,
|
|
256
|
+
UNRECOGNIZED = -1
|
|
257
|
+
}
|
|
258
|
+
export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
|
|
259
|
+
export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
|
|
231
260
|
/** Available temperature units. */
|
|
232
261
|
export declare enum TemperatureUnit {
|
|
233
262
|
/** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
|
|
@@ -390,6 +419,8 @@ export declare enum GuestPortDeviceID {
|
|
|
390
419
|
GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
|
|
391
420
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
392
421
|
GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
|
|
422
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
423
|
+
GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
|
|
393
424
|
UNRECOGNIZED = -1
|
|
394
425
|
}
|
|
395
426
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -491,6 +522,46 @@ export interface BinlogRecord {
|
|
|
491
522
|
/** Posix CLOCK_MONOTONIC timestamp. */
|
|
492
523
|
clockMonotonic: Date | undefined;
|
|
493
524
|
}
|
|
525
|
+
/**
|
|
526
|
+
* Log entry
|
|
527
|
+
*
|
|
528
|
+
* Used to store ROS log entries in the bez file
|
|
529
|
+
*/
|
|
530
|
+
export interface LogEntry {
|
|
531
|
+
/** Timestamp of the log entry. */
|
|
532
|
+
timestamp: Date | undefined;
|
|
533
|
+
/** Name of the process that generated the log entry. */
|
|
534
|
+
processName: string;
|
|
535
|
+
/** Process ID of the log entry. */
|
|
536
|
+
processId: number;
|
|
537
|
+
/** Thread ID of the log entry. */
|
|
538
|
+
threadId: number;
|
|
539
|
+
/** Source of the log entry (specific class or named logger). */
|
|
540
|
+
source: string;
|
|
541
|
+
/** Log level, info, warning, error, etc. */
|
|
542
|
+
level: LogEntry_LogLevel;
|
|
543
|
+
/** Log message. */
|
|
544
|
+
message: string;
|
|
545
|
+
}
|
|
546
|
+
export declare enum LogEntry_LogLevel {
|
|
547
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
548
|
+
LOG_LEVEL_UNSPECIFIED = 0,
|
|
549
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
550
|
+
LOG_LEVEL_TRACE = 1,
|
|
551
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
552
|
+
LOG_LEVEL_DEBUG = 2,
|
|
553
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
554
|
+
LOG_LEVEL_INFO = 3,
|
|
555
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
556
|
+
LOG_LEVEL_WARNING = 4,
|
|
557
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
558
|
+
LOG_LEVEL_ERROR = 5,
|
|
559
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
560
|
+
LOG_LEVEL_CRITICAL = 6,
|
|
561
|
+
UNRECOGNIZED = -1
|
|
562
|
+
}
|
|
563
|
+
export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
|
|
564
|
+
export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
|
|
494
565
|
/** If you use both values at the same time they cancel each other out. */
|
|
495
566
|
export interface MotionInput {
|
|
496
567
|
/** Forward (positive) and backwards (negative) movement. (-1..1). */
|
|
@@ -1127,7 +1198,7 @@ export interface DiveTime {
|
|
|
1127
1198
|
/** Number of seconds the drone has been submerged. */
|
|
1128
1199
|
value: number;
|
|
1129
1200
|
}
|
|
1130
|
-
/** Which cameras are supposed to be recording. */
|
|
1201
|
+
/** Which cameras or multibeam are supposed to be recording. */
|
|
1131
1202
|
export interface RecordOn {
|
|
1132
1203
|
/** Record the main camera. */
|
|
1133
1204
|
main: boolean;
|
|
@@ -1143,6 +1214,61 @@ export interface StorageSpace {
|
|
|
1143
1214
|
/** Available bytes of storage space (B). */
|
|
1144
1215
|
freeSpace: number;
|
|
1145
1216
|
}
|
|
1217
|
+
/** Storage partition. */
|
|
1218
|
+
export interface StoragePartition {
|
|
1219
|
+
/** The amount of storage space on the device. */
|
|
1220
|
+
storageSpace: StorageSpace | undefined;
|
|
1221
|
+
/** File system type of the removable storage device. */
|
|
1222
|
+
fileSystemType: string;
|
|
1223
|
+
/** Partition device path */
|
|
1224
|
+
devicePath: string;
|
|
1225
|
+
/** Mount path of the partition. */
|
|
1226
|
+
mountPath: string;
|
|
1227
|
+
}
|
|
1228
|
+
/** Removable storage device. */
|
|
1229
|
+
export interface RemovableStorageDevice {
|
|
1230
|
+
/** USB vendor name. */
|
|
1231
|
+
vendorName: string;
|
|
1232
|
+
/** Model name of the USB storage device. */
|
|
1233
|
+
modelName: string;
|
|
1234
|
+
/** Mount path of the storage device. */
|
|
1235
|
+
devicePath: string;
|
|
1236
|
+
/** Status of the storage device. */
|
|
1237
|
+
status: RemovableStorageDevice_Status;
|
|
1238
|
+
/** Any active error flags for the storage device. */
|
|
1239
|
+
errorFlags: RemovableStorageErrorFlags | undefined;
|
|
1240
|
+
/** List of partitions on the storage device. */
|
|
1241
|
+
partitions: StoragePartition[];
|
|
1242
|
+
}
|
|
1243
|
+
/** Overall status of the storage device. */
|
|
1244
|
+
export declare enum RemovableStorageDevice_Status {
|
|
1245
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
1246
|
+
STATUS_UNSPECIFIED = 0,
|
|
1247
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1248
|
+
STATUS_READY = 1,
|
|
1249
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1250
|
+
STATUS_FORMATTING = 2,
|
|
1251
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1252
|
+
STATUS_ERROR = 3,
|
|
1253
|
+
UNRECOGNIZED = -1
|
|
1254
|
+
}
|
|
1255
|
+
export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
|
|
1256
|
+
export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
|
|
1257
|
+
/** Error flags related to a removable storage device. */
|
|
1258
|
+
export interface RemovableStorageErrorFlags {
|
|
1259
|
+
/** Optional error message to give additional information from the drone to a client about active error flags. */
|
|
1260
|
+
errorMessage: string;
|
|
1261
|
+
/** Device is attached but no partitions are found. */
|
|
1262
|
+
noPartitionsFound: boolean;
|
|
1263
|
+
/** Multiple partitions are found. */
|
|
1264
|
+
multiplePartitionsFound: boolean;
|
|
1265
|
+
/** The wrong file system is found. */
|
|
1266
|
+
wrongFileSystemFound: boolean;
|
|
1267
|
+
/** The device is in read-only mode. */
|
|
1268
|
+
deviceIsReadOnly: boolean;
|
|
1269
|
+
/** Formatting of the device failed. */
|
|
1270
|
+
formattingFailed: boolean;
|
|
1271
|
+
}
|
|
1146
1272
|
/** Compass calibration state. */
|
|
1147
1273
|
export interface CalibrationState {
|
|
1148
1274
|
/** Current calibration status. */
|
|
@@ -1165,7 +1291,7 @@ export interface CalibrationState {
|
|
|
1165
1291
|
/**
|
|
1166
1292
|
* Status of the compass calibration procedure.
|
|
1167
1293
|
*
|
|
1168
|
-
* When calibration is started, the status will indicate the active (
|
|
1294
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1169
1295
|
*/
|
|
1170
1296
|
export declare enum CalibrationState_Status {
|
|
1171
1297
|
/** STATUS_UNSPECIFIED - Unspecified status. */
|
|
@@ -1186,7 +1312,7 @@ export declare enum CalibrationState_Status {
|
|
|
1186
1312
|
STATUS_CALIBRATING_Z_POSITIVE = 7,
|
|
1187
1313
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1188
1314
|
STATUS_CALIBRATING_Z_NEGATIVE = 8,
|
|
1189
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
1315
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1190
1316
|
STATUS_CALIBRATING_THRUSTER = 9,
|
|
1191
1317
|
UNRECOGNIZED = -1
|
|
1192
1318
|
}
|
|
@@ -1352,18 +1478,40 @@ export interface CameraParameters {
|
|
|
1352
1478
|
mjpgBitrate: number;
|
|
1353
1479
|
/** Shutter speed (1/10000 * s), -1 for automatic exposure. */
|
|
1354
1480
|
exposure: number;
|
|
1355
|
-
/** White balance
|
|
1481
|
+
/** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
|
|
1356
1482
|
whiteBalance: number;
|
|
1357
|
-
/** Hue (-40..40), 0 as default. */
|
|
1483
|
+
/** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
|
|
1358
1484
|
hue: number;
|
|
1359
|
-
/** Iso gain (0..1). */
|
|
1485
|
+
/** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
|
|
1360
1486
|
gain: number;
|
|
1487
|
+
/** Brightness (-10..10), 0 as default. Only available on Ultra */
|
|
1488
|
+
brightness: number;
|
|
1489
|
+
/** Contrast (-50..50), 0 as default. Only available on Ultra. */
|
|
1490
|
+
contrast: number;
|
|
1491
|
+
/** Saturation (0..50), 8 as default. Only available on Ultra. */
|
|
1492
|
+
saturation: number;
|
|
1493
|
+
/** Gamma (4..79), 22 as default. Only available on Ultra. */
|
|
1494
|
+
gamma: number;
|
|
1495
|
+
/** Sharpness (-20..20), -20 as default. Only available on Ultra. */
|
|
1496
|
+
sharpness: number;
|
|
1497
|
+
/** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
|
|
1498
|
+
backlightCompensation: number;
|
|
1499
|
+
/** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
|
|
1500
|
+
denoise: number;
|
|
1501
|
+
/** Enable eHDR mode. Default true. Only available on Ultra. */
|
|
1502
|
+
ehdrEnabled: boolean;
|
|
1503
|
+
/** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
|
|
1504
|
+
ehdrExposureMinNumber: number;
|
|
1505
|
+
/** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
|
|
1506
|
+
ehdrExposureMaxNumber: number;
|
|
1361
1507
|
/** Stream, recording and image resolution (deprecated). */
|
|
1362
1508
|
resolution: Resolution;
|
|
1363
1509
|
/** Stream resolution. */
|
|
1364
1510
|
streamResolution: Resolution;
|
|
1365
1511
|
/** Recording and image resolution. */
|
|
1366
1512
|
recordingResolution: Resolution;
|
|
1513
|
+
/** Streaming protocol. */
|
|
1514
|
+
streamingProtocol: StreamingProtocol;
|
|
1367
1515
|
/** Stream and recording framerate. */
|
|
1368
1516
|
framerate: Framerate;
|
|
1369
1517
|
/** Which camera the parameters belong to. */
|
|
@@ -1747,8 +1895,42 @@ export interface CPUInfo {
|
|
|
1747
1895
|
mainQueueLoad: number;
|
|
1748
1896
|
/** Guestport queue load (0..1). */
|
|
1749
1897
|
guestportQueueLoad: number;
|
|
1898
|
+
/** Communication queue load (0..1). */
|
|
1899
|
+
commQueueLoad: number;
|
|
1900
|
+
}
|
|
1901
|
+
/**
|
|
1902
|
+
* Surface Unit battery information.
|
|
1903
|
+
*
|
|
1904
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1905
|
+
* the drone over the communication protocol.
|
|
1906
|
+
*/
|
|
1907
|
+
export interface SurfaceUnitBatteryInfo {
|
|
1908
|
+
/** Battery charge status. */
|
|
1909
|
+
status: SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1910
|
+
/** Battery level (0..1). */
|
|
1911
|
+
level: number;
|
|
1912
|
+
}
|
|
1913
|
+
export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
|
|
1914
|
+
CHARGE_STATUS_UNSPECIFIED = 0,
|
|
1915
|
+
CHARGE_STATUS_DISCHARGE = 1,
|
|
1916
|
+
CHARGE_STATUS_CHARGE = 2,
|
|
1917
|
+
CHARGE_STATUS_CHARGE_ERROR = 3,
|
|
1918
|
+
UNRECOGNIZED = -1
|
|
1919
|
+
}
|
|
1920
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
|
|
1921
|
+
export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
|
|
1922
|
+
/**
|
|
1923
|
+
* Surface Unit version information.
|
|
1924
|
+
*
|
|
1925
|
+
* This message is published by the Surface Unit, and re-published by
|
|
1926
|
+
* the drone over the communication protocol.
|
|
1927
|
+
*/
|
|
1928
|
+
export interface SurfaceUnitVersionInfo {
|
|
1929
|
+
/** Surface Unit firmware version (x.y.z). */
|
|
1930
|
+
version: string;
|
|
1750
1931
|
}
|
|
1751
1932
|
export declare const BinlogRecord: MessageFns<BinlogRecord>;
|
|
1933
|
+
export declare const LogEntry: MessageFns<LogEntry>;
|
|
1752
1934
|
export declare const MotionInput: MessageFns<MotionInput>;
|
|
1753
1935
|
export declare const Lights: MessageFns<Lights>;
|
|
1754
1936
|
export declare const Laser: MessageFns<Laser>;
|
|
@@ -1800,6 +1982,9 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
|
|
|
1800
1982
|
export declare const DiveTime: MessageFns<DiveTime>;
|
|
1801
1983
|
export declare const RecordOn: MessageFns<RecordOn>;
|
|
1802
1984
|
export declare const StorageSpace: MessageFns<StorageSpace>;
|
|
1985
|
+
export declare const StoragePartition: MessageFns<StoragePartition>;
|
|
1986
|
+
export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
|
|
1987
|
+
export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
|
|
1803
1988
|
export declare const CalibrationState: MessageFns<CalibrationState>;
|
|
1804
1989
|
export declare const IperfStatus: MessageFns<IperfStatus>;
|
|
1805
1990
|
export declare const NStreamers: MessageFns<NStreamers>;
|
|
@@ -1831,22 +2016,18 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
1831
2016
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
1832
2017
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
1833
2018
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2019
|
+
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2020
|
+
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
1834
2021
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1835
2022
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
1836
2023
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1837
2024
|
} : Partial<T>;
|
|
1838
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
1839
|
-
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
1840
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
1841
|
-
} & {
|
|
1842
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
1843
|
-
};
|
|
1844
2025
|
interface MessageFns<T> {
|
|
1845
2026
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
1846
2027
|
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
1847
2028
|
fromJSON(object: any): T;
|
|
1848
2029
|
toJSON(message: T): unknown;
|
|
1849
|
-
create
|
|
1850
|
-
fromPartial
|
|
2030
|
+
create(base?: DeepPartial<T>): T;
|
|
2031
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
1851
2032
|
}
|
|
1852
2033
|
export {};
|