protobuf-platform 1.2.93 → 1.2.96
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/config/config.proto +2 -0
- package/config/config_grpc_pb.js +11 -0
- package/config/config_pb.js +49 -1
- package/package.json +1 -1
package/config/config.proto
CHANGED
|
@@ -29,6 +29,7 @@ service Config {
|
|
|
29
29
|
rpc updateMirror(ModifyMirrorRequest) returns (MirrorResponse);
|
|
30
30
|
rpc getMirrorsList(PaginationRequest) returns (MirrorItemsResponse);
|
|
31
31
|
rpc deleteSingleMirror(GetZoneRequest) returns (MirrorStatusResponse);
|
|
32
|
+
rpc enableSingleMirror(GetZoneRequest) returns (MirrorStatusResponse);
|
|
32
33
|
rpc syncActivatedMirrors(GetZoneRequest) returns (ActivatedMirrorsResponse);
|
|
33
34
|
}
|
|
34
35
|
|
|
@@ -148,6 +149,7 @@ message R2FileListResponse {
|
|
|
148
149
|
//Cloud Flare
|
|
149
150
|
message GetZoneRequest {
|
|
150
151
|
optional string domain = 1;
|
|
152
|
+
optional string id = 2;
|
|
151
153
|
}
|
|
152
154
|
message ZoneItem {
|
|
153
155
|
string id = 1;
|
package/config/config_grpc_pb.js
CHANGED
|
@@ -531,6 +531,17 @@ getZonesList: {
|
|
|
531
531
|
responseSerialize: serialize_config_MirrorStatusResponse,
|
|
532
532
|
responseDeserialize: deserialize_config_MirrorStatusResponse,
|
|
533
533
|
},
|
|
534
|
+
enableSingleMirror: {
|
|
535
|
+
path: '/config.Config/enableSingleMirror',
|
|
536
|
+
requestStream: false,
|
|
537
|
+
responseStream: false,
|
|
538
|
+
requestType: config_pb.GetZoneRequest,
|
|
539
|
+
responseType: config_pb.MirrorStatusResponse,
|
|
540
|
+
requestSerialize: serialize_config_GetZoneRequest,
|
|
541
|
+
requestDeserialize: deserialize_config_GetZoneRequest,
|
|
542
|
+
responseSerialize: serialize_config_MirrorStatusResponse,
|
|
543
|
+
responseDeserialize: deserialize_config_MirrorStatusResponse,
|
|
544
|
+
},
|
|
534
545
|
syncActivatedMirrors: {
|
|
535
546
|
path: '/config.Config/syncActivatedMirrors',
|
|
536
547
|
requestStream: false,
|
package/config/config_pb.js
CHANGED
|
@@ -5589,7 +5589,8 @@ proto.config.GetZoneRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
5589
5589
|
*/
|
|
5590
5590
|
proto.config.GetZoneRequest.toObject = function(includeInstance, msg) {
|
|
5591
5591
|
var f, obj = {
|
|
5592
|
-
domain: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5592
|
+
domain: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5593
|
+
id: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5593
5594
|
};
|
|
5594
5595
|
|
|
5595
5596
|
if (includeInstance) {
|
|
@@ -5630,6 +5631,10 @@ proto.config.GetZoneRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5630
5631
|
var value = /** @type {string} */ (reader.readString());
|
|
5631
5632
|
msg.setDomain(value);
|
|
5632
5633
|
break;
|
|
5634
|
+
case 2:
|
|
5635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5636
|
+
msg.setId(value);
|
|
5637
|
+
break;
|
|
5633
5638
|
default:
|
|
5634
5639
|
reader.skipField();
|
|
5635
5640
|
break;
|
|
@@ -5666,6 +5671,13 @@ proto.config.GetZoneRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
5666
5671
|
f
|
|
5667
5672
|
);
|
|
5668
5673
|
}
|
|
5674
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
5675
|
+
if (f != null) {
|
|
5676
|
+
writer.writeString(
|
|
5677
|
+
2,
|
|
5678
|
+
f
|
|
5679
|
+
);
|
|
5680
|
+
}
|
|
5669
5681
|
};
|
|
5670
5682
|
|
|
5671
5683
|
|
|
@@ -5705,6 +5717,42 @@ proto.config.GetZoneRequest.prototype.hasDomain = function() {
|
|
|
5705
5717
|
};
|
|
5706
5718
|
|
|
5707
5719
|
|
|
5720
|
+
/**
|
|
5721
|
+
* optional string id = 2;
|
|
5722
|
+
* @return {string}
|
|
5723
|
+
*/
|
|
5724
|
+
proto.config.GetZoneRequest.prototype.getId = function() {
|
|
5725
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5726
|
+
};
|
|
5727
|
+
|
|
5728
|
+
|
|
5729
|
+
/**
|
|
5730
|
+
* @param {string} value
|
|
5731
|
+
* @return {!proto.config.GetZoneRequest} returns this
|
|
5732
|
+
*/
|
|
5733
|
+
proto.config.GetZoneRequest.prototype.setId = function(value) {
|
|
5734
|
+
return jspb.Message.setField(this, 2, value);
|
|
5735
|
+
};
|
|
5736
|
+
|
|
5737
|
+
|
|
5738
|
+
/**
|
|
5739
|
+
* Clears the field making it undefined.
|
|
5740
|
+
* @return {!proto.config.GetZoneRequest} returns this
|
|
5741
|
+
*/
|
|
5742
|
+
proto.config.GetZoneRequest.prototype.clearId = function() {
|
|
5743
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
5744
|
+
};
|
|
5745
|
+
|
|
5746
|
+
|
|
5747
|
+
/**
|
|
5748
|
+
* Returns whether this field is set.
|
|
5749
|
+
* @return {boolean}
|
|
5750
|
+
*/
|
|
5751
|
+
proto.config.GetZoneRequest.prototype.hasId = function() {
|
|
5752
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5753
|
+
};
|
|
5754
|
+
|
|
5755
|
+
|
|
5708
5756
|
|
|
5709
5757
|
|
|
5710
5758
|
|