@marleena/trb-proto 1.0.58 → 1.0.61

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.
@@ -31,6 +31,16 @@ export class SubmitSearchRequest extends jspb.Message {
31
31
  hasConfig(): boolean;
32
32
  clearConfig(): SubmitSearchRequest;
33
33
 
34
+ getTemplate(): strategysearch_search_pb.StrategyTemplate | undefined;
35
+ setTemplate(value?: strategysearch_search_pb.StrategyTemplate): SubmitSearchRequest;
36
+ hasTemplate(): boolean;
37
+ clearTemplate(): SubmitSearchRequest;
38
+
39
+ getMarketSpace(): strategysearch_search_pb.MarketSpace | undefined;
40
+ setMarketSpace(value?: strategysearch_search_pb.MarketSpace): SubmitSearchRequest;
41
+ hasMarketSpace(): boolean;
42
+ clearMarketSpace(): SubmitSearchRequest;
43
+
34
44
  serializeBinary(): Uint8Array;
35
45
  toObject(includeInstance?: boolean): SubmitSearchRequest.AsObject;
36
46
  static toObject(includeInstance: boolean, msg: SubmitSearchRequest): SubmitSearchRequest.AsObject;
@@ -46,6 +56,8 @@ export namespace SubmitSearchRequest {
46
56
  searchSpaceList: Array<strategysearch_search_pb.ParamRange.AsObject>,
47
57
  study?: strategysearch_search_pb.StudyConfig.AsObject,
48
58
  config?: strategysearch_backtest_pb.BacktestConfig.AsObject,
59
+ template?: strategysearch_search_pb.StrategyTemplate.AsObject,
60
+ marketSpace?: strategysearch_search_pb.MarketSpace.AsObject,
49
61
  }
50
62
  }
51
63
 
@@ -323,6 +335,16 @@ export class SearchPreset extends jspb.Message {
323
335
  hasCreatedAt(): boolean;
324
336
  clearCreatedAt(): SearchPreset;
325
337
 
338
+ getTemplate(): strategysearch_search_pb.StrategyTemplate | undefined;
339
+ setTemplate(value?: strategysearch_search_pb.StrategyTemplate): SearchPreset;
340
+ hasTemplate(): boolean;
341
+ clearTemplate(): SearchPreset;
342
+
343
+ getMarketSpace(): strategysearch_search_pb.MarketSpace | undefined;
344
+ setMarketSpace(value?: strategysearch_search_pb.MarketSpace): SearchPreset;
345
+ hasMarketSpace(): boolean;
346
+ clearMarketSpace(): SearchPreset;
347
+
326
348
  serializeBinary(): Uint8Array;
327
349
  toObject(includeInstance?: boolean): SearchPreset.AsObject;
328
350
  static toObject(includeInstance: boolean, msg: SearchPreset): SearchPreset.AsObject;
@@ -340,6 +362,8 @@ export namespace SearchPreset {
340
362
  study?: strategysearch_search_pb.StudyConfig.AsObject,
341
363
  config?: strategysearch_backtest_pb.BacktestConfig.AsObject,
342
364
  createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
365
+ template?: strategysearch_search_pb.StrategyTemplate.AsObject,
366
+ marketSpace?: strategysearch_search_pb.MarketSpace.AsObject,
343
367
  }
344
368
  }
345
369
 
