@replit/protocol 0.4.11 → 0.4.12
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 +12 -0
- package/main/index.js +51 -0
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -25776,6 +25776,9 @@ export namespace replit {
|
|
|
25776
25776
|
|
|
25777
25777
|
/** ReplDomainReplitDev suffix */
|
|
25778
25778
|
suffix?: (string|null);
|
|
25779
|
+
|
|
25780
|
+
/** ReplDomainReplitDev orgSlug */
|
|
25781
|
+
orgSlug?: (string|null);
|
|
25779
25782
|
}
|
|
25780
25783
|
|
|
25781
25784
|
/** Represents a ReplDomainReplitDev. */
|
|
@@ -25802,6 +25805,9 @@ export namespace replit {
|
|
|
25802
25805
|
/** ReplDomainReplitDev suffix. */
|
|
25803
25806
|
public suffix: string;
|
|
25804
25807
|
|
|
25808
|
+
/** ReplDomainReplitDev orgSlug. */
|
|
25809
|
+
public orgSlug: string;
|
|
25810
|
+
|
|
25805
25811
|
/**
|
|
25806
25812
|
* Creates a new ReplDomainReplitDev instance using the specified properties.
|
|
25807
25813
|
* @param [properties] Properties to set
|
|
@@ -29126,6 +29132,9 @@ export namespace replit {
|
|
|
29126
29132
|
|
|
29127
29133
|
/** ReplToken externalSecrets */
|
|
29128
29134
|
externalSecrets?: ((replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret)[]|null);
|
|
29135
|
+
|
|
29136
|
+
/** ReplToken before */
|
|
29137
|
+
before?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
29129
29138
|
}
|
|
29130
29139
|
|
|
29131
29140
|
/** Represents a ReplToken. */
|
|
@@ -29194,6 +29203,9 @@ export namespace replit {
|
|
|
29194
29203
|
/** ReplToken externalSecrets. */
|
|
29195
29204
|
public externalSecrets: replit.goval.api.token.ReplToken.ExternalSecret[];
|
|
29196
29205
|
|
|
29206
|
+
/** ReplToken before. */
|
|
29207
|
+
public before?: (google.protobuf.Timestamp|null);
|
|
29208
|
+
|
|
29197
29209
|
/** ReplToken metadata. */
|
|
29198
29210
|
public metadata?: ("repl"|"id"|"classroom");
|
|
29199
29211
|
|
package/main/index.js
CHANGED
|
@@ -65351,6 +65351,7 @@
|
|
|
65351
65351
|
* @property {string|null} [signature] ReplDomainReplitDev signature
|
|
65352
65352
|
* @property {string|null} [clusterName] ReplDomainReplitDev clusterName
|
|
65353
65353
|
* @property {string|null} [suffix] ReplDomainReplitDev suffix
|
|
65354
|
+
* @property {string|null} [orgSlug] ReplDomainReplitDev orgSlug
|
|
65354
65355
|
*/
|
|
65355
65356
|
|
|
65356
65357
|
/**
|
|
@@ -65407,6 +65408,14 @@
|
|
|
65407
65408
|
*/
|
|
65408
65409
|
ReplDomainReplitDev.prototype.suffix = "";
|
|
65409
65410
|
|
|
65411
|
+
/**
|
|
65412
|
+
* ReplDomainReplitDev orgSlug.
|
|
65413
|
+
* @member {string} orgSlug
|
|
65414
|
+
* @memberof replit.goval.api.ReplDomainReplitDev
|
|
65415
|
+
* @instance
|
|
65416
|
+
*/
|
|
65417
|
+
ReplDomainReplitDev.prototype.orgSlug = "";
|
|
65418
|
+
|
|
65410
65419
|
/**
|
|
65411
65420
|
* Creates a new ReplDomainReplitDev instance using the specified properties.
|
|
65412
65421
|
* @function create
|
|
@@ -65441,6 +65450,8 @@
|
|
|
65441
65450
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.clusterName);
|
|
65442
65451
|
if (message.suffix != null && Object.hasOwnProperty.call(message, "suffix"))
|
|
65443
65452
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.suffix);
|
|
65453
|
+
if (message.orgSlug != null && Object.hasOwnProperty.call(message, "orgSlug"))
|
|
65454
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.orgSlug);
|
|
65444
65455
|
return writer;
|
|
65445
65456
|
};
|
|
65446
65457
|
|
|
@@ -65495,6 +65506,10 @@
|
|
|
65495
65506
|
message.suffix = reader.string();
|
|
65496
65507
|
break;
|
|
65497
65508
|
}
|
|
65509
|
+
case 6: {
|
|
65510
|
+
message.orgSlug = reader.string();
|
|
65511
|
+
break;
|
|
65512
|
+
}
|
|
65498
65513
|
default:
|
|
65499
65514
|
reader.skipType(tag & 7);
|
|
65500
65515
|
break;
|
|
@@ -65545,6 +65560,9 @@
|
|
|
65545
65560
|
if (message.suffix != null && message.hasOwnProperty("suffix"))
|
|
65546
65561
|
if (!$util.isString(message.suffix))
|
|
65547
65562
|
return "suffix: string expected";
|
|
65563
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
65564
|
+
if (!$util.isString(message.orgSlug))
|
|
65565
|
+
return "orgSlug: string expected";
|
|
65548
65566
|
return null;
|
|
65549
65567
|
};
|
|
65550
65568
|
|
|
@@ -65570,6 +65588,8 @@
|
|
|
65570
65588
|
message.clusterName = String(object.clusterName);
|
|
65571
65589
|
if (object.suffix != null)
|
|
65572
65590
|
message.suffix = String(object.suffix);
|
|
65591
|
+
if (object.orgSlug != null)
|
|
65592
|
+
message.orgSlug = String(object.orgSlug);
|
|
65573
65593
|
return message;
|
|
65574
65594
|
};
|
|
65575
65595
|
|
|
@@ -65592,6 +65612,7 @@
|
|
|
65592
65612
|
object.signature = "";
|
|
65593
65613
|
object.clusterName = "";
|
|
65594
65614
|
object.suffix = "";
|
|
65615
|
+
object.orgSlug = "";
|
|
65595
65616
|
}
|
|
65596
65617
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
65597
65618
|
object.id = message.id;
|
|
@@ -65603,6 +65624,8 @@
|
|
|
65603
65624
|
object.clusterName = message.clusterName;
|
|
65604
65625
|
if (message.suffix != null && message.hasOwnProperty("suffix"))
|
|
65605
65626
|
object.suffix = message.suffix;
|
|
65627
|
+
if (message.orgSlug != null && message.hasOwnProperty("orgSlug"))
|
|
65628
|
+
object.orgSlug = message.orgSlug;
|
|
65606
65629
|
return object;
|
|
65607
65630
|
};
|
|
65608
65631
|
|
|
@@ -73581,6 +73604,7 @@
|
|
|
73581
73604
|
* @property {boolean|null} [paid] ReplToken paid
|
|
73582
73605
|
* @property {boolean|null} [replexec] ReplToken replexec
|
|
73583
73606
|
* @property {Array.<replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret>|null} [externalSecrets] ReplToken externalSecrets
|
|
73607
|
+
* @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [before] ReplToken before
|
|
73584
73608
|
*/
|
|
73585
73609
|
|
|
73586
73610
|
/**
|
|
@@ -73752,6 +73776,14 @@
|
|
|
73752
73776
|
*/
|
|
73753
73777
|
ReplToken.prototype.externalSecrets = $util.emptyArray;
|
|
73754
73778
|
|
|
73779
|
+
/**
|
|
73780
|
+
* ReplToken before.
|
|
73781
|
+
* @member {google.protobuf.Timestamp|null|undefined} before
|
|
73782
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
73783
|
+
* @instance
|
|
73784
|
+
*/
|
|
73785
|
+
ReplToken.prototype.before = null;
|
|
73786
|
+
|
|
73755
73787
|
// OneOf field names bound to virtual getters and setters
|
|
73756
73788
|
var $oneOfFields;
|
|
73757
73789
|
|
|
@@ -73831,6 +73863,8 @@
|
|
|
73831
73863
|
if (message.externalSecrets != null && message.externalSecrets.length)
|
|
73832
73864
|
for (var i = 0; i < message.externalSecrets.length; ++i)
|
|
73833
73865
|
$root.replit.goval.api.token.ReplToken.ExternalSecret.encode(message.externalSecrets[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
73866
|
+
if (message.before != null && Object.hasOwnProperty.call(message, "before"))
|
|
73867
|
+
$root.google.protobuf.Timestamp.encode(message.before, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
|
|
73834
73868
|
return writer;
|
|
73835
73869
|
};
|
|
73836
73870
|
|
|
@@ -73947,6 +73981,10 @@
|
|
|
73947
73981
|
message.externalSecrets.push($root.replit.goval.api.token.ReplToken.ExternalSecret.decode(reader, reader.uint32()));
|
|
73948
73982
|
break;
|
|
73949
73983
|
}
|
|
73984
|
+
case 23: {
|
|
73985
|
+
message.before = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
73986
|
+
break;
|
|
73987
|
+
}
|
|
73950
73988
|
default:
|
|
73951
73989
|
reader.skipType(tag & 7);
|
|
73952
73990
|
break;
|
|
@@ -74103,6 +74141,11 @@
|
|
|
74103
74141
|
return "externalSecrets." + error;
|
|
74104
74142
|
}
|
|
74105
74143
|
}
|
|
74144
|
+
if (message.before != null && message.hasOwnProperty("before")) {
|
|
74145
|
+
var error = $root.google.protobuf.Timestamp.verify(message.before);
|
|
74146
|
+
if (error)
|
|
74147
|
+
return "before." + error;
|
|
74148
|
+
}
|
|
74106
74149
|
return null;
|
|
74107
74150
|
};
|
|
74108
74151
|
|
|
@@ -74251,6 +74294,11 @@
|
|
|
74251
74294
|
message.externalSecrets[i] = $root.replit.goval.api.token.ReplToken.ExternalSecret.fromObject(object.externalSecrets[i]);
|
|
74252
74295
|
}
|
|
74253
74296
|
}
|
|
74297
|
+
if (object.before != null) {
|
|
74298
|
+
if (typeof object.before !== "object")
|
|
74299
|
+
throw TypeError(".replit.goval.api.token.ReplToken.before: object expected");
|
|
74300
|
+
message.before = $root.google.protobuf.Timestamp.fromObject(object.before);
|
|
74301
|
+
}
|
|
74254
74302
|
return message;
|
|
74255
74303
|
};
|
|
74256
74304
|
|
|
@@ -74286,6 +74334,7 @@
|
|
|
74286
74334
|
object.pid2Info = null;
|
|
74287
74335
|
object.paid = false;
|
|
74288
74336
|
object.replexec = false;
|
|
74337
|
+
object.before = null;
|
|
74289
74338
|
}
|
|
74290
74339
|
if (message.iat != null && message.hasOwnProperty("iat"))
|
|
74291
74340
|
object.iat = $root.google.protobuf.Timestamp.toObject(message.iat, options);
|
|
@@ -74343,6 +74392,8 @@
|
|
|
74343
74392
|
for (var j = 0; j < message.externalSecrets.length; ++j)
|
|
74344
74393
|
object.externalSecrets[j] = $root.replit.goval.api.token.ReplToken.ExternalSecret.toObject(message.externalSecrets[j], options);
|
|
74345
74394
|
}
|
|
74395
|
+
if (message.before != null && message.hasOwnProperty("before"))
|
|
74396
|
+
object.before = $root.google.protobuf.Timestamp.toObject(message.before, options);
|
|
74346
74397
|
return object;
|
|
74347
74398
|
};
|
|
74348
74399
|
|