@replit/protocol 0.4.8 → 0.4.10
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/README.md +9 -20
- package/main/index.d.ts +352 -25
- package/main/index.js +943 -95
- package/package.json +1 -1
package/main/index.js
CHANGED
|
@@ -8452,6 +8452,9 @@
|
|
|
8452
8452
|
* @property {Array.<string>|null} [maintainers] NixPackage maintainers
|
|
8453
8453
|
* @property {Array.<string>|null} [licenses] NixPackage licenses
|
|
8454
8454
|
* @property {boolean|null} [present] NixPackage present
|
|
8455
|
+
* @property {Object.<string,string>|null} [storePaths] NixPackage storePaths
|
|
8456
|
+
* @property {Array.<string>|null} [propagatedBuildInputs] NixPackage propagatedBuildInputs
|
|
8457
|
+
* @property {Array.<string>|null} [propagatedNativeBuildInputs] NixPackage propagatedNativeBuildInputs
|
|
8455
8458
|
*/
|
|
8456
8459
|
|
|
8457
8460
|
/**
|
|
@@ -8465,6 +8468,9 @@
|
|
|
8465
8468
|
this.homepageURL = [];
|
|
8466
8469
|
this.maintainers = [];
|
|
8467
8470
|
this.licenses = [];
|
|
8471
|
+
this.storePaths = {};
|
|
8472
|
+
this.propagatedBuildInputs = [];
|
|
8473
|
+
this.propagatedNativeBuildInputs = [];
|
|
8468
8474
|
if (properties)
|
|
8469
8475
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
8470
8476
|
if (properties[keys[i]] != null)
|
|
@@ -8527,6 +8533,30 @@
|
|
|
8527
8533
|
*/
|
|
8528
8534
|
NixPackage.prototype.present = false;
|
|
8529
8535
|
|
|
8536
|
+
/**
|
|
8537
|
+
* NixPackage storePaths.
|
|
8538
|
+
* @member {Object.<string,string>} storePaths
|
|
8539
|
+
* @memberof replit.goval.api.NixPackage
|
|
8540
|
+
* @instance
|
|
8541
|
+
*/
|
|
8542
|
+
NixPackage.prototype.storePaths = $util.emptyObject;
|
|
8543
|
+
|
|
8544
|
+
/**
|
|
8545
|
+
* NixPackage propagatedBuildInputs.
|
|
8546
|
+
* @member {Array.<string>} propagatedBuildInputs
|
|
8547
|
+
* @memberof replit.goval.api.NixPackage
|
|
8548
|
+
* @instance
|
|
8549
|
+
*/
|
|
8550
|
+
NixPackage.prototype.propagatedBuildInputs = $util.emptyArray;
|
|
8551
|
+
|
|
8552
|
+
/**
|
|
8553
|
+
* NixPackage propagatedNativeBuildInputs.
|
|
8554
|
+
* @member {Array.<string>} propagatedNativeBuildInputs
|
|
8555
|
+
* @memberof replit.goval.api.NixPackage
|
|
8556
|
+
* @instance
|
|
8557
|
+
*/
|
|
8558
|
+
NixPackage.prototype.propagatedNativeBuildInputs = $util.emptyArray;
|
|
8559
|
+
|
|
8530
8560
|
/**
|
|
8531
8561
|
* Creates a new NixPackage instance using the specified properties.
|
|
8532
8562
|
* @function create
|
|
@@ -8568,6 +8598,15 @@
|
|
|
8568
8598
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.licenses[i]);
|
|
8569
8599
|
if (message.present != null && Object.hasOwnProperty.call(message, "present"))
|
|
8570
8600
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.present);
|
|
8601
|
+
if (message.storePaths != null && Object.hasOwnProperty.call(message, "storePaths"))
|
|
8602
|
+
for (var keys = Object.keys(message.storePaths), i = 0; i < keys.length; ++i)
|
|
8603
|
+
writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.storePaths[keys[i]]).ldelim();
|
|
8604
|
+
if (message.propagatedBuildInputs != null && message.propagatedBuildInputs.length)
|
|
8605
|
+
for (var i = 0; i < message.propagatedBuildInputs.length; ++i)
|
|
8606
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.propagatedBuildInputs[i]);
|
|
8607
|
+
if (message.propagatedNativeBuildInputs != null && message.propagatedNativeBuildInputs.length)
|
|
8608
|
+
for (var i = 0; i < message.propagatedNativeBuildInputs.length; ++i)
|
|
8609
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.propagatedNativeBuildInputs[i]);
|
|
8571
8610
|
return writer;
|
|
8572
8611
|
};
|
|
8573
8612
|
|
|
@@ -8598,7 +8637,7 @@
|
|
|
8598
8637
|
NixPackage.decode = function decode(reader, length) {
|
|
8599
8638
|
if (!(reader instanceof $Reader))
|
|
8600
8639
|
reader = $Reader.create(reader);
|
|
8601
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixPackage();
|
|
8640
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixPackage(), key, value;
|
|
8602
8641
|
while (reader.pos < end) {
|
|
8603
8642
|
var tag = reader.uint32();
|
|
8604
8643
|
switch (tag >>> 3) {
|
|
@@ -8636,6 +8675,41 @@
|
|
|
8636
8675
|
message.present = reader.bool();
|
|
8637
8676
|
break;
|
|
8638
8677
|
}
|
|
8678
|
+
case 8: {
|
|
8679
|
+
if (message.storePaths === $util.emptyObject)
|
|
8680
|
+
message.storePaths = {};
|
|
8681
|
+
var end2 = reader.uint32() + reader.pos;
|
|
8682
|
+
key = "";
|
|
8683
|
+
value = "";
|
|
8684
|
+
while (reader.pos < end2) {
|
|
8685
|
+
var tag2 = reader.uint32();
|
|
8686
|
+
switch (tag2 >>> 3) {
|
|
8687
|
+
case 1:
|
|
8688
|
+
key = reader.string();
|
|
8689
|
+
break;
|
|
8690
|
+
case 2:
|
|
8691
|
+
value = reader.string();
|
|
8692
|
+
break;
|
|
8693
|
+
default:
|
|
8694
|
+
reader.skipType(tag2 & 7);
|
|
8695
|
+
break;
|
|
8696
|
+
}
|
|
8697
|
+
}
|
|
8698
|
+
message.storePaths[key] = value;
|
|
8699
|
+
break;
|
|
8700
|
+
}
|
|
8701
|
+
case 9: {
|
|
8702
|
+
if (!(message.propagatedBuildInputs && message.propagatedBuildInputs.length))
|
|
8703
|
+
message.propagatedBuildInputs = [];
|
|
8704
|
+
message.propagatedBuildInputs.push(reader.string());
|
|
8705
|
+
break;
|
|
8706
|
+
}
|
|
8707
|
+
case 10: {
|
|
8708
|
+
if (!(message.propagatedNativeBuildInputs && message.propagatedNativeBuildInputs.length))
|
|
8709
|
+
message.propagatedNativeBuildInputs = [];
|
|
8710
|
+
message.propagatedNativeBuildInputs.push(reader.string());
|
|
8711
|
+
break;
|
|
8712
|
+
}
|
|
8639
8713
|
default:
|
|
8640
8714
|
reader.skipType(tag & 7);
|
|
8641
8715
|
break;
|
|
@@ -8704,6 +8778,28 @@
|
|
|
8704
8778
|
if (message.present != null && message.hasOwnProperty("present"))
|
|
8705
8779
|
if (typeof message.present !== "boolean")
|
|
8706
8780
|
return "present: boolean expected";
|
|
8781
|
+
if (message.storePaths != null && message.hasOwnProperty("storePaths")) {
|
|
8782
|
+
if (!$util.isObject(message.storePaths))
|
|
8783
|
+
return "storePaths: object expected";
|
|
8784
|
+
var key = Object.keys(message.storePaths);
|
|
8785
|
+
for (var i = 0; i < key.length; ++i)
|
|
8786
|
+
if (!$util.isString(message.storePaths[key[i]]))
|
|
8787
|
+
return "storePaths: string{k:string} expected";
|
|
8788
|
+
}
|
|
8789
|
+
if (message.propagatedBuildInputs != null && message.hasOwnProperty("propagatedBuildInputs")) {
|
|
8790
|
+
if (!Array.isArray(message.propagatedBuildInputs))
|
|
8791
|
+
return "propagatedBuildInputs: array expected";
|
|
8792
|
+
for (var i = 0; i < message.propagatedBuildInputs.length; ++i)
|
|
8793
|
+
if (!$util.isString(message.propagatedBuildInputs[i]))
|
|
8794
|
+
return "propagatedBuildInputs: string[] expected";
|
|
8795
|
+
}
|
|
8796
|
+
if (message.propagatedNativeBuildInputs != null && message.hasOwnProperty("propagatedNativeBuildInputs")) {
|
|
8797
|
+
if (!Array.isArray(message.propagatedNativeBuildInputs))
|
|
8798
|
+
return "propagatedNativeBuildInputs: array expected";
|
|
8799
|
+
for (var i = 0; i < message.propagatedNativeBuildInputs.length; ++i)
|
|
8800
|
+
if (!$util.isString(message.propagatedNativeBuildInputs[i]))
|
|
8801
|
+
return "propagatedNativeBuildInputs: string[] expected";
|
|
8802
|
+
}
|
|
8707
8803
|
return null;
|
|
8708
8804
|
};
|
|
8709
8805
|
|
|
@@ -8748,6 +8844,27 @@
|
|
|
8748
8844
|
}
|
|
8749
8845
|
if (object.present != null)
|
|
8750
8846
|
message.present = Boolean(object.present);
|
|
8847
|
+
if (object.storePaths) {
|
|
8848
|
+
if (typeof object.storePaths !== "object")
|
|
8849
|
+
throw TypeError(".replit.goval.api.NixPackage.storePaths: object expected");
|
|
8850
|
+
message.storePaths = {};
|
|
8851
|
+
for (var keys = Object.keys(object.storePaths), i = 0; i < keys.length; ++i)
|
|
8852
|
+
message.storePaths[keys[i]] = String(object.storePaths[keys[i]]);
|
|
8853
|
+
}
|
|
8854
|
+
if (object.propagatedBuildInputs) {
|
|
8855
|
+
if (!Array.isArray(object.propagatedBuildInputs))
|
|
8856
|
+
throw TypeError(".replit.goval.api.NixPackage.propagatedBuildInputs: array expected");
|
|
8857
|
+
message.propagatedBuildInputs = [];
|
|
8858
|
+
for (var i = 0; i < object.propagatedBuildInputs.length; ++i)
|
|
8859
|
+
message.propagatedBuildInputs[i] = String(object.propagatedBuildInputs[i]);
|
|
8860
|
+
}
|
|
8861
|
+
if (object.propagatedNativeBuildInputs) {
|
|
8862
|
+
if (!Array.isArray(object.propagatedNativeBuildInputs))
|
|
8863
|
+
throw TypeError(".replit.goval.api.NixPackage.propagatedNativeBuildInputs: array expected");
|
|
8864
|
+
message.propagatedNativeBuildInputs = [];
|
|
8865
|
+
for (var i = 0; i < object.propagatedNativeBuildInputs.length; ++i)
|
|
8866
|
+
message.propagatedNativeBuildInputs[i] = String(object.propagatedNativeBuildInputs[i]);
|
|
8867
|
+
}
|
|
8751
8868
|
return message;
|
|
8752
8869
|
};
|
|
8753
8870
|
|
|
@@ -8768,7 +8885,11 @@
|
|
|
8768
8885
|
object.homepageURL = [];
|
|
8769
8886
|
object.maintainers = [];
|
|
8770
8887
|
object.licenses = [];
|
|
8888
|
+
object.propagatedBuildInputs = [];
|
|
8889
|
+
object.propagatedNativeBuildInputs = [];
|
|
8771
8890
|
}
|
|
8891
|
+
if (options.objects || options.defaults)
|
|
8892
|
+
object.storePaths = {};
|
|
8772
8893
|
if (options.defaults) {
|
|
8773
8894
|
object.name = "";
|
|
8774
8895
|
object.description = "";
|
|
@@ -8798,6 +8919,22 @@
|
|
|
8798
8919
|
}
|
|
8799
8920
|
if (message.present != null && message.hasOwnProperty("present"))
|
|
8800
8921
|
object.present = message.present;
|
|
8922
|
+
var keys2;
|
|
8923
|
+
if (message.storePaths && (keys2 = Object.keys(message.storePaths)).length) {
|
|
8924
|
+
object.storePaths = {};
|
|
8925
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
8926
|
+
object.storePaths[keys2[j]] = message.storePaths[keys2[j]];
|
|
8927
|
+
}
|
|
8928
|
+
if (message.propagatedBuildInputs && message.propagatedBuildInputs.length) {
|
|
8929
|
+
object.propagatedBuildInputs = [];
|
|
8930
|
+
for (var j = 0; j < message.propagatedBuildInputs.length; ++j)
|
|
8931
|
+
object.propagatedBuildInputs[j] = message.propagatedBuildInputs[j];
|
|
8932
|
+
}
|
|
8933
|
+
if (message.propagatedNativeBuildInputs && message.propagatedNativeBuildInputs.length) {
|
|
8934
|
+
object.propagatedNativeBuildInputs = [];
|
|
8935
|
+
for (var j = 0; j < message.propagatedNativeBuildInputs.length; ++j)
|
|
8936
|
+
object.propagatedNativeBuildInputs[j] = message.propagatedNativeBuildInputs[j];
|
|
8937
|
+
}
|
|
8801
8938
|
return object;
|
|
8802
8939
|
};
|
|
8803
8940
|
|
|
@@ -51686,6 +51823,213 @@
|
|
|
51686
51823
|
return RunConfig;
|
|
51687
51824
|
})();
|
|
51688
51825
|
|
|
51826
|
+
api.InterpConfig = (function() {
|
|
51827
|
+
|
|
51828
|
+
/**
|
|
51829
|
+
* Properties of an InterpConfig.
|
|
51830
|
+
* @memberof replit.goval.api
|
|
51831
|
+
* @interface IInterpConfig
|
|
51832
|
+
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [command] InterpConfig command
|
|
51833
|
+
*/
|
|
51834
|
+
|
|
51835
|
+
/**
|
|
51836
|
+
* Constructs a new InterpConfig.
|
|
51837
|
+
* @memberof replit.goval.api
|
|
51838
|
+
* @classdesc Represents an InterpConfig.
|
|
51839
|
+
* @constructor
|
|
51840
|
+
* @param {replit.goval.api.IInterpConfig=} [properties] Properties to set
|
|
51841
|
+
*/
|
|
51842
|
+
function InterpConfig(properties) {
|
|
51843
|
+
if (properties)
|
|
51844
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
51845
|
+
if (properties[keys[i]] != null)
|
|
51846
|
+
this[keys[i]] = properties[keys[i]];
|
|
51847
|
+
}
|
|
51848
|
+
|
|
51849
|
+
/**
|
|
51850
|
+
* InterpConfig command.
|
|
51851
|
+
* @member {replit.goval.api.Exec|null|undefined} command
|
|
51852
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51853
|
+
* @instance
|
|
51854
|
+
*/
|
|
51855
|
+
InterpConfig.prototype.command = null;
|
|
51856
|
+
|
|
51857
|
+
/**
|
|
51858
|
+
* Creates a new InterpConfig instance using the specified properties.
|
|
51859
|
+
* @function create
|
|
51860
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51861
|
+
* @static
|
|
51862
|
+
* @param {replit.goval.api.IInterpConfig=} [properties] Properties to set
|
|
51863
|
+
* @returns {replit.goval.api.InterpConfig} InterpConfig instance
|
|
51864
|
+
*/
|
|
51865
|
+
InterpConfig.create = function create(properties) {
|
|
51866
|
+
return InterpConfig.fromObject(properties);
|
|
51867
|
+
};
|
|
51868
|
+
|
|
51869
|
+
/**
|
|
51870
|
+
* Encodes the specified InterpConfig message. Does not implicitly {@link replit.goval.api.InterpConfig.verify|verify} messages.
|
|
51871
|
+
* @function encode
|
|
51872
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51873
|
+
* @static
|
|
51874
|
+
* @param {replit.goval.api.InterpConfig} message InterpConfig message or plain object to encode
|
|
51875
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
51876
|
+
* @returns {$protobuf.Writer} Writer
|
|
51877
|
+
*/
|
|
51878
|
+
InterpConfig.encode = function encode(message, writer) {
|
|
51879
|
+
if (!writer)
|
|
51880
|
+
writer = $Writer.create();
|
|
51881
|
+
if (message.command != null && Object.hasOwnProperty.call(message, "command"))
|
|
51882
|
+
$root.replit.goval.api.Exec.encode(message.command, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
51883
|
+
return writer;
|
|
51884
|
+
};
|
|
51885
|
+
|
|
51886
|
+
/**
|
|
51887
|
+
* Encodes the specified InterpConfig message, length delimited. Does not implicitly {@link replit.goval.api.InterpConfig.verify|verify} messages.
|
|
51888
|
+
* @function encodeDelimited
|
|
51889
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51890
|
+
* @static
|
|
51891
|
+
* @param {replit.goval.api.InterpConfig} message InterpConfig message or plain object to encode
|
|
51892
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
51893
|
+
* @returns {$protobuf.Writer} Writer
|
|
51894
|
+
*/
|
|
51895
|
+
InterpConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
51896
|
+
return this.encode(message, writer).ldelim();
|
|
51897
|
+
};
|
|
51898
|
+
|
|
51899
|
+
/**
|
|
51900
|
+
* Decodes an InterpConfig message from the specified reader or buffer.
|
|
51901
|
+
* @function decode
|
|
51902
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51903
|
+
* @static
|
|
51904
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
51905
|
+
* @param {number} [length] Message length if known beforehand
|
|
51906
|
+
* @returns {replit.goval.api.InterpConfig} InterpConfig
|
|
51907
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51908
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51909
|
+
*/
|
|
51910
|
+
InterpConfig.decode = function decode(reader, length) {
|
|
51911
|
+
if (!(reader instanceof $Reader))
|
|
51912
|
+
reader = $Reader.create(reader);
|
|
51913
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.InterpConfig();
|
|
51914
|
+
while (reader.pos < end) {
|
|
51915
|
+
var tag = reader.uint32();
|
|
51916
|
+
switch (tag >>> 3) {
|
|
51917
|
+
case 1: {
|
|
51918
|
+
message.command = $root.replit.goval.api.Exec.decode(reader, reader.uint32());
|
|
51919
|
+
break;
|
|
51920
|
+
}
|
|
51921
|
+
default:
|
|
51922
|
+
reader.skipType(tag & 7);
|
|
51923
|
+
break;
|
|
51924
|
+
}
|
|
51925
|
+
}
|
|
51926
|
+
return message;
|
|
51927
|
+
};
|
|
51928
|
+
|
|
51929
|
+
/**
|
|
51930
|
+
* Decodes an InterpConfig message from the specified reader or buffer, length delimited.
|
|
51931
|
+
* @function decodeDelimited
|
|
51932
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51933
|
+
* @static
|
|
51934
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
51935
|
+
* @returns {replit.goval.api.InterpConfig} InterpConfig
|
|
51936
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51937
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51938
|
+
*/
|
|
51939
|
+
InterpConfig.decodeDelimited = function decodeDelimited(reader) {
|
|
51940
|
+
if (!(reader instanceof $Reader))
|
|
51941
|
+
reader = new $Reader(reader);
|
|
51942
|
+
return this.decode(reader, reader.uint32());
|
|
51943
|
+
};
|
|
51944
|
+
|
|
51945
|
+
/**
|
|
51946
|
+
* Verifies an InterpConfig message.
|
|
51947
|
+
* @function verify
|
|
51948
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51949
|
+
* @static
|
|
51950
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
51951
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
51952
|
+
*/
|
|
51953
|
+
InterpConfig.verify = function verify(message) {
|
|
51954
|
+
if (typeof message !== "object" || message === null)
|
|
51955
|
+
return "object expected";
|
|
51956
|
+
if (message.command != null && message.hasOwnProperty("command")) {
|
|
51957
|
+
var error = $root.replit.goval.api.Exec.verify(message.command);
|
|
51958
|
+
if (error)
|
|
51959
|
+
return "command." + error;
|
|
51960
|
+
}
|
|
51961
|
+
return null;
|
|
51962
|
+
};
|
|
51963
|
+
|
|
51964
|
+
/**
|
|
51965
|
+
* Creates an InterpConfig message from a plain object. Also converts values to their respective internal types.
|
|
51966
|
+
* @function fromObject
|
|
51967
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51968
|
+
* @static
|
|
51969
|
+
* @param {Object.<string,*>} object Plain object
|
|
51970
|
+
* @returns {replit.goval.api.InterpConfig} InterpConfig
|
|
51971
|
+
*/
|
|
51972
|
+
InterpConfig.fromObject = function fromObject(object) {
|
|
51973
|
+
if (object instanceof $root.replit.goval.api.InterpConfig)
|
|
51974
|
+
return object;
|
|
51975
|
+
var message = new $root.replit.goval.api.InterpConfig();
|
|
51976
|
+
if (object.command != null) {
|
|
51977
|
+
if (typeof object.command !== "object")
|
|
51978
|
+
throw TypeError(".replit.goval.api.InterpConfig.command: object expected");
|
|
51979
|
+
message.command = $root.replit.goval.api.Exec.fromObject(object.command);
|
|
51980
|
+
}
|
|
51981
|
+
return message;
|
|
51982
|
+
};
|
|
51983
|
+
|
|
51984
|
+
/**
|
|
51985
|
+
* Creates a plain object from an InterpConfig message. Also converts values to other types if specified.
|
|
51986
|
+
* @function toObject
|
|
51987
|
+
* @memberof replit.goval.api.InterpConfig
|
|
51988
|
+
* @static
|
|
51989
|
+
* @param {replit.goval.api.InterpConfig} message InterpConfig
|
|
51990
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
51991
|
+
* @returns {Object.<string,*>} Plain object
|
|
51992
|
+
*/
|
|
51993
|
+
InterpConfig.toObject = function toObject(message, options) {
|
|
51994
|
+
if (!options)
|
|
51995
|
+
options = {};
|
|
51996
|
+
var object = {};
|
|
51997
|
+
if (options.defaults)
|
|
51998
|
+
object.command = null;
|
|
51999
|
+
if (message.command != null && message.hasOwnProperty("command"))
|
|
52000
|
+
object.command = $root.replit.goval.api.Exec.toObject(message.command, options);
|
|
52001
|
+
return object;
|
|
52002
|
+
};
|
|
52003
|
+
|
|
52004
|
+
/**
|
|
52005
|
+
* Converts this InterpConfig to JSON.
|
|
52006
|
+
* @function toJSON
|
|
52007
|
+
* @memberof replit.goval.api.InterpConfig
|
|
52008
|
+
* @instance
|
|
52009
|
+
* @returns {Object.<string,*>} JSON object
|
|
52010
|
+
*/
|
|
52011
|
+
InterpConfig.prototype.toJSON = function toJSON() {
|
|
52012
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
52013
|
+
};
|
|
52014
|
+
|
|
52015
|
+
/**
|
|
52016
|
+
* Gets the default type url for InterpConfig
|
|
52017
|
+
* @function getTypeUrl
|
|
52018
|
+
* @memberof replit.goval.api.InterpConfig
|
|
52019
|
+
* @static
|
|
52020
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
52021
|
+
* @returns {string} The default type url
|
|
52022
|
+
*/
|
|
52023
|
+
InterpConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
52024
|
+
if (typeUrlPrefix === undefined) {
|
|
52025
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
52026
|
+
}
|
|
52027
|
+
return typeUrlPrefix + "/replit.goval.api.InterpConfig";
|
|
52028
|
+
};
|
|
52029
|
+
|
|
52030
|
+
return InterpConfig;
|
|
52031
|
+
})();
|
|
52032
|
+
|
|
51689
52033
|
api.DapConfig = (function() {
|
|
51690
52034
|
|
|
51691
52035
|
/**
|
|
@@ -61859,6 +62203,7 @@
|
|
|
61859
62203
|
* @property {replit.goval.api.CompileConfig|replit.goval.api.ICompileConfig|null} [compile] RunOption compile
|
|
61860
62204
|
* @property {replit.goval.api.RunConfig|replit.goval.api.IRunConfig|null} [run] RunOption run
|
|
61861
62205
|
* @property {Array.<string>|null} [defaultEntrypoints] RunOption defaultEntrypoints
|
|
62206
|
+
* @property {replit.goval.api.InterpConfig|replit.goval.api.IInterpConfig|null} [interp] RunOption interp
|
|
61862
62207
|
*/
|
|
61863
62208
|
|
|
61864
62209
|
/**
|
|
@@ -61964,6 +62309,14 @@
|
|
|
61964
62309
|
*/
|
|
61965
62310
|
RunOption.prototype.defaultEntrypoints = $util.emptyArray;
|
|
61966
62311
|
|
|
62312
|
+
/**
|
|
62313
|
+
* RunOption interp.
|
|
62314
|
+
* @member {replit.goval.api.InterpConfig|null|undefined} interp
|
|
62315
|
+
* @memberof replit.goval.api.RunOption
|
|
62316
|
+
* @instance
|
|
62317
|
+
*/
|
|
62318
|
+
RunOption.prototype.interp = null;
|
|
62319
|
+
|
|
61967
62320
|
/**
|
|
61968
62321
|
* Creates a new RunOption instance using the specified properties.
|
|
61969
62322
|
* @function create
|
|
@@ -62011,6 +62364,8 @@
|
|
|
62011
62364
|
if (message.defaultEntrypoints != null && message.defaultEntrypoints.length)
|
|
62012
62365
|
for (var i = 0; i < message.defaultEntrypoints.length; ++i)
|
|
62013
62366
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.defaultEntrypoints[i]);
|
|
62367
|
+
if (message.interp != null && Object.hasOwnProperty.call(message, "interp"))
|
|
62368
|
+
$root.replit.goval.api.InterpConfig.encode(message.interp, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
|
|
62014
62369
|
return writer;
|
|
62015
62370
|
};
|
|
62016
62371
|
|
|
@@ -62091,6 +62446,10 @@
|
|
|
62091
62446
|
message.defaultEntrypoints.push(reader.string());
|
|
62092
62447
|
break;
|
|
62093
62448
|
}
|
|
62449
|
+
case 12: {
|
|
62450
|
+
message.interp = $root.replit.goval.api.InterpConfig.decode(reader, reader.uint32());
|
|
62451
|
+
break;
|
|
62452
|
+
}
|
|
62094
62453
|
default:
|
|
62095
62454
|
reader.skipType(tag & 7);
|
|
62096
62455
|
break;
|
|
@@ -62169,6 +62528,11 @@
|
|
|
62169
62528
|
if (!$util.isString(message.defaultEntrypoints[i]))
|
|
62170
62529
|
return "defaultEntrypoints: string[] expected";
|
|
62171
62530
|
}
|
|
62531
|
+
if (message.interp != null && message.hasOwnProperty("interp")) {
|
|
62532
|
+
var error = $root.replit.goval.api.InterpConfig.verify(message.interp);
|
|
62533
|
+
if (error)
|
|
62534
|
+
return "interp." + error;
|
|
62535
|
+
}
|
|
62172
62536
|
return null;
|
|
62173
62537
|
};
|
|
62174
62538
|
|
|
@@ -62220,6 +62584,11 @@
|
|
|
62220
62584
|
for (var i = 0; i < object.defaultEntrypoints.length; ++i)
|
|
62221
62585
|
message.defaultEntrypoints[i] = String(object.defaultEntrypoints[i]);
|
|
62222
62586
|
}
|
|
62587
|
+
if (object.interp != null) {
|
|
62588
|
+
if (typeof object.interp !== "object")
|
|
62589
|
+
throw TypeError(".replit.goval.api.RunOption.interp: object expected");
|
|
62590
|
+
message.interp = $root.replit.goval.api.InterpConfig.fromObject(object.interp);
|
|
62591
|
+
}
|
|
62223
62592
|
return message;
|
|
62224
62593
|
};
|
|
62225
62594
|
|
|
@@ -62249,6 +62618,7 @@
|
|
|
62249
62618
|
object.displayVersion = "";
|
|
62250
62619
|
object.compile = null;
|
|
62251
62620
|
object.run = null;
|
|
62621
|
+
object.interp = null;
|
|
62252
62622
|
}
|
|
62253
62623
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
62254
62624
|
object.id = message.id;
|
|
@@ -62275,6 +62645,8 @@
|
|
|
62275
62645
|
for (var j = 0; j < message.defaultEntrypoints.length; ++j)
|
|
62276
62646
|
object.defaultEntrypoints[j] = message.defaultEntrypoints[j];
|
|
62277
62647
|
}
|
|
62648
|
+
if (message.interp != null && message.hasOwnProperty("interp"))
|
|
62649
|
+
object.interp = $root.replit.goval.api.InterpConfig.toObject(message.interp, options);
|
|
62278
62650
|
return object;
|
|
62279
62651
|
};
|
|
62280
62652
|
|
|
@@ -76330,6 +76702,8 @@
|
|
|
76330
76702
|
* @property {replit.goval.api.lore.SoftTakedown|replit.goval.api.lore.ISoftTakedown|null} [softTakedown] GovalCommand softTakedown
|
|
76331
76703
|
* @property {replit.goval.api.lore.Takedown|replit.goval.api.lore.ITakedown|null} [takedown] GovalCommand takedown
|
|
76332
76704
|
* @property {replit.goval.api.lore.StartViktor|replit.goval.api.lore.IStartViktor|null} [startViktor] GovalCommand startViktor
|
|
76705
|
+
* @property {replit.goval.api.lore.AddTokenToReplShieldAllowList|replit.goval.api.lore.IAddTokenToReplShieldAllowList|null} [addTokenToReplShieldAllowList] GovalCommand addTokenToReplShieldAllowList
|
|
76706
|
+
* @property {replit.goval.api.lore.RevokeUserReplShieldTokens|replit.goval.api.lore.IRevokeUserReplShieldTokens|null} [revokeUserReplShieldTokens] GovalCommand revokeUserReplShieldTokens
|
|
76333
76707
|
*/
|
|
76334
76708
|
|
|
76335
76709
|
/**
|
|
@@ -76410,17 +76784,33 @@
|
|
|
76410
76784
|
*/
|
|
76411
76785
|
GovalCommand.prototype.startViktor = null;
|
|
76412
76786
|
|
|
76787
|
+
/**
|
|
76788
|
+
* GovalCommand addTokenToReplShieldAllowList.
|
|
76789
|
+
* @member {replit.goval.api.lore.AddTokenToReplShieldAllowList|null|undefined} addTokenToReplShieldAllowList
|
|
76790
|
+
* @memberof replit.goval.api.lore.GovalCommand
|
|
76791
|
+
* @instance
|
|
76792
|
+
*/
|
|
76793
|
+
GovalCommand.prototype.addTokenToReplShieldAllowList = null;
|
|
76794
|
+
|
|
76795
|
+
/**
|
|
76796
|
+
* GovalCommand revokeUserReplShieldTokens.
|
|
76797
|
+
* @member {replit.goval.api.lore.RevokeUserReplShieldTokens|null|undefined} revokeUserReplShieldTokens
|
|
76798
|
+
* @memberof replit.goval.api.lore.GovalCommand
|
|
76799
|
+
* @instance
|
|
76800
|
+
*/
|
|
76801
|
+
GovalCommand.prototype.revokeUserReplShieldTokens = null;
|
|
76802
|
+
|
|
76413
76803
|
// OneOf field names bound to virtual getters and setters
|
|
76414
76804
|
var $oneOfFields;
|
|
76415
76805
|
|
|
76416
76806
|
/**
|
|
76417
76807
|
* GovalCommand command.
|
|
76418
|
-
* @member {"updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown"|"startViktor"|undefined} command
|
|
76808
|
+
* @member {"updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown"|"startViktor"|"addTokenToReplShieldAllowList"|"revokeUserReplShieldTokens"|undefined} command
|
|
76419
76809
|
* @memberof replit.goval.api.lore.GovalCommand
|
|
76420
76810
|
* @instance
|
|
76421
76811
|
*/
|
|
76422
76812
|
Object.defineProperty(GovalCommand.prototype, "command", {
|
|
76423
|
-
get: $util.oneOfGetter($oneOfFields = ["updateMetadata", "partialUpdateMetadata", "killRepl", "updateSourceRepl", "updateReplFlags", "softTakedown", "takedown", "startViktor"]),
|
|
76813
|
+
get: $util.oneOfGetter($oneOfFields = ["updateMetadata", "partialUpdateMetadata", "killRepl", "updateSourceRepl", "updateReplFlags", "softTakedown", "takedown", "startViktor", "addTokenToReplShieldAllowList", "revokeUserReplShieldTokens"]),
|
|
76424
76814
|
set: $util.oneOfSetter($oneOfFields)
|
|
76425
76815
|
});
|
|
76426
76816
|
|
|
@@ -76464,6 +76854,10 @@
|
|
|
76464
76854
|
$root.replit.goval.api.lore.Takedown.encode(message.takedown, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
76465
76855
|
if (message.startViktor != null && Object.hasOwnProperty.call(message, "startViktor"))
|
|
76466
76856
|
$root.replit.goval.api.lore.StartViktor.encode(message.startViktor, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
76857
|
+
if (message.addTokenToReplShieldAllowList != null && Object.hasOwnProperty.call(message, "addTokenToReplShieldAllowList"))
|
|
76858
|
+
$root.replit.goval.api.lore.AddTokenToReplShieldAllowList.encode(message.addTokenToReplShieldAllowList, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
76859
|
+
if (message.revokeUserReplShieldTokens != null && Object.hasOwnProperty.call(message, "revokeUserReplShieldTokens"))
|
|
76860
|
+
$root.replit.goval.api.lore.RevokeUserReplShieldTokens.encode(message.revokeUserReplShieldTokens, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
76467
76861
|
return writer;
|
|
76468
76862
|
};
|
|
76469
76863
|
|
|
@@ -76530,6 +76924,14 @@
|
|
|
76530
76924
|
message.startViktor = $root.replit.goval.api.lore.StartViktor.decode(reader, reader.uint32());
|
|
76531
76925
|
break;
|
|
76532
76926
|
}
|
|
76927
|
+
case 10: {
|
|
76928
|
+
message.addTokenToReplShieldAllowList = $root.replit.goval.api.lore.AddTokenToReplShieldAllowList.decode(reader, reader.uint32());
|
|
76929
|
+
break;
|
|
76930
|
+
}
|
|
76931
|
+
case 11: {
|
|
76932
|
+
message.revokeUserReplShieldTokens = $root.replit.goval.api.lore.RevokeUserReplShieldTokens.decode(reader, reader.uint32());
|
|
76933
|
+
break;
|
|
76934
|
+
}
|
|
76533
76935
|
default:
|
|
76534
76936
|
reader.skipType(tag & 7);
|
|
76535
76937
|
break;
|
|
@@ -76644,6 +77046,26 @@
|
|
|
76644
77046
|
return "startViktor." + error;
|
|
76645
77047
|
}
|
|
76646
77048
|
}
|
|
77049
|
+
if (message.addTokenToReplShieldAllowList != null && message.hasOwnProperty("addTokenToReplShieldAllowList")) {
|
|
77050
|
+
if (properties.command === 1)
|
|
77051
|
+
return "command: multiple values";
|
|
77052
|
+
properties.command = 1;
|
|
77053
|
+
{
|
|
77054
|
+
var error = $root.replit.goval.api.lore.AddTokenToReplShieldAllowList.verify(message.addTokenToReplShieldAllowList);
|
|
77055
|
+
if (error)
|
|
77056
|
+
return "addTokenToReplShieldAllowList." + error;
|
|
77057
|
+
}
|
|
77058
|
+
}
|
|
77059
|
+
if (message.revokeUserReplShieldTokens != null && message.hasOwnProperty("revokeUserReplShieldTokens")) {
|
|
77060
|
+
if (properties.command === 1)
|
|
77061
|
+
return "command: multiple values";
|
|
77062
|
+
properties.command = 1;
|
|
77063
|
+
{
|
|
77064
|
+
var error = $root.replit.goval.api.lore.RevokeUserReplShieldTokens.verify(message.revokeUserReplShieldTokens);
|
|
77065
|
+
if (error)
|
|
77066
|
+
return "revokeUserReplShieldTokens." + error;
|
|
77067
|
+
}
|
|
77068
|
+
}
|
|
76647
77069
|
return null;
|
|
76648
77070
|
};
|
|
76649
77071
|
|
|
@@ -76699,6 +77121,16 @@
|
|
|
76699
77121
|
throw TypeError(".replit.goval.api.lore.GovalCommand.startViktor: object expected");
|
|
76700
77122
|
message.startViktor = $root.replit.goval.api.lore.StartViktor.fromObject(object.startViktor);
|
|
76701
77123
|
}
|
|
77124
|
+
if (object.addTokenToReplShieldAllowList != null) {
|
|
77125
|
+
if (typeof object.addTokenToReplShieldAllowList !== "object")
|
|
77126
|
+
throw TypeError(".replit.goval.api.lore.GovalCommand.addTokenToReplShieldAllowList: object expected");
|
|
77127
|
+
message.addTokenToReplShieldAllowList = $root.replit.goval.api.lore.AddTokenToReplShieldAllowList.fromObject(object.addTokenToReplShieldAllowList);
|
|
77128
|
+
}
|
|
77129
|
+
if (object.revokeUserReplShieldTokens != null) {
|
|
77130
|
+
if (typeof object.revokeUserReplShieldTokens !== "object")
|
|
77131
|
+
throw TypeError(".replit.goval.api.lore.GovalCommand.revokeUserReplShieldTokens: object expected");
|
|
77132
|
+
message.revokeUserReplShieldTokens = $root.replit.goval.api.lore.RevokeUserReplShieldTokens.fromObject(object.revokeUserReplShieldTokens);
|
|
77133
|
+
}
|
|
76702
77134
|
return message;
|
|
76703
77135
|
};
|
|
76704
77136
|
|
|
@@ -76755,6 +77187,16 @@
|
|
|
76755
77187
|
if (options.oneofs)
|
|
76756
77188
|
object.command = "startViktor";
|
|
76757
77189
|
}
|
|
77190
|
+
if (message.addTokenToReplShieldAllowList != null && message.hasOwnProperty("addTokenToReplShieldAllowList")) {
|
|
77191
|
+
object.addTokenToReplShieldAllowList = $root.replit.goval.api.lore.AddTokenToReplShieldAllowList.toObject(message.addTokenToReplShieldAllowList, options);
|
|
77192
|
+
if (options.oneofs)
|
|
77193
|
+
object.command = "addTokenToReplShieldAllowList";
|
|
77194
|
+
}
|
|
77195
|
+
if (message.revokeUserReplShieldTokens != null && message.hasOwnProperty("revokeUserReplShieldTokens")) {
|
|
77196
|
+
object.revokeUserReplShieldTokens = $root.replit.goval.api.lore.RevokeUserReplShieldTokens.toObject(message.revokeUserReplShieldTokens, options);
|
|
77197
|
+
if (options.oneofs)
|
|
77198
|
+
object.command = "revokeUserReplShieldTokens";
|
|
77199
|
+
}
|
|
76758
77200
|
return object;
|
|
76759
77201
|
};
|
|
76760
77202
|
|
|
@@ -78142,6 +78584,458 @@
|
|
|
78142
78584
|
return UpdateReplFlags;
|
|
78143
78585
|
})();
|
|
78144
78586
|
|
|
78587
|
+
lore.AddTokenToReplShieldAllowList = (function() {
|
|
78588
|
+
|
|
78589
|
+
/**
|
|
78590
|
+
* Properties of an AddTokenToReplShieldAllowList.
|
|
78591
|
+
* @memberof replit.goval.api.lore
|
|
78592
|
+
* @interface IAddTokenToReplShieldAllowList
|
|
78593
|
+
* @property {string|null} [replId] AddTokenToReplShieldAllowList replId
|
|
78594
|
+
* @property {string|null} [token] AddTokenToReplShieldAllowList token
|
|
78595
|
+
*/
|
|
78596
|
+
|
|
78597
|
+
/**
|
|
78598
|
+
* Constructs a new AddTokenToReplShieldAllowList.
|
|
78599
|
+
* @memberof replit.goval.api.lore
|
|
78600
|
+
* @classdesc Represents an AddTokenToReplShieldAllowList.
|
|
78601
|
+
* @constructor
|
|
78602
|
+
* @param {replit.goval.api.lore.IAddTokenToReplShieldAllowList=} [properties] Properties to set
|
|
78603
|
+
*/
|
|
78604
|
+
function AddTokenToReplShieldAllowList(properties) {
|
|
78605
|
+
if (properties)
|
|
78606
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
78607
|
+
if (properties[keys[i]] != null)
|
|
78608
|
+
this[keys[i]] = properties[keys[i]];
|
|
78609
|
+
}
|
|
78610
|
+
|
|
78611
|
+
/**
|
|
78612
|
+
* AddTokenToReplShieldAllowList replId.
|
|
78613
|
+
* @member {string} replId
|
|
78614
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78615
|
+
* @instance
|
|
78616
|
+
*/
|
|
78617
|
+
AddTokenToReplShieldAllowList.prototype.replId = "";
|
|
78618
|
+
|
|
78619
|
+
/**
|
|
78620
|
+
* AddTokenToReplShieldAllowList token.
|
|
78621
|
+
* @member {string} token
|
|
78622
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78623
|
+
* @instance
|
|
78624
|
+
*/
|
|
78625
|
+
AddTokenToReplShieldAllowList.prototype.token = "";
|
|
78626
|
+
|
|
78627
|
+
/**
|
|
78628
|
+
* Creates a new AddTokenToReplShieldAllowList instance using the specified properties.
|
|
78629
|
+
* @function create
|
|
78630
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78631
|
+
* @static
|
|
78632
|
+
* @param {replit.goval.api.lore.IAddTokenToReplShieldAllowList=} [properties] Properties to set
|
|
78633
|
+
* @returns {replit.goval.api.lore.AddTokenToReplShieldAllowList} AddTokenToReplShieldAllowList instance
|
|
78634
|
+
*/
|
|
78635
|
+
AddTokenToReplShieldAllowList.create = function create(properties) {
|
|
78636
|
+
return AddTokenToReplShieldAllowList.fromObject(properties);
|
|
78637
|
+
};
|
|
78638
|
+
|
|
78639
|
+
/**
|
|
78640
|
+
* Encodes the specified AddTokenToReplShieldAllowList message. Does not implicitly {@link replit.goval.api.lore.AddTokenToReplShieldAllowList.verify|verify} messages.
|
|
78641
|
+
* @function encode
|
|
78642
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78643
|
+
* @static
|
|
78644
|
+
* @param {replit.goval.api.lore.AddTokenToReplShieldAllowList} message AddTokenToReplShieldAllowList message or plain object to encode
|
|
78645
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
78646
|
+
* @returns {$protobuf.Writer} Writer
|
|
78647
|
+
*/
|
|
78648
|
+
AddTokenToReplShieldAllowList.encode = function encode(message, writer) {
|
|
78649
|
+
if (!writer)
|
|
78650
|
+
writer = $Writer.create();
|
|
78651
|
+
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
78652
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
78653
|
+
if (message.token != null && Object.hasOwnProperty.call(message, "token"))
|
|
78654
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.token);
|
|
78655
|
+
return writer;
|
|
78656
|
+
};
|
|
78657
|
+
|
|
78658
|
+
/**
|
|
78659
|
+
* Encodes the specified AddTokenToReplShieldAllowList message, length delimited. Does not implicitly {@link replit.goval.api.lore.AddTokenToReplShieldAllowList.verify|verify} messages.
|
|
78660
|
+
* @function encodeDelimited
|
|
78661
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78662
|
+
* @static
|
|
78663
|
+
* @param {replit.goval.api.lore.AddTokenToReplShieldAllowList} message AddTokenToReplShieldAllowList message or plain object to encode
|
|
78664
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
78665
|
+
* @returns {$protobuf.Writer} Writer
|
|
78666
|
+
*/
|
|
78667
|
+
AddTokenToReplShieldAllowList.encodeDelimited = function encodeDelimited(message, writer) {
|
|
78668
|
+
return this.encode(message, writer).ldelim();
|
|
78669
|
+
};
|
|
78670
|
+
|
|
78671
|
+
/**
|
|
78672
|
+
* Decodes an AddTokenToReplShieldAllowList message from the specified reader or buffer.
|
|
78673
|
+
* @function decode
|
|
78674
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78675
|
+
* @static
|
|
78676
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
78677
|
+
* @param {number} [length] Message length if known beforehand
|
|
78678
|
+
* @returns {replit.goval.api.lore.AddTokenToReplShieldAllowList} AddTokenToReplShieldAllowList
|
|
78679
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
78680
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78681
|
+
*/
|
|
78682
|
+
AddTokenToReplShieldAllowList.decode = function decode(reader, length) {
|
|
78683
|
+
if (!(reader instanceof $Reader))
|
|
78684
|
+
reader = $Reader.create(reader);
|
|
78685
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.AddTokenToReplShieldAllowList();
|
|
78686
|
+
while (reader.pos < end) {
|
|
78687
|
+
var tag = reader.uint32();
|
|
78688
|
+
switch (tag >>> 3) {
|
|
78689
|
+
case 1: {
|
|
78690
|
+
message.replId = reader.string();
|
|
78691
|
+
break;
|
|
78692
|
+
}
|
|
78693
|
+
case 2: {
|
|
78694
|
+
message.token = reader.string();
|
|
78695
|
+
break;
|
|
78696
|
+
}
|
|
78697
|
+
default:
|
|
78698
|
+
reader.skipType(tag & 7);
|
|
78699
|
+
break;
|
|
78700
|
+
}
|
|
78701
|
+
}
|
|
78702
|
+
return message;
|
|
78703
|
+
};
|
|
78704
|
+
|
|
78705
|
+
/**
|
|
78706
|
+
* Decodes an AddTokenToReplShieldAllowList message from the specified reader or buffer, length delimited.
|
|
78707
|
+
* @function decodeDelimited
|
|
78708
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78709
|
+
* @static
|
|
78710
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
78711
|
+
* @returns {replit.goval.api.lore.AddTokenToReplShieldAllowList} AddTokenToReplShieldAllowList
|
|
78712
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
78713
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78714
|
+
*/
|
|
78715
|
+
AddTokenToReplShieldAllowList.decodeDelimited = function decodeDelimited(reader) {
|
|
78716
|
+
if (!(reader instanceof $Reader))
|
|
78717
|
+
reader = new $Reader(reader);
|
|
78718
|
+
return this.decode(reader, reader.uint32());
|
|
78719
|
+
};
|
|
78720
|
+
|
|
78721
|
+
/**
|
|
78722
|
+
* Verifies an AddTokenToReplShieldAllowList message.
|
|
78723
|
+
* @function verify
|
|
78724
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78725
|
+
* @static
|
|
78726
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
78727
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
78728
|
+
*/
|
|
78729
|
+
AddTokenToReplShieldAllowList.verify = function verify(message) {
|
|
78730
|
+
if (typeof message !== "object" || message === null)
|
|
78731
|
+
return "object expected";
|
|
78732
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
78733
|
+
if (!$util.isString(message.replId))
|
|
78734
|
+
return "replId: string expected";
|
|
78735
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
78736
|
+
if (!$util.isString(message.token))
|
|
78737
|
+
return "token: string expected";
|
|
78738
|
+
return null;
|
|
78739
|
+
};
|
|
78740
|
+
|
|
78741
|
+
/**
|
|
78742
|
+
* Creates an AddTokenToReplShieldAllowList message from a plain object. Also converts values to their respective internal types.
|
|
78743
|
+
* @function fromObject
|
|
78744
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78745
|
+
* @static
|
|
78746
|
+
* @param {Object.<string,*>} object Plain object
|
|
78747
|
+
* @returns {replit.goval.api.lore.AddTokenToReplShieldAllowList} AddTokenToReplShieldAllowList
|
|
78748
|
+
*/
|
|
78749
|
+
AddTokenToReplShieldAllowList.fromObject = function fromObject(object) {
|
|
78750
|
+
if (object instanceof $root.replit.goval.api.lore.AddTokenToReplShieldAllowList)
|
|
78751
|
+
return object;
|
|
78752
|
+
var message = new $root.replit.goval.api.lore.AddTokenToReplShieldAllowList();
|
|
78753
|
+
if (object.replId != null)
|
|
78754
|
+
message.replId = String(object.replId);
|
|
78755
|
+
if (object.token != null)
|
|
78756
|
+
message.token = String(object.token);
|
|
78757
|
+
return message;
|
|
78758
|
+
};
|
|
78759
|
+
|
|
78760
|
+
/**
|
|
78761
|
+
* Creates a plain object from an AddTokenToReplShieldAllowList message. Also converts values to other types if specified.
|
|
78762
|
+
* @function toObject
|
|
78763
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78764
|
+
* @static
|
|
78765
|
+
* @param {replit.goval.api.lore.AddTokenToReplShieldAllowList} message AddTokenToReplShieldAllowList
|
|
78766
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
78767
|
+
* @returns {Object.<string,*>} Plain object
|
|
78768
|
+
*/
|
|
78769
|
+
AddTokenToReplShieldAllowList.toObject = function toObject(message, options) {
|
|
78770
|
+
if (!options)
|
|
78771
|
+
options = {};
|
|
78772
|
+
var object = {};
|
|
78773
|
+
if (options.defaults) {
|
|
78774
|
+
object.replId = "";
|
|
78775
|
+
object.token = "";
|
|
78776
|
+
}
|
|
78777
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
78778
|
+
object.replId = message.replId;
|
|
78779
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
78780
|
+
object.token = message.token;
|
|
78781
|
+
return object;
|
|
78782
|
+
};
|
|
78783
|
+
|
|
78784
|
+
/**
|
|
78785
|
+
* Converts this AddTokenToReplShieldAllowList to JSON.
|
|
78786
|
+
* @function toJSON
|
|
78787
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78788
|
+
* @instance
|
|
78789
|
+
* @returns {Object.<string,*>} JSON object
|
|
78790
|
+
*/
|
|
78791
|
+
AddTokenToReplShieldAllowList.prototype.toJSON = function toJSON() {
|
|
78792
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
78793
|
+
};
|
|
78794
|
+
|
|
78795
|
+
/**
|
|
78796
|
+
* Gets the default type url for AddTokenToReplShieldAllowList
|
|
78797
|
+
* @function getTypeUrl
|
|
78798
|
+
* @memberof replit.goval.api.lore.AddTokenToReplShieldAllowList
|
|
78799
|
+
* @static
|
|
78800
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
78801
|
+
* @returns {string} The default type url
|
|
78802
|
+
*/
|
|
78803
|
+
AddTokenToReplShieldAllowList.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
78804
|
+
if (typeUrlPrefix === undefined) {
|
|
78805
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
78806
|
+
}
|
|
78807
|
+
return typeUrlPrefix + "/replit.goval.api.lore.AddTokenToReplShieldAllowList";
|
|
78808
|
+
};
|
|
78809
|
+
|
|
78810
|
+
return AddTokenToReplShieldAllowList;
|
|
78811
|
+
})();
|
|
78812
|
+
|
|
78813
|
+
lore.RevokeUserReplShieldTokens = (function() {
|
|
78814
|
+
|
|
78815
|
+
/**
|
|
78816
|
+
* Properties of a RevokeUserReplShieldTokens.
|
|
78817
|
+
* @memberof replit.goval.api.lore
|
|
78818
|
+
* @interface IRevokeUserReplShieldTokens
|
|
78819
|
+
* @property {number|null} [userId] RevokeUserReplShieldTokens userId
|
|
78820
|
+
* @property {string|null} [token] RevokeUserReplShieldTokens token
|
|
78821
|
+
*/
|
|
78822
|
+
|
|
78823
|
+
/**
|
|
78824
|
+
* Constructs a new RevokeUserReplShieldTokens.
|
|
78825
|
+
* @memberof replit.goval.api.lore
|
|
78826
|
+
* @classdesc Represents a RevokeUserReplShieldTokens.
|
|
78827
|
+
* @constructor
|
|
78828
|
+
* @param {replit.goval.api.lore.IRevokeUserReplShieldTokens=} [properties] Properties to set
|
|
78829
|
+
*/
|
|
78830
|
+
function RevokeUserReplShieldTokens(properties) {
|
|
78831
|
+
if (properties)
|
|
78832
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
78833
|
+
if (properties[keys[i]] != null)
|
|
78834
|
+
this[keys[i]] = properties[keys[i]];
|
|
78835
|
+
}
|
|
78836
|
+
|
|
78837
|
+
/**
|
|
78838
|
+
* RevokeUserReplShieldTokens userId.
|
|
78839
|
+
* @member {number} userId
|
|
78840
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78841
|
+
* @instance
|
|
78842
|
+
*/
|
|
78843
|
+
RevokeUserReplShieldTokens.prototype.userId = 0;
|
|
78844
|
+
|
|
78845
|
+
/**
|
|
78846
|
+
* RevokeUserReplShieldTokens token.
|
|
78847
|
+
* @member {string} token
|
|
78848
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78849
|
+
* @instance
|
|
78850
|
+
*/
|
|
78851
|
+
RevokeUserReplShieldTokens.prototype.token = "";
|
|
78852
|
+
|
|
78853
|
+
/**
|
|
78854
|
+
* Creates a new RevokeUserReplShieldTokens instance using the specified properties.
|
|
78855
|
+
* @function create
|
|
78856
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78857
|
+
* @static
|
|
78858
|
+
* @param {replit.goval.api.lore.IRevokeUserReplShieldTokens=} [properties] Properties to set
|
|
78859
|
+
* @returns {replit.goval.api.lore.RevokeUserReplShieldTokens} RevokeUserReplShieldTokens instance
|
|
78860
|
+
*/
|
|
78861
|
+
RevokeUserReplShieldTokens.create = function create(properties) {
|
|
78862
|
+
return RevokeUserReplShieldTokens.fromObject(properties);
|
|
78863
|
+
};
|
|
78864
|
+
|
|
78865
|
+
/**
|
|
78866
|
+
* Encodes the specified RevokeUserReplShieldTokens message. Does not implicitly {@link replit.goval.api.lore.RevokeUserReplShieldTokens.verify|verify} messages.
|
|
78867
|
+
* @function encode
|
|
78868
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78869
|
+
* @static
|
|
78870
|
+
* @param {replit.goval.api.lore.RevokeUserReplShieldTokens} message RevokeUserReplShieldTokens message or plain object to encode
|
|
78871
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
78872
|
+
* @returns {$protobuf.Writer} Writer
|
|
78873
|
+
*/
|
|
78874
|
+
RevokeUserReplShieldTokens.encode = function encode(message, writer) {
|
|
78875
|
+
if (!writer)
|
|
78876
|
+
writer = $Writer.create();
|
|
78877
|
+
if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
|
|
78878
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.userId);
|
|
78879
|
+
if (message.token != null && Object.hasOwnProperty.call(message, "token"))
|
|
78880
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.token);
|
|
78881
|
+
return writer;
|
|
78882
|
+
};
|
|
78883
|
+
|
|
78884
|
+
/**
|
|
78885
|
+
* Encodes the specified RevokeUserReplShieldTokens message, length delimited. Does not implicitly {@link replit.goval.api.lore.RevokeUserReplShieldTokens.verify|verify} messages.
|
|
78886
|
+
* @function encodeDelimited
|
|
78887
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78888
|
+
* @static
|
|
78889
|
+
* @param {replit.goval.api.lore.RevokeUserReplShieldTokens} message RevokeUserReplShieldTokens message or plain object to encode
|
|
78890
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
78891
|
+
* @returns {$protobuf.Writer} Writer
|
|
78892
|
+
*/
|
|
78893
|
+
RevokeUserReplShieldTokens.encodeDelimited = function encodeDelimited(message, writer) {
|
|
78894
|
+
return this.encode(message, writer).ldelim();
|
|
78895
|
+
};
|
|
78896
|
+
|
|
78897
|
+
/**
|
|
78898
|
+
* Decodes a RevokeUserReplShieldTokens message from the specified reader or buffer.
|
|
78899
|
+
* @function decode
|
|
78900
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78901
|
+
* @static
|
|
78902
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
78903
|
+
* @param {number} [length] Message length if known beforehand
|
|
78904
|
+
* @returns {replit.goval.api.lore.RevokeUserReplShieldTokens} RevokeUserReplShieldTokens
|
|
78905
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
78906
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78907
|
+
*/
|
|
78908
|
+
RevokeUserReplShieldTokens.decode = function decode(reader, length) {
|
|
78909
|
+
if (!(reader instanceof $Reader))
|
|
78910
|
+
reader = $Reader.create(reader);
|
|
78911
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.RevokeUserReplShieldTokens();
|
|
78912
|
+
while (reader.pos < end) {
|
|
78913
|
+
var tag = reader.uint32();
|
|
78914
|
+
switch (tag >>> 3) {
|
|
78915
|
+
case 1: {
|
|
78916
|
+
message.userId = reader.uint32();
|
|
78917
|
+
break;
|
|
78918
|
+
}
|
|
78919
|
+
case 2: {
|
|
78920
|
+
message.token = reader.string();
|
|
78921
|
+
break;
|
|
78922
|
+
}
|
|
78923
|
+
default:
|
|
78924
|
+
reader.skipType(tag & 7);
|
|
78925
|
+
break;
|
|
78926
|
+
}
|
|
78927
|
+
}
|
|
78928
|
+
return message;
|
|
78929
|
+
};
|
|
78930
|
+
|
|
78931
|
+
/**
|
|
78932
|
+
* Decodes a RevokeUserReplShieldTokens message from the specified reader or buffer, length delimited.
|
|
78933
|
+
* @function decodeDelimited
|
|
78934
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78935
|
+
* @static
|
|
78936
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
78937
|
+
* @returns {replit.goval.api.lore.RevokeUserReplShieldTokens} RevokeUserReplShieldTokens
|
|
78938
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
78939
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
78940
|
+
*/
|
|
78941
|
+
RevokeUserReplShieldTokens.decodeDelimited = function decodeDelimited(reader) {
|
|
78942
|
+
if (!(reader instanceof $Reader))
|
|
78943
|
+
reader = new $Reader(reader);
|
|
78944
|
+
return this.decode(reader, reader.uint32());
|
|
78945
|
+
};
|
|
78946
|
+
|
|
78947
|
+
/**
|
|
78948
|
+
* Verifies a RevokeUserReplShieldTokens message.
|
|
78949
|
+
* @function verify
|
|
78950
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78951
|
+
* @static
|
|
78952
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
78953
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
78954
|
+
*/
|
|
78955
|
+
RevokeUserReplShieldTokens.verify = function verify(message) {
|
|
78956
|
+
if (typeof message !== "object" || message === null)
|
|
78957
|
+
return "object expected";
|
|
78958
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
78959
|
+
if (!$util.isInteger(message.userId))
|
|
78960
|
+
return "userId: integer expected";
|
|
78961
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
78962
|
+
if (!$util.isString(message.token))
|
|
78963
|
+
return "token: string expected";
|
|
78964
|
+
return null;
|
|
78965
|
+
};
|
|
78966
|
+
|
|
78967
|
+
/**
|
|
78968
|
+
* Creates a RevokeUserReplShieldTokens message from a plain object. Also converts values to their respective internal types.
|
|
78969
|
+
* @function fromObject
|
|
78970
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78971
|
+
* @static
|
|
78972
|
+
* @param {Object.<string,*>} object Plain object
|
|
78973
|
+
* @returns {replit.goval.api.lore.RevokeUserReplShieldTokens} RevokeUserReplShieldTokens
|
|
78974
|
+
*/
|
|
78975
|
+
RevokeUserReplShieldTokens.fromObject = function fromObject(object) {
|
|
78976
|
+
if (object instanceof $root.replit.goval.api.lore.RevokeUserReplShieldTokens)
|
|
78977
|
+
return object;
|
|
78978
|
+
var message = new $root.replit.goval.api.lore.RevokeUserReplShieldTokens();
|
|
78979
|
+
if (object.userId != null)
|
|
78980
|
+
message.userId = object.userId >>> 0;
|
|
78981
|
+
if (object.token != null)
|
|
78982
|
+
message.token = String(object.token);
|
|
78983
|
+
return message;
|
|
78984
|
+
};
|
|
78985
|
+
|
|
78986
|
+
/**
|
|
78987
|
+
* Creates a plain object from a RevokeUserReplShieldTokens message. Also converts values to other types if specified.
|
|
78988
|
+
* @function toObject
|
|
78989
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
78990
|
+
* @static
|
|
78991
|
+
* @param {replit.goval.api.lore.RevokeUserReplShieldTokens} message RevokeUserReplShieldTokens
|
|
78992
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
78993
|
+
* @returns {Object.<string,*>} Plain object
|
|
78994
|
+
*/
|
|
78995
|
+
RevokeUserReplShieldTokens.toObject = function toObject(message, options) {
|
|
78996
|
+
if (!options)
|
|
78997
|
+
options = {};
|
|
78998
|
+
var object = {};
|
|
78999
|
+
if (options.defaults) {
|
|
79000
|
+
object.userId = 0;
|
|
79001
|
+
object.token = "";
|
|
79002
|
+
}
|
|
79003
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
79004
|
+
object.userId = message.userId;
|
|
79005
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
79006
|
+
object.token = message.token;
|
|
79007
|
+
return object;
|
|
79008
|
+
};
|
|
79009
|
+
|
|
79010
|
+
/**
|
|
79011
|
+
* Converts this RevokeUserReplShieldTokens to JSON.
|
|
79012
|
+
* @function toJSON
|
|
79013
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
79014
|
+
* @instance
|
|
79015
|
+
* @returns {Object.<string,*>} JSON object
|
|
79016
|
+
*/
|
|
79017
|
+
RevokeUserReplShieldTokens.prototype.toJSON = function toJSON() {
|
|
79018
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
79019
|
+
};
|
|
79020
|
+
|
|
79021
|
+
/**
|
|
79022
|
+
* Gets the default type url for RevokeUserReplShieldTokens
|
|
79023
|
+
* @function getTypeUrl
|
|
79024
|
+
* @memberof replit.goval.api.lore.RevokeUserReplShieldTokens
|
|
79025
|
+
* @static
|
|
79026
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
79027
|
+
* @returns {string} The default type url
|
|
79028
|
+
*/
|
|
79029
|
+
RevokeUserReplShieldTokens.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
79030
|
+
if (typeUrlPrefix === undefined) {
|
|
79031
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
79032
|
+
}
|
|
79033
|
+
return typeUrlPrefix + "/replit.goval.api.lore.RevokeUserReplShieldTokens";
|
|
79034
|
+
};
|
|
79035
|
+
|
|
79036
|
+
return RevokeUserReplShieldTokens;
|
|
79037
|
+
})();
|
|
79038
|
+
|
|
78145
79039
|
lore.Buckets = (function() {
|
|
78146
79040
|
|
|
78147
79041
|
/**
|
|
@@ -78422,7 +79316,6 @@
|
|
|
78422
79316
|
* @interface IRepl
|
|
78423
79317
|
* @property {string|null} [id] Repl id
|
|
78424
79318
|
* @property {string|null} [user] Repl user
|
|
78425
|
-
* @property {string|null} [slug] Repl slug
|
|
78426
79319
|
*/
|
|
78427
79320
|
|
|
78428
79321
|
/**
|
|
@@ -78455,14 +79348,6 @@
|
|
|
78455
79348
|
*/
|
|
78456
79349
|
Repl.prototype.user = "";
|
|
78457
79350
|
|
|
78458
|
-
/**
|
|
78459
|
-
* Repl slug.
|
|
78460
|
-
* @member {string} slug
|
|
78461
|
-
* @memberof replit.goval.api.lore.Repl
|
|
78462
|
-
* @instance
|
|
78463
|
-
*/
|
|
78464
|
-
Repl.prototype.slug = "";
|
|
78465
|
-
|
|
78466
79351
|
/**
|
|
78467
79352
|
* Creates a new Repl instance using the specified properties.
|
|
78468
79353
|
* @function create
|
|
@@ -78491,8 +79376,6 @@
|
|
|
78491
79376
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
78492
79377
|
if (message.user != null && Object.hasOwnProperty.call(message, "user"))
|
|
78493
79378
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.user);
|
|
78494
|
-
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
78495
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
78496
79379
|
return writer;
|
|
78497
79380
|
};
|
|
78498
79381
|
|
|
@@ -78535,10 +79418,6 @@
|
|
|
78535
79418
|
message.user = reader.string();
|
|
78536
79419
|
break;
|
|
78537
79420
|
}
|
|
78538
|
-
case 3: {
|
|
78539
|
-
message.slug = reader.string();
|
|
78540
|
-
break;
|
|
78541
|
-
}
|
|
78542
79421
|
default:
|
|
78543
79422
|
reader.skipType(tag & 7);
|
|
78544
79423
|
break;
|
|
@@ -78580,9 +79459,6 @@
|
|
|
78580
79459
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
78581
79460
|
if (!$util.isString(message.user))
|
|
78582
79461
|
return "user: string expected";
|
|
78583
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
78584
|
-
if (!$util.isString(message.slug))
|
|
78585
|
-
return "slug: string expected";
|
|
78586
79462
|
return null;
|
|
78587
79463
|
};
|
|
78588
79464
|
|
|
@@ -78602,8 +79478,6 @@
|
|
|
78602
79478
|
message.id = String(object.id);
|
|
78603
79479
|
if (object.user != null)
|
|
78604
79480
|
message.user = String(object.user);
|
|
78605
|
-
if (object.slug != null)
|
|
78606
|
-
message.slug = String(object.slug);
|
|
78607
79481
|
return message;
|
|
78608
79482
|
};
|
|
78609
79483
|
|
|
@@ -78623,14 +79497,11 @@
|
|
|
78623
79497
|
if (options.defaults) {
|
|
78624
79498
|
object.id = "";
|
|
78625
79499
|
object.user = "";
|
|
78626
|
-
object.slug = "";
|
|
78627
79500
|
}
|
|
78628
79501
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
78629
79502
|
object.id = message.id;
|
|
78630
79503
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
78631
79504
|
object.user = message.user;
|
|
78632
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
78633
|
-
object.slug = message.slug;
|
|
78634
79505
|
return object;
|
|
78635
79506
|
};
|
|
78636
79507
|
|
|
@@ -78672,6 +79543,7 @@
|
|
|
78672
79543
|
* @property {string|null} [name] Cluster name
|
|
78673
79544
|
* @property {string|null} [conmanUrl] Cluster conmanUrl
|
|
78674
79545
|
* @property {string|null} [gurl] Cluster gurl
|
|
79546
|
+
* @property {string|null} [noxHost] Cluster noxHost
|
|
78675
79547
|
*/
|
|
78676
79548
|
|
|
78677
79549
|
/**
|
|
@@ -78712,6 +79584,14 @@
|
|
|
78712
79584
|
*/
|
|
78713
79585
|
Cluster.prototype.gurl = "";
|
|
78714
79586
|
|
|
79587
|
+
/**
|
|
79588
|
+
* Cluster noxHost.
|
|
79589
|
+
* @member {string} noxHost
|
|
79590
|
+
* @memberof replit.goval.api.lore.Cluster
|
|
79591
|
+
* @instance
|
|
79592
|
+
*/
|
|
79593
|
+
Cluster.prototype.noxHost = "";
|
|
79594
|
+
|
|
78715
79595
|
/**
|
|
78716
79596
|
* Creates a new Cluster instance using the specified properties.
|
|
78717
79597
|
* @function create
|
|
@@ -78742,6 +79622,8 @@
|
|
|
78742
79622
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.conmanUrl);
|
|
78743
79623
|
if (message.gurl != null && Object.hasOwnProperty.call(message, "gurl"))
|
|
78744
79624
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
|
|
79625
|
+
if (message.noxHost != null && Object.hasOwnProperty.call(message, "noxHost"))
|
|
79626
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.noxHost);
|
|
78745
79627
|
return writer;
|
|
78746
79628
|
};
|
|
78747
79629
|
|
|
@@ -78788,6 +79670,10 @@
|
|
|
78788
79670
|
message.gurl = reader.string();
|
|
78789
79671
|
break;
|
|
78790
79672
|
}
|
|
79673
|
+
case 5: {
|
|
79674
|
+
message.noxHost = reader.string();
|
|
79675
|
+
break;
|
|
79676
|
+
}
|
|
78791
79677
|
default:
|
|
78792
79678
|
reader.skipType(tag & 7);
|
|
78793
79679
|
break;
|
|
@@ -78832,6 +79718,9 @@
|
|
|
78832
79718
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
78833
79719
|
if (!$util.isString(message.gurl))
|
|
78834
79720
|
return "gurl: string expected";
|
|
79721
|
+
if (message.noxHost != null && message.hasOwnProperty("noxHost"))
|
|
79722
|
+
if (!$util.isString(message.noxHost))
|
|
79723
|
+
return "noxHost: string expected";
|
|
78835
79724
|
return null;
|
|
78836
79725
|
};
|
|
78837
79726
|
|
|
@@ -78853,6 +79742,8 @@
|
|
|
78853
79742
|
message.conmanUrl = String(object.conmanUrl);
|
|
78854
79743
|
if (object.gurl != null)
|
|
78855
79744
|
message.gurl = String(object.gurl);
|
|
79745
|
+
if (object.noxHost != null)
|
|
79746
|
+
message.noxHost = String(object.noxHost);
|
|
78856
79747
|
return message;
|
|
78857
79748
|
};
|
|
78858
79749
|
|
|
@@ -78873,6 +79764,7 @@
|
|
|
78873
79764
|
object.name = "";
|
|
78874
79765
|
object.conmanUrl = "";
|
|
78875
79766
|
object.gurl = "";
|
|
79767
|
+
object.noxHost = "";
|
|
78876
79768
|
}
|
|
78877
79769
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
78878
79770
|
object.name = message.name;
|
|
@@ -78880,6 +79772,8 @@
|
|
|
78880
79772
|
object.conmanUrl = message.conmanUrl;
|
|
78881
79773
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
78882
79774
|
object.gurl = message.gurl;
|
|
79775
|
+
if (message.noxHost != null && message.hasOwnProperty("noxHost"))
|
|
79776
|
+
object.noxHost = message.noxHost;
|
|
78883
79777
|
return object;
|
|
78884
79778
|
};
|
|
78885
79779
|
|
|
@@ -79326,7 +80220,6 @@
|
|
|
79326
80220
|
* @interface IRepl
|
|
79327
80221
|
* @property {string|null} [id] Repl id
|
|
79328
80222
|
* @property {string|null} [user] Repl user
|
|
79329
|
-
* @property {string|null} [slug] Repl slug
|
|
79330
80223
|
*/
|
|
79331
80224
|
|
|
79332
80225
|
/**
|
|
@@ -79359,14 +80252,6 @@
|
|
|
79359
80252
|
*/
|
|
79360
80253
|
Repl.prototype.user = "";
|
|
79361
80254
|
|
|
79362
|
-
/**
|
|
79363
|
-
* Repl slug.
|
|
79364
|
-
* @member {string} slug
|
|
79365
|
-
* @memberof replit.goval.api.lore.CreateReplRequest.Repl
|
|
79366
|
-
* @instance
|
|
79367
|
-
*/
|
|
79368
|
-
Repl.prototype.slug = "";
|
|
79369
|
-
|
|
79370
80255
|
/**
|
|
79371
80256
|
* Creates a new Repl instance using the specified properties.
|
|
79372
80257
|
* @function create
|
|
@@ -79395,8 +80280,6 @@
|
|
|
79395
80280
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
79396
80281
|
if (message.user != null && Object.hasOwnProperty.call(message, "user"))
|
|
79397
80282
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.user);
|
|
79398
|
-
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
79399
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
79400
80283
|
return writer;
|
|
79401
80284
|
};
|
|
79402
80285
|
|
|
@@ -79439,10 +80322,6 @@
|
|
|
79439
80322
|
message.user = reader.string();
|
|
79440
80323
|
break;
|
|
79441
80324
|
}
|
|
79442
|
-
case 3: {
|
|
79443
|
-
message.slug = reader.string();
|
|
79444
|
-
break;
|
|
79445
|
-
}
|
|
79446
80325
|
default:
|
|
79447
80326
|
reader.skipType(tag & 7);
|
|
79448
80327
|
break;
|
|
@@ -79484,9 +80363,6 @@
|
|
|
79484
80363
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
79485
80364
|
if (!$util.isString(message.user))
|
|
79486
80365
|
return "user: string expected";
|
|
79487
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
79488
|
-
if (!$util.isString(message.slug))
|
|
79489
|
-
return "slug: string expected";
|
|
79490
80366
|
return null;
|
|
79491
80367
|
};
|
|
79492
80368
|
|
|
@@ -79506,8 +80382,6 @@
|
|
|
79506
80382
|
message.id = String(object.id);
|
|
79507
80383
|
if (object.user != null)
|
|
79508
80384
|
message.user = String(object.user);
|
|
79509
|
-
if (object.slug != null)
|
|
79510
|
-
message.slug = String(object.slug);
|
|
79511
80385
|
return message;
|
|
79512
80386
|
};
|
|
79513
80387
|
|
|
@@ -79527,14 +80401,11 @@
|
|
|
79527
80401
|
if (options.defaults) {
|
|
79528
80402
|
object.id = "";
|
|
79529
80403
|
object.user = "";
|
|
79530
|
-
object.slug = "";
|
|
79531
80404
|
}
|
|
79532
80405
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
79533
80406
|
object.id = message.id;
|
|
79534
80407
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
79535
80408
|
object.user = message.user;
|
|
79536
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
79537
|
-
object.slug = message.slug;
|
|
79538
80409
|
return object;
|
|
79539
80410
|
};
|
|
79540
80411
|
|
|
@@ -81451,7 +82322,6 @@
|
|
|
81451
82322
|
* @memberof replit.goval.api.lore
|
|
81452
82323
|
* @interface IGetReplConnectionInfoRequest
|
|
81453
82324
|
* @property {string|null} [replId] GetReplConnectionInfoRequest replId
|
|
81454
|
-
* @property {string|null} [slug] GetReplConnectionInfoRequest slug
|
|
81455
82325
|
* @property {string|null} [user] GetReplConnectionInfoRequest user
|
|
81456
82326
|
* @property {boolean|null} [persistent] GetReplConnectionInfoRequest persistent
|
|
81457
82327
|
* @property {string|null} [defaultCluster] GetReplConnectionInfoRequest defaultCluster
|
|
@@ -81482,14 +82352,6 @@
|
|
|
81482
82352
|
*/
|
|
81483
82353
|
GetReplConnectionInfoRequest.prototype.replId = "";
|
|
81484
82354
|
|
|
81485
|
-
/**
|
|
81486
|
-
* GetReplConnectionInfoRequest slug.
|
|
81487
|
-
* @member {string} slug
|
|
81488
|
-
* @memberof replit.goval.api.lore.GetReplConnectionInfoRequest
|
|
81489
|
-
* @instance
|
|
81490
|
-
*/
|
|
81491
|
-
GetReplConnectionInfoRequest.prototype.slug = "";
|
|
81492
|
-
|
|
81493
82355
|
/**
|
|
81494
82356
|
* GetReplConnectionInfoRequest user.
|
|
81495
82357
|
* @member {string} user
|
|
@@ -81578,8 +82440,6 @@
|
|
|
81578
82440
|
writer = $Writer.create();
|
|
81579
82441
|
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
81580
82442
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
81581
|
-
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
81582
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.slug);
|
|
81583
82443
|
if (message.user != null && Object.hasOwnProperty.call(message, "user"))
|
|
81584
82444
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.user);
|
|
81585
82445
|
if (message.persistent != null && Object.hasOwnProperty.call(message, "persistent"))
|
|
@@ -81630,10 +82490,6 @@
|
|
|
81630
82490
|
message.replId = reader.string();
|
|
81631
82491
|
break;
|
|
81632
82492
|
}
|
|
81633
|
-
case 2: {
|
|
81634
|
-
message.slug = reader.string();
|
|
81635
|
-
break;
|
|
81636
|
-
}
|
|
81637
82493
|
case 3: {
|
|
81638
82494
|
message.user = reader.string();
|
|
81639
82495
|
break;
|
|
@@ -81697,9 +82553,6 @@
|
|
|
81697
82553
|
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
81698
82554
|
if (!$util.isString(message.replId))
|
|
81699
82555
|
return "replId: string expected";
|
|
81700
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
81701
|
-
if (!$util.isString(message.slug))
|
|
81702
|
-
return "slug: string expected";
|
|
81703
82556
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
81704
82557
|
if (!$util.isString(message.user))
|
|
81705
82558
|
return "user: string expected";
|
|
@@ -81743,8 +82596,6 @@
|
|
|
81743
82596
|
var message = new $root.replit.goval.api.lore.GetReplConnectionInfoRequest();
|
|
81744
82597
|
if (object.replId != null)
|
|
81745
82598
|
message.replId = String(object.replId);
|
|
81746
|
-
if (object.slug != null)
|
|
81747
|
-
message.slug = String(object.slug);
|
|
81748
82599
|
if (object.user != null)
|
|
81749
82600
|
message.user = String(object.user);
|
|
81750
82601
|
if (object.persistent != null)
|
|
@@ -81778,7 +82629,6 @@
|
|
|
81778
82629
|
var object = {};
|
|
81779
82630
|
if (options.defaults) {
|
|
81780
82631
|
object.replId = "";
|
|
81781
|
-
object.slug = "";
|
|
81782
82632
|
object.user = "";
|
|
81783
82633
|
object.persistent = false;
|
|
81784
82634
|
object.sourceReplId = "";
|
|
@@ -81786,8 +82636,6 @@
|
|
|
81786
82636
|
}
|
|
81787
82637
|
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
81788
82638
|
object.replId = message.replId;
|
|
81789
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
81790
|
-
object.slug = message.slug;
|
|
81791
82639
|
if (message.user != null && message.hasOwnProperty("user"))
|
|
81792
82640
|
object.user = message.user;
|
|
81793
82641
|
if (message.persistent != null && message.hasOwnProperty("persistent"))
|
|
@@ -87418,7 +88266,6 @@
|
|
|
87418
88266
|
* @interface IImportReplRequest
|
|
87419
88267
|
* @property {string|null} [replId] ImportReplRequest replId
|
|
87420
88268
|
* @property {string|null} [username] ImportReplRequest username
|
|
87421
|
-
* @property {string|null} [slug] ImportReplRequest slug
|
|
87422
88269
|
* @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] ImportReplRequest replLocation
|
|
87423
88270
|
* @property {replit.goval.api.lore.ReplExport|replit.goval.api.lore.IReplExport|null} ["export"] ImportReplRequest export
|
|
87424
88271
|
*/
|
|
@@ -87453,14 +88300,6 @@
|
|
|
87453
88300
|
*/
|
|
87454
88301
|
ImportReplRequest.prototype.username = "";
|
|
87455
88302
|
|
|
87456
|
-
/**
|
|
87457
|
-
* ImportReplRequest slug.
|
|
87458
|
-
* @member {string} slug
|
|
87459
|
-
* @memberof replit.goval.api.lore.ImportReplRequest
|
|
87460
|
-
* @instance
|
|
87461
|
-
*/
|
|
87462
|
-
ImportReplRequest.prototype.slug = "";
|
|
87463
|
-
|
|
87464
88303
|
/**
|
|
87465
88304
|
* ImportReplRequest replLocation.
|
|
87466
88305
|
* @member {replit.goval.api.lore.ReplLocation|null|undefined} replLocation
|
|
@@ -87505,8 +88344,6 @@
|
|
|
87505
88344
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
87506
88345
|
if (message.username != null && Object.hasOwnProperty.call(message, "username"))
|
|
87507
88346
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.username);
|
|
87508
|
-
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
87509
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
87510
88347
|
if (message.replLocation != null && Object.hasOwnProperty.call(message, "replLocation"))
|
|
87511
88348
|
$root.replit.goval.api.lore.ReplLocation.encode(message.replLocation, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
87512
88349
|
if (message["export"] != null && Object.hasOwnProperty.call(message, "export"))
|
|
@@ -87553,10 +88390,6 @@
|
|
|
87553
88390
|
message.username = reader.string();
|
|
87554
88391
|
break;
|
|
87555
88392
|
}
|
|
87556
|
-
case 3: {
|
|
87557
|
-
message.slug = reader.string();
|
|
87558
|
-
break;
|
|
87559
|
-
}
|
|
87560
88393
|
case 4: {
|
|
87561
88394
|
message.replLocation = $root.replit.goval.api.lore.ReplLocation.decode(reader, reader.uint32());
|
|
87562
88395
|
break;
|
|
@@ -87606,9 +88439,6 @@
|
|
|
87606
88439
|
if (message.username != null && message.hasOwnProperty("username"))
|
|
87607
88440
|
if (!$util.isString(message.username))
|
|
87608
88441
|
return "username: string expected";
|
|
87609
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
87610
|
-
if (!$util.isString(message.slug))
|
|
87611
|
-
return "slug: string expected";
|
|
87612
88442
|
if (message.replLocation != null && message.hasOwnProperty("replLocation")) {
|
|
87613
88443
|
var error = $root.replit.goval.api.lore.ReplLocation.verify(message.replLocation);
|
|
87614
88444
|
if (error)
|
|
@@ -87638,8 +88468,6 @@
|
|
|
87638
88468
|
message.replId = String(object.replId);
|
|
87639
88469
|
if (object.username != null)
|
|
87640
88470
|
message.username = String(object.username);
|
|
87641
|
-
if (object.slug != null)
|
|
87642
|
-
message.slug = String(object.slug);
|
|
87643
88471
|
if (object.replLocation != null) {
|
|
87644
88472
|
if (typeof object.replLocation !== "object")
|
|
87645
88473
|
throw TypeError(".replit.goval.api.lore.ImportReplRequest.replLocation: object expected");
|
|
@@ -87669,7 +88497,6 @@
|
|
|
87669
88497
|
if (options.defaults) {
|
|
87670
88498
|
object.replId = "";
|
|
87671
88499
|
object.username = "";
|
|
87672
|
-
object.slug = "";
|
|
87673
88500
|
object.replLocation = null;
|
|
87674
88501
|
object["export"] = null;
|
|
87675
88502
|
}
|
|
@@ -87677,8 +88504,6 @@
|
|
|
87677
88504
|
object.replId = message.replId;
|
|
87678
88505
|
if (message.username != null && message.hasOwnProperty("username"))
|
|
87679
88506
|
object.username = message.username;
|
|
87680
|
-
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
87681
|
-
object.slug = message.slug;
|
|
87682
88507
|
if (message.replLocation != null && message.hasOwnProperty("replLocation"))
|
|
87683
88508
|
object.replLocation = $root.replit.goval.api.lore.ReplLocation.toObject(message.replLocation, options);
|
|
87684
88509
|
if (message["export"] != null && message.hasOwnProperty("export"))
|
|
@@ -89401,6 +90226,7 @@
|
|
|
89401
90226
|
* @property {boolean|null} [isTeam] Repl isTeam
|
|
89402
90227
|
* @property {Array.<string>|null} [roles] Repl roles
|
|
89403
90228
|
* @property {string|null} [logFields] Repl logFields
|
|
90229
|
+
* @property {boolean|null} [useReplShield] Repl useReplShield
|
|
89404
90230
|
*/
|
|
89405
90231
|
|
|
89406
90232
|
/**
|
|
@@ -89522,6 +90348,14 @@
|
|
|
89522
90348
|
*/
|
|
89523
90349
|
Repl.prototype.logFields = "";
|
|
89524
90350
|
|
|
90351
|
+
/**
|
|
90352
|
+
* Repl useReplShield.
|
|
90353
|
+
* @member {boolean} useReplShield
|
|
90354
|
+
* @memberof replit.goval.api.repl.Repl
|
|
90355
|
+
* @instance
|
|
90356
|
+
*/
|
|
90357
|
+
Repl.prototype.useReplShield = false;
|
|
90358
|
+
|
|
89525
90359
|
/**
|
|
89526
90360
|
* Creates a new Repl instance using the specified properties.
|
|
89527
90361
|
* @function create
|
|
@@ -89573,6 +90407,8 @@
|
|
|
89573
90407
|
writer.uint32(/* id 13, wireType 2 =*/106).string(message.logFields);
|
|
89574
90408
|
if (message.org != null && Object.hasOwnProperty.call(message, "org"))
|
|
89575
90409
|
$root.replit.goval.api.repl.Org.encode(message.org, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
90410
|
+
if (message.useReplShield != null && Object.hasOwnProperty.call(message, "useReplShield"))
|
|
90411
|
+
writer.uint32(/* id 15, wireType 0 =*/120).bool(message.useReplShield);
|
|
89576
90412
|
return writer;
|
|
89577
90413
|
};
|
|
89578
90414
|
|
|
@@ -89661,6 +90497,10 @@
|
|
|
89661
90497
|
message.logFields = reader.string();
|
|
89662
90498
|
break;
|
|
89663
90499
|
}
|
|
90500
|
+
case 15: {
|
|
90501
|
+
message.useReplShield = reader.bool();
|
|
90502
|
+
break;
|
|
90503
|
+
}
|
|
89664
90504
|
default:
|
|
89665
90505
|
reader.skipType(tag & 7);
|
|
89666
90506
|
break;
|
|
@@ -89745,6 +90585,9 @@
|
|
|
89745
90585
|
if (message.logFields != null && message.hasOwnProperty("logFields"))
|
|
89746
90586
|
if (!$util.isString(message.logFields))
|
|
89747
90587
|
return "logFields: string expected";
|
|
90588
|
+
if (message.useReplShield != null && message.hasOwnProperty("useReplShield"))
|
|
90589
|
+
if (typeof message.useReplShield !== "boolean")
|
|
90590
|
+
return "useReplShield: boolean expected";
|
|
89748
90591
|
return null;
|
|
89749
90592
|
};
|
|
89750
90593
|
|
|
@@ -89800,6 +90643,8 @@
|
|
|
89800
90643
|
}
|
|
89801
90644
|
if (object.logFields != null)
|
|
89802
90645
|
message.logFields = String(object.logFields);
|
|
90646
|
+
if (object.useReplShield != null)
|
|
90647
|
+
message.useReplShield = Boolean(object.useReplShield);
|
|
89803
90648
|
return message;
|
|
89804
90649
|
};
|
|
89805
90650
|
|
|
@@ -89831,6 +90676,7 @@
|
|
|
89831
90676
|
object.isTeam = false;
|
|
89832
90677
|
object.logFields = "";
|
|
89833
90678
|
object.org = null;
|
|
90679
|
+
object.useReplShield = false;
|
|
89834
90680
|
}
|
|
89835
90681
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
89836
90682
|
object.id = message.id;
|
|
@@ -89861,6 +90707,8 @@
|
|
|
89861
90707
|
object.logFields = message.logFields;
|
|
89862
90708
|
if (message.org != null && message.hasOwnProperty("org"))
|
|
89863
90709
|
object.org = $root.replit.goval.api.repl.Org.toObject(message.org, options);
|
|
90710
|
+
if (message.useReplShield != null && message.hasOwnProperty("useReplShield"))
|
|
90711
|
+
object.useReplShield = message.useReplShield;
|
|
89864
90712
|
return object;
|
|
89865
90713
|
};
|
|
89866
90714
|
|