@@ -367,6 +391,16 @@ export class CreateSearchPresetRequest extends jspb.Message {
367
391
  hasConfig(): boolean;
368
392
  clearConfig(): CreateSearchPresetRequest;
369
393
 
394
+ getTemplate(): strategysearch_search_pb.StrategyTemplate | undefined;
395
+ setTemplate(value?: strategysearch_search_pb.StrategyTemplate): CreateSearchPresetRequest;
396
+ hasTemplate(): boolean;
397
+ clearTemplate(): CreateSearchPresetRequest;
398
+
399
+ getMarketSpace(): strategysearch_search_pb.MarketSpace | undefined;
400
+ setMarketSpace(value?: strategysearch_search_pb.MarketSpace): CreateSearchPresetRequest;
401
+ hasMarketSpace(): boolean;
402
+ clearMarketSpace(): CreateSearchPresetRequest;
403
+
370
404
  serializeBinary(): Uint8Array;
371
405
  toObject(includeInstance?: boolean): CreateSearchPresetRequest.AsObject;
372
406
  static toObject(includeInstance: boolean, msg: CreateSearchPresetRequest): CreateSearchPresetRequest.AsObject;
@@ -382,6 +416,8 @@ export namespace CreateSearchPresetRequest {
382
416
  searchSpaceList: Array<strategysearch_search_pb.ParamRange.AsObject>,
383
417
  study?: strategysearch_search_pb.StudyConfig.AsObject,
384
418
  config?: strategysearch_backtest_pb.BacktestConfig.AsObject,
419
+ template?: strategysearch_search_pb.StrategyTemplate.AsObject,
420
+ marketSpace?: strategysearch_search_pb.MarketSpace.AsObject,
385
421
  }
386
422
  }
387
423
 
@@ -471,7 +471,9 @@ baseSpec: (f = msg.getBaseSpec()) && strategysearch_spec_pb.StrategySearchSpec.t
471
471
  searchSpaceList: jspb.Message.toObjectList(msg.getSearchSpaceList(),
472
472
  strategysearch_search_pb.ParamRange.toObject, includeInstance),
473
473
  study: (f = msg.getStudy()) && strategysearch_search_pb.StudyConfig.toObject(includeInstance, f),
474
- config: (f = msg.getConfig()) && strategysearch_backtest_pb.BacktestConfig.toObject(includeInstance, f)
474
+ config: (f = msg.getConfig()) && strategysearch_backtest_pb.BacktestConfig.toObject(includeInstance, f),
475
+ template: (f = msg.getTemplate()) && strategysearch_search_pb.StrategyTemplate.toObject(includeInstance, f),
476
+ marketSpace: (f = msg.getMarketSpace()) && strategysearch_search_pb.MarketSpace.toObject(includeInstance, f)
475
477
  };
476
478
 
477
479
  if (includeInstance) {
@@ -532,6 +534,16 @@ proto.trb.strategysearch.v1.SubmitSearchRequest.deserializeBinaryFromReader = fu
532
534
  reader.readMessage(value,strategysearch_backtest_pb.BacktestConfig.deserializeBinaryFromReader);
533
535
  msg.setConfig(value);
534
536
  break;
537
+ case 6:
538
+ var value = new strategysearch_search_pb.StrategyTemplate;
539
+ reader.readMessage(value,strategysearch_search_pb.StrategyTemplate.deserializeBinaryFromReader);
540
+ msg.setTemplate(value);
541
+ break;
542
+ case 7:
543
+ var value = new strategysearch_search_pb.MarketSpace;
544
+ reader.readMessage(value,strategysearch_search_pb.MarketSpace.deserializeBinaryFromReader);
545
+ msg.setMarketSpace(value);
546
+ break;
535
547
  default:
536
548
  reader.skipField();
537
549
  break;
@@ -600,6 +612,22 @@ proto.trb.strategysearch.v1.SubmitSearchRequest.serializeBinaryToWriter = functi
600
612
  strategysearch_backtest_pb.BacktestConfig.serializeBinaryToWriter
601
613
  );
602
614
  }
615
+ f = message.getTemplate();
616
+ if (f != null) {
617
+ writer.writeMessage(
618
+ 6,
619
+ f,
620
+ strategysearch_search_pb.StrategyTemplate.serializeBinaryToWriter
621
+ );
622
+ }
623
+ f = message.getMarketSpace();
624
+ if (f != null) {
625
+ writer.writeMessage(
626
+ 7,
627
+ f,
628
+ strategysearch_search_pb.MarketSpace.serializeBinaryToWriter
629
+ );
630
+ }
603
631
  };
