@blueyerobotics/protocol-definitions 3.2.0-153cd3ce → 3.2.0-2bcfe527

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/control.js CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: control.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
8
+ exports.StopLogStreamingCtrl = exports.StartLogStreamingCtrl = exports.CameraPanTiltZoomCtrl = exports.SetTurbidityFilterCtrl = exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
9
9
  /* eslint-disable */
10
10
  const wire_1 = require("@bufbuild/protobuf/wire");
11
11
  const aquatroll_1 = require("./aquatroll");
@@ -399,13 +399,16 @@ exports.WatchdogCtrl = {
399
399
  },
400
400
  };
401
401
  function createBaseRecordCtrl() {
402
- return { recordOn: undefined };
402
+ return { recordOn: undefined, storageLocation: 0 };
403
403
  }
404
404
  exports.RecordCtrl = {
405
405
  encode(message, writer = new wire_1.BinaryWriter()) {
406
406
  if (message.recordOn !== undefined) {
407
407
  message_formats_1.RecordOn.encode(message.recordOn, writer.uint32(10).fork()).join();
408
408
  }
409
+ if (message.storageLocation !== 0) {
410
+ writer.uint32(16).int32(message.storageLocation);
411
+ }
409
412
  return writer;
410
413
  },
411
414
  decode(input, length) {
@@ -422,6 +425,13 @@ exports.RecordCtrl = {
422
425
  message.recordOn = message_formats_1.RecordOn.decode(reader, reader.uint32());
423
426
  continue;
424
427
  }
428
+ case 2: {
429
+ if (tag !== 16) {
430
+ break;
431
+ }
432
+ message.storageLocation = reader.int32();
433
+ continue;
434
+ }
425
435
  }
426
436
  if ((tag & 7) === 4 || tag === 0) {
427
437
  break;
@@ -431,13 +441,19 @@ exports.RecordCtrl = {
431
441
  return message;
432
442
  },
433
443
  fromJSON(object) {
434
- return { recordOn: isSet(object.recordOn) ? message_formats_1.RecordOn.fromJSON(object.recordOn) : undefined };
444
+ return {
445
+ recordOn: isSet(object.recordOn) ? message_formats_1.RecordOn.fromJSON(object.recordOn) : undefined,
446
+ storageLocation: isSet(object.storageLocation) ? (0, message_formats_1.storageLocationFromJSON)(object.storageLocation) : 0,
447
+ };
435
448
  },
436
449
  toJSON(message) {
437
450
  const obj = {};
438
451
  if (message.recordOn !== undefined) {
439
452
  obj.recordOn = message_formats_1.RecordOn.toJSON(message.recordOn);
440
453
  }
454
+ if (message.storageLocation !== 0) {
455
+ obj.storageLocation = (0, message_formats_1.storageLocationToJSON)(message.storageLocation);
456
+ }
441
457
  return obj;
442
458
  },
443
459
  create(base) {
@@ -448,14 +464,18 @@ exports.RecordCtrl = {
448
464
  message.recordOn = (object.recordOn !== undefined && object.recordOn !== null)
449
465
  ? message_formats_1.RecordOn.fromPartial(object.recordOn)
450
466
  : undefined;
467
+ message.storageLocation = object.storageLocation ?? 0;
451
468
  return message;
452
469
  },
453
470
  };
454
471
  function createBaseTakePictureCtrl() {
455
- return {};
472
+ return { storageLocation: 0 };
456
473
  }
457
474
  exports.TakePictureCtrl = {
458
- encode(_, writer = new wire_1.BinaryWriter()) {
475
+ encode(message, writer = new wire_1.BinaryWriter()) {
476
+ if (message.storageLocation !== 0) {
477
+ writer.uint32(8).int32(message.storageLocation);
478
+ }
459
479
  return writer;
460
480
  },
461
481
  decode(input, length) {
@@ -465,6 +485,13 @@ exports.TakePictureCtrl = {
465
485
  while (reader.pos < end) {
466
486
  const tag = reader.uint32();
467
487
  switch (tag >>> 3) {
488
+ case 1: {
489
+ if (tag !== 8) {
490
+ break;
491
+ }
492
+ message.storageLocation = reader.int32();
493
+ continue;
494
+ }
468
495
  }
469
496
  if ((tag & 7) === 4 || tag === 0) {
470
497
  break;
@@ -473,18 +500,22 @@ exports.TakePictureCtrl = {
473
500
  }
474
501
  return message;
475
502
  },
476
- fromJSON(_) {
477
- return {};
503
+ fromJSON(object) {
504
+ return { storageLocation: isSet(object.storageLocation) ? (0, message_formats_1.storageLocationFromJSON)(object.storageLocation) : 0 };
478
505
  },
479
- toJSON(_) {
506
+ toJSON(message) {
480
507
  const obj = {};
508
+ if (message.storageLocation !== 0) {
509
+ obj.storageLocation = (0, message_formats_1.storageLocationToJSON)(message.storageLocation);
510
+ }
481
511
  return obj;
482
512
  },
483
513
  create(base) {
484
514
  return exports.TakePictureCtrl.fromPartial(base ?? {});
485
515
  },
486
- fromPartial(_) {
516
+ fromPartial(object) {
487
517
  const message = createBaseTakePictureCtrl();
518
+ message.storageLocation = object.storageLocation ?? 0;
488
519
  return message;
489
520
  },
490
521
  };
@@ -1968,10 +1999,13 @@ exports.DeactivateMultibeamCtrl = {
1968
1999
  },
1969
2000
  };
1970
2001
  function createBaseStartDiveCtrl() {
1971
- return {};
2002
+ return { operatorInfo: undefined };
1972
2003
  }
1973
2004
  exports.StartDiveCtrl = {
1974
- encode(_, writer = new wire_1.BinaryWriter()) {
2005
+ encode(message, writer = new wire_1.BinaryWriter()) {
2006
+ if (message.operatorInfo !== undefined) {
2007
+ message_formats_1.OperatorInfo.encode(message.operatorInfo, writer.uint32(10).fork()).join();
2008
+ }
1975
2009
  return writer;
1976
2010
  },
1977
2011
  decode(input, length) {
@@ -1981,6 +2015,13 @@ exports.StartDiveCtrl = {
1981
2015
  while (reader.pos < end) {
1982
2016
  const tag = reader.uint32();
1983
2017
  switch (tag >>> 3) {
2018
+ case 1: {
2019
+ if (tag !== 10) {
2020
+ break;
2021
+ }
2022
+ message.operatorInfo = message_formats_1.OperatorInfo.decode(reader, reader.uint32());
2023
+ continue;
2024
+ }
1984
2025
  }
1985
2026
  if ((tag & 7) === 4 || tag === 0) {
1986
2027
  break;
@@ -1989,18 +2030,24 @@ exports.StartDiveCtrl = {
1989
2030
  }
1990
2031
  return message;
1991
2032
  },
1992
- fromJSON(_) {
1993
- return {};
2033
+ fromJSON(object) {
2034
+ return { operatorInfo: isSet(object.operatorInfo) ? message_formats_1.OperatorInfo.fromJSON(object.operatorInfo) : undefined };
1994
2035
  },
1995
- toJSON(_) {
2036
+ toJSON(message) {
1996
2037
  const obj = {};
2038
+ if (message.operatorInfo !== undefined) {
2039
+ obj.operatorInfo = message_formats_1.OperatorInfo.toJSON(message.operatorInfo);
2040
+ }
1997
2041
  return obj;
1998
2042
  },
1999
2043
  create(base) {
2000
2044
  return exports.StartDiveCtrl.fromPartial(base ?? {});
2001
2045
  },
2002
- fromPartial(_) {
2046
+ fromPartial(object) {
2003
2047
  const message = createBaseStartDiveCtrl();
2048
+ message.operatorInfo = (object.operatorInfo !== undefined && object.operatorInfo !== null)
2049
+ ? message_formats_1.OperatorInfo.fromPartial(object.operatorInfo)
2050
+ : undefined;
2004
2051
  return message;
2005
2052
  },
2006
2053
  };
@@ -2041,6 +2088,229 @@ exports.EndDiveCtrl = {
2041
2088
  return message;
2042
2089
  },
2043
2090
  };
2091
+ function createBaseFormatRemovableStorageDeviceCtrl() {
2092
+ return {};
2093
+ }
2094
+ exports.FormatRemovableStorageDeviceCtrl = {
2095
+ encode(_, writer = new wire_1.BinaryWriter()) {
2096
+ return writer;
2097
+ },
2098
+ decode(input, length) {
2099
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2100
+ const end = length === undefined ? reader.len : reader.pos + length;
2101
+ const message = createBaseFormatRemovableStorageDeviceCtrl();
2102
+ while (reader.pos < end) {
2103
+ const tag = reader.uint32();
2104
+ switch (tag >>> 3) {
2105
+ }
2106
+ if ((tag & 7) === 4 || tag === 0) {
2107
+ break;
2108
+ }
2109
+ reader.skip(tag & 7);
2110
+ }
2111
+ return message;
2112
+ },
2113
+ fromJSON(_) {
2114
+ return {};
2115
+ },
2116
+ toJSON(_) {
2117
+ const obj = {};
2118
+ return obj;
2119
+ },
2120
+ create(base) {
2121
+ return exports.FormatRemovableStorageDeviceCtrl.fromPartial(base ?? {});
2122
+ },
2123
+ fromPartial(_) {
2124
+ const message = createBaseFormatRemovableStorageDeviceCtrl();
2125
+ return message;
2126
+ },
2127
+ };
2128
+ function createBaseSetTurbidityFilterCtrl() {
2129
+ return { turbidityFilter: undefined };
2130
+ }
2131
+ exports.SetTurbidityFilterCtrl = {
2132
+ encode(message, writer = new wire_1.BinaryWriter()) {
2133
+ if (message.turbidityFilter !== undefined) {
2134
+ message_formats_1.FilterMessage.encode(message.turbidityFilter, writer.uint32(10).fork()).join();
2135
+ }
2136
+ return writer;
2137
+ },
2138
+ decode(input, length) {
2139
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2140
+ const end = length === undefined ? reader.len : reader.pos + length;
2141
+ const message = createBaseSetTurbidityFilterCtrl();
2142
+ while (reader.pos < end) {
2143
+ const tag = reader.uint32();
2144
+ switch (tag >>> 3) {
2145
+ case 1: {
2146
+ if (tag !== 10) {
2147
+ break;
2148
+ }
2149
+ message.turbidityFilter = message_formats_1.FilterMessage.decode(reader, reader.uint32());
2150
+ continue;
2151
+ }
2152
+ }
2153
+ if ((tag & 7) === 4 || tag === 0) {
2154
+ break;
2155
+ }
2156
+ reader.skip(tag & 7);
2157
+ }
2158
+ return message;
2159
+ },
2160
+ fromJSON(object) {
2161
+ return {
2162
+ turbidityFilter: isSet(object.turbidityFilter) ? message_formats_1.FilterMessage.fromJSON(object.turbidityFilter) : undefined,
2163
+ };
2164
+ },
2165
+ toJSON(message) {
2166
+ const obj = {};
2167
+ if (message.turbidityFilter !== undefined) {
2168
+ obj.turbidityFilter = message_formats_1.FilterMessage.toJSON(message.turbidityFilter);
2169
+ }
2170
+ return obj;
2171
+ },
2172
+ create(base) {
2173
+ return exports.SetTurbidityFilterCtrl.fromPartial(base ?? {});
2174
+ },
2175
+ fromPartial(object) {
2176
+ const message = createBaseSetTurbidityFilterCtrl();
2177
+ message.turbidityFilter = (object.turbidityFilter !== undefined && object.turbidityFilter !== null)
2178
+ ? message_formats_1.FilterMessage.fromPartial(object.turbidityFilter)
2179
+ : undefined;
2180
+ return message;
2181
+ },
2182
+ };
2183
+ function createBaseCameraPanTiltZoomCtrl() {
2184
+ return { cameraPanTiltZoom: undefined };
2185
+ }
2186
+ exports.CameraPanTiltZoomCtrl = {
2187
+ encode(message, writer = new wire_1.BinaryWriter()) {
2188
+ if (message.cameraPanTiltZoom !== undefined) {
2189
+ message_formats_1.CameraPanTiltZoom.encode(message.cameraPanTiltZoom, writer.uint32(10).fork()).join();
2190
+ }
2191
+ return writer;
2192
+ },
2193
+ decode(input, length) {
2194
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2195
+ const end = length === undefined ? reader.len : reader.pos + length;
2196
+ const message = createBaseCameraPanTiltZoomCtrl();
2197
+ while (reader.pos < end) {
2198
+ const tag = reader.uint32();
2199
+ switch (tag >>> 3) {
2200
+ case 1: {
2201
+ if (tag !== 10) {
2202
+ break;
2203
+ }
2204
+ message.cameraPanTiltZoom = message_formats_1.CameraPanTiltZoom.decode(reader, reader.uint32());
2205
+ continue;
2206
+ }
2207
+ }
2208
+ if ((tag & 7) === 4 || tag === 0) {
2209
+ break;
2210
+ }
2211
+ reader.skip(tag & 7);
2212
+ }
2213
+ return message;
2214
+ },
2215
+ fromJSON(object) {
2216
+ return {
2217
+ cameraPanTiltZoom: isSet(object.cameraPanTiltZoom)
2218
+ ? message_formats_1.CameraPanTiltZoom.fromJSON(object.cameraPanTiltZoom)
2219
+ : undefined,
2220
+ };
2221
+ },
2222
+ toJSON(message) {
2223
+ const obj = {};
2224
+ if (message.cameraPanTiltZoom !== undefined) {
2225
+ obj.cameraPanTiltZoom = message_formats_1.CameraPanTiltZoom.toJSON(message.cameraPanTiltZoom);
2226
+ }
2227
+ return obj;
2228
+ },
2229
+ create(base) {
2230
+ return exports.CameraPanTiltZoomCtrl.fromPartial(base ?? {});
2231
+ },
2232
+ fromPartial(object) {
2233
+ const message = createBaseCameraPanTiltZoomCtrl();
2234
+ message.cameraPanTiltZoom = (object.cameraPanTiltZoom !== undefined && object.cameraPanTiltZoom !== null)
2235
+ ? message_formats_1.CameraPanTiltZoom.fromPartial(object.cameraPanTiltZoom)
2236
+ : undefined;
2237
+ return message;
2238
+ },
2239
+ };
2240
+ function createBaseStartLogStreamingCtrl() {
2241
+ return {};
2242
+ }
2243
+ exports.StartLogStreamingCtrl = {
2244
+ encode(_, writer = new wire_1.BinaryWriter()) {
2245
+ return writer;
2246
+ },
2247
+ decode(input, length) {
2248
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2249
+ const end = length === undefined ? reader.len : reader.pos + length;
2250
+ const message = createBaseStartLogStreamingCtrl();
2251
+ while (reader.pos < end) {
2252
+ const tag = reader.uint32();
2253
+ switch (tag >>> 3) {
2254
+ }
2255
+ if ((tag & 7) === 4 || tag === 0) {
2256
+ break;
2257
+ }
2258
+ reader.skip(tag & 7);
2259
+ }
2260
+ return message;
2261
+ },
2262
+ fromJSON(_) {
2263
+ return {};
2264
+ },
2265
+ toJSON(_) {
2266
+ const obj = {};
2267
+ return obj;
2268
+ },
2269
+ create(base) {
2270
+ return exports.StartLogStreamingCtrl.fromPartial(base ?? {});
2271
+ },
2272
+ fromPartial(_) {
2273
+ const message = createBaseStartLogStreamingCtrl();
2274
+ return message;
2275
+ },
2276
+ };
2277
+ function createBaseStopLogStreamingCtrl() {
2278
+ return {};
2279
+ }
2280
+ exports.StopLogStreamingCtrl = {
2281
+ encode(_, writer = new wire_1.BinaryWriter()) {
2282
+ return writer;
2283
+ },
2284
+ decode(input, length) {
2285
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2286
+ const end = length === undefined ? reader.len : reader.pos + length;
2287
+ const message = createBaseStopLogStreamingCtrl();
2288
+ while (reader.pos < end) {
2289
+ const tag = reader.uint32();
2290
+ switch (tag >>> 3) {
2291
+ }
2292
+ if ((tag & 7) === 4 || tag === 0) {
2293
+ break;
2294
+ }
2295
+ reader.skip(tag & 7);
2296
+ }
2297
+ return message;
2298
+ },
2299
+ fromJSON(_) {
2300
+ return {};
2301
+ },
2302
+ toJSON(_) {
2303
+ const obj = {};
2304
+ return obj;
2305
+ },
2306
+ create(base) {
2307
+ return exports.StopLogStreamingCtrl.fromPartial(base ?? {});
2308
+ },
2309
+ fromPartial(_) {
2310
+ const message = createBaseStopLogStreamingCtrl();
2311
+ return message;
2312
+ },
2313
+ };
2044
2314
  const gt = (() => {
2045
2315
  if (typeof globalThis !== "undefined") {
2046
2316
  return globalThis;
@@ -121,18 +121,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
121
121
  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 {} ? {
122
122
  [K in keyof T]?: DeepPartial<T[K]>;
123
123
  } : Partial<T>;
124
- type KeysOfUnion<T> = T extends T ? keyof T : never;
125
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
126
- [K in keyof P]: Exact<P[K], I[K]>;
127
- } & {
128
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
129
- };
130
124
  interface MessageFns<T> {
131
125
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
132
126
  decode(input: BinaryReader | Uint8Array, length?: number): T;
133
127
  fromJSON(object: any): T;
134
128
  toJSON(message: T): unknown;
135
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
136
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
129
+ create(base?: DeepPartial<T>): T;
130
+ fromPartial(object: DeepPartial<T>): T;
137
131
  }
138
132
  export {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/any.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -81,18 +81,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
81
81
  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 {} ? {
82
82
  [K in keyof T]?: DeepPartial<T[K]>;
83
83
  } : Partial<T>;
84
- type KeysOfUnion<T> = T extends T ? keyof T : never;
85
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
86
- [K in keyof P]: Exact<P[K], I[K]>;
87
- } & {
88
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
89
- };
90
84
  interface MessageFns<T> {
91
85
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
92
86
  decode(input: BinaryReader | Uint8Array, length?: number): T;
93
87
  fromJSON(object: any): T;
94
88
  toJSON(message: T): unknown;
95
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
96
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
89
+ create(base?: DeepPartial<T>): T;
90
+ fromPartial(object: DeepPartial<T>): T;
97
91
  }
98
92
  export {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/duration.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -110,18 +110,12 @@ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefi
110
110
  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 {} ? {
111
111
  [K in keyof T]?: DeepPartial<T[K]>;
112
112
  } : Partial<T>;
113
- type KeysOfUnion<T> = T extends T ? keyof T : never;
114
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
115
- [K in keyof P]: Exact<P[K], I[K]>;
116
- } & {
117
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
118
- };
119
113
  interface MessageFns<T> {
120
114
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
121
115
  decode(input: BinaryReader | Uint8Array, length?: number): T;
122
116
  fromJSON(object: any): T;
123
117
  toJSON(message: T): unknown;
124
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
125
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
118
+ create(base?: DeepPartial<T>): T;
119
+ fromPartial(object: DeepPartial<T>): T;
126
120
  }
127
121
  export {};
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: google/protobuf/timestamp.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;