@replit/protocol 0.4.23 → 0.4.24
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/dist/api/features/features.d.ts +14 -6
- package/dist/api/features/features.js +6 -4
- package/dist/api/lore/service.client.d.ts +26 -0
- package/dist/api/lore/service.client.js +19 -4
- package/dist/api/lore/service.d.ts +34 -0
- package/dist/api/lore/service.js +86 -0
- package/dist/api/types.d.ts +12 -1
- package/dist/api/types.js +11 -0
- package/iotester/index.d.ts +217 -1
- package/iotester/index.js +448 -0
- package/main/index.d.ts +217 -1
- package/main/index.js +448 -0
- package/package.json +1 -1
package/main/index.js
CHANGED
|
@@ -47936,6 +47936,7 @@
|
|
|
47936
47936
|
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [run] DeploymentConfig run
|
|
47937
47937
|
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [build] DeploymentConfig build
|
|
47938
47938
|
* @property {boolean|null} [ignorePorts] DeploymentConfig ignorePorts
|
|
47939
|
+
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [postBuild] DeploymentConfig postBuild
|
|
47939
47940
|
* @property {replit.goval.api.DeploymentConfig.Target|null} [target] DeploymentConfig target
|
|
47940
47941
|
* @property {string|null} [publicDir] DeploymentConfig publicDir
|
|
47941
47942
|
* @property {Array.<replit.goval.api.DeploymentConfig.RewriteRule|replit.goval.api.DeploymentConfig.IRewriteRule>|null} [rewrites] DeploymentConfig rewrites
|
|
@@ -47982,6 +47983,14 @@
|
|
|
47982
47983
|
*/
|
|
47983
47984
|
DeploymentConfig.prototype.ignorePorts = false;
|
|
47984
47985
|
|
|
47986
|
+
/**
|
|
47987
|
+
* DeploymentConfig postBuild.
|
|
47988
|
+
* @member {replit.goval.api.Exec|null|undefined} postBuild
|
|
47989
|
+
* @memberof replit.goval.api.DeploymentConfig
|
|
47990
|
+
* @instance
|
|
47991
|
+
*/
|
|
47992
|
+
DeploymentConfig.prototype.postBuild = null;
|
|
47993
|
+
|
|
47985
47994
|
/**
|
|
47986
47995
|
* DeploymentConfig target.
|
|
47987
47996
|
* @member {replit.goval.api.DeploymentConfig.Target} target
|
|
@@ -48054,6 +48063,8 @@
|
|
|
48054
48063
|
if (message.responseHeaders != null && message.responseHeaders.length)
|
|
48055
48064
|
for (var i = 0; i < message.responseHeaders.length; ++i)
|
|
48056
48065
|
$root.replit.goval.api.DeploymentConfig.Header.encode(message.responseHeaders[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
48066
|
+
if (message.postBuild != null && Object.hasOwnProperty.call(message, "postBuild"))
|
|
48067
|
+
$root.replit.goval.api.Exec.encode(message.postBuild, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
48057
48068
|
return writer;
|
|
48058
48069
|
};
|
|
48059
48070
|
|
|
@@ -48102,6 +48113,10 @@
|
|
|
48102
48113
|
message.ignorePorts = reader.bool();
|
|
48103
48114
|
break;
|
|
48104
48115
|
}
|
|
48116
|
+
case 8: {
|
|
48117
|
+
message.postBuild = $root.replit.goval.api.Exec.decode(reader, reader.uint32());
|
|
48118
|
+
break;
|
|
48119
|
+
}
|
|
48105
48120
|
case 4: {
|
|
48106
48121
|
message.target = reader.int32();
|
|
48107
48122
|
break;
|
|
@@ -48170,6 +48185,11 @@
|
|
|
48170
48185
|
if (message.ignorePorts != null && message.hasOwnProperty("ignorePorts"))
|
|
48171
48186
|
if (typeof message.ignorePorts !== "boolean")
|
|
48172
48187
|
return "ignorePorts: boolean expected";
|
|
48188
|
+
if (message.postBuild != null && message.hasOwnProperty("postBuild")) {
|
|
48189
|
+
var error = $root.replit.goval.api.Exec.verify(message.postBuild);
|
|
48190
|
+
if (error)
|
|
48191
|
+
return "postBuild." + error;
|
|
48192
|
+
}
|
|
48173
48193
|
if (message.target != null && message.hasOwnProperty("target"))
|
|
48174
48194
|
switch (message.target) {
|
|
48175
48195
|
default:
|
|
@@ -48181,6 +48201,7 @@
|
|
|
48181
48201
|
case 4:
|
|
48182
48202
|
case 5:
|
|
48183
48203
|
case 6:
|
|
48204
|
+
case 7:
|
|
48184
48205
|
break;
|
|
48185
48206
|
}
|
|
48186
48207
|
if (message.publicDir != null && message.hasOwnProperty("publicDir"))
|
|
@@ -48231,6 +48252,11 @@
|
|
|
48231
48252
|
}
|
|
48232
48253
|
if (object.ignorePorts != null)
|
|
48233
48254
|
message.ignorePorts = Boolean(object.ignorePorts);
|
|
48255
|
+
if (object.postBuild != null) {
|
|
48256
|
+
if (typeof object.postBuild !== "object")
|
|
48257
|
+
throw TypeError(".replit.goval.api.DeploymentConfig.postBuild: object expected");
|
|
48258
|
+
message.postBuild = $root.replit.goval.api.Exec.fromObject(object.postBuild);
|
|
48259
|
+
}
|
|
48234
48260
|
switch (object.target) {
|
|
48235
48261
|
default:
|
|
48236
48262
|
if (typeof object.target === "number") {
|
|
@@ -48266,6 +48292,10 @@
|
|
|
48266
48292
|
case 6:
|
|
48267
48293
|
message.target = 6;
|
|
48268
48294
|
break;
|
|
48295
|
+
case "DATABRICKS_APP":
|
|
48296
|
+
case 7:
|
|
48297
|
+
message.target = 7;
|
|
48298
|
+
break;
|
|
48269
48299
|
}
|
|
48270
48300
|
if (object.publicDir != null)
|
|
48271
48301
|
message.publicDir = String(object.publicDir);
|
|
@@ -48315,6 +48345,7 @@
|
|
|
48315
48345
|
object.ignorePorts = false;
|
|
48316
48346
|
object.target = options.enums === String ? "GCE" : 0;
|
|
48317
48347
|
object.publicDir = "";
|
|
48348
|
+
object.postBuild = null;
|
|
48318
48349
|
}
|
|
48319
48350
|
if (message.run != null && message.hasOwnProperty("run"))
|
|
48320
48351
|
object.run = $root.replit.goval.api.Exec.toObject(message.run, options);
|
|
@@ -48336,6 +48367,8 @@
|
|
|
48336
48367
|
for (var j = 0; j < message.responseHeaders.length; ++j)
|
|
48337
48368
|
object.responseHeaders[j] = $root.replit.goval.api.DeploymentConfig.Header.toObject(message.responseHeaders[j], options);
|
|
48338
48369
|
}
|
|
48370
|
+
if (message.postBuild != null && message.hasOwnProperty("postBuild"))
|
|
48371
|
+
object.postBuild = $root.replit.goval.api.Exec.toObject(message.postBuild, options);
|
|
48339
48372
|
return object;
|
|
48340
48373
|
};
|
|
48341
48374
|
|
|
@@ -48376,6 +48409,7 @@
|
|
|
48376
48409
|
* @property {number} AUTOSCALE=4 AUTOSCALE value
|
|
48377
48410
|
* @property {number} SCHEDULED=5 SCHEDULED value
|
|
48378
48411
|
* @property {number} EXTENSION=6 EXTENSION value
|
|
48412
|
+
* @property {number} DATABRICKS_APP=7 DATABRICKS_APP value
|
|
48379
48413
|
*/
|
|
48380
48414
|
DeploymentConfig.Target = (function() {
|
|
48381
48415
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -48386,6 +48420,7 @@
|
|
|
48386
48420
|
values[valuesById[4] = "AUTOSCALE"] = 4;
|
|
48387
48421
|
values[valuesById[5] = "SCHEDULED"] = 5;
|
|
48388
48422
|
values[valuesById[6] = "EXTENSION"] = 6;
|
|
48423
|
+
values[valuesById[7] = "DATABRICKS_APP"] = 7;
|
|
48389
48424
|
return values;
|
|
48390
48425
|
})();
|
|
48391
48426
|
|
|
@@ -91479,6 +91514,386 @@
|
|
|
91479
91514
|
return BulkRemoveResponse;
|
|
91480
91515
|
})();
|
|
91481
91516
|
|
|
91517
|
+
lore.DeleteReplRequest = (function() {
|
|
91518
|
+
|
|
91519
|
+
/**
|
|
91520
|
+
* Properties of a DeleteReplRequest.
|
|
91521
|
+
* @memberof replit.goval.api.lore
|
|
91522
|
+
* @interface IDeleteReplRequest
|
|
91523
|
+
* @property {string|null} [replId] DeleteReplRequest replId
|
|
91524
|
+
*/
|
|
91525
|
+
|
|
91526
|
+
/**
|
|
91527
|
+
* Constructs a new DeleteReplRequest.
|
|
91528
|
+
* @memberof replit.goval.api.lore
|
|
91529
|
+
* @classdesc Represents a DeleteReplRequest.
|
|
91530
|
+
* @constructor
|
|
91531
|
+
* @param {replit.goval.api.lore.IDeleteReplRequest=} [properties] Properties to set
|
|
91532
|
+
*/
|
|
91533
|
+
function DeleteReplRequest(properties) {
|
|
91534
|
+
if (properties)
|
|
91535
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91536
|
+
if (properties[keys[i]] != null)
|
|
91537
|
+
this[keys[i]] = properties[keys[i]];
|
|
91538
|
+
}
|
|
91539
|
+
|
|
91540
|
+
/**
|
|
91541
|
+
* DeleteReplRequest replId.
|
|
91542
|
+
* @member {string} replId
|
|
91543
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91544
|
+
* @instance
|
|
91545
|
+
*/
|
|
91546
|
+
DeleteReplRequest.prototype.replId = "";
|
|
91547
|
+
|
|
91548
|
+
/**
|
|
91549
|
+
* Creates a new DeleteReplRequest instance using the specified properties.
|
|
91550
|
+
* @function create
|
|
91551
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91552
|
+
* @static
|
|
91553
|
+
* @param {replit.goval.api.lore.IDeleteReplRequest=} [properties] Properties to set
|
|
91554
|
+
* @returns {replit.goval.api.lore.DeleteReplRequest} DeleteReplRequest instance
|
|
91555
|
+
*/
|
|
91556
|
+
DeleteReplRequest.create = function create(properties) {
|
|
91557
|
+
return DeleteReplRequest.fromObject(properties);
|
|
91558
|
+
};
|
|
91559
|
+
|
|
91560
|
+
/**
|
|
91561
|
+
* Encodes the specified DeleteReplRequest message. Does not implicitly {@link replit.goval.api.lore.DeleteReplRequest.verify|verify} messages.
|
|
91562
|
+
* @function encode
|
|
91563
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91564
|
+
* @static
|
|
91565
|
+
* @param {replit.goval.api.lore.DeleteReplRequest} message DeleteReplRequest message or plain object to encode
|
|
91566
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91567
|
+
* @returns {$protobuf.Writer} Writer
|
|
91568
|
+
*/
|
|
91569
|
+
DeleteReplRequest.encode = function encode(message, writer) {
|
|
91570
|
+
if (!writer)
|
|
91571
|
+
writer = $Writer.create();
|
|
91572
|
+
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
91573
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
91574
|
+
return writer;
|
|
91575
|
+
};
|
|
91576
|
+
|
|
91577
|
+
/**
|
|
91578
|
+
* Encodes the specified DeleteReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.DeleteReplRequest.verify|verify} messages.
|
|
91579
|
+
* @function encodeDelimited
|
|
91580
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91581
|
+
* @static
|
|
91582
|
+
* @param {replit.goval.api.lore.DeleteReplRequest} message DeleteReplRequest message or plain object to encode
|
|
91583
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91584
|
+
* @returns {$protobuf.Writer} Writer
|
|
91585
|
+
*/
|
|
91586
|
+
DeleteReplRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
91587
|
+
return this.encode(message, writer).ldelim();
|
|
91588
|
+
};
|
|
91589
|
+
|
|
91590
|
+
/**
|
|
91591
|
+
* Decodes a DeleteReplRequest message from the specified reader or buffer.
|
|
91592
|
+
* @function decode
|
|
91593
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91594
|
+
* @static
|
|
91595
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91596
|
+
* @param {number} [length] Message length if known beforehand
|
|
91597
|
+
* @returns {replit.goval.api.lore.DeleteReplRequest} DeleteReplRequest
|
|
91598
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91599
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91600
|
+
*/
|
|
91601
|
+
DeleteReplRequest.decode = function decode(reader, length, error) {
|
|
91602
|
+
if (!(reader instanceof $Reader))
|
|
91603
|
+
reader = $Reader.create(reader);
|
|
91604
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.DeleteReplRequest();
|
|
91605
|
+
while (reader.pos < end) {
|
|
91606
|
+
var tag = reader.uint32();
|
|
91607
|
+
if (tag === error)
|
|
91608
|
+
break;
|
|
91609
|
+
switch (tag >>> 3) {
|
|
91610
|
+
case 1: {
|
|
91611
|
+
message.replId = reader.string();
|
|
91612
|
+
break;
|
|
91613
|
+
}
|
|
91614
|
+
default:
|
|
91615
|
+
reader.skipType(tag & 7);
|
|
91616
|
+
break;
|
|
91617
|
+
}
|
|
91618
|
+
}
|
|
91619
|
+
return message;
|
|
91620
|
+
};
|
|
91621
|
+
|
|
91622
|
+
/**
|
|
91623
|
+
* Decodes a DeleteReplRequest message from the specified reader or buffer, length delimited.
|
|
91624
|
+
* @function decodeDelimited
|
|
91625
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91626
|
+
* @static
|
|
91627
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91628
|
+
* @returns {replit.goval.api.lore.DeleteReplRequest} DeleteReplRequest
|
|
91629
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91630
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91631
|
+
*/
|
|
91632
|
+
DeleteReplRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
91633
|
+
if (!(reader instanceof $Reader))
|
|
91634
|
+
reader = new $Reader(reader);
|
|
91635
|
+
return this.decode(reader, reader.uint32());
|
|
91636
|
+
};
|
|
91637
|
+
|
|
91638
|
+
/**
|
|
91639
|
+
* Verifies a DeleteReplRequest message.
|
|
91640
|
+
* @function verify
|
|
91641
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91642
|
+
* @static
|
|
91643
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
91644
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
91645
|
+
*/
|
|
91646
|
+
DeleteReplRequest.verify = function verify(message) {
|
|
91647
|
+
if (typeof message !== "object" || message === null)
|
|
91648
|
+
return "object expected";
|
|
91649
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
91650
|
+
if (!$util.isString(message.replId))
|
|
91651
|
+
return "replId: string expected";
|
|
91652
|
+
return null;
|
|
91653
|
+
};
|
|
91654
|
+
|
|
91655
|
+
/**
|
|
91656
|
+
* Creates a DeleteReplRequest message from a plain object. Also converts values to their respective internal types.
|
|
91657
|
+
* @function fromObject
|
|
91658
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91659
|
+
* @static
|
|
91660
|
+
* @param {Object.<string,*>} object Plain object
|
|
91661
|
+
* @returns {replit.goval.api.lore.DeleteReplRequest} DeleteReplRequest
|
|
91662
|
+
*/
|
|
91663
|
+
DeleteReplRequest.fromObject = function fromObject(object) {
|
|
91664
|
+
if (object instanceof $root.replit.goval.api.lore.DeleteReplRequest)
|
|
91665
|
+
return object;
|
|
91666
|
+
var message = new $root.replit.goval.api.lore.DeleteReplRequest();
|
|
91667
|
+
if (object.replId != null)
|
|
91668
|
+
message.replId = String(object.replId);
|
|
91669
|
+
return message;
|
|
91670
|
+
};
|
|
91671
|
+
|
|
91672
|
+
/**
|
|
91673
|
+
* Creates a plain object from a DeleteReplRequest message. Also converts values to other types if specified.
|
|
91674
|
+
* @function toObject
|
|
91675
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91676
|
+
* @static
|
|
91677
|
+
* @param {replit.goval.api.lore.DeleteReplRequest} message DeleteReplRequest
|
|
91678
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
91679
|
+
* @returns {Object.<string,*>} Plain object
|
|
91680
|
+
*/
|
|
91681
|
+
DeleteReplRequest.toObject = function toObject(message, options) {
|
|
91682
|
+
if (!options)
|
|
91683
|
+
options = {};
|
|
91684
|
+
var object = {};
|
|
91685
|
+
if (options.defaults)
|
|
91686
|
+
object.replId = "";
|
|
91687
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
91688
|
+
object.replId = message.replId;
|
|
91689
|
+
return object;
|
|
91690
|
+
};
|
|
91691
|
+
|
|
91692
|
+
/**
|
|
91693
|
+
* Converts this DeleteReplRequest to JSON.
|
|
91694
|
+
* @function toJSON
|
|
91695
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91696
|
+
* @instance
|
|
91697
|
+
* @returns {Object.<string,*>} JSON object
|
|
91698
|
+
*/
|
|
91699
|
+
DeleteReplRequest.prototype.toJSON = function toJSON() {
|
|
91700
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
91701
|
+
};
|
|
91702
|
+
|
|
91703
|
+
/**
|
|
91704
|
+
* Gets the default type url for DeleteReplRequest
|
|
91705
|
+
* @function getTypeUrl
|
|
91706
|
+
* @memberof replit.goval.api.lore.DeleteReplRequest
|
|
91707
|
+
* @static
|
|
91708
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
91709
|
+
* @returns {string} The default type url
|
|
91710
|
+
*/
|
|
91711
|
+
DeleteReplRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
91712
|
+
if (typeUrlPrefix === undefined) {
|
|
91713
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
91714
|
+
}
|
|
91715
|
+
return typeUrlPrefix + "/replit.goval.api.lore.DeleteReplRequest";
|
|
91716
|
+
};
|
|
91717
|
+
|
|
91718
|
+
return DeleteReplRequest;
|
|
91719
|
+
})();
|
|
91720
|
+
|
|
91721
|
+
lore.DeleteReplResponse = (function() {
|
|
91722
|
+
|
|
91723
|
+
/**
|
|
91724
|
+
* Properties of a DeleteReplResponse.
|
|
91725
|
+
* @memberof replit.goval.api.lore
|
|
91726
|
+
* @interface IDeleteReplResponse
|
|
91727
|
+
*/
|
|
91728
|
+
|
|
91729
|
+
/**
|
|
91730
|
+
* Constructs a new DeleteReplResponse.
|
|
91731
|
+
* @memberof replit.goval.api.lore
|
|
91732
|
+
* @classdesc Represents a DeleteReplResponse.
|
|
91733
|
+
* @constructor
|
|
91734
|
+
* @param {replit.goval.api.lore.IDeleteReplResponse=} [properties] Properties to set
|
|
91735
|
+
*/
|
|
91736
|
+
function DeleteReplResponse(properties) {
|
|
91737
|
+
if (properties)
|
|
91738
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91739
|
+
if (properties[keys[i]] != null)
|
|
91740
|
+
this[keys[i]] = properties[keys[i]];
|
|
91741
|
+
}
|
|
91742
|
+
|
|
91743
|
+
/**
|
|
91744
|
+
* Creates a new DeleteReplResponse instance using the specified properties.
|
|
91745
|
+
* @function create
|
|
91746
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91747
|
+
* @static
|
|
91748
|
+
* @param {replit.goval.api.lore.IDeleteReplResponse=} [properties] Properties to set
|
|
91749
|
+
* @returns {replit.goval.api.lore.DeleteReplResponse} DeleteReplResponse instance
|
|
91750
|
+
*/
|
|
91751
|
+
DeleteReplResponse.create = function create(properties) {
|
|
91752
|
+
return DeleteReplResponse.fromObject(properties);
|
|
91753
|
+
};
|
|
91754
|
+
|
|
91755
|
+
/**
|
|
91756
|
+
* Encodes the specified DeleteReplResponse message. Does not implicitly {@link replit.goval.api.lore.DeleteReplResponse.verify|verify} messages.
|
|
91757
|
+
* @function encode
|
|
91758
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91759
|
+
* @static
|
|
91760
|
+
* @param {replit.goval.api.lore.DeleteReplResponse} message DeleteReplResponse message or plain object to encode
|
|
91761
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91762
|
+
* @returns {$protobuf.Writer} Writer
|
|
91763
|
+
*/
|
|
91764
|
+
DeleteReplResponse.encode = function encode(message, writer) {
|
|
91765
|
+
if (!writer)
|
|
91766
|
+
writer = $Writer.create();
|
|
91767
|
+
return writer;
|
|
91768
|
+
};
|
|
91769
|
+
|
|
91770
|
+
/**
|
|
91771
|
+
* Encodes the specified DeleteReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.DeleteReplResponse.verify|verify} messages.
|
|
91772
|
+
* @function encodeDelimited
|
|
91773
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91774
|
+
* @static
|
|
91775
|
+
* @param {replit.goval.api.lore.DeleteReplResponse} message DeleteReplResponse message or plain object to encode
|
|
91776
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
91777
|
+
* @returns {$protobuf.Writer} Writer
|
|
91778
|
+
*/
|
|
91779
|
+
DeleteReplResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
91780
|
+
return this.encode(message, writer).ldelim();
|
|
91781
|
+
};
|
|
91782
|
+
|
|
91783
|
+
/**
|
|
91784
|
+
* Decodes a DeleteReplResponse message from the specified reader or buffer.
|
|
91785
|
+
* @function decode
|
|
91786
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91787
|
+
* @static
|
|
91788
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91789
|
+
* @param {number} [length] Message length if known beforehand
|
|
91790
|
+
* @returns {replit.goval.api.lore.DeleteReplResponse} DeleteReplResponse
|
|
91791
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91792
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91793
|
+
*/
|
|
91794
|
+
DeleteReplResponse.decode = function decode(reader, length, error) {
|
|
91795
|
+
if (!(reader instanceof $Reader))
|
|
91796
|
+
reader = $Reader.create(reader);
|
|
91797
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.DeleteReplResponse();
|
|
91798
|
+
while (reader.pos < end) {
|
|
91799
|
+
var tag = reader.uint32();
|
|
91800
|
+
if (tag === error)
|
|
91801
|
+
break;
|
|
91802
|
+
switch (tag >>> 3) {
|
|
91803
|
+
default:
|
|
91804
|
+
reader.skipType(tag & 7);
|
|
91805
|
+
break;
|
|
91806
|
+
}
|
|
91807
|
+
}
|
|
91808
|
+
return message;
|
|
91809
|
+
};
|
|
91810
|
+
|
|
91811
|
+
/**
|
|
91812
|
+
* Decodes a DeleteReplResponse message from the specified reader or buffer, length delimited.
|
|
91813
|
+
* @function decodeDelimited
|
|
91814
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91815
|
+
* @static
|
|
91816
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
91817
|
+
* @returns {replit.goval.api.lore.DeleteReplResponse} DeleteReplResponse
|
|
91818
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
91819
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
91820
|
+
*/
|
|
91821
|
+
DeleteReplResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
91822
|
+
if (!(reader instanceof $Reader))
|
|
91823
|
+
reader = new $Reader(reader);
|
|
91824
|
+
return this.decode(reader, reader.uint32());
|
|
91825
|
+
};
|
|
91826
|
+
|
|
91827
|
+
/**
|
|
91828
|
+
* Verifies a DeleteReplResponse message.
|
|
91829
|
+
* @function verify
|
|
91830
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91831
|
+
* @static
|
|
91832
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
91833
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
91834
|
+
*/
|
|
91835
|
+
DeleteReplResponse.verify = function verify(message) {
|
|
91836
|
+
if (typeof message !== "object" || message === null)
|
|
91837
|
+
return "object expected";
|
|
91838
|
+
return null;
|
|
91839
|
+
};
|
|
91840
|
+
|
|
91841
|
+
/**
|
|
91842
|
+
* Creates a DeleteReplResponse message from a plain object. Also converts values to their respective internal types.
|
|
91843
|
+
* @function fromObject
|
|
91844
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91845
|
+
* @static
|
|
91846
|
+
* @param {Object.<string,*>} object Plain object
|
|
91847
|
+
* @returns {replit.goval.api.lore.DeleteReplResponse} DeleteReplResponse
|
|
91848
|
+
*/
|
|
91849
|
+
DeleteReplResponse.fromObject = function fromObject(object) {
|
|
91850
|
+
if (object instanceof $root.replit.goval.api.lore.DeleteReplResponse)
|
|
91851
|
+
return object;
|
|
91852
|
+
return new $root.replit.goval.api.lore.DeleteReplResponse();
|
|
91853
|
+
};
|
|
91854
|
+
|
|
91855
|
+
/**
|
|
91856
|
+
* Creates a plain object from a DeleteReplResponse message. Also converts values to other types if specified.
|
|
91857
|
+
* @function toObject
|
|
91858
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91859
|
+
* @static
|
|
91860
|
+
* @param {replit.goval.api.lore.DeleteReplResponse} message DeleteReplResponse
|
|
91861
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
91862
|
+
* @returns {Object.<string,*>} Plain object
|
|
91863
|
+
*/
|
|
91864
|
+
DeleteReplResponse.toObject = function toObject() {
|
|
91865
|
+
return {};
|
|
91866
|
+
};
|
|
91867
|
+
|
|
91868
|
+
/**
|
|
91869
|
+
* Converts this DeleteReplResponse to JSON.
|
|
91870
|
+
* @function toJSON
|
|
91871
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91872
|
+
* @instance
|
|
91873
|
+
* @returns {Object.<string,*>} JSON object
|
|
91874
|
+
*/
|
|
91875
|
+
DeleteReplResponse.prototype.toJSON = function toJSON() {
|
|
91876
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
91877
|
+
};
|
|
91878
|
+
|
|
91879
|
+
/**
|
|
91880
|
+
* Gets the default type url for DeleteReplResponse
|
|
91881
|
+
* @function getTypeUrl
|
|
91882
|
+
* @memberof replit.goval.api.lore.DeleteReplResponse
|
|
91883
|
+
* @static
|
|
91884
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
91885
|
+
* @returns {string} The default type url
|
|
91886
|
+
*/
|
|
91887
|
+
DeleteReplResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
91888
|
+
if (typeUrlPrefix === undefined) {
|
|
91889
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
91890
|
+
}
|
|
91891
|
+
return typeUrlPrefix + "/replit.goval.api.lore.DeleteReplResponse";
|
|
91892
|
+
};
|
|
91893
|
+
|
|
91894
|
+
return DeleteReplResponse;
|
|
91895
|
+
})();
|
|
91896
|
+
|
|
91482
91897
|
lore.GetClustersRequest = (function() {
|
|
91483
91898
|
|
|
91484
91899
|
/**
|
|
@@ -94177,6 +94592,39 @@
|
|
|
94177
94592
|
* @variation 2
|
|
94178
94593
|
*/
|
|
94179
94594
|
|
|
94595
|
+
/**
|
|
94596
|
+
* Callback as used by {@link replit.goval.api.lore.Lore#deleteRepl}.
|
|
94597
|
+
* @memberof replit.goval.api.lore.Lore
|
|
94598
|
+
* @typedef DeleteReplCallback
|
|
94599
|
+
* @type {function}
|
|
94600
|
+
* @param {Error|null} error Error, if any
|
|
94601
|
+
* @param {replit.goval.api.lore.DeleteReplResponse} [response] DeleteReplResponse
|
|
94602
|
+
*/
|
|
94603
|
+
|
|
94604
|
+
/**
|
|
94605
|
+
* Calls DeleteRepl.
|
|
94606
|
+
* @function deleteRepl
|
|
94607
|
+
* @memberof replit.goval.api.lore.Lore
|
|
94608
|
+
* @instance
|
|
94609
|
+
* @param {replit.goval.api.lore.DeleteReplRequest} request DeleteReplRequest message or plain object
|
|
94610
|
+
* @param {replit.goval.api.lore.Lore.DeleteReplCallback} callback Node-style callback called with the error, if any, and DeleteReplResponse
|
|
94611
|
+
* @returns {undefined}
|
|
94612
|
+
* @variation 1
|
|
94613
|
+
*/
|
|
94614
|
+
Object.defineProperty(Lore.prototype.deleteRepl = function deleteRepl(request, callback) {
|
|
94615
|
+
return this.rpcCall(deleteRepl, $root.replit.goval.api.lore.DeleteReplRequest, $root.replit.goval.api.lore.DeleteReplResponse, request, callback);
|
|
94616
|
+
}, "name", { value: "DeleteRepl" });
|
|
94617
|
+
|
|
94618
|
+
/**
|
|
94619
|
+
* Calls DeleteRepl.
|
|
94620
|
+
* @function deleteRepl
|
|
94621
|
+
* @memberof replit.goval.api.lore.Lore
|
|
94622
|
+
* @instance
|
|
94623
|
+
* @param {replit.goval.api.lore.DeleteReplRequest} request DeleteReplRequest message or plain object
|
|
94624
|
+
* @returns {Promise<replit.goval.api.lore.DeleteReplResponse>} Promise
|
|
94625
|
+
* @variation 2
|
|
94626
|
+
*/
|
|
94627
|
+
|
|
94180
94628
|
/**
|
|
94181
94629
|
* Callback as used by {@link replit.goval.api.lore.Lore#getClusters}.
|
|
94182
94630
|
* @memberof replit.goval.api.lore.Lore
|