604
632
 
605
633
 
@@ -770,6 +798,80 @@ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.hasConfig = function()
770
798
  };
771
799
 
772
800
 
801
+ /**
802
+ * optional StrategyTemplate template = 6;
803
+ * @return {?proto.trb.strategysearch.v1.StrategyTemplate}
804
+ */
805
+ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.getTemplate = function() {
806
+ return /** @type{?proto.trb.strategysearch.v1.StrategyTemplate} */ (
807
+ jspb.Message.getWrapperField(this, strategysearch_search_pb.StrategyTemplate, 6));
808
+ };
809
+
810
+
811
+ /**
812
+ * @param {?proto.trb.strategysearch.v1.StrategyTemplate|undefined} value
813
+ * @return {!proto.trb.strategysearch.v1.SubmitSearchRequest} returns this
814
+ */
815
+ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.setTemplate = function(value) {
816
+ return jspb.Message.setWrapperField(this, 6, value);
817
+ };
818
+
819
+
820
+ /**
821
+ * Clears the message field making it undefined.
822
+ * @return {!proto.trb.strategysearch.v1.SubmitSearchRequest} returns this
823
+ */
824
+ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.clearTemplate = function() {
825
+ return this.setTemplate(undefined);
826
+ };
827
+
828
+
829
+ /**
830
+ * Returns whether this field is set.
831
+ * @return {boolean}
832
+ */
833
+ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.hasTemplate = function() {
834
+ return jspb.Message.getField(this, 6) != null;
835
+ };
836
+
837
+
838
+ /**
839
+ * optional MarketSpace market_space = 7;
840
+ * @return {?proto.trb.strategysearch.v1.MarketSpace}
841
+ */
842
+ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.getMarketSpace = function() {
843
+ return /** @type{?proto.trb.strategysearch.v1.MarketSpace} */ (
844
+ jspb.Message.getWrapperField(this, strategysearch_search_pb.MarketSpace, 7));
845
+ };
846
+
847
+
848
+ /**
849
+ * @param {?proto.trb.strategysearch.v1.MarketSpace|undefined} value
850
+ * @return {!proto.trb.strategysearch.v1.SubmitSearchRequest} returns this
851
+ */
852
+ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.setMarketSpace = function(value) {
853
+ return jspb.Message.setWrapperField(this, 7, value);
854
+ };
855
+
856
+
857
+ /**
858
+ * Clears the message field making it undefined.
859
+ * @return {!proto.trb.strategysearch.v1.SubmitSearchRequest} returns this
860
+ */
861
+ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.clearMarketSpace = function() {
862
+ return this.setMarketSpace(undefined);
863
+ };
864
+
865
+
866
+ /**
867
+ * Returns whether this field is set.
868
+ * @return {boolean}
869
+ */
870
+ proto.trb.strategysearch.v1.SubmitSearchRequest.prototype.hasMarketSpace = function() {
871
+ return jspb.Message.getField(this, 7) != null;
872
+ };
873
+
874
+
773
875
 
774
876
 
775
877
 
@@ -2636,7 +2738,9 @@ searchSpaceList: jspb.Message.toObjectList(msg.getSearchSpaceList(),
2636
2738
  strategysearch_search_pb.ParamRange.toObject, includeInstance),
2637
2739
  study: (f = msg.getStudy()) && strategysearch_search_pb.StudyConfig.toObject(includeInstance, f),
2638
2740
  config: (f = msg.getConfig()) && strategysearch_backtest_pb.BacktestConfig.toObject(includeInstance, f),
2639
- createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
2741
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2742
+ template: (f = msg.getTemplate()) && strategysearch_search_pb.StrategyTemplate.toObject(includeInstance, f),
2743
+ marketSpace: (f = msg.getMarketSpace()) && strategysearch_search_pb.MarketSpace.toObject(includeInstance, f)
2640
2744
  };
2641
2745
 
