@replit/protocol 0.4.11 → 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 +18 -0
- package/main/index.js +79 -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
|
|
@@ -25776,6 +25782,9 @@ export namespace replit {
|
|
|
25776
25782
|
|
|
25777
25783
|
/** ReplDomainReplitDev suffix */
|
|
25778
25784
|
suffix?: (string|null);
|
|
25785
|
+
|
|
25786
|
+
/** ReplDomainReplitDev orgSlug */
|
|
25787
|
+
orgSlug?: (string|null);
|
|
25779
25788
|
}
|
|
25780
25789
|
|
|
25781
25790
|
/** Represents a ReplDomainReplitDev. */
|
|
@@ -25802,6 +25811,9 @@ export namespace replit {
|
|
|
25802
25811
|
/** ReplDomainReplitDev suffix. */
|
|
25803
25812
|
public suffix: string;
|
|
25804
25813
|
|
|
25814
|
+
/** ReplDomainReplitDev orgSlug. */
|
|
25815
|
+
public orgSlug: string;
|
|
25816
|
+
|
|
25805
25817
|
/**
|
|
25806
25818
|
* Creates a new ReplDomainReplitDev instance using the specified properties.
|
|
25807
25819
|
* @param [properties] Properties to set
|
|
@@ -29126,6 +29138,9 @@ export namespace replit {
|
|
|
29126
29138
|
|
|
29127
29139
|
/** ReplToken externalSecrets */
|
|
29128
29140
|
externalSecrets?: ((replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret)[]|null);
|
|
29141
|
+
|
|
29142
|
+
/** ReplToken before */
|
|
29143
|
+
before?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
29129
29144
|
}
|
|
29130
29145
|
|
|
29131
29146
|
/** Represents a ReplToken. */
|
|
@@ -29194,6 +29209,9 @@ export namespace replit {
|
|
|
29194
29209
|
/** ReplToken externalSecrets. */
|
|
29195
29210
|
public externalSecrets: replit.goval.api.token.ReplToken.ExternalSecret[];
|
|
29196
29211
|
|
|
29212
|
+
/** ReplToken before. */
|
|
29213
|
+
public before?: (google.protobuf.Timestamp|null);
|
|
29214
|
+
|
|
29197
29215
|
/** ReplToken metadata. */
|
|
29198
29216
|
public metadata?: ("repl"|"id"|"classroom");
|
|
29199
29217
|
|
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
|
|
|
@@ -65351,6 +65379,7 @@
|
|
|
65351
65379
|
* @property {string|null} [signature] ReplDomainReplitDev signature
|
|
65352
65380
|
* @property {string|null} [clusterName] ReplDomainReplitDev clusterName
|
|
65353
65381
|
* @property {string|null} [suffix] ReplDomainReplitDev suffix
|
|
65382
|
+
* @property {string|null} [orgSlug] ReplDomainReplitDev orgSlug
|
|
65354
65383
|
*/
|
|
65355
65384
|
|
|
65356
65385
|
/**
|
|
@@ -65407,6 +65436,14 @@
|
|
|
65407
65436
|
*/
|
|
65408
65437
|
ReplDomainReplitDev.prototype.suffix = "";
|
|
65409
65438
|
|
|
65439
|
+
/**
|
|
65440
|
+
* ReplDomainReplitDev orgSlug.
|
|
65441
|
+
* @member {string} orgSlug
|
|
65442
|
+
* @memberof replit.goval.api.ReplDomainReplitDev
|
|
65443
|
+
* @instance
|
|
65444
|
+
*/
|
|
65445
|
+
ReplDomainReplitDev.prototype.orgSlug = "";
|
|
65446
|
+
|
|
65410
65447
|
/**
|
|
65411
65448
|
* Creates a new ReplDomainReplitDev instance using the specified properties.
|
|
65412
65449
|
* @function create
|
|
@@ -65441,6 +65478,8 @@
|
|
|
65441
65478
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.clusterName);
|
|
65442
65479
|
if (message.suffix != null && Object.hasOwnProperty.call(message, "suffix"))
|
|
65443
65480
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.suffix);
|
|
65481
|
+
if (message.orgSlug != null && Object.hasOwnProperty.call(message, "orgSlug"))
|
|
65482
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.orgSlug);
|
|
65444
65483
|
return writer;
|
|
65445
65484
|
};
|
|
65446
65485
|
|
|
@@ -65495,6 +65534,10 @@
|
|
|
65495
65534
|
message.suffix = reader.string();
|
|
65496
65535
|
break;
|
|
65497
65536
|
}
|
|
65537
|
+
case 6: {
|
|
65538
|
+
message.orgSlug = reader.string();
|
|
65539
|
+
break;
|
|
65540
|
+
}
|
|
65498
65541
|
default:
|
|
65499
65542
|
reader.skipType(tag & 7);
|
|
65500
65543
|
break;
|
|
@@ -65545,6 +65588,9 @@
|
|
|
65545
65588
|
if (message.suffix != null && message.hasOwnProperty("suffix"))
|
|
65546
65589
|
if (!$util.isString(message.suffix))
|
|
65547
65590
|
return "suffix: string expected";
|
|
65591
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
65592
|
+
if (!$util.isString(message.orgSlug))
|
|
65593
|
+
return "orgSlug: string expected";
|
|
65548
65594
|
return null;
|
|
65549
65595
|
};
|
|
65550
65596
|
|
|
@@ -65570,6 +65616,8 @@
|
|
|
65570
65616
|
message.clusterName = String(object.clusterName);
|
|
65571
65617
|
if (object.suffix != null)
|
|
65572
65618
|
message.suffix = String(object.suffix);
|
|
65619
|
+
if (object.orgSlug != null)
|
|
65620
|
+
message.orgSlug = String(object.orgSlug);
|
|
65573
65621
|
return message;
|
|
65574
65622
|
};
|
|
65575
65623
|
|
|
@@ -65592,6 +65640,7 @@
|
|
|
65592
65640
|
object.signature = "";
|
|
65593
65641
|
object.clusterName = "";
|
|
65594
65642
|
object.suffix = "";
|
|
65643
|
+
object.orgSlug = "";
|
|
65595
65644
|
}
|
|
65596
65645
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
65597
65646
|
object.id = message.id;
|
|
@@ -65603,6 +65652,8 @@
|
|
|
65603
65652
|
object.clusterName = message.clusterName;
|
|
65604
65653
|
if (message.suffix != null && message.hasOwnProperty("suffix"))
|
|
65605
65654
|
object.suffix = message.suffix;
|
|
65655
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
65656
|
+
object.orgSlug = message.orgSlug;
|
|
65606
65657
|
return object;
|
|
65607
65658
|
};
|
|
65608
65659
|
|
|
@@ -73581,6 +73632,7 @@
|
|
|
73581
73632
|
* @property {boolean|null} [paid] ReplToken paid
|
|
73582
73633
|
* @property {boolean|null} [replexec] ReplToken replexec
|
|
73583
73634
|
* @property {Array.<replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret>|null} [externalSecrets] ReplToken externalSecrets
|
|
73635
|
+
* @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [before] ReplToken before
|
|
73584
73636
|
*/
|
|
73585
73637
|
|
|
73586
73638
|
/**
|
|
@@ -73752,6 +73804,14 @@
|
|
|
73752
73804
|
*/
|
|
73753
73805
|
ReplToken.prototype.externalSecrets = $util.emptyArray;
|
|
73754
73806
|
|
|
73807
|
+
/**
|
|
73808
|
+
* ReplToken before.
|
|
73809
|
+
* @member {google.protobuf.Timestamp|null|undefined} before
|
|
73810
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
73811
|
+
* @instance
|
|
73812
|
+
*/
|
|
73813
|
+
ReplToken.prototype.before = null;
|
|
73814
|
+
|
|
73755
73815
|
// OneOf field names bound to virtual getters and setters
|
|
73756
73816
|
var $oneOfFields;
|
|
73757
73817
|
|
|
@@ -73831,6 +73891,8 @@
|
|
|
73831
73891
|
if (message.externalSecrets != null && message.externalSecrets.length)
|
|
73832
73892
|
for (var i = 0; i < message.externalSecrets.length; ++i)
|
|
73833
73893
|
$root.replit.goval.api.token.ReplToken.ExternalSecret.encode(message.externalSecrets[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
73894
|
+
if (message.before != null && Object.hasOwnProperty.call(message, "before"))
|
|
73895
|
+
$root.google.protobuf.Timestamp.encode(message.before, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
|
|
73834
73896
|
return writer;
|
|
73835
73897
|
};
|
|
73836
73898
|
|
|
@@ -73947,6 +74009,10 @@
|
|
|
73947
74009
|
message.externalSecrets.push($root.replit.goval.api.token.ReplToken.ExternalSecret.decode(reader, reader.uint32()));
|
|
73948
74010
|
break;
|
|
73949
74011
|
}
|
|
74012
|
+
case 23: {
|
|
74013
|
+
message.before = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
74014
|
+
break;
|
|
74015
|
+
}
|
|
73950
74016
|
default:
|
|
73951
74017
|
reader.skipType(tag & 7);
|
|
73952
74018
|
break;
|
|
@@ -74103,6 +74169,11 @@
|
|
|
74103
74169
|
return "externalSecrets." + error;
|
|
74104
74170
|
}
|
|
74105
74171
|
}
|
|
74172
|
+
if (message.before != null && message.hasOwnProperty("before")) {
|
|
74173
|
+
var error = $root.google.protobuf.Timestamp.verify(message.before);
|
|
74174
|
+
if (error)
|
|
74175
|
+
return "before." + error;
|
|
74176
|
+
}
|
|
74106
74177
|
return null;
|
|
74107
74178
|
};
|
|
74108
74179
|
|
|
@@ -74251,6 +74322,11 @@
|
|
|
74251
74322
|
message.externalSecrets[i] = $root.replit.goval.api.token.ReplToken.ExternalSecret.fromObject(object.externalSecrets[i]);
|
|
74252
74323
|
}
|
|
74253
74324
|
}
|
|
74325
|
+
if (object.before != null) {
|
|
74326
|
+
if (typeof object.before !== "object")
|
|
74327
|
+
throw TypeError(".replit.goval.api.token.ReplToken.before: object expected");
|
|
74328
|
+
message.before = $root.google.protobuf.Timestamp.fromObject(object.before);
|
|
74329
|
+
}
|
|
74254
74330
|
return message;
|
|
74255
74331
|
};
|
|
74256
74332
|
|
|
@@ -74286,6 +74362,7 @@
|
|
|
74286
74362
|
object.pid2Info = null;
|
|
74287
74363
|
object.paid = false;
|
|
74288
74364
|
object.replexec = false;
|
|
74365
|
+
object.before = null;
|
|
74289
74366
|
}
|
|
74290
74367
|
if (message.iat != null && message.hasOwnProperty("iat"))
|
|
74291
74368
|
object.iat = $root.google.protobuf.Timestamp.toObject(message.iat, options);
|
|
@@ -74343,6 +74420,8 @@
|
|
|
74343
74420
|
for (var j = 0; j < message.externalSecrets.length; ++j)
|
|
74344
74421
|
object.externalSecrets[j] = $root.replit.goval.api.token.ReplToken.ExternalSecret.toObject(message.externalSecrets[j], options);
|
|
74345
74422
|
}
|
|
74423
|
+
if (message.before != null && message.hasOwnProperty("before"))
|
|
74424
|
+
object.before = $root.google.protobuf.Timestamp.toObject(message.before, options);
|
|
74346
74425
|
return object;
|
|
74347
74426
|
};
|
|
74348
74427
|
|