@marleena/trb-proto 1.0.32 → 1.0.33

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.
@@ -309,6 +309,9 @@ export class ListCandlesRequest extends jspb.Message {
309
309
  getLimit(): number;
310
310
  setLimit(value: number): ListCandlesRequest;
311
311
 
312
+ getNewestFirst(): boolean;
313
+ setNewestFirst(value: boolean): ListCandlesRequest;
314
+
312
315
  serializeBinary(): Uint8Array;
313
316
  toObject(includeInstance?: boolean): ListCandlesRequest.AsObject;
314
317
  static toObject(includeInstance: boolean, msg: ListCandlesRequest): ListCandlesRequest.AsObject;
@@ -324,6 +327,7 @@ export namespace ListCandlesRequest {
324
327
  from?: google_protobuf_timestamp_pb.Timestamp.AsObject,
325
328
  to?: google_protobuf_timestamp_pb.Timestamp.AsObject,
326
329
  limit: number,
330
+ newestFirst: boolean,
327
331
  }
328
332
  }
329
333
 
@@ -2539,7 +2539,8 @@ uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
2539
2539
  interval: jspb.Message.getFieldWithDefault(msg, 2, 0),
2540
2540
  from: (f = msg.getFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2541
2541
  to: (f = msg.getTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2542
- limit: jspb.Message.getFieldWithDefault(msg, 5, 0)
2542
+ limit: jspb.Message.getFieldWithDefault(msg, 5, 0),
2543
+ newestFirst: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
2543
2544
  };
2544
2545
 
2545
2546
  if (includeInstance) {
@@ -2598,6 +2599,10 @@ proto.trb.clickhouse.v1.ListCandlesRequest.deserializeBinaryFromReader = functio
2598
2599
  var value = /** @type {number} */ (reader.readInt32());
2599
2600
  msg.setLimit(value);
2600
2601
  break;
2602
+ case 6:
2603
+ var value = /** @type {boolean} */ (reader.readBool());
2604
+ msg.setNewestFirst(value);
2605
+ break;
2601
2606
  default:
2602
2607
  reader.skipField();
2603
2608
  break;
@@ -2664,6 +2669,13 @@ proto.trb.clickhouse.v1.ListCandlesRequest.serializeBinaryToWriter = function(me
2664
2669
  f
2665
2670
  );
2666
2671
  }
2672
+ f = message.getNewestFirst();
2673
+ if (f) {
2674
+ writer.writeBool(
2675
+ 6,
2676
+ f
2677
+ );
2678
+ }
2667
2679
  };
2668
2680
 
2669
2681
 
@@ -2795,6 +2807,24 @@ proto.trb.clickhouse.v1.ListCandlesRequest.prototype.setLimit = function(value)
2795
2807
  };
2796
2808
 
2797
2809
 
2810
+ /**
2811
+ * optional bool newest_first = 6;
2812
+ * @return {boolean}
2813
+ */
2814
+ proto.trb.clickhouse.v1.ListCandlesRequest.prototype.getNewestFirst = function() {
2815
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
2816
+ };
2817
+
2818
+
2819
+ /**
2820
+ * @param {boolean} value
2821
+ * @return {!proto.trb.clickhouse.v1.ListCandlesRequest} returns this
2822
+ */
2823
+ proto.trb.clickhouse.v1.ListCandlesRequest.prototype.setNewestFirst = function(value) {
2824
+ return jspb.Message.setProto3BooleanField(this, 6, value);
2825
+ };
2826
+
2827
+
2798
2828
 
2799
2829
 
2800
2830
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marleena/trb-proto",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "Generated protobuf messages and gRPC-Web clients for TrB services",
5
5
  "license": "MIT",
6
6
  "repository": {