2642
2746
  if (includeInstance) {
@@ -2706,6 +2810,16 @@ proto.trb.strategysearch.v1.SearchPreset.deserializeBinaryFromReader = function(
2706
2810
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2707
2811
  msg.setCreatedAt(value);
2708
2812
  break;
2813
+ case 8:
2814
+ var value = new strategysearch_search_pb.StrategyTemplate;
2815
+ reader.readMessage(value,strategysearch_search_pb.StrategyTemplate.deserializeBinaryFromReader);
2816
+ msg.setTemplate(value);
2817
+ break;
2818
+ case 9:
2819
+ var value = new strategysearch_search_pb.MarketSpace;
2820
+ reader.readMessage(value,strategysearch_search_pb.MarketSpace.deserializeBinaryFromReader);
2821
+ msg.setMarketSpace(value);
2822
+ break;
2709
2823
  default:
2710
2824
  reader.skipField();
2711
2825
  break;
@@ -2789,6 +2903,22 @@ proto.trb.strategysearch.v1.SearchPreset.serializeBinaryToWriter = function(mess
2789
2903
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2790
2904
  );
2791
2905
  }
2906
+ f = message.getTemplate();
2907
+ if (f != null) {
2908
+ writer.writeMessage(
2909
+ 8,
2910
+ f,
2911
+ strategysearch_search_pb.StrategyTemplate.serializeBinaryToWriter
2912
+ );
2913
+ }
2914
+ f = message.getMarketSpace();
2915
+ if (f != null) {
2916
+ writer.writeMessage(
2917
+ 9,
2918
+ f,
2919
+ strategysearch_search_pb.MarketSpace.serializeBinaryToWriter
2920
+ );
2921
+ }
2792
2922
  };
2793
2923
 
2794
2924
 
@@ -3014,6 +3144,80 @@ proto.trb.strategysearch.v1.SearchPreset.prototype.hasCreatedAt = function() {
3014
3144
  };
3015
3145
 
3016
3146
 
3147
+ /**
3148
+ * optional StrategyTemplate template = 8;
3149
+ * @return {?proto.trb.strategysearch.v1.StrategyTemplate}
3150
+ */
3151
+ proto.trb.strategysearch.v1.SearchPreset.prototype.getTemplate = function() {
3152
+ return /** @type{?proto.trb.strategysearch.v1.StrategyTemplate} */ (
3153
+ jspb.Message.getWrapperField(this, strategysearch_search_pb.StrategyTemplate, 8));
3154
+ };
3155
+
3156
+
3157
+ /**
3158
+ * @param {?proto.trb.strategysearch.v1.StrategyTemplate|undefined} value
3159
+ * @return {!proto.trb.strategysearch.v1.SearchPreset} returns this
3160
+ */
3161
+ proto.trb.strategysearch.v1.SearchPreset.prototype.setTemplate = function(value) {
3162
+ return jspb.Message.setWrapperField(this, 8, value);
3163
+ };
3164
+
3165
+
3166
+ /**
3167
+ * Clears the message field making it undefined.
3168
+ * @return {!proto.trb.strategysearch.v1.SearchPreset} returns this
3169
+ */
3170
+ proto.trb.strategysearch.v1.SearchPreset.prototype.clearTemplate = function() {
3171
+ return this.setTemplate(undefined);
3172
+ };
3173
+
3174
+
3175
+ /**
3176
+ * Returns whether this field is set.
3177
+ * @return {boolean}
3178
+ */
3179
+ proto.trb.strategysearch.v1.SearchPreset.prototype.hasTemplate = function() {
3180
+ return jspb.Message.getField(this, 8) != null;
3181
+ };
3182
+
3183
+
3184
+ /**
3185
+ * optional MarketSpace market_space = 9;
3186
+ * @return {?proto.trb.strategysearch.v1.MarketSpace}
3187
+ */
3188
+ proto.trb.strategysearch.v1.SearchPreset.prototype.getMarketSpace = function() {
3189
+ return /** @type{?proto.trb.strategysearch.v1.MarketSpace} */ (
3190
+ jspb.Message.getWrapperField(this, strategysearch_search_pb.MarketSpace, 9));
3191
+ };
3192
+
3193
+
3194
+ /**
3195
+ * @param {?proto.trb.strategysearch.v1.MarketSpace|undefined} value
3196
+ * @return {!proto.trb.strategysearch.v1.SearchPreset} returns this
3197
+ */
3198
+ proto.trb.strategysearch.v1.SearchPreset.prototype.setMarketSpace = function(value) {
3199
+ return jspb.Message.setWrapperField(this, 9, value);
3200
+ };
3201
+
3202
+
3203
+ /**
3204
+ * Clears the message field making it undefined.
3205
+ * @return {!proto.trb.strategysearch.v1.SearchPreset} returns this
3206
+ */
3207
+ proto.trb.strategysearch.v1.SearchPreset.prototype.clearMarketSpace = function() {
3208
+ return this.setMarketSpace(undefined);
3209
+ };
3210
+
3211
+
3212
+ /**
3213
+ * Returns whether this field is set.
3214
+ * @return {boolean}
3215
+ */
3216
+ proto.trb.strategysearch.v1.SearchPreset.prototype.hasMarketSpace = function() {
3217
+ return jspb.Message.getField(this, 9) != null;
3218
+ };
3219
+
3220
+
3017
3221
 
