@replit/protocol 0.4.12 → 0.4.13
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/main/index.d.ts +6 -0
- package/main/index.js +28 -0
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -23606,6 +23606,9 @@ export namespace replit {
|
|
|
23606
23606
|
|
|
23607
23607
|
/** ReplspaceApiSSHTokenGetRequest replid */
|
|
23608
23608
|
replid?: (string|null);
|
|
23609
|
+
|
|
23610
|
+
/** ReplspaceApiSSHTokenGetRequest before */
|
|
23611
|
+
before?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
23609
23612
|
}
|
|
23610
23613
|
|
|
23611
23614
|
/** Represents a ReplspaceApiSSHTokenGetRequest. */
|
|
@@ -23623,6 +23626,9 @@ export namespace replit {
|
|
|
23623
23626
|
/** ReplspaceApiSSHTokenGetRequest replid. */
|
|
23624
23627
|
public replid: string;
|
|
23625
23628
|
|
|
23629
|
+
/** ReplspaceApiSSHTokenGetRequest before. */
|
|
23630
|
+
public before?: (google.protobuf.Timestamp|null);
|
|
23631
|
+
|
|
23626
23632
|
/**
|
|
23627
23633
|
* Creates a new ReplspaceApiSSHTokenGetRequest instance using the specified properties.
|
|
23628
23634
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -60038,6 +60038,7 @@
|
|
|
60038
60038
|
* @interface IReplspaceApiSSHTokenGetRequest
|
|
60039
60039
|
* @property {string|null} [nonce] ReplspaceApiSSHTokenGetRequest nonce
|
|
60040
60040
|
* @property {string|null} [replid] ReplspaceApiSSHTokenGetRequest replid
|
|
60041
|
+
* @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [before] ReplspaceApiSSHTokenGetRequest before
|
|
60041
60042
|
*/
|
|
60042
60043
|
|
|
60043
60044
|
/**
|
|
@@ -60070,6 +60071,14 @@
|
|
|
60070
60071
|
*/
|
|
60071
60072
|
ReplspaceApiSSHTokenGetRequest.prototype.replid = "";
|
|
60072
60073
|
|
|
60074
|
+
/**
|
|
60075
|
+
* ReplspaceApiSSHTokenGetRequest before.
|
|
60076
|
+
* @member {google.protobuf.Timestamp|null|undefined} before
|
|
60077
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60078
|
+
* @instance
|
|
60079
|
+
*/
|
|
60080
|
+
ReplspaceApiSSHTokenGetRequest.prototype.before = null;
|
|
60081
|
+
|
|
60073
60082
|
/**
|
|
60074
60083
|
* Creates a new ReplspaceApiSSHTokenGetRequest instance using the specified properties.
|
|
60075
60084
|
* @function create
|
|
@@ -60098,6 +60107,8 @@
|
|
|
60098
60107
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.nonce);
|
|
60099
60108
|
if (message.replid != null && Object.hasOwnProperty.call(message, "replid"))
|
|
60100
60109
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.replid);
|
|
60110
|
+
if (message.before != null && Object.hasOwnProperty.call(message, "before"))
|
|
60111
|
+
$root.google.protobuf.Timestamp.encode(message.before, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
60101
60112
|
return writer;
|
|
60102
60113
|
};
|
|
60103
60114
|
|
|
@@ -60140,6 +60151,10 @@
|
|
|
60140
60151
|
message.replid = reader.string();
|
|
60141
60152
|
break;
|
|
60142
60153
|
}
|
|
60154
|
+
case 3: {
|
|
60155
|
+
message.before = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
60156
|
+
break;
|
|
60157
|
+
}
|
|
60143
60158
|
default:
|
|
60144
60159
|
reader.skipType(tag & 7);
|
|
60145
60160
|
break;
|
|
@@ -60181,6 +60196,11 @@
|
|
|
60181
60196
|
if (message.replid != null && message.hasOwnProperty("replid"))
|
|
60182
60197
|
if (!$util.isString(message.replid))
|
|
60183
60198
|
return "replid: string expected";
|
|
60199
|
+
if (message.before != null && message.hasOwnProperty("before")) {
|
|
60200
|
+
var error = $root.google.protobuf.Timestamp.verify(message.before);
|
|
60201
|
+
if (error)
|
|
60202
|
+
return "before." + error;
|
|
60203
|
+
}
|
|
60184
60204
|
return null;
|
|
60185
60205
|
};
|
|
60186
60206
|
|
|
@@ -60200,6 +60220,11 @@
|
|
|
60200
60220
|
message.nonce = String(object.nonce);
|
|
60201
60221
|
if (object.replid != null)
|
|
60202
60222
|
message.replid = String(object.replid);
|
|
60223
|
+
if (object.before != null) {
|
|
60224
|
+
if (typeof object.before !== "object")
|
|
60225
|
+
throw TypeError(".replit.goval.api.ReplspaceApiSSHTokenGetRequest.before: object expected");
|
|
60226
|
+
message.before = $root.google.protobuf.Timestamp.fromObject(object.before);
|
|
60227
|
+
}
|
|
60203
60228
|
return message;
|
|
60204
60229
|
};
|
|
60205
60230
|
|
|
@@ -60219,11 +60244,14 @@
|
|
|
60219
60244
|
if (options.defaults) {
|
|
60220
60245
|
object.nonce = "";
|
|
60221
60246
|
object.replid = "";
|
|
60247
|
+
object.before = null;
|
|
60222
60248
|
}
|
|
60223
60249
|
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
60224
60250
|
object.nonce = message.nonce;
|
|
60225
60251
|
if (message.replid != null && message.hasOwnProperty("replid"))
|
|
60226
60252
|
object.replid = message.replid;
|
|
60253
|
+
if (message.before != null && message.hasOwnProperty("before"))
|
|
60254
|
+
object.before = $root.google.protobuf.Timestamp.toObject(message.before, options);
|
|
60227
60255
|
return object;
|
|
60228
60256
|
};
|
|
60229
60257
|
|