protobuf-platform 1.0.190 → 1.0.191
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/cms/cms.proto +2 -1
- package/cms/cms_pb.js +63 -11
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
package/cms/cms_pb.js
CHANGED
@@ -2463,7 +2463,7 @@ proto.cms.BurgerMenuWidgetItem.prototype.setContent = function(value) {
|
|
2463
2463
|
* @private {!Array<!Array<number>>}
|
2464
2464
|
* @const
|
2465
2465
|
*/
|
2466
|
-
proto.cms.BannerRequest.oneofGroups_ = [[1,2]];
|
2466
|
+
proto.cms.BannerRequest.oneofGroups_ = [[1,2,3]];
|
2467
2467
|
|
2468
2468
|
/**
|
2469
2469
|
* @enum {number}
|
@@ -2471,7 +2471,8 @@ proto.cms.BannerRequest.oneofGroups_ = [[1,2]];
|
|
2471
2471
|
proto.cms.BannerRequest.RequestCase = {
|
2472
2472
|
REQUEST_NOT_SET: 0,
|
2473
2473
|
BANNER_DATA: 1,
|
2474
|
-
|
2474
|
+
IMAGE_BIG: 2,
|
2475
|
+
IMAGE_SMALL: 3
|
2475
2476
|
};
|
2476
2477
|
|
2477
2478
|
/**
|
@@ -2513,7 +2514,8 @@ proto.cms.BannerRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2513
2514
|
proto.cms.BannerRequest.toObject = function(includeInstance, msg) {
|
2514
2515
|
var f, obj = {
|
2515
2516
|
bannerData: (f = msg.getBannerData()) && proto.cms.BannerItemRequest.toObject(includeInstance, f),
|
2516
|
-
|
2517
|
+
imageBig: (f = msg.getImageBig()) && proto.cms.File.toObject(includeInstance, f),
|
2518
|
+
imageSmall: (f = msg.getImageSmall()) && proto.cms.File.toObject(includeInstance, f)
|
2517
2519
|
};
|
2518
2520
|
|
2519
2521
|
if (includeInstance) {
|
@@ -2558,7 +2560,12 @@ proto.cms.BannerRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2558
2560
|
case 2:
|
2559
2561
|
var value = new proto.cms.File;
|
2560
2562
|
reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
|
2561
|
-
msg.
|
2563
|
+
msg.setImageBig(value);
|
2564
|
+
break;
|
2565
|
+
case 3:
|
2566
|
+
var value = new proto.cms.File;
|
2567
|
+
reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
|
2568
|
+
msg.setImageSmall(value);
|
2562
2569
|
break;
|
2563
2570
|
default:
|
2564
2571
|
reader.skipField();
|
@@ -2597,7 +2604,7 @@ proto.cms.BannerRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2597
2604
|
proto.cms.BannerItemRequest.serializeBinaryToWriter
|
2598
2605
|
);
|
2599
2606
|
}
|
2600
|
-
f = message.
|
2607
|
+
f = message.getImageBig();
|
2601
2608
|
if (f != null) {
|
2602
2609
|
writer.writeMessage(
|
2603
2610
|
2,
|
@@ -2605,6 +2612,14 @@ proto.cms.BannerRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2605
2612
|
proto.cms.File.serializeBinaryToWriter
|
2606
2613
|
);
|
2607
2614
|
}
|
2615
|
+
f = message.getImageSmall();
|
2616
|
+
if (f != null) {
|
2617
|
+
writer.writeMessage(
|
2618
|
+
3,
|
2619
|
+
f,
|
2620
|
+
proto.cms.File.serializeBinaryToWriter
|
2621
|
+
);
|
2622
|
+
}
|
2608
2623
|
};
|
2609
2624
|
|
2610
2625
|
|
@@ -2646,10 +2661,10 @@ proto.cms.BannerRequest.prototype.hasBannerData = function() {
|
|
2646
2661
|
|
2647
2662
|
|
2648
2663
|
/**
|
2649
|
-
* optional File
|
2664
|
+
* optional File image_big = 2;
|
2650
2665
|
* @return {?proto.cms.File}
|
2651
2666
|
*/
|
2652
|
-
proto.cms.BannerRequest.prototype.
|
2667
|
+
proto.cms.BannerRequest.prototype.getImageBig = function() {
|
2653
2668
|
return /** @type{?proto.cms.File} */ (
|
2654
2669
|
jspb.Message.getWrapperField(this, proto.cms.File, 2));
|
2655
2670
|
};
|
@@ -2659,7 +2674,7 @@ proto.cms.BannerRequest.prototype.getFiles = function() {
|
|
2659
2674
|
* @param {?proto.cms.File|undefined} value
|
2660
2675
|
* @return {!proto.cms.BannerRequest} returns this
|
2661
2676
|
*/
|
2662
|
-
proto.cms.BannerRequest.prototype.
|
2677
|
+
proto.cms.BannerRequest.prototype.setImageBig = function(value) {
|
2663
2678
|
return jspb.Message.setOneofWrapperField(this, 2, proto.cms.BannerRequest.oneofGroups_[0], value);
|
2664
2679
|
};
|
2665
2680
|
|
@@ -2668,8 +2683,8 @@ proto.cms.BannerRequest.prototype.setFiles = function(value) {
|
|
2668
2683
|
* Clears the message field making it undefined.
|
2669
2684
|
* @return {!proto.cms.BannerRequest} returns this
|
2670
2685
|
*/
|
2671
|
-
proto.cms.BannerRequest.prototype.
|
2672
|
-
return this.
|
2686
|
+
proto.cms.BannerRequest.prototype.clearImageBig = function() {
|
2687
|
+
return this.setImageBig(undefined);
|
2673
2688
|
};
|
2674
2689
|
|
2675
2690
|
|
@@ -2677,11 +2692,48 @@ proto.cms.BannerRequest.prototype.clearFiles = function() {
|
|
2677
2692
|
* Returns whether this field is set.
|
2678
2693
|
* @return {boolean}
|
2679
2694
|
*/
|
2680
|
-
proto.cms.BannerRequest.prototype.
|
2695
|
+
proto.cms.BannerRequest.prototype.hasImageBig = function() {
|
2681
2696
|
return jspb.Message.getField(this, 2) != null;
|
2682
2697
|
};
|
2683
2698
|
|
2684
2699
|
|
2700
|
+
/**
|
2701
|
+
* optional File image_small = 3;
|
2702
|
+
* @return {?proto.cms.File}
|
2703
|
+
*/
|
2704
|
+
proto.cms.BannerRequest.prototype.getImageSmall = function() {
|
2705
|
+
return /** @type{?proto.cms.File} */ (
|
2706
|
+
jspb.Message.getWrapperField(this, proto.cms.File, 3));
|
2707
|
+
};
|
2708
|
+
|
2709
|
+
|
2710
|
+
/**
|
2711
|
+
* @param {?proto.cms.File|undefined} value
|
2712
|
+
* @return {!proto.cms.BannerRequest} returns this
|
2713
|
+
*/
|
2714
|
+
proto.cms.BannerRequest.prototype.setImageSmall = function(value) {
|
2715
|
+
return jspb.Message.setOneofWrapperField(this, 3, proto.cms.BannerRequest.oneofGroups_[0], value);
|
2716
|
+
};
|
2717
|
+
|
2718
|
+
|
2719
|
+
/**
|
2720
|
+
* Clears the message field making it undefined.
|
2721
|
+
* @return {!proto.cms.BannerRequest} returns this
|
2722
|
+
*/
|
2723
|
+
proto.cms.BannerRequest.prototype.clearImageSmall = function() {
|
2724
|
+
return this.setImageSmall(undefined);
|
2725
|
+
};
|
2726
|
+
|
2727
|
+
|
2728
|
+
/**
|
2729
|
+
* Returns whether this field is set.
|
2730
|
+
* @return {boolean}
|
2731
|
+
*/
|
2732
|
+
proto.cms.BannerRequest.prototype.hasImageSmall = function() {
|
2733
|
+
return jspb.Message.getField(this, 3) != null;
|
2734
|
+
};
|
2735
|
+
|
2736
|
+
|
2685
2737
|
|
2686
2738
|
|
2687
2739
|
|