3018
3222
  /**
3019
3223
  * List of repeated fields within this message type.
@@ -3058,7 +3262,9 @@ baseSpec: (f = msg.getBaseSpec()) && strategysearch_spec_pb.StrategySearchSpec.t
3058
3262
  searchSpaceList: jspb.Message.toObjectList(msg.getSearchSpaceList(),
3059
3263
  strategysearch_search_pb.ParamRange.toObject, includeInstance),
3060
3264
  study: (f = msg.getStudy()) && strategysearch_search_pb.StudyConfig.toObject(includeInstance, f),
3061
- config: (f = msg.getConfig()) && strategysearch_backtest_pb.BacktestConfig.toObject(includeInstance, f)
3265
+ config: (f = msg.getConfig()) && strategysearch_backtest_pb.BacktestConfig.toObject(includeInstance, f),
3266
+ template: (f = msg.getTemplate()) && strategysearch_search_pb.StrategyTemplate.toObject(includeInstance, f),
3267
+ marketSpace: (f = msg.getMarketSpace()) && strategysearch_search_pb.MarketSpace.toObject(includeInstance, f)
3062
3268
  };
3063
3269
 
3064
3270
  if (includeInstance) {
@@ -3119,6 +3325,16 @@ proto.trb.strategysearch.v1.CreateSearchPresetRequest.deserializeBinaryFromReade
3119
3325
  reader.readMessage(value,strategysearch_backtest_pb.BacktestConfig.deserializeBinaryFromReader);
3120
3326
  msg.setConfig(value);
3121
3327
  break;
3328
+ case 6:
3329
+ var value = new strategysearch_search_pb.StrategyTemplate;
3330
+ reader.readMessage(value,strategysearch_search_pb.StrategyTemplate.deserializeBinaryFromReader);
3331
+ msg.setTemplate(value);
3332
+ break;
3333
+ case 7:
3334
+ var value = new strategysearch_search_pb.MarketSpace;
3335
+ reader.readMessage(value,strategysearch_search_pb.MarketSpace.deserializeBinaryFromReader);
3336
+ msg.setMarketSpace(value);
3337
+ break;
3122
3338
  default:
3123
3339
  reader.skipField();
3124
3340
  break;
@@ -3187,6 +3403,22 @@ proto.trb.strategysearch.v1.CreateSearchPresetRequest.serializeBinaryToWriter =
3187
3403
  strategysearch_backtest_pb.BacktestConfig.serializeBinaryToWriter
3188
3404
  );
3189
3405
  }
3406
+ f = message.getTemplate();
3407
+ if (f != null) {
3408
+ writer.writeMessage(
3409
+ 6,
3410
+ f,
3411
+ strategysearch_search_pb.StrategyTemplate.serializeBinaryToWriter
3412
+ );
3413
+ }
3414
+ f = message.getMarketSpace();
3415
+ if (f != null) {
3416
+ writer.writeMessage(
3417
+ 7,
3418
+ f,
3419
+ strategysearch_search_pb.MarketSpace.serializeBinaryToWriter
3420
+ );
3421
+ }
3190
3422
  };
3191
3423
 
3192
3424
 
@@ -3357,6 +3589,80 @@ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.hasConfig = func
3357
3589
  };
3358
3590
 
3359
3591
 
3592
+ /**
3593
+ * optional StrategyTemplate template = 6;
3594
+ * @return {?proto.trb.strategysearch.v1.StrategyTemplate}
3595
+ */
3596
+ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.getTemplate = function() {
3597
+ return /** @type{?proto.trb.strategysearch.v1.StrategyTemplate} */ (
3598
+ jspb.Message.getWrapperField(this, strategysearch_search_pb.StrategyTemplate, 6));
3599
+ };
3600
+
3601
+
3602
+ /**
3603
+ * @param {?proto.trb.strategysearch.v1.StrategyTemplate|undefined} value
3604
+ * @return {!proto.trb.strategysearch.v1.CreateSearchPresetRequest} returns this
3605
+ */
3606
+ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.setTemplate = function(value) {
3607
+ return jspb.Message.setWrapperField(this, 6, value);
3608
+ };
3609
+
3610
+
3611
+ /**
3612
+ * Clears the message field making it undefined.
3613
+ * @return {!proto.trb.strategysearch.v1.CreateSearchPresetRequest} returns this
3614
+ */
3615
+ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.clearTemplate = function() {
3616
+ return this.setTemplate(undefined);
3617
+ };
3618
+
3619
+
3620
+ /**
3621
+ * Returns whether this field is set.
3622
+ * @return {boolean}
3623
+ */
3624
+ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.hasTemplate = function() {
3625
+ return jspb.Message.getField(this, 6) != null;
3626
+ };
3627
+
3628
+
3629
+ /**
3630
+ * optional MarketSpace market_space = 7;
3631
+ * @return {?proto.trb.strategysearch.v1.MarketSpace}
3632
+ */
3633
+ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.getMarketSpace = function() {
3634
+ return /** @type{?proto.trb.strategysearch.v1.MarketSpace} */ (
3635
+ jspb.Message.getWrapperField(this, strategysearch_search_pb.MarketSpace, 7));
3636
+ };
3637
+
3638
+
3639
+ /**
3640
+ * @param {?proto.trb.strategysearch.v1.MarketSpace|undefined} value
3641
+ * @return {!proto.trb.strategysearch.v1.CreateSearchPresetRequest} returns this
3642
+ */
3643
+ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.setMarketSpace = function(value) {
3644
+ return jspb.Message.setWrapperField(this, 7, value);
3645
+ };
3646
+
3647
+
3648
+ /**
3649
+ * Clears the message field making it undefined.
3650
+ * @return {!proto.trb.strategysearch.v1.CreateSearchPresetRequest} returns this
3651
+ */
3652
+ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.clearMarketSpace = function() {
3653
+ return this.setMarketSpace(undefined);
3654
+ };
3655
+
3656
+
3657
+ /**
3658
+ * Returns whether this field is set.
3659
+ * @return {boolean}
3660
+ */
3661
+ proto.trb.strategysearch.v1.CreateSearchPresetRequest.prototype.hasMarketSpace = function() {
3662
+ return jspb.Message.getField(this, 7) != null;
3663
+ };
3664
+
3665
+
3360
3666
 
3361
3667
 
3362
3668
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marleena/trb-proto",
3
- "version": "1.0.58",
3
+ "version": "1.0.61",
4
4
  "description": "Generated protobuf messages and gRPC-Web clients for TrB services",
5
5
  "license": "MIT",
6
6
  "repository": {