@replit/protocol 0.2.74 → 0.2.75
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 +711 -484
- package/main/index.js +4522 -3888
- package/main/index.js.flow +1625 -1291
- package/package.json +2 -2
package/main/index.js.flow
CHANGED
|
@@ -176,6 +176,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
176
176
|
IDotReplitPort: Class<replit$goval$api$IDotReplitPort>,
|
|
177
177
|
IDotReplitHint: Class<replit$goval$api$IDotReplitHint>,
|
|
178
178
|
IGitHubImportConfig: Class<replit$goval$api$IGitHubImportConfig>,
|
|
179
|
+
IDeploymentConfig: Class<replit$goval$api$IDeploymentConfig>,
|
|
179
180
|
INixConfig: Class<replit$goval$api$INixConfig>,
|
|
180
181
|
IHostingConfig: Class<replit$goval$api$IHostingConfig>,
|
|
181
182
|
IAuthConfig: Class<replit$goval$api$IAuthConfig>,
|
|
@@ -192,9 +193,6 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
192
193
|
IDapIntegratedAdapterConfig: Class<replit$goval$api$IDapIntegratedAdapterConfig>,
|
|
193
194
|
IProxyGoingAway: Class<replit$goval$api$IProxyGoingAway>,
|
|
194
195
|
IFirewallDenied: Class<replit$goval$api$IFirewallDenied>,
|
|
195
|
-
IRepl: Class<replit$goval$api$IRepl>,
|
|
196
|
-
IResourceLimits: Class<replit$goval$api$IResourceLimits>,
|
|
197
|
-
IPermissions: Class<replit$goval$api$IPermissions>,
|
|
198
196
|
IReplToken: Class<replit$goval$api$IReplToken>,
|
|
199
197
|
ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
|
|
200
198
|
IReplTransfer: Class<replit$goval$api$IReplTransfer>,
|
|
@@ -362,6 +360,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
362
360
|
DotReplitPort: typeof replit$goval$api$DotReplitPort,
|
|
363
361
|
DotReplitHint: typeof replit$goval$api$DotReplitHint,
|
|
364
362
|
GitHubImportConfig: typeof replit$goval$api$GitHubImportConfig,
|
|
363
|
+
DeploymentConfig: typeof replit$goval$api$DeploymentConfig,
|
|
365
364
|
NixConfig: typeof replit$goval$api$NixConfig,
|
|
366
365
|
HostingConfig: typeof replit$goval$api$HostingConfig,
|
|
367
366
|
AuthConfig: typeof replit$goval$api$AuthConfig,
|
|
@@ -378,9 +377,6 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
378
377
|
DapIntegratedAdapterConfig: typeof replit$goval$api$DapIntegratedAdapterConfig,
|
|
379
378
|
ProxyGoingAway: typeof replit$goval$api$ProxyGoingAway,
|
|
380
379
|
FirewallDenied: typeof replit$goval$api$FirewallDenied,
|
|
381
|
-
Repl: typeof replit$goval$api$Repl,
|
|
382
|
-
ResourceLimits: typeof replit$goval$api$ResourceLimits,
|
|
383
|
-
Permissions: typeof replit$goval$api$Permissions,
|
|
384
380
|
ReplToken: typeof replit$goval$api$ReplToken,
|
|
385
381
|
TLSCertificate: typeof replit$goval$api$TLSCertificate,
|
|
386
382
|
ReplTransfer: typeof replit$goval$api$ReplTransfer,
|
|
@@ -394,6 +390,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
394
390
|
GovalToken: typeof replit$goval$api$GovalToken,
|
|
395
391
|
GovalReplIdentity: typeof replit$goval$api$GovalReplIdentity,
|
|
396
392
|
features: typeof npm$namespace$replit$goval$api$features,
|
|
393
|
+
repl: typeof npm$namespace$replit$goval$api$repl,
|
|
397
394
|
|};
|
|
398
395
|
|
|
399
396
|
/**
|
|
@@ -22397,6 +22394,14 @@ declare type replit$goval$api$IDotReplit = {|
|
|
|
22397
22394
|
* DotReplit refreshWebViewOnFileChange
|
|
22398
22395
|
*/
|
|
22399
22396
|
refreshWebViewOnFileChange?: string[] | null,
|
|
22397
|
+
|
|
22398
|
+
/**
|
|
22399
|
+
* DotReplit deployment
|
|
22400
|
+
*/
|
|
22401
|
+
deployment?:
|
|
22402
|
+
| replit$goval$api$DeploymentConfig
|
|
22403
|
+
| replit$goval$api$IDeploymentConfig
|
|
22404
|
+
| null,
|
|
22400
22405
|
|};
|
|
22401
22406
|
|
|
22402
22407
|
/**
|
|
@@ -22518,6 +22523,11 @@ declare class replit$goval$api$DotReplit {
|
|
|
22518
22523
|
*/
|
|
22519
22524
|
refreshWebViewOnFileChange: string[];
|
|
22520
22525
|
|
|
22526
|
+
/**
|
|
22527
|
+
* DotReplit deployment.
|
|
22528
|
+
*/
|
|
22529
|
+
deployment?: replit$goval$api$DeploymentConfig | null;
|
|
22530
|
+
|
|
22521
22531
|
/**
|
|
22522
22532
|
* Creates a new DotReplit instance using the specified properties.
|
|
22523
22533
|
* @param [properties] Properties to set
|
|
@@ -23123,6 +23133,136 @@ declare class replit$goval$api$GitHubImportConfig {
|
|
|
23123
23133
|
|};
|
|
23124
23134
|
}
|
|
23125
23135
|
|
|
23136
|
+
/**
|
|
23137
|
+
* Properties of a DeploymentConfig.
|
|
23138
|
+
*/
|
|
23139
|
+
declare type replit$goval$api$IDeploymentConfig = {|
|
|
23140
|
+
/**
|
|
23141
|
+
* DeploymentConfig run
|
|
23142
|
+
*/
|
|
23143
|
+
run?: replit$goval$api$Exec | replit$goval$api$IExec | null,
|
|
23144
|
+
|
|
23145
|
+
/**
|
|
23146
|
+
* DeploymentConfig build
|
|
23147
|
+
*/
|
|
23148
|
+
build?: replit$goval$api$Exec | replit$goval$api$IExec | null,
|
|
23149
|
+
|};
|
|
23150
|
+
|
|
23151
|
+
/**
|
|
23152
|
+
* Represents a DeploymentConfig.
|
|
23153
|
+
*/
|
|
23154
|
+
declare class replit$goval$api$DeploymentConfig {
|
|
23155
|
+
/**
|
|
23156
|
+
* Constructs a new DeploymentConfig.
|
|
23157
|
+
* @param [properties] Properties to set
|
|
23158
|
+
*/
|
|
23159
|
+
constructor(properties?: replit$goval$api$IDeploymentConfig): this;
|
|
23160
|
+
|
|
23161
|
+
/**
|
|
23162
|
+
* DeploymentConfig run.
|
|
23163
|
+
*/
|
|
23164
|
+
run?: replit$goval$api$Exec | null;
|
|
23165
|
+
|
|
23166
|
+
/**
|
|
23167
|
+
* DeploymentConfig build.
|
|
23168
|
+
*/
|
|
23169
|
+
build?: replit$goval$api$Exec | null;
|
|
23170
|
+
|
|
23171
|
+
/**
|
|
23172
|
+
* Creates a new DeploymentConfig instance using the specified properties.
|
|
23173
|
+
* @param [properties] Properties to set
|
|
23174
|
+
* @returns DeploymentConfig instance
|
|
23175
|
+
*/
|
|
23176
|
+
static create(
|
|
23177
|
+
properties?: replit$goval$api$IDeploymentConfig
|
|
23178
|
+
): replit$goval$api$DeploymentConfig;
|
|
23179
|
+
|
|
23180
|
+
/**
|
|
23181
|
+
* [object Object],[object Object],[object Object]
|
|
23182
|
+
* @param message DeploymentConfig message or plain object to encode
|
|
23183
|
+
* @param [writer] Writer to encode to
|
|
23184
|
+
* @returns Writer
|
|
23185
|
+
*/
|
|
23186
|
+
static encode(
|
|
23187
|
+
message: replit$goval$api$DeploymentConfig,
|
|
23188
|
+
writer?: $protobuf.Writer
|
|
23189
|
+
): $protobuf.Writer;
|
|
23190
|
+
|
|
23191
|
+
/**
|
|
23192
|
+
* [object Object],[object Object],[object Object]
|
|
23193
|
+
* @param message DeploymentConfig message or plain object to encode
|
|
23194
|
+
* @param [writer] Writer to encode to
|
|
23195
|
+
* @returns Writer
|
|
23196
|
+
*/
|
|
23197
|
+
static encodeDelimited(
|
|
23198
|
+
message: replit$goval$api$DeploymentConfig,
|
|
23199
|
+
writer?: $protobuf.Writer
|
|
23200
|
+
): $protobuf.Writer;
|
|
23201
|
+
|
|
23202
|
+
/**
|
|
23203
|
+
* Decodes a DeploymentConfig message from the specified reader or buffer.
|
|
23204
|
+
* @param reader Reader or buffer to decode from
|
|
23205
|
+
* @param [length] Message length if known beforehand
|
|
23206
|
+
* @returns DeploymentConfig
|
|
23207
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23208
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23209
|
+
*/
|
|
23210
|
+
static decode(
|
|
23211
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
23212
|
+
length?: number
|
|
23213
|
+
): replit$goval$api$DeploymentConfig;
|
|
23214
|
+
|
|
23215
|
+
/**
|
|
23216
|
+
* Decodes a DeploymentConfig message from the specified reader or buffer, length delimited.
|
|
23217
|
+
* @param reader Reader or buffer to decode from
|
|
23218
|
+
* @returns DeploymentConfig
|
|
23219
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23220
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23221
|
+
*/
|
|
23222
|
+
static decodeDelimited(
|
|
23223
|
+
reader: $protobuf.Reader | Uint8Array
|
|
23224
|
+
): replit$goval$api$DeploymentConfig;
|
|
23225
|
+
|
|
23226
|
+
/**
|
|
23227
|
+
* Verifies a DeploymentConfig message.
|
|
23228
|
+
* @param message Plain object to verify
|
|
23229
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23230
|
+
*/
|
|
23231
|
+
static verify(message: {|
|
|
23232
|
+
[k: string]: any,
|
|
23233
|
+
|}): string | null;
|
|
23234
|
+
|
|
23235
|
+
/**
|
|
23236
|
+
* Creates a DeploymentConfig message from a plain object. Also converts values to their respective internal types.
|
|
23237
|
+
* @param object Plain object
|
|
23238
|
+
* @returns DeploymentConfig
|
|
23239
|
+
*/
|
|
23240
|
+
static fromObject(object: {|
|
|
23241
|
+
[k: string]: any,
|
|
23242
|
+
|}): replit$goval$api$DeploymentConfig;
|
|
23243
|
+
|
|
23244
|
+
/**
|
|
23245
|
+
* Creates a plain object from a DeploymentConfig message. Also converts values to other types if specified.
|
|
23246
|
+
* @param message DeploymentConfig
|
|
23247
|
+
* @param [options] Conversion options
|
|
23248
|
+
* @returns Plain object
|
|
23249
|
+
*/
|
|
23250
|
+
static toObject(
|
|
23251
|
+
message: replit$goval$api$DeploymentConfig,
|
|
23252
|
+
options?: $protobuf.IConversionOptions
|
|
23253
|
+
): {|
|
|
23254
|
+
[k: string]: any,
|
|
23255
|
+
|};
|
|
23256
|
+
|
|
23257
|
+
/**
|
|
23258
|
+
* Converts this DeploymentConfig to JSON.
|
|
23259
|
+
* @returns JSON object
|
|
23260
|
+
*/
|
|
23261
|
+
toJSON(): {|
|
|
23262
|
+
[k: string]: any,
|
|
23263
|
+
|};
|
|
23264
|
+
}
|
|
23265
|
+
|
|
23126
23266
|
/**
|
|
23127
23267
|
* Properties of a NixConfig.
|
|
23128
23268
|
*/
|
|
@@ -25399,335 +25539,239 @@ declare class replit$goval$api$FirewallDenied {
|
|
|
25399
25539
|
}
|
|
25400
25540
|
|
|
25401
25541
|
/**
|
|
25402
|
-
* Properties of a
|
|
25542
|
+
* Properties of a ReplToken.
|
|
25403
25543
|
*/
|
|
25404
|
-
declare type replit$goval$api$
|
|
25544
|
+
declare type replit$goval$api$IReplToken = {|
|
|
25405
25545
|
/**
|
|
25406
|
-
*
|
|
25546
|
+
* ReplToken iat
|
|
25407
25547
|
*/
|
|
25408
|
-
|
|
25548
|
+
iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
25409
25549
|
|
|
25410
25550
|
/**
|
|
25411
|
-
*
|
|
25551
|
+
* ReplToken exp
|
|
25412
25552
|
*/
|
|
25413
|
-
|
|
25553
|
+
exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
25414
25554
|
|
|
25415
25555
|
/**
|
|
25416
|
-
*
|
|
25556
|
+
* ReplToken salt
|
|
25417
25557
|
*/
|
|
25418
|
-
|
|
25558
|
+
salt?: string | null,
|
|
25419
25559
|
|
|
25420
25560
|
/**
|
|
25421
|
-
*
|
|
25561
|
+
* ReplToken cluster
|
|
25422
25562
|
*/
|
|
25423
|
-
|
|
25563
|
+
cluster?: string | null,
|
|
25424
25564
|
|
|
25425
25565
|
/**
|
|
25426
|
-
*
|
|
25566
|
+
* ReplToken persistence
|
|
25427
25567
|
*/
|
|
25428
|
-
|
|
25568
|
+
persistence?: $Values<typeof replit$goval$api$repl$Persistence> | null,
|
|
25429
25569
|
|
|
25430
25570
|
/**
|
|
25431
|
-
*
|
|
25571
|
+
* ReplToken repl
|
|
25432
25572
|
*/
|
|
25433
|
-
|
|
25573
|
+
repl?: replit$goval$api$repl$Repl | replit$goval$api$repl$IRepl | null,
|
|
25434
25574
|
|
|
25435
25575
|
/**
|
|
25436
|
-
*
|
|
25576
|
+
* ReplToken id
|
|
25437
25577
|
*/
|
|
25438
|
-
|
|
25439
|
-
|
|
|
25578
|
+
id?:
|
|
25579
|
+
| replit$goval$api$ReplToken$ReplID
|
|
25580
|
+
| replit$goval$api$ReplToken$IReplID
|
|
25581
|
+
| null,
|
|
25440
25582
|
|
|
25441
|
-
/**
|
|
25442
|
-
* Represents a Repl.
|
|
25443
|
-
*/
|
|
25444
|
-
declare class replit$goval$api$Repl {
|
|
25445
25583
|
/**
|
|
25446
|
-
*
|
|
25447
|
-
* @param [properties] Properties to set
|
|
25584
|
+
* ReplToken classroom
|
|
25448
25585
|
*/
|
|
25449
|
-
|
|
25586
|
+
classroom?:
|
|
25587
|
+
| replit$goval$api$ReplToken$ClassroomMetadata
|
|
25588
|
+
| replit$goval$api$ReplToken$IClassroomMetadata
|
|
25589
|
+
| null,
|
|
25450
25590
|
|
|
25451
25591
|
/**
|
|
25452
|
-
*
|
|
25592
|
+
* ReplToken resourceLimits
|
|
25453
25593
|
*/
|
|
25454
|
-
|
|
25594
|
+
resourceLimits?:
|
|
25595
|
+
| replit$goval$api$repl$ResourceLimits
|
|
25596
|
+
| replit$goval$api$repl$IResourceLimits
|
|
25597
|
+
| null,
|
|
25455
25598
|
|
|
25456
25599
|
/**
|
|
25457
|
-
*
|
|
25600
|
+
* ReplToken format
|
|
25458
25601
|
*/
|
|
25459
|
-
|
|
25602
|
+
format?: $Values<typeof replit$goval$api$ReplToken$WireFormat> | null,
|
|
25460
25603
|
|
|
25461
25604
|
/**
|
|
25462
|
-
*
|
|
25605
|
+
* ReplToken presenced
|
|
25463
25606
|
*/
|
|
25464
|
-
|
|
25607
|
+
presenced?:
|
|
25608
|
+
| replit$goval$api$ReplToken$Presenced
|
|
25609
|
+
| replit$goval$api$ReplToken$IPresenced
|
|
25610
|
+
| null,
|
|
25465
25611
|
|
|
25466
25612
|
/**
|
|
25467
|
-
*
|
|
25613
|
+
* ReplToken flags
|
|
25468
25614
|
*/
|
|
25469
|
-
|
|
25615
|
+
flags?: string[] | null,
|
|
25470
25616
|
|
|
25471
25617
|
/**
|
|
25472
|
-
*
|
|
25618
|
+
* ReplToken permissions
|
|
25473
25619
|
*/
|
|
25474
|
-
|
|
25620
|
+
permissions?:
|
|
25621
|
+
| replit$goval$api$repl$Permissions
|
|
25622
|
+
| replit$goval$api$repl$IPermissions
|
|
25623
|
+
| null,
|
|
25475
25624
|
|
|
25476
25625
|
/**
|
|
25477
|
-
*
|
|
25626
|
+
* ReplToken features
|
|
25478
25627
|
*/
|
|
25479
|
-
|
|
25628
|
+
features?:
|
|
25629
|
+
| (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
|
|
25630
|
+
| null,
|
|
25631
|
+
|};
|
|
25480
25632
|
|
|
25633
|
+
/**
|
|
25634
|
+
* Represents a ReplToken.
|
|
25635
|
+
*/
|
|
25636
|
+
declare class replit$goval$api$ReplToken {
|
|
25481
25637
|
/**
|
|
25482
|
-
*
|
|
25638
|
+
* Constructs a new ReplToken.
|
|
25639
|
+
* @param [properties] Properties to set
|
|
25483
25640
|
*/
|
|
25484
|
-
|
|
25641
|
+
constructor(properties?: replit$goval$api$IReplToken): this;
|
|
25485
25642
|
|
|
25486
25643
|
/**
|
|
25487
|
-
*
|
|
25488
|
-
* @param [properties] Properties to set
|
|
25489
|
-
* @returns Repl instance
|
|
25644
|
+
* ReplToken iat.
|
|
25490
25645
|
*/
|
|
25491
|
-
|
|
25646
|
+
iat?: google$protobuf$Timestamp | null;
|
|
25492
25647
|
|
|
25493
25648
|
/**
|
|
25494
|
-
*
|
|
25495
|
-
* @param message Repl message or plain object to encode
|
|
25496
|
-
* @param [writer] Writer to encode to
|
|
25497
|
-
* @returns Writer
|
|
25649
|
+
* ReplToken exp.
|
|
25498
25650
|
*/
|
|
25499
|
-
|
|
25500
|
-
message: replit$goval$api$Repl,
|
|
25501
|
-
writer?: $protobuf.Writer
|
|
25502
|
-
): $protobuf.Writer;
|
|
25651
|
+
exp?: google$protobuf$Timestamp | null;
|
|
25503
25652
|
|
|
25504
25653
|
/**
|
|
25505
|
-
*
|
|
25506
|
-
* @param message Repl message or plain object to encode
|
|
25507
|
-
* @param [writer] Writer to encode to
|
|
25508
|
-
* @returns Writer
|
|
25654
|
+
* ReplToken salt.
|
|
25509
25655
|
*/
|
|
25510
|
-
|
|
25511
|
-
message: replit$goval$api$Repl,
|
|
25512
|
-
writer?: $protobuf.Writer
|
|
25513
|
-
): $protobuf.Writer;
|
|
25656
|
+
salt: string;
|
|
25514
25657
|
|
|
25515
25658
|
/**
|
|
25516
|
-
*
|
|
25517
|
-
* @param reader Reader or buffer to decode from
|
|
25518
|
-
* @param [length] Message length if known beforehand
|
|
25519
|
-
* @returns Repl
|
|
25520
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25521
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25659
|
+
* ReplToken cluster.
|
|
25522
25660
|
*/
|
|
25523
|
-
|
|
25524
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
25525
|
-
length?: number
|
|
25526
|
-
): replit$goval$api$Repl;
|
|
25661
|
+
cluster: string;
|
|
25527
25662
|
|
|
25528
25663
|
/**
|
|
25529
|
-
*
|
|
25530
|
-
* @param reader Reader or buffer to decode from
|
|
25531
|
-
* @returns Repl
|
|
25532
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25533
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25664
|
+
* ReplToken persistence.
|
|
25534
25665
|
*/
|
|
25535
|
-
|
|
25536
|
-
reader: $protobuf.Reader | Uint8Array
|
|
25537
|
-
): replit$goval$api$Repl;
|
|
25666
|
+
persistence: $Values<typeof replit$goval$api$repl$Persistence>;
|
|
25538
25667
|
|
|
25539
25668
|
/**
|
|
25540
|
-
*
|
|
25541
|
-
* @param message Plain object to verify
|
|
25542
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
25669
|
+
* ReplToken repl.
|
|
25543
25670
|
*/
|
|
25544
|
-
|
|
25545
|
-
[k: string]: any,
|
|
25546
|
-
|}): string | null;
|
|
25671
|
+
repl?: replit$goval$api$repl$Repl | null;
|
|
25547
25672
|
|
|
25548
25673
|
/**
|
|
25549
|
-
*
|
|
25550
|
-
* @param object Plain object
|
|
25551
|
-
* @returns Repl
|
|
25674
|
+
* ReplToken id.
|
|
25552
25675
|
*/
|
|
25553
|
-
|
|
25554
|
-
[k: string]: any,
|
|
25555
|
-
|}): replit$goval$api$Repl;
|
|
25676
|
+
id?: replit$goval$api$ReplToken$ReplID | null;
|
|
25556
25677
|
|
|
25557
25678
|
/**
|
|
25558
|
-
*
|
|
25559
|
-
* @param message Repl
|
|
25560
|
-
* @param [options] Conversion options
|
|
25561
|
-
* @returns Plain object
|
|
25679
|
+
* ReplToken classroom.
|
|
25562
25680
|
*/
|
|
25563
|
-
|
|
25564
|
-
message: replit$goval$api$Repl,
|
|
25565
|
-
options?: $protobuf.IConversionOptions
|
|
25566
|
-
): {|
|
|
25567
|
-
[k: string]: any,
|
|
25568
|
-
|};
|
|
25681
|
+
classroom?: replit$goval$api$ReplToken$ClassroomMetadata | null;
|
|
25569
25682
|
|
|
25570
25683
|
/**
|
|
25571
|
-
*
|
|
25572
|
-
* @returns JSON object
|
|
25573
|
-
*/
|
|
25574
|
-
toJSON(): {|
|
|
25575
|
-
[k: string]: any,
|
|
25576
|
-
|};
|
|
25577
|
-
}
|
|
25578
|
-
|
|
25579
|
-
/**
|
|
25580
|
-
* Properties of a ResourceLimits.
|
|
25581
|
-
*/
|
|
25582
|
-
declare type replit$goval$api$IResourceLimits = {|
|
|
25583
|
-
/**
|
|
25584
|
-
* ResourceLimits net
|
|
25585
|
-
*/
|
|
25586
|
-
net?: boolean | null,
|
|
25587
|
-
|
|
25588
|
-
/**
|
|
25589
|
-
* ResourceLimits memory
|
|
25590
|
-
*/
|
|
25591
|
-
memory?: number | null,
|
|
25592
|
-
|
|
25593
|
-
/**
|
|
25594
|
-
* ResourceLimits threads
|
|
25595
|
-
*/
|
|
25596
|
-
threads?: number | null,
|
|
25597
|
-
|
|
25598
|
-
/**
|
|
25599
|
-
* ResourceLimits shares
|
|
25600
|
-
*/
|
|
25601
|
-
shares?: number | null,
|
|
25602
|
-
|
|
25603
|
-
/**
|
|
25604
|
-
* ResourceLimits disk
|
|
25605
|
-
*/
|
|
25606
|
-
disk?: number | null,
|
|
25607
|
-
|
|
25608
|
-
/**
|
|
25609
|
-
* ResourceLimits cache
|
|
25610
|
-
*/
|
|
25611
|
-
cache?: $Values<typeof replit$goval$api$ResourceLimits$Cachability> | null,
|
|
25612
|
-
|
|
25613
|
-
/**
|
|
25614
|
-
* ResourceLimits restrictNetwork
|
|
25615
|
-
*/
|
|
25616
|
-
restrictNetwork?: boolean | null,
|
|
25617
|
-
|
|
25618
|
-
/**
|
|
25619
|
-
* ResourceLimits preventWakeup
|
|
25620
|
-
*/
|
|
25621
|
-
preventWakeup?: boolean | null,
|
|
25622
|
-
|};
|
|
25623
|
-
|
|
25624
|
-
/**
|
|
25625
|
-
* Represents a ResourceLimits.
|
|
25626
|
-
*/
|
|
25627
|
-
declare class replit$goval$api$ResourceLimits {
|
|
25628
|
-
/**
|
|
25629
|
-
* Constructs a new ResourceLimits.
|
|
25630
|
-
* @param [properties] Properties to set
|
|
25631
|
-
*/
|
|
25632
|
-
constructor(properties?: replit$goval$api$IResourceLimits): this;
|
|
25633
|
-
|
|
25634
|
-
/**
|
|
25635
|
-
* ResourceLimits net.
|
|
25636
|
-
*/
|
|
25637
|
-
net: boolean;
|
|
25638
|
-
|
|
25639
|
-
/**
|
|
25640
|
-
* ResourceLimits memory.
|
|
25684
|
+
* ReplToken resourceLimits.
|
|
25641
25685
|
*/
|
|
25642
|
-
|
|
25686
|
+
resourceLimits?: replit$goval$api$repl$ResourceLimits | null;
|
|
25643
25687
|
|
|
25644
25688
|
/**
|
|
25645
|
-
*
|
|
25689
|
+
* ReplToken format.
|
|
25646
25690
|
*/
|
|
25647
|
-
|
|
25691
|
+
format: $Values<typeof replit$goval$api$ReplToken$WireFormat>;
|
|
25648
25692
|
|
|
25649
25693
|
/**
|
|
25650
|
-
*
|
|
25694
|
+
* ReplToken presenced.
|
|
25651
25695
|
*/
|
|
25652
|
-
|
|
25696
|
+
presenced?: replit$goval$api$ReplToken$Presenced | null;
|
|
25653
25697
|
|
|
25654
25698
|
/**
|
|
25655
|
-
*
|
|
25699
|
+
* ReplToken flags.
|
|
25656
25700
|
*/
|
|
25657
|
-
|
|
25701
|
+
flags: string[];
|
|
25658
25702
|
|
|
25659
25703
|
/**
|
|
25660
|
-
*
|
|
25704
|
+
* ReplToken permissions.
|
|
25661
25705
|
*/
|
|
25662
|
-
|
|
25706
|
+
permissions?: replit$goval$api$repl$Permissions | null;
|
|
25663
25707
|
|
|
25664
25708
|
/**
|
|
25665
|
-
*
|
|
25709
|
+
* ReplToken features.
|
|
25666
25710
|
*/
|
|
25667
|
-
|
|
25711
|
+
features: replit$goval$api$features$Feature[];
|
|
25668
25712
|
|
|
25669
25713
|
/**
|
|
25670
|
-
*
|
|
25714
|
+
* ReplToken metadata.
|
|
25671
25715
|
*/
|
|
25672
|
-
|
|
25716
|
+
metadata?: "repl" | "id" | "classroom";
|
|
25673
25717
|
|
|
25674
25718
|
/**
|
|
25675
|
-
* Creates a new
|
|
25719
|
+
* Creates a new ReplToken instance using the specified properties.
|
|
25676
25720
|
* @param [properties] Properties to set
|
|
25677
|
-
* @returns
|
|
25721
|
+
* @returns ReplToken instance
|
|
25678
25722
|
*/
|
|
25679
25723
|
static create(
|
|
25680
|
-
properties?: replit$goval$api$
|
|
25681
|
-
): replit$goval$api$
|
|
25724
|
+
properties?: replit$goval$api$IReplToken
|
|
25725
|
+
): replit$goval$api$ReplToken;
|
|
25682
25726
|
|
|
25683
25727
|
/**
|
|
25684
25728
|
* [object Object],[object Object],[object Object]
|
|
25685
|
-
* @param message
|
|
25729
|
+
* @param message ReplToken message or plain object to encode
|
|
25686
25730
|
* @param [writer] Writer to encode to
|
|
25687
25731
|
* @returns Writer
|
|
25688
25732
|
*/
|
|
25689
25733
|
static encode(
|
|
25690
|
-
message: replit$goval$api$
|
|
25734
|
+
message: replit$goval$api$ReplToken,
|
|
25691
25735
|
writer?: $protobuf.Writer
|
|
25692
25736
|
): $protobuf.Writer;
|
|
25693
25737
|
|
|
25694
25738
|
/**
|
|
25695
25739
|
* [object Object],[object Object],[object Object]
|
|
25696
|
-
* @param message
|
|
25740
|
+
* @param message ReplToken message or plain object to encode
|
|
25697
25741
|
* @param [writer] Writer to encode to
|
|
25698
25742
|
* @returns Writer
|
|
25699
25743
|
*/
|
|
25700
25744
|
static encodeDelimited(
|
|
25701
|
-
message: replit$goval$api$
|
|
25745
|
+
message: replit$goval$api$ReplToken,
|
|
25702
25746
|
writer?: $protobuf.Writer
|
|
25703
25747
|
): $protobuf.Writer;
|
|
25704
25748
|
|
|
25705
25749
|
/**
|
|
25706
|
-
* Decodes a
|
|
25750
|
+
* Decodes a ReplToken message from the specified reader or buffer.
|
|
25707
25751
|
* @param reader Reader or buffer to decode from
|
|
25708
25752
|
* @param [length] Message length if known beforehand
|
|
25709
|
-
* @returns
|
|
25753
|
+
* @returns ReplToken
|
|
25710
25754
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25711
25755
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25712
25756
|
*/
|
|
25713
25757
|
static decode(
|
|
25714
25758
|
reader: $protobuf.Reader | Uint8Array,
|
|
25715
25759
|
length?: number
|
|
25716
|
-
): replit$goval$api$
|
|
25760
|
+
): replit$goval$api$ReplToken;
|
|
25717
25761
|
|
|
25718
25762
|
/**
|
|
25719
|
-
* Decodes a
|
|
25763
|
+
* Decodes a ReplToken message from the specified reader or buffer, length delimited.
|
|
25720
25764
|
* @param reader Reader or buffer to decode from
|
|
25721
|
-
* @returns
|
|
25765
|
+
* @returns ReplToken
|
|
25722
25766
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25723
25767
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25724
25768
|
*/
|
|
25725
25769
|
static decodeDelimited(
|
|
25726
25770
|
reader: $protobuf.Reader | Uint8Array
|
|
25727
|
-
): replit$goval$api$
|
|
25771
|
+
): replit$goval$api$ReplToken;
|
|
25728
25772
|
|
|
25729
25773
|
/**
|
|
25730
|
-
* Verifies a
|
|
25774
|
+
* Verifies a ReplToken message.
|
|
25731
25775
|
* @param message Plain object to verify
|
|
25732
25776
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
25733
25777
|
*/
|
|
@@ -25736,129 +25780,135 @@ declare class replit$goval$api$ResourceLimits {
|
|
|
25736
25780
|
|}): string | null;
|
|
25737
25781
|
|
|
25738
25782
|
/**
|
|
25739
|
-
* Creates a
|
|
25783
|
+
* Creates a ReplToken message from a plain object. Also converts values to their respective internal types.
|
|
25740
25784
|
* @param object Plain object
|
|
25741
|
-
* @returns
|
|
25785
|
+
* @returns ReplToken
|
|
25742
25786
|
*/
|
|
25743
25787
|
static fromObject(object: {|
|
|
25744
25788
|
[k: string]: any,
|
|
25745
|
-
|}): replit$goval$api$
|
|
25789
|
+
|}): replit$goval$api$ReplToken;
|
|
25746
25790
|
|
|
25747
25791
|
/**
|
|
25748
|
-
* Creates a plain object from a
|
|
25749
|
-
* @param message
|
|
25792
|
+
* Creates a plain object from a ReplToken message. Also converts values to other types if specified.
|
|
25793
|
+
* @param message ReplToken
|
|
25750
25794
|
* @param [options] Conversion options
|
|
25751
25795
|
* @returns Plain object
|
|
25752
25796
|
*/
|
|
25753
25797
|
static toObject(
|
|
25754
|
-
message: replit$goval$api$
|
|
25798
|
+
message: replit$goval$api$ReplToken,
|
|
25755
25799
|
options?: $protobuf.IConversionOptions
|
|
25756
25800
|
): {|
|
|
25757
25801
|
[k: string]: any,
|
|
25758
25802
|
|};
|
|
25759
25803
|
|
|
25760
25804
|
/**
|
|
25761
|
-
* Converts this
|
|
25805
|
+
* Converts this ReplToken to JSON.
|
|
25762
25806
|
* @returns JSON object
|
|
25763
25807
|
*/
|
|
25764
25808
|
toJSON(): {|
|
|
25765
25809
|
[k: string]: any,
|
|
25766
25810
|
|};
|
|
25767
|
-
static
|
|
25811
|
+
static WireFormat: typeof replit$goval$api$ReplToken$WireFormat;
|
|
25812
|
+
static IClassroomMetadata: Class<replit$goval$api$ReplToken$IClassroomMetadata>;
|
|
25813
|
+
static IReplID: Class<replit$goval$api$ReplToken$IReplID>;
|
|
25814
|
+
static IPresenced: Class<replit$goval$api$ReplToken$IPresenced>;
|
|
25815
|
+
static ClassroomMetadata: typeof replit$goval$api$ReplToken$ClassroomMetadata;
|
|
25816
|
+
static ReplID: typeof replit$goval$api$ReplToken$ReplID;
|
|
25817
|
+
static Presenced: typeof replit$goval$api$ReplToken$Presenced;
|
|
25768
25818
|
}
|
|
25769
25819
|
|
|
25770
25820
|
/**
|
|
25771
|
-
*
|
|
25821
|
+
* Properties of a ClassroomMetadata.
|
|
25772
25822
|
*/
|
|
25823
|
+
declare type replit$goval$api$ReplToken$IClassroomMetadata = {|
|
|
25824
|
+
/**
|
|
25825
|
+
* ClassroomMetadata id
|
|
25826
|
+
*/
|
|
25827
|
+
id?: string | null,
|
|
25773
25828
|
|
|
25774
|
-
declare var replit$goval$api$ResourceLimits$Cachability: {|
|
|
25775
|
-
+NONE: 0, // 0
|
|
25776
|
-
+USER: 1, // 1
|
|
25777
|
-
+REPL: 2, // 2
|
|
25778
|
-
|};
|
|
25779
|
-
|
|
25780
|
-
/**
|
|
25781
|
-
* Properties of a Permissions.
|
|
25782
|
-
*/
|
|
25783
|
-
declare type replit$goval$api$IPermissions = {|
|
|
25784
25829
|
/**
|
|
25785
|
-
*
|
|
25830
|
+
* ClassroomMetadata language
|
|
25786
25831
|
*/
|
|
25787
|
-
|
|
25832
|
+
language?: string | null,
|
|
25788
25833
|
|};
|
|
25789
25834
|
|
|
25790
25835
|
/**
|
|
25791
|
-
* Represents a
|
|
25836
|
+
* Represents a ClassroomMetadata.
|
|
25792
25837
|
*/
|
|
25793
|
-
declare class replit$goval$api$
|
|
25838
|
+
declare class replit$goval$api$ReplToken$ClassroomMetadata {
|
|
25794
25839
|
/**
|
|
25795
|
-
* Constructs a new
|
|
25840
|
+
* Constructs a new ClassroomMetadata.
|
|
25796
25841
|
* @param [properties] Properties to set
|
|
25797
25842
|
*/
|
|
25798
|
-
constructor(properties?: replit$goval$api$
|
|
25843
|
+
constructor(properties?: replit$goval$api$ReplToken$IClassroomMetadata): this;
|
|
25799
25844
|
|
|
25800
25845
|
/**
|
|
25801
|
-
*
|
|
25846
|
+
* ClassroomMetadata id.
|
|
25802
25847
|
*/
|
|
25803
|
-
|
|
25848
|
+
id: string;
|
|
25804
25849
|
|
|
25805
25850
|
/**
|
|
25806
|
-
*
|
|
25851
|
+
* ClassroomMetadata language.
|
|
25852
|
+
*/
|
|
25853
|
+
language: string;
|
|
25854
|
+
|
|
25855
|
+
/**
|
|
25856
|
+
* Creates a new ClassroomMetadata instance using the specified properties.
|
|
25807
25857
|
* @param [properties] Properties to set
|
|
25808
|
-
* @returns
|
|
25858
|
+
* @returns ClassroomMetadata instance
|
|
25809
25859
|
*/
|
|
25810
25860
|
static create(
|
|
25811
|
-
properties?: replit$goval$api$
|
|
25812
|
-
): replit$goval$api$
|
|
25861
|
+
properties?: replit$goval$api$ReplToken$IClassroomMetadata
|
|
25862
|
+
): replit$goval$api$ReplToken$ClassroomMetadata;
|
|
25813
25863
|
|
|
25814
25864
|
/**
|
|
25815
25865
|
* [object Object],[object Object],[object Object]
|
|
25816
|
-
* @param message
|
|
25866
|
+
* @param message ClassroomMetadata message or plain object to encode
|
|
25817
25867
|
* @param [writer] Writer to encode to
|
|
25818
25868
|
* @returns Writer
|
|
25819
25869
|
*/
|
|
25820
25870
|
static encode(
|
|
25821
|
-
message: replit$goval$api$
|
|
25871
|
+
message: replit$goval$api$ReplToken$ClassroomMetadata,
|
|
25822
25872
|
writer?: $protobuf.Writer
|
|
25823
25873
|
): $protobuf.Writer;
|
|
25824
25874
|
|
|
25825
25875
|
/**
|
|
25826
25876
|
* [object Object],[object Object],[object Object]
|
|
25827
|
-
* @param message
|
|
25877
|
+
* @param message ClassroomMetadata message or plain object to encode
|
|
25828
25878
|
* @param [writer] Writer to encode to
|
|
25829
25879
|
* @returns Writer
|
|
25830
25880
|
*/
|
|
25831
25881
|
static encodeDelimited(
|
|
25832
|
-
message: replit$goval$api$
|
|
25882
|
+
message: replit$goval$api$ReplToken$ClassroomMetadata,
|
|
25833
25883
|
writer?: $protobuf.Writer
|
|
25834
25884
|
): $protobuf.Writer;
|
|
25835
25885
|
|
|
25836
25886
|
/**
|
|
25837
|
-
* Decodes a
|
|
25887
|
+
* Decodes a ClassroomMetadata message from the specified reader or buffer.
|
|
25838
25888
|
* @param reader Reader or buffer to decode from
|
|
25839
25889
|
* @param [length] Message length if known beforehand
|
|
25840
|
-
* @returns
|
|
25890
|
+
* @returns ClassroomMetadata
|
|
25841
25891
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25842
25892
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25843
25893
|
*/
|
|
25844
25894
|
static decode(
|
|
25845
25895
|
reader: $protobuf.Reader | Uint8Array,
|
|
25846
25896
|
length?: number
|
|
25847
|
-
): replit$goval$api$
|
|
25897
|
+
): replit$goval$api$ReplToken$ClassroomMetadata;
|
|
25848
25898
|
|
|
25849
25899
|
/**
|
|
25850
|
-
* Decodes a
|
|
25900
|
+
* Decodes a ClassroomMetadata message from the specified reader or buffer, length delimited.
|
|
25851
25901
|
* @param reader Reader or buffer to decode from
|
|
25852
|
-
* @returns
|
|
25902
|
+
* @returns ClassroomMetadata
|
|
25853
25903
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25854
25904
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25855
25905
|
*/
|
|
25856
25906
|
static decodeDelimited(
|
|
25857
25907
|
reader: $protobuf.Reader | Uint8Array
|
|
25858
|
-
): replit$goval$api$
|
|
25908
|
+
): replit$goval$api$ReplToken$ClassroomMetadata;
|
|
25859
25909
|
|
|
25860
25910
|
/**
|
|
25861
|
-
* Verifies a
|
|
25911
|
+
* Verifies a ClassroomMetadata message.
|
|
25862
25912
|
* @param message Plain object to verify
|
|
25863
25913
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
25864
25914
|
*/
|
|
@@ -25867,29 +25917,29 @@ declare class replit$goval$api$Permissions {
|
|
|
25867
25917
|
|}): string | null;
|
|
25868
25918
|
|
|
25869
25919
|
/**
|
|
25870
|
-
* Creates a
|
|
25920
|
+
* Creates a ClassroomMetadata message from a plain object. Also converts values to their respective internal types.
|
|
25871
25921
|
* @param object Plain object
|
|
25872
|
-
* @returns
|
|
25922
|
+
* @returns ClassroomMetadata
|
|
25873
25923
|
*/
|
|
25874
25924
|
static fromObject(object: {|
|
|
25875
25925
|
[k: string]: any,
|
|
25876
|
-
|}): replit$goval$api$
|
|
25926
|
+
|}): replit$goval$api$ReplToken$ClassroomMetadata;
|
|
25877
25927
|
|
|
25878
25928
|
/**
|
|
25879
|
-
* Creates a plain object from a
|
|
25880
|
-
* @param message
|
|
25929
|
+
* Creates a plain object from a ClassroomMetadata message. Also converts values to other types if specified.
|
|
25930
|
+
* @param message ClassroomMetadata
|
|
25881
25931
|
* @param [options] Conversion options
|
|
25882
25932
|
* @returns Plain object
|
|
25883
25933
|
*/
|
|
25884
25934
|
static toObject(
|
|
25885
|
-
message: replit$goval$api$
|
|
25935
|
+
message: replit$goval$api$ReplToken$ClassroomMetadata,
|
|
25886
25936
|
options?: $protobuf.IConversionOptions
|
|
25887
25937
|
): {|
|
|
25888
25938
|
[k: string]: any,
|
|
25889
25939
|
|};
|
|
25890
25940
|
|
|
25891
25941
|
/**
|
|
25892
|
-
* Converts this
|
|
25942
|
+
* Converts this ClassroomMetadata to JSON.
|
|
25893
25943
|
* @returns JSON object
|
|
25894
25944
|
*/
|
|
25895
25945
|
toJSON(): {|
|
|
@@ -25898,239 +25948,544 @@ declare class replit$goval$api$Permissions {
|
|
|
25898
25948
|
}
|
|
25899
25949
|
|
|
25900
25950
|
/**
|
|
25901
|
-
* Properties of a
|
|
25951
|
+
* Properties of a ReplID.
|
|
25902
25952
|
*/
|
|
25903
|
-
declare type replit$goval$api$
|
|
25953
|
+
declare type replit$goval$api$ReplToken$IReplID = {|
|
|
25904
25954
|
/**
|
|
25905
|
-
*
|
|
25955
|
+
* ReplID id
|
|
25906
25956
|
*/
|
|
25907
|
-
|
|
25957
|
+
id?: string | null,
|
|
25908
25958
|
|
|
25909
25959
|
/**
|
|
25910
|
-
*
|
|
25960
|
+
* ReplID sourceRepl
|
|
25911
25961
|
*/
|
|
25912
|
-
|
|
25962
|
+
sourceRepl?: string | null,
|
|
25963
|
+
|};
|
|
25913
25964
|
|
|
25965
|
+
/**
|
|
25966
|
+
* Represents a ReplID.
|
|
25967
|
+
*/
|
|
25968
|
+
declare class replit$goval$api$ReplToken$ReplID {
|
|
25914
25969
|
/**
|
|
25915
|
-
*
|
|
25970
|
+
* Constructs a new ReplID.
|
|
25971
|
+
* @param [properties] Properties to set
|
|
25916
25972
|
*/
|
|
25917
|
-
|
|
25973
|
+
constructor(properties?: replit$goval$api$ReplToken$IReplID): this;
|
|
25918
25974
|
|
|
25919
25975
|
/**
|
|
25920
|
-
*
|
|
25976
|
+
* ReplID id.
|
|
25921
25977
|
*/
|
|
25922
|
-
|
|
25978
|
+
id: string;
|
|
25923
25979
|
|
|
25924
25980
|
/**
|
|
25925
|
-
*
|
|
25981
|
+
* ReplID sourceRepl.
|
|
25926
25982
|
*/
|
|
25927
|
-
|
|
25983
|
+
sourceRepl: string;
|
|
25928
25984
|
|
|
25929
25985
|
/**
|
|
25930
|
-
*
|
|
25986
|
+
* Creates a new ReplID instance using the specified properties.
|
|
25987
|
+
* @param [properties] Properties to set
|
|
25988
|
+
* @returns ReplID instance
|
|
25931
25989
|
*/
|
|
25932
|
-
|
|
25990
|
+
static create(
|
|
25991
|
+
properties?: replit$goval$api$ReplToken$IReplID
|
|
25992
|
+
): replit$goval$api$ReplToken$ReplID;
|
|
25933
25993
|
|
|
25934
25994
|
/**
|
|
25935
|
-
*
|
|
25995
|
+
* [object Object],[object Object],[object Object]
|
|
25996
|
+
* @param message ReplID message or plain object to encode
|
|
25997
|
+
* @param [writer] Writer to encode to
|
|
25998
|
+
* @returns Writer
|
|
25936
25999
|
*/
|
|
25937
|
-
|
|
25938
|
-
|
|
25939
|
-
|
|
25940
|
-
|
|
26000
|
+
static encode(
|
|
26001
|
+
message: replit$goval$api$ReplToken$ReplID,
|
|
26002
|
+
writer?: $protobuf.Writer
|
|
26003
|
+
): $protobuf.Writer;
|
|
25941
26004
|
|
|
25942
26005
|
/**
|
|
25943
|
-
*
|
|
26006
|
+
* [object Object],[object Object],[object Object]
|
|
26007
|
+
* @param message ReplID message or plain object to encode
|
|
26008
|
+
* @param [writer] Writer to encode to
|
|
26009
|
+
* @returns Writer
|
|
25944
26010
|
*/
|
|
25945
|
-
|
|
25946
|
-
|
|
25947
|
-
|
|
25948
|
-
|
|
26011
|
+
static encodeDelimited(
|
|
26012
|
+
message: replit$goval$api$ReplToken$ReplID,
|
|
26013
|
+
writer?: $protobuf.Writer
|
|
26014
|
+
): $protobuf.Writer;
|
|
25949
26015
|
|
|
25950
26016
|
/**
|
|
25951
|
-
*
|
|
26017
|
+
* Decodes a ReplID message from the specified reader or buffer.
|
|
26018
|
+
* @param reader Reader or buffer to decode from
|
|
26019
|
+
* @param [length] Message length if known beforehand
|
|
26020
|
+
* @returns ReplID
|
|
26021
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26022
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25952
26023
|
*/
|
|
25953
|
-
|
|
25954
|
-
|
|
|
25955
|
-
|
|
25956
|
-
|
|
26024
|
+
static decode(
|
|
26025
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
26026
|
+
length?: number
|
|
26027
|
+
): replit$goval$api$ReplToken$ReplID;
|
|
25957
26028
|
|
|
25958
26029
|
/**
|
|
25959
|
-
*
|
|
26030
|
+
* Decodes a ReplID message from the specified reader or buffer, length delimited.
|
|
26031
|
+
* @param reader Reader or buffer to decode from
|
|
26032
|
+
* @returns ReplID
|
|
26033
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26034
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25960
26035
|
*/
|
|
25961
|
-
|
|
26036
|
+
static decodeDelimited(
|
|
26037
|
+
reader: $protobuf.Reader | Uint8Array
|
|
26038
|
+
): replit$goval$api$ReplToken$ReplID;
|
|
25962
26039
|
|
|
25963
26040
|
/**
|
|
25964
|
-
*
|
|
26041
|
+
* Verifies a ReplID message.
|
|
26042
|
+
* @param message Plain object to verify
|
|
26043
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
25965
26044
|
*/
|
|
25966
|
-
|
|
25967
|
-
|
|
25968
|
-
|
|
25969
|
-
| null,
|
|
26045
|
+
static verify(message: {|
|
|
26046
|
+
[k: string]: any,
|
|
26047
|
+
|}): string | null;
|
|
25970
26048
|
|
|
25971
26049
|
/**
|
|
25972
|
-
*
|
|
26050
|
+
* Creates a ReplID message from a plain object. Also converts values to their respective internal types.
|
|
26051
|
+
* @param object Plain object
|
|
26052
|
+
* @returns ReplID
|
|
25973
26053
|
*/
|
|
25974
|
-
|
|
26054
|
+
static fromObject(object: {|
|
|
26055
|
+
[k: string]: any,
|
|
26056
|
+
|}): replit$goval$api$ReplToken$ReplID;
|
|
25975
26057
|
|
|
25976
26058
|
/**
|
|
25977
|
-
*
|
|
26059
|
+
* Creates a plain object from a ReplID message. Also converts values to other types if specified.
|
|
26060
|
+
* @param message ReplID
|
|
26061
|
+
* @param [options] Conversion options
|
|
26062
|
+
* @returns Plain object
|
|
25978
26063
|
*/
|
|
25979
|
-
|
|
25980
|
-
|
|
25981
|
-
|
|
25982
|
-
|
|
26064
|
+
static toObject(
|
|
26065
|
+
message: replit$goval$api$ReplToken$ReplID,
|
|
26066
|
+
options?: $protobuf.IConversionOptions
|
|
26067
|
+
): {|
|
|
26068
|
+
[k: string]: any,
|
|
26069
|
+
|};
|
|
25983
26070
|
|
|
25984
26071
|
/**
|
|
25985
|
-
*
|
|
26072
|
+
* Converts this ReplID to JSON.
|
|
26073
|
+
* @returns JSON object
|
|
25986
26074
|
*/
|
|
25987
|
-
|
|
25988
|
-
|
|
25989
|
-
|
|
26075
|
+
toJSON(): {|
|
|
26076
|
+
[k: string]: any,
|
|
26077
|
+
|};
|
|
26078
|
+
}
|
|
26079
|
+
|
|
26080
|
+
/**
|
|
26081
|
+
* WireFormat enum.
|
|
26082
|
+
*/
|
|
26083
|
+
|
|
26084
|
+
declare var replit$goval$api$ReplToken$WireFormat: {|
|
|
26085
|
+
+PROTOBUF: 0, // 0
|
|
26086
|
+
+JSON: 1, // 1
|
|
25990
26087
|
|};
|
|
25991
26088
|
|
|
25992
26089
|
/**
|
|
25993
|
-
*
|
|
26090
|
+
* Properties of a Presenced.
|
|
25994
26091
|
*/
|
|
25995
|
-
declare
|
|
26092
|
+
declare type replit$goval$api$ReplToken$IPresenced = {|
|
|
25996
26093
|
/**
|
|
25997
|
-
*
|
|
26094
|
+
* Presenced bearerID
|
|
26095
|
+
*/
|
|
26096
|
+
bearerID?: number | null,
|
|
26097
|
+
|
|
26098
|
+
/**
|
|
26099
|
+
* Presenced bearerName
|
|
26100
|
+
*/
|
|
26101
|
+
bearerName?: string | null,
|
|
26102
|
+
|};
|
|
26103
|
+
|
|
26104
|
+
/**
|
|
26105
|
+
* Represents a Presenced.
|
|
26106
|
+
*/
|
|
26107
|
+
declare class replit$goval$api$ReplToken$Presenced {
|
|
26108
|
+
/**
|
|
26109
|
+
* Constructs a new Presenced.
|
|
25998
26110
|
* @param [properties] Properties to set
|
|
25999
26111
|
*/
|
|
26000
|
-
constructor(properties?: replit$goval$api$
|
|
26112
|
+
constructor(properties?: replit$goval$api$ReplToken$IPresenced): this;
|
|
26001
26113
|
|
|
26002
26114
|
/**
|
|
26003
|
-
*
|
|
26115
|
+
* Presenced bearerID.
|
|
26004
26116
|
*/
|
|
26005
|
-
|
|
26117
|
+
bearerID: number;
|
|
26006
26118
|
|
|
26007
26119
|
/**
|
|
26008
|
-
*
|
|
26120
|
+
* Presenced bearerName.
|
|
26009
26121
|
*/
|
|
26010
|
-
|
|
26122
|
+
bearerName: string;
|
|
26011
26123
|
|
|
26012
26124
|
/**
|
|
26013
|
-
*
|
|
26125
|
+
* Creates a new Presenced instance using the specified properties.
|
|
26126
|
+
* @param [properties] Properties to set
|
|
26127
|
+
* @returns Presenced instance
|
|
26014
26128
|
*/
|
|
26015
|
-
|
|
26129
|
+
static create(
|
|
26130
|
+
properties?: replit$goval$api$ReplToken$IPresenced
|
|
26131
|
+
): replit$goval$api$ReplToken$Presenced;
|
|
26016
26132
|
|
|
26017
26133
|
/**
|
|
26018
|
-
*
|
|
26134
|
+
* [object Object],[object Object],[object Object]
|
|
26135
|
+
* @param message Presenced message or plain object to encode
|
|
26136
|
+
* @param [writer] Writer to encode to
|
|
26137
|
+
* @returns Writer
|
|
26019
26138
|
*/
|
|
26020
|
-
|
|
26139
|
+
static encode(
|
|
26140
|
+
message: replit$goval$api$ReplToken$Presenced,
|
|
26141
|
+
writer?: $protobuf.Writer
|
|
26142
|
+
): $protobuf.Writer;
|
|
26021
26143
|
|
|
26022
26144
|
/**
|
|
26023
|
-
*
|
|
26145
|
+
* [object Object],[object Object],[object Object]
|
|
26146
|
+
* @param message Presenced message or plain object to encode
|
|
26147
|
+
* @param [writer] Writer to encode to
|
|
26148
|
+
* @returns Writer
|
|
26024
26149
|
*/
|
|
26025
|
-
|
|
26150
|
+
static encodeDelimited(
|
|
26151
|
+
message: replit$goval$api$ReplToken$Presenced,
|
|
26152
|
+
writer?: $protobuf.Writer
|
|
26153
|
+
): $protobuf.Writer;
|
|
26026
26154
|
|
|
26027
26155
|
/**
|
|
26028
|
-
*
|
|
26156
|
+
* Decodes a Presenced message from the specified reader or buffer.
|
|
26157
|
+
* @param reader Reader or buffer to decode from
|
|
26158
|
+
* @param [length] Message length if known beforehand
|
|
26159
|
+
* @returns Presenced
|
|
26160
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26161
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26029
26162
|
*/
|
|
26030
|
-
|
|
26163
|
+
static decode(
|
|
26164
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
26165
|
+
length?: number
|
|
26166
|
+
): replit$goval$api$ReplToken$Presenced;
|
|
26031
26167
|
|
|
26032
26168
|
/**
|
|
26033
|
-
*
|
|
26169
|
+
* Decodes a Presenced message from the specified reader or buffer, length delimited.
|
|
26170
|
+
* @param reader Reader or buffer to decode from
|
|
26171
|
+
* @returns Presenced
|
|
26172
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26173
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26034
26174
|
*/
|
|
26035
|
-
|
|
26175
|
+
static decodeDelimited(
|
|
26176
|
+
reader: $protobuf.Reader | Uint8Array
|
|
26177
|
+
): replit$goval$api$ReplToken$Presenced;
|
|
26036
26178
|
|
|
26037
26179
|
/**
|
|
26038
|
-
*
|
|
26180
|
+
* Verifies a Presenced message.
|
|
26181
|
+
* @param message Plain object to verify
|
|
26182
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
26039
26183
|
*/
|
|
26040
|
-
|
|
26184
|
+
static verify(message: {|
|
|
26185
|
+
[k: string]: any,
|
|
26186
|
+
|}): string | null;
|
|
26041
26187
|
|
|
26042
26188
|
/**
|
|
26043
|
-
*
|
|
26189
|
+
* Creates a Presenced message from a plain object. Also converts values to their respective internal types.
|
|
26190
|
+
* @param object Plain object
|
|
26191
|
+
* @returns Presenced
|
|
26044
26192
|
*/
|
|
26045
|
-
|
|
26193
|
+
static fromObject(object: {|
|
|
26194
|
+
[k: string]: any,
|
|
26195
|
+
|}): replit$goval$api$ReplToken$Presenced;
|
|
26046
26196
|
|
|
26047
26197
|
/**
|
|
26048
|
-
*
|
|
26198
|
+
* Creates a plain object from a Presenced message. Also converts values to other types if specified.
|
|
26199
|
+
* @param message Presenced
|
|
26200
|
+
* @param [options] Conversion options
|
|
26201
|
+
* @returns Plain object
|
|
26049
26202
|
*/
|
|
26050
|
-
|
|
26203
|
+
static toObject(
|
|
26204
|
+
message: replit$goval$api$ReplToken$Presenced,
|
|
26205
|
+
options?: $protobuf.IConversionOptions
|
|
26206
|
+
): {|
|
|
26207
|
+
[k: string]: any,
|
|
26208
|
+
|};
|
|
26051
26209
|
|
|
26052
26210
|
/**
|
|
26053
|
-
*
|
|
26211
|
+
* Converts this Presenced to JSON.
|
|
26212
|
+
* @returns JSON object
|
|
26054
26213
|
*/
|
|
26055
|
-
|
|
26214
|
+
toJSON(): {|
|
|
26215
|
+
[k: string]: any,
|
|
26216
|
+
|};
|
|
26217
|
+
}
|
|
26056
26218
|
|
|
26219
|
+
/**
|
|
26220
|
+
* Properties of a TLSCertificate.
|
|
26221
|
+
*/
|
|
26222
|
+
declare type replit$goval$api$ITLSCertificate = {|
|
|
26057
26223
|
/**
|
|
26058
|
-
*
|
|
26224
|
+
* TLSCertificate domain
|
|
26059
26225
|
*/
|
|
26060
|
-
|
|
26226
|
+
domain?: string | null,
|
|
26061
26227
|
|
|
26062
26228
|
/**
|
|
26063
|
-
*
|
|
26229
|
+
* TLSCertificate cert
|
|
26064
26230
|
*/
|
|
26065
|
-
|
|
26231
|
+
cert?: Uint8Array | null,
|
|
26232
|
+
|};
|
|
26066
26233
|
|
|
26234
|
+
/**
|
|
26235
|
+
* Represents a TLSCertificate.
|
|
26236
|
+
*/
|
|
26237
|
+
declare class replit$goval$api$TLSCertificate {
|
|
26067
26238
|
/**
|
|
26068
|
-
*
|
|
26239
|
+
* Constructs a new TLSCertificate.
|
|
26240
|
+
* @param [properties] Properties to set
|
|
26241
|
+
*/
|
|
26242
|
+
constructor(properties?: replit$goval$api$ITLSCertificate): this;
|
|
26243
|
+
|
|
26244
|
+
/**
|
|
26245
|
+
* TLSCertificate domain.
|
|
26246
|
+
*/
|
|
26247
|
+
domain: string;
|
|
26248
|
+
|
|
26249
|
+
/**
|
|
26250
|
+
* TLSCertificate cert.
|
|
26251
|
+
*/
|
|
26252
|
+
cert: Uint8Array;
|
|
26253
|
+
|
|
26254
|
+
/**
|
|
26255
|
+
* Creates a new TLSCertificate instance using the specified properties.
|
|
26256
|
+
* @param [properties] Properties to set
|
|
26257
|
+
* @returns TLSCertificate instance
|
|
26258
|
+
*/
|
|
26259
|
+
static create(
|
|
26260
|
+
properties?: replit$goval$api$ITLSCertificate
|
|
26261
|
+
): replit$goval$api$TLSCertificate;
|
|
26262
|
+
|
|
26263
|
+
/**
|
|
26264
|
+
* [object Object],[object Object],[object Object]
|
|
26265
|
+
* @param message TLSCertificate message or plain object to encode
|
|
26266
|
+
* @param [writer] Writer to encode to
|
|
26267
|
+
* @returns Writer
|
|
26268
|
+
*/
|
|
26269
|
+
static encode(
|
|
26270
|
+
message: replit$goval$api$TLSCertificate,
|
|
26271
|
+
writer?: $protobuf.Writer
|
|
26272
|
+
): $protobuf.Writer;
|
|
26273
|
+
|
|
26274
|
+
/**
|
|
26275
|
+
* [object Object],[object Object],[object Object]
|
|
26276
|
+
* @param message TLSCertificate message or plain object to encode
|
|
26277
|
+
* @param [writer] Writer to encode to
|
|
26278
|
+
* @returns Writer
|
|
26279
|
+
*/
|
|
26280
|
+
static encodeDelimited(
|
|
26281
|
+
message: replit$goval$api$TLSCertificate,
|
|
26282
|
+
writer?: $protobuf.Writer
|
|
26283
|
+
): $protobuf.Writer;
|
|
26284
|
+
|
|
26285
|
+
/**
|
|
26286
|
+
* Decodes a TLSCertificate message from the specified reader or buffer.
|
|
26287
|
+
* @param reader Reader or buffer to decode from
|
|
26288
|
+
* @param [length] Message length if known beforehand
|
|
26289
|
+
* @returns TLSCertificate
|
|
26290
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26291
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26292
|
+
*/
|
|
26293
|
+
static decode(
|
|
26294
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
26295
|
+
length?: number
|
|
26296
|
+
): replit$goval$api$TLSCertificate;
|
|
26297
|
+
|
|
26298
|
+
/**
|
|
26299
|
+
* Decodes a TLSCertificate message from the specified reader or buffer, length delimited.
|
|
26300
|
+
* @param reader Reader or buffer to decode from
|
|
26301
|
+
* @returns TLSCertificate
|
|
26302
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26303
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26304
|
+
*/
|
|
26305
|
+
static decodeDelimited(
|
|
26306
|
+
reader: $protobuf.Reader | Uint8Array
|
|
26307
|
+
): replit$goval$api$TLSCertificate;
|
|
26308
|
+
|
|
26309
|
+
/**
|
|
26310
|
+
* Verifies a TLSCertificate message.
|
|
26311
|
+
* @param message Plain object to verify
|
|
26312
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
26313
|
+
*/
|
|
26314
|
+
static verify(message: {|
|
|
26315
|
+
[k: string]: any,
|
|
26316
|
+
|}): string | null;
|
|
26317
|
+
|
|
26318
|
+
/**
|
|
26319
|
+
* Creates a TLSCertificate message from a plain object. Also converts values to their respective internal types.
|
|
26320
|
+
* @param object Plain object
|
|
26321
|
+
* @returns TLSCertificate
|
|
26322
|
+
*/
|
|
26323
|
+
static fromObject(object: {|
|
|
26324
|
+
[k: string]: any,
|
|
26325
|
+
|}): replit$goval$api$TLSCertificate;
|
|
26326
|
+
|
|
26327
|
+
/**
|
|
26328
|
+
* Creates a plain object from a TLSCertificate message. Also converts values to other types if specified.
|
|
26329
|
+
* @param message TLSCertificate
|
|
26330
|
+
* @param [options] Conversion options
|
|
26331
|
+
* @returns Plain object
|
|
26332
|
+
*/
|
|
26333
|
+
static toObject(
|
|
26334
|
+
message: replit$goval$api$TLSCertificate,
|
|
26335
|
+
options?: $protobuf.IConversionOptions
|
|
26336
|
+
): {|
|
|
26337
|
+
[k: string]: any,
|
|
26338
|
+
|};
|
|
26339
|
+
|
|
26340
|
+
/**
|
|
26341
|
+
* Converts this TLSCertificate to JSON.
|
|
26342
|
+
* @returns JSON object
|
|
26343
|
+
*/
|
|
26344
|
+
toJSON(): {|
|
|
26345
|
+
[k: string]: any,
|
|
26346
|
+
|};
|
|
26347
|
+
}
|
|
26348
|
+
|
|
26349
|
+
/**
|
|
26350
|
+
* Properties of a ReplTransfer.
|
|
26351
|
+
*/
|
|
26352
|
+
declare type replit$goval$api$IReplTransfer = {|
|
|
26353
|
+
/**
|
|
26354
|
+
* ReplTransfer repl
|
|
26355
|
+
*/
|
|
26356
|
+
repl?: replit$goval$api$repl$Repl | replit$goval$api$repl$IRepl | null,
|
|
26357
|
+
|
|
26358
|
+
/**
|
|
26359
|
+
* ReplTransfer replLimits
|
|
26360
|
+
*/
|
|
26361
|
+
replLimits?:
|
|
26362
|
+
| replit$goval$api$repl$ResourceLimits
|
|
26363
|
+
| replit$goval$api$repl$IResourceLimits
|
|
26364
|
+
| null,
|
|
26365
|
+
|
|
26366
|
+
/**
|
|
26367
|
+
* ReplTransfer userLimits
|
|
26368
|
+
*/
|
|
26369
|
+
userLimits?:
|
|
26370
|
+
| replit$goval$api$repl$ResourceLimits
|
|
26371
|
+
| replit$goval$api$repl$IResourceLimits
|
|
26372
|
+
| null,
|
|
26373
|
+
|
|
26374
|
+
/**
|
|
26375
|
+
* ReplTransfer customDomains
|
|
26376
|
+
*/
|
|
26377
|
+
customDomains?: string[] | null,
|
|
26378
|
+
|
|
26379
|
+
/**
|
|
26380
|
+
* ReplTransfer certificates
|
|
26381
|
+
*/
|
|
26382
|
+
certificates?:
|
|
26383
|
+
| (replit$goval$api$TLSCertificate | replit$goval$api$ITLSCertificate)[]
|
|
26384
|
+
| null,
|
|
26385
|
+
|
|
26386
|
+
/**
|
|
26387
|
+
* ReplTransfer flags
|
|
26388
|
+
*/
|
|
26389
|
+
flags?: string[] | null,
|
|
26390
|
+
|};
|
|
26391
|
+
|
|
26392
|
+
/**
|
|
26393
|
+
* Represents a ReplTransfer.
|
|
26394
|
+
*/
|
|
26395
|
+
declare class replit$goval$api$ReplTransfer {
|
|
26396
|
+
/**
|
|
26397
|
+
* Constructs a new ReplTransfer.
|
|
26398
|
+
* @param [properties] Properties to set
|
|
26399
|
+
*/
|
|
26400
|
+
constructor(properties?: replit$goval$api$IReplTransfer): this;
|
|
26401
|
+
|
|
26402
|
+
/**
|
|
26403
|
+
* ReplTransfer repl.
|
|
26404
|
+
*/
|
|
26405
|
+
repl?: replit$goval$api$repl$Repl | null;
|
|
26406
|
+
|
|
26407
|
+
/**
|
|
26408
|
+
* ReplTransfer replLimits.
|
|
26409
|
+
*/
|
|
26410
|
+
replLimits?: replit$goval$api$repl$ResourceLimits | null;
|
|
26411
|
+
|
|
26412
|
+
/**
|
|
26413
|
+
* ReplTransfer userLimits.
|
|
26414
|
+
*/
|
|
26415
|
+
userLimits?: replit$goval$api$repl$ResourceLimits | null;
|
|
26416
|
+
|
|
26417
|
+
/**
|
|
26418
|
+
* ReplTransfer customDomains.
|
|
26419
|
+
*/
|
|
26420
|
+
customDomains: string[];
|
|
26421
|
+
|
|
26422
|
+
/**
|
|
26423
|
+
* ReplTransfer certificates.
|
|
26069
26424
|
*/
|
|
26070
|
-
|
|
26425
|
+
certificates: replit$goval$api$TLSCertificate[];
|
|
26071
26426
|
|
|
26072
26427
|
/**
|
|
26073
|
-
*
|
|
26428
|
+
* ReplTransfer flags.
|
|
26074
26429
|
*/
|
|
26075
|
-
|
|
26430
|
+
flags: string[];
|
|
26076
26431
|
|
|
26077
26432
|
/**
|
|
26078
|
-
* Creates a new
|
|
26433
|
+
* Creates a new ReplTransfer instance using the specified properties.
|
|
26079
26434
|
* @param [properties] Properties to set
|
|
26080
|
-
* @returns
|
|
26435
|
+
* @returns ReplTransfer instance
|
|
26081
26436
|
*/
|
|
26082
26437
|
static create(
|
|
26083
|
-
properties?: replit$goval$api$
|
|
26084
|
-
): replit$goval$api$
|
|
26438
|
+
properties?: replit$goval$api$IReplTransfer
|
|
26439
|
+
): replit$goval$api$ReplTransfer;
|
|
26085
26440
|
|
|
26086
26441
|
/**
|
|
26087
26442
|
* [object Object],[object Object],[object Object]
|
|
26088
|
-
* @param message
|
|
26443
|
+
* @param message ReplTransfer message or plain object to encode
|
|
26089
26444
|
* @param [writer] Writer to encode to
|
|
26090
26445
|
* @returns Writer
|
|
26091
26446
|
*/
|
|
26092
26447
|
static encode(
|
|
26093
|
-
message: replit$goval$api$
|
|
26448
|
+
message: replit$goval$api$ReplTransfer,
|
|
26094
26449
|
writer?: $protobuf.Writer
|
|
26095
26450
|
): $protobuf.Writer;
|
|
26096
26451
|
|
|
26097
26452
|
/**
|
|
26098
26453
|
* [object Object],[object Object],[object Object]
|
|
26099
|
-
* @param message
|
|
26454
|
+
* @param message ReplTransfer message or plain object to encode
|
|
26100
26455
|
* @param [writer] Writer to encode to
|
|
26101
26456
|
* @returns Writer
|
|
26102
26457
|
*/
|
|
26103
26458
|
static encodeDelimited(
|
|
26104
|
-
message: replit$goval$api$
|
|
26459
|
+
message: replit$goval$api$ReplTransfer,
|
|
26105
26460
|
writer?: $protobuf.Writer
|
|
26106
26461
|
): $protobuf.Writer;
|
|
26107
26462
|
|
|
26108
26463
|
/**
|
|
26109
|
-
* Decodes a
|
|
26464
|
+
* Decodes a ReplTransfer message from the specified reader or buffer.
|
|
26110
26465
|
* @param reader Reader or buffer to decode from
|
|
26111
26466
|
* @param [length] Message length if known beforehand
|
|
26112
|
-
* @returns
|
|
26467
|
+
* @returns ReplTransfer
|
|
26113
26468
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26114
26469
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26115
26470
|
*/
|
|
26116
26471
|
static decode(
|
|
26117
26472
|
reader: $protobuf.Reader | Uint8Array,
|
|
26118
26473
|
length?: number
|
|
26119
|
-
): replit$goval$api$
|
|
26474
|
+
): replit$goval$api$ReplTransfer;
|
|
26120
26475
|
|
|
26121
26476
|
/**
|
|
26122
|
-
* Decodes a
|
|
26477
|
+
* Decodes a ReplTransfer message from the specified reader or buffer, length delimited.
|
|
26123
26478
|
* @param reader Reader or buffer to decode from
|
|
26124
|
-
* @returns
|
|
26479
|
+
* @returns ReplTransfer
|
|
26125
26480
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26126
26481
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26127
26482
|
*/
|
|
26128
26483
|
static decodeDelimited(
|
|
26129
26484
|
reader: $protobuf.Reader | Uint8Array
|
|
26130
|
-
): replit$goval$api$
|
|
26485
|
+
): replit$goval$api$ReplTransfer;
|
|
26131
26486
|
|
|
26132
26487
|
/**
|
|
26133
|
-
* Verifies a
|
|
26488
|
+
* Verifies a ReplTransfer message.
|
|
26134
26489
|
* @param message Plain object to verify
|
|
26135
26490
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
26136
26491
|
*/
|
|
@@ -26139,146 +26494,121 @@ declare class replit$goval$api$ReplToken {
|
|
|
26139
26494
|
|}): string | null;
|
|
26140
26495
|
|
|
26141
26496
|
/**
|
|
26142
|
-
* Creates a
|
|
26497
|
+
* Creates a ReplTransfer message from a plain object. Also converts values to their respective internal types.
|
|
26143
26498
|
* @param object Plain object
|
|
26144
|
-
* @returns
|
|
26499
|
+
* @returns ReplTransfer
|
|
26145
26500
|
*/
|
|
26146
26501
|
static fromObject(object: {|
|
|
26147
26502
|
[k: string]: any,
|
|
26148
|
-
|}): replit$goval$api$
|
|
26503
|
+
|}): replit$goval$api$ReplTransfer;
|
|
26149
26504
|
|
|
26150
26505
|
/**
|
|
26151
|
-
* Creates a plain object from a
|
|
26152
|
-
* @param message
|
|
26506
|
+
* Creates a plain object from a ReplTransfer message. Also converts values to other types if specified.
|
|
26507
|
+
* @param message ReplTransfer
|
|
26153
26508
|
* @param [options] Conversion options
|
|
26154
26509
|
* @returns Plain object
|
|
26155
26510
|
*/
|
|
26156
26511
|
static toObject(
|
|
26157
|
-
message: replit$goval$api$
|
|
26512
|
+
message: replit$goval$api$ReplTransfer,
|
|
26158
26513
|
options?: $protobuf.IConversionOptions
|
|
26159
26514
|
): {|
|
|
26160
26515
|
[k: string]: any,
|
|
26161
26516
|
|};
|
|
26162
26517
|
|
|
26163
26518
|
/**
|
|
26164
|
-
* Converts this
|
|
26519
|
+
* Converts this ReplTransfer to JSON.
|
|
26165
26520
|
* @returns JSON object
|
|
26166
26521
|
*/
|
|
26167
26522
|
toJSON(): {|
|
|
26168
26523
|
[k: string]: any,
|
|
26169
26524
|
|};
|
|
26170
|
-
static Persistence: typeof replit$goval$api$ReplToken$Persistence;
|
|
26171
|
-
static WireFormat: typeof replit$goval$api$ReplToken$WireFormat;
|
|
26172
|
-
static IClassroomMetadata: Class<replit$goval$api$ReplToken$IClassroomMetadata>;
|
|
26173
|
-
static IReplID: Class<replit$goval$api$ReplToken$IReplID>;
|
|
26174
|
-
static IPresenced: Class<replit$goval$api$ReplToken$IPresenced>;
|
|
26175
|
-
static ClassroomMetadata: typeof replit$goval$api$ReplToken$ClassroomMetadata;
|
|
26176
|
-
static ReplID: typeof replit$goval$api$ReplToken$ReplID;
|
|
26177
|
-
static Presenced: typeof replit$goval$api$ReplToken$Presenced;
|
|
26178
26525
|
}
|
|
26179
26526
|
|
|
26180
26527
|
/**
|
|
26181
|
-
*
|
|
26182
|
-
*/
|
|
26183
|
-
|
|
26184
|
-
declare var replit$goval$api$ReplToken$Persistence: {|
|
|
26185
|
-
+PERSISTENT: 0, // 0
|
|
26186
|
-
+EPHEMERAL: 1, // 1
|
|
26187
|
-
+NONE: 2, // 2
|
|
26188
|
-
|};
|
|
26189
|
-
|
|
26190
|
-
/**
|
|
26191
|
-
* Properties of a ClassroomMetadata.
|
|
26528
|
+
* Properties of an AllowReplRequest.
|
|
26192
26529
|
*/
|
|
26193
|
-
declare type replit$goval$api$
|
|
26194
|
-
/**
|
|
26195
|
-
* ClassroomMetadata id
|
|
26196
|
-
*/
|
|
26197
|
-
id?: string | null,
|
|
26198
|
-
|
|
26530
|
+
declare type replit$goval$api$IAllowReplRequest = {|
|
|
26199
26531
|
/**
|
|
26200
|
-
*
|
|
26532
|
+
* AllowReplRequest replTransfer
|
|
26201
26533
|
*/
|
|
26202
|
-
|
|
26534
|
+
replTransfer?:
|
|
26535
|
+
| replit$goval$api$ReplTransfer
|
|
26536
|
+
| replit$goval$api$IReplTransfer
|
|
26537
|
+
| null,
|
|
26203
26538
|
|};
|
|
26204
26539
|
|
|
26205
26540
|
/**
|
|
26206
|
-
* Represents
|
|
26541
|
+
* Represents an AllowReplRequest.
|
|
26207
26542
|
*/
|
|
26208
|
-
declare class replit$goval$api$
|
|
26543
|
+
declare class replit$goval$api$AllowReplRequest {
|
|
26209
26544
|
/**
|
|
26210
|
-
* Constructs a new
|
|
26545
|
+
* Constructs a new AllowReplRequest.
|
|
26211
26546
|
* @param [properties] Properties to set
|
|
26212
26547
|
*/
|
|
26213
|
-
constructor(properties?: replit$goval$api$
|
|
26214
|
-
|
|
26215
|
-
/**
|
|
26216
|
-
* ClassroomMetadata id.
|
|
26217
|
-
*/
|
|
26218
|
-
id: string;
|
|
26548
|
+
constructor(properties?: replit$goval$api$IAllowReplRequest): this;
|
|
26219
26549
|
|
|
26220
26550
|
/**
|
|
26221
|
-
*
|
|
26551
|
+
* AllowReplRequest replTransfer.
|
|
26222
26552
|
*/
|
|
26223
|
-
|
|
26553
|
+
replTransfer?: replit$goval$api$ReplTransfer | null;
|
|
26224
26554
|
|
|
26225
26555
|
/**
|
|
26226
|
-
* Creates a new
|
|
26556
|
+
* Creates a new AllowReplRequest instance using the specified properties.
|
|
26227
26557
|
* @param [properties] Properties to set
|
|
26228
|
-
* @returns
|
|
26558
|
+
* @returns AllowReplRequest instance
|
|
26229
26559
|
*/
|
|
26230
26560
|
static create(
|
|
26231
|
-
properties?: replit$goval$api$
|
|
26232
|
-
): replit$goval$api$
|
|
26561
|
+
properties?: replit$goval$api$IAllowReplRequest
|
|
26562
|
+
): replit$goval$api$AllowReplRequest;
|
|
26233
26563
|
|
|
26234
26564
|
/**
|
|
26235
26565
|
* [object Object],[object Object],[object Object]
|
|
26236
|
-
* @param message
|
|
26566
|
+
* @param message AllowReplRequest message or plain object to encode
|
|
26237
26567
|
* @param [writer] Writer to encode to
|
|
26238
26568
|
* @returns Writer
|
|
26239
26569
|
*/
|
|
26240
26570
|
static encode(
|
|
26241
|
-
message: replit$goval$api$
|
|
26571
|
+
message: replit$goval$api$AllowReplRequest,
|
|
26242
26572
|
writer?: $protobuf.Writer
|
|
26243
26573
|
): $protobuf.Writer;
|
|
26244
26574
|
|
|
26245
26575
|
/**
|
|
26246
26576
|
* [object Object],[object Object],[object Object]
|
|
26247
|
-
* @param message
|
|
26577
|
+
* @param message AllowReplRequest message or plain object to encode
|
|
26248
26578
|
* @param [writer] Writer to encode to
|
|
26249
26579
|
* @returns Writer
|
|
26250
26580
|
*/
|
|
26251
26581
|
static encodeDelimited(
|
|
26252
|
-
message: replit$goval$api$
|
|
26582
|
+
message: replit$goval$api$AllowReplRequest,
|
|
26253
26583
|
writer?: $protobuf.Writer
|
|
26254
26584
|
): $protobuf.Writer;
|
|
26255
26585
|
|
|
26256
26586
|
/**
|
|
26257
|
-
* Decodes
|
|
26587
|
+
* Decodes an AllowReplRequest message from the specified reader or buffer.
|
|
26258
26588
|
* @param reader Reader or buffer to decode from
|
|
26259
26589
|
* @param [length] Message length if known beforehand
|
|
26260
|
-
* @returns
|
|
26590
|
+
* @returns AllowReplRequest
|
|
26261
26591
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26262
26592
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26263
26593
|
*/
|
|
26264
26594
|
static decode(
|
|
26265
26595
|
reader: $protobuf.Reader | Uint8Array,
|
|
26266
26596
|
length?: number
|
|
26267
|
-
): replit$goval$api$
|
|
26597
|
+
): replit$goval$api$AllowReplRequest;
|
|
26268
26598
|
|
|
26269
26599
|
/**
|
|
26270
|
-
* Decodes
|
|
26600
|
+
* Decodes an AllowReplRequest message from the specified reader or buffer, length delimited.
|
|
26271
26601
|
* @param reader Reader or buffer to decode from
|
|
26272
|
-
* @returns
|
|
26602
|
+
* @returns AllowReplRequest
|
|
26273
26603
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26274
26604
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26275
26605
|
*/
|
|
26276
26606
|
static decodeDelimited(
|
|
26277
26607
|
reader: $protobuf.Reader | Uint8Array
|
|
26278
|
-
): replit$goval$api$
|
|
26608
|
+
): replit$goval$api$AllowReplRequest;
|
|
26279
26609
|
|
|
26280
26610
|
/**
|
|
26281
|
-
* Verifies
|
|
26611
|
+
* Verifies an AllowReplRequest message.
|
|
26282
26612
|
* @param message Plain object to verify
|
|
26283
26613
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
26284
26614
|
*/
|
|
@@ -26287,29 +26617,29 @@ declare class replit$goval$api$ReplToken$ClassroomMetadata {
|
|
|
26287
26617
|
|}): string | null;
|
|
26288
26618
|
|
|
26289
26619
|
/**
|
|
26290
|
-
* Creates
|
|
26620
|
+
* Creates an AllowReplRequest message from a plain object. Also converts values to their respective internal types.
|
|
26291
26621
|
* @param object Plain object
|
|
26292
|
-
* @returns
|
|
26622
|
+
* @returns AllowReplRequest
|
|
26293
26623
|
*/
|
|
26294
26624
|
static fromObject(object: {|
|
|
26295
26625
|
[k: string]: any,
|
|
26296
|
-
|}): replit$goval$api$
|
|
26626
|
+
|}): replit$goval$api$AllowReplRequest;
|
|
26297
26627
|
|
|
26298
26628
|
/**
|
|
26299
|
-
* Creates a plain object from
|
|
26300
|
-
* @param message
|
|
26629
|
+
* Creates a plain object from an AllowReplRequest message. Also converts values to other types if specified.
|
|
26630
|
+
* @param message AllowReplRequest
|
|
26301
26631
|
* @param [options] Conversion options
|
|
26302
26632
|
* @returns Plain object
|
|
26303
26633
|
*/
|
|
26304
26634
|
static toObject(
|
|
26305
|
-
message: replit$goval$api$
|
|
26635
|
+
message: replit$goval$api$AllowReplRequest,
|
|
26306
26636
|
options?: $protobuf.IConversionOptions
|
|
26307
26637
|
): {|
|
|
26308
26638
|
[k: string]: any,
|
|
26309
26639
|
|};
|
|
26310
26640
|
|
|
26311
26641
|
/**
|
|
26312
|
-
* Converts this
|
|
26642
|
+
* Converts this AllowReplRequest to JSON.
|
|
26313
26643
|
* @returns JSON object
|
|
26314
26644
|
*/
|
|
26315
26645
|
toJSON(): {|
|
|
@@ -26318,97 +26648,117 @@ declare class replit$goval$api$ReplToken$ClassroomMetadata {
|
|
|
26318
26648
|
}
|
|
26319
26649
|
|
|
26320
26650
|
/**
|
|
26321
|
-
* Properties of a
|
|
26651
|
+
* Properties of a ClusterMetadata.
|
|
26322
26652
|
*/
|
|
26323
|
-
declare type replit$goval$api$
|
|
26653
|
+
declare type replit$goval$api$IClusterMetadata = {|
|
|
26324
26654
|
/**
|
|
26325
|
-
*
|
|
26655
|
+
* ClusterMetadata id
|
|
26326
26656
|
*/
|
|
26327
26657
|
id?: string | null,
|
|
26328
26658
|
|
|
26329
26659
|
/**
|
|
26330
|
-
*
|
|
26660
|
+
* ClusterMetadata conmanURL
|
|
26331
26661
|
*/
|
|
26332
|
-
|
|
26662
|
+
conmanURL?: string | null,
|
|
26663
|
+
|
|
26664
|
+
/**
|
|
26665
|
+
* ClusterMetadata gurl
|
|
26666
|
+
*/
|
|
26667
|
+
gurl?: string | null,
|
|
26668
|
+
|
|
26669
|
+
/**
|
|
26670
|
+
* ClusterMetadata proxy
|
|
26671
|
+
*/
|
|
26672
|
+
proxy?: string | null,
|
|
26333
26673
|
|};
|
|
26334
26674
|
|
|
26335
26675
|
/**
|
|
26336
|
-
* Represents a
|
|
26676
|
+
* Represents a ClusterMetadata.
|
|
26337
26677
|
*/
|
|
26338
|
-
declare class replit$goval$api$
|
|
26678
|
+
declare class replit$goval$api$ClusterMetadata {
|
|
26339
26679
|
/**
|
|
26340
|
-
* Constructs a new
|
|
26680
|
+
* Constructs a new ClusterMetadata.
|
|
26341
26681
|
* @param [properties] Properties to set
|
|
26342
26682
|
*/
|
|
26343
|
-
constructor(properties?: replit$goval$api$
|
|
26683
|
+
constructor(properties?: replit$goval$api$IClusterMetadata): this;
|
|
26344
26684
|
|
|
26345
26685
|
/**
|
|
26346
|
-
*
|
|
26686
|
+
* ClusterMetadata id.
|
|
26347
26687
|
*/
|
|
26348
26688
|
id: string;
|
|
26349
26689
|
|
|
26350
26690
|
/**
|
|
26351
|
-
*
|
|
26691
|
+
* ClusterMetadata conmanURL.
|
|
26352
26692
|
*/
|
|
26353
|
-
|
|
26693
|
+
conmanURL: string;
|
|
26354
26694
|
|
|
26355
26695
|
/**
|
|
26356
|
-
*
|
|
26696
|
+
* ClusterMetadata gurl.
|
|
26697
|
+
*/
|
|
26698
|
+
gurl: string;
|
|
26699
|
+
|
|
26700
|
+
/**
|
|
26701
|
+
* ClusterMetadata proxy.
|
|
26702
|
+
*/
|
|
26703
|
+
proxy: string;
|
|
26704
|
+
|
|
26705
|
+
/**
|
|
26706
|
+
* Creates a new ClusterMetadata instance using the specified properties.
|
|
26357
26707
|
* @param [properties] Properties to set
|
|
26358
|
-
* @returns
|
|
26708
|
+
* @returns ClusterMetadata instance
|
|
26359
26709
|
*/
|
|
26360
26710
|
static create(
|
|
26361
|
-
properties?: replit$goval$api$
|
|
26362
|
-
): replit$goval$api$
|
|
26711
|
+
properties?: replit$goval$api$IClusterMetadata
|
|
26712
|
+
): replit$goval$api$ClusterMetadata;
|
|
26363
26713
|
|
|
26364
26714
|
/**
|
|
26365
26715
|
* [object Object],[object Object],[object Object]
|
|
26366
|
-
* @param message
|
|
26716
|
+
* @param message ClusterMetadata message or plain object to encode
|
|
26367
26717
|
* @param [writer] Writer to encode to
|
|
26368
26718
|
* @returns Writer
|
|
26369
26719
|
*/
|
|
26370
26720
|
static encode(
|
|
26371
|
-
message: replit$goval$api$
|
|
26721
|
+
message: replit$goval$api$ClusterMetadata,
|
|
26372
26722
|
writer?: $protobuf.Writer
|
|
26373
26723
|
): $protobuf.Writer;
|
|
26374
26724
|
|
|
26375
26725
|
/**
|
|
26376
26726
|
* [object Object],[object Object],[object Object]
|
|
26377
|
-
* @param message
|
|
26727
|
+
* @param message ClusterMetadata message or plain object to encode
|
|
26378
26728
|
* @param [writer] Writer to encode to
|
|
26379
26729
|
* @returns Writer
|
|
26380
26730
|
*/
|
|
26381
26731
|
static encodeDelimited(
|
|
26382
|
-
message: replit$goval$api$
|
|
26732
|
+
message: replit$goval$api$ClusterMetadata,
|
|
26383
26733
|
writer?: $protobuf.Writer
|
|
26384
26734
|
): $protobuf.Writer;
|
|
26385
26735
|
|
|
26386
26736
|
/**
|
|
26387
|
-
* Decodes a
|
|
26737
|
+
* Decodes a ClusterMetadata message from the specified reader or buffer.
|
|
26388
26738
|
* @param reader Reader or buffer to decode from
|
|
26389
26739
|
* @param [length] Message length if known beforehand
|
|
26390
|
-
* @returns
|
|
26740
|
+
* @returns ClusterMetadata
|
|
26391
26741
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26392
26742
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26393
26743
|
*/
|
|
26394
26744
|
static decode(
|
|
26395
26745
|
reader: $protobuf.Reader | Uint8Array,
|
|
26396
26746
|
length?: number
|
|
26397
|
-
): replit$goval$api$
|
|
26747
|
+
): replit$goval$api$ClusterMetadata;
|
|
26398
26748
|
|
|
26399
26749
|
/**
|
|
26400
|
-
* Decodes a
|
|
26750
|
+
* Decodes a ClusterMetadata message from the specified reader or buffer, length delimited.
|
|
26401
26751
|
* @param reader Reader or buffer to decode from
|
|
26402
|
-
* @returns
|
|
26752
|
+
* @returns ClusterMetadata
|
|
26403
26753
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26404
26754
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26405
26755
|
*/
|
|
26406
26756
|
static decodeDelimited(
|
|
26407
26757
|
reader: $protobuf.Reader | Uint8Array
|
|
26408
|
-
): replit$goval$api$
|
|
26758
|
+
): replit$goval$api$ClusterMetadata;
|
|
26409
26759
|
|
|
26410
26760
|
/**
|
|
26411
|
-
* Verifies a
|
|
26761
|
+
* Verifies a ClusterMetadata message.
|
|
26412
26762
|
* @param message Plain object to verify
|
|
26413
26763
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
26414
26764
|
*/
|
|
@@ -26417,29 +26767,29 @@ declare class replit$goval$api$ReplToken$ReplID {
|
|
|
26417
26767
|
|}): string | null;
|
|
26418
26768
|
|
|
26419
26769
|
/**
|
|
26420
|
-
* Creates a
|
|
26770
|
+
* Creates a ClusterMetadata message from a plain object. Also converts values to their respective internal types.
|
|
26421
26771
|
* @param object Plain object
|
|
26422
|
-
* @returns
|
|
26772
|
+
* @returns ClusterMetadata
|
|
26423
26773
|
*/
|
|
26424
26774
|
static fromObject(object: {|
|
|
26425
26775
|
[k: string]: any,
|
|
26426
|
-
|}): replit$goval$api$
|
|
26776
|
+
|}): replit$goval$api$ClusterMetadata;
|
|
26427
26777
|
|
|
26428
26778
|
/**
|
|
26429
|
-
* Creates a plain object from a
|
|
26430
|
-
* @param message
|
|
26779
|
+
* Creates a plain object from a ClusterMetadata message. Also converts values to other types if specified.
|
|
26780
|
+
* @param message ClusterMetadata
|
|
26431
26781
|
* @param [options] Conversion options
|
|
26432
26782
|
* @returns Plain object
|
|
26433
26783
|
*/
|
|
26434
26784
|
static toObject(
|
|
26435
|
-
message: replit$goval$api$
|
|
26785
|
+
message: replit$goval$api$ClusterMetadata,
|
|
26436
26786
|
options?: $protobuf.IConversionOptions
|
|
26437
26787
|
): {|
|
|
26438
26788
|
[k: string]: any,
|
|
26439
26789
|
|};
|
|
26440
26790
|
|
|
26441
26791
|
/**
|
|
26442
|
-
* Converts this
|
|
26792
|
+
* Converts this ClusterMetadata to JSON.
|
|
26443
26793
|
* @returns JSON object
|
|
26444
26794
|
*/
|
|
26445
26795
|
toJSON(): {|
|
|
@@ -26448,106 +26798,120 @@ declare class replit$goval$api$ReplToken$ReplID {
|
|
|
26448
26798
|
}
|
|
26449
26799
|
|
|
26450
26800
|
/**
|
|
26451
|
-
*
|
|
26801
|
+
* Properties of an EvictReplRequest.
|
|
26452
26802
|
*/
|
|
26803
|
+
declare type replit$goval$api$IEvictReplRequest = {|
|
|
26804
|
+
/**
|
|
26805
|
+
* EvictReplRequest clusterMetadata
|
|
26806
|
+
*/
|
|
26807
|
+
clusterMetadata?:
|
|
26808
|
+
| replit$goval$api$ClusterMetadata
|
|
26809
|
+
| replit$goval$api$IClusterMetadata
|
|
26810
|
+
| null,
|
|
26453
26811
|
|
|
26454
|
-
|
|
26455
|
-
|
|
26456
|
-
|
|
26812
|
+
/**
|
|
26813
|
+
* EvictReplRequest token
|
|
26814
|
+
*/
|
|
26815
|
+
token?: string | null,
|
|
26816
|
+
|
|
26817
|
+
/**
|
|
26818
|
+
* EvictReplRequest user
|
|
26819
|
+
*/
|
|
26820
|
+
user?: string | null,
|
|
26821
|
+
|
|
26822
|
+
/**
|
|
26823
|
+
* EvictReplRequest slug
|
|
26824
|
+
*/
|
|
26825
|
+
slug?: string | null,
|
|
26457
26826
|
|};
|
|
26458
26827
|
|
|
26459
26828
|
/**
|
|
26460
|
-
*
|
|
26829
|
+
* Represents an EvictReplRequest.
|
|
26461
26830
|
*/
|
|
26462
|
-
declare
|
|
26831
|
+
declare class replit$goval$api$EvictReplRequest {
|
|
26463
26832
|
/**
|
|
26464
|
-
*
|
|
26833
|
+
* Constructs a new EvictReplRequest.
|
|
26834
|
+
* @param [properties] Properties to set
|
|
26465
26835
|
*/
|
|
26466
|
-
|
|
26836
|
+
constructor(properties?: replit$goval$api$IEvictReplRequest): this;
|
|
26467
26837
|
|
|
26468
26838
|
/**
|
|
26469
|
-
*
|
|
26839
|
+
* EvictReplRequest clusterMetadata.
|
|
26470
26840
|
*/
|
|
26471
|
-
|
|
26472
|
-
|};
|
|
26841
|
+
clusterMetadata?: replit$goval$api$ClusterMetadata | null;
|
|
26473
26842
|
|
|
26474
|
-
/**
|
|
26475
|
-
* Represents a Presenced.
|
|
26476
|
-
*/
|
|
26477
|
-
declare class replit$goval$api$ReplToken$Presenced {
|
|
26478
26843
|
/**
|
|
26479
|
-
*
|
|
26480
|
-
* @param [properties] Properties to set
|
|
26844
|
+
* EvictReplRequest token.
|
|
26481
26845
|
*/
|
|
26482
|
-
|
|
26846
|
+
token: string;
|
|
26483
26847
|
|
|
26484
26848
|
/**
|
|
26485
|
-
*
|
|
26849
|
+
* EvictReplRequest user.
|
|
26486
26850
|
*/
|
|
26487
|
-
|
|
26851
|
+
user: string;
|
|
26488
26852
|
|
|
26489
26853
|
/**
|
|
26490
|
-
*
|
|
26854
|
+
* EvictReplRequest slug.
|
|
26491
26855
|
*/
|
|
26492
|
-
|
|
26856
|
+
slug: string;
|
|
26493
26857
|
|
|
26494
26858
|
/**
|
|
26495
|
-
* Creates a new
|
|
26859
|
+
* Creates a new EvictReplRequest instance using the specified properties.
|
|
26496
26860
|
* @param [properties] Properties to set
|
|
26497
|
-
* @returns
|
|
26861
|
+
* @returns EvictReplRequest instance
|
|
26498
26862
|
*/
|
|
26499
26863
|
static create(
|
|
26500
|
-
properties?: replit$goval$api$
|
|
26501
|
-
): replit$goval$api$
|
|
26864
|
+
properties?: replit$goval$api$IEvictReplRequest
|
|
26865
|
+
): replit$goval$api$EvictReplRequest;
|
|
26502
26866
|
|
|
26503
26867
|
/**
|
|
26504
26868
|
* [object Object],[object Object],[object Object]
|
|
26505
|
-
* @param message
|
|
26869
|
+
* @param message EvictReplRequest message or plain object to encode
|
|
26506
26870
|
* @param [writer] Writer to encode to
|
|
26507
26871
|
* @returns Writer
|
|
26508
26872
|
*/
|
|
26509
26873
|
static encode(
|
|
26510
|
-
message: replit$goval$api$
|
|
26874
|
+
message: replit$goval$api$EvictReplRequest,
|
|
26511
26875
|
writer?: $protobuf.Writer
|
|
26512
26876
|
): $protobuf.Writer;
|
|
26513
26877
|
|
|
26514
26878
|
/**
|
|
26515
26879
|
* [object Object],[object Object],[object Object]
|
|
26516
|
-
* @param message
|
|
26880
|
+
* @param message EvictReplRequest message or plain object to encode
|
|
26517
26881
|
* @param [writer] Writer to encode to
|
|
26518
26882
|
* @returns Writer
|
|
26519
26883
|
*/
|
|
26520
26884
|
static encodeDelimited(
|
|
26521
|
-
message: replit$goval$api$
|
|
26885
|
+
message: replit$goval$api$EvictReplRequest,
|
|
26522
26886
|
writer?: $protobuf.Writer
|
|
26523
26887
|
): $protobuf.Writer;
|
|
26524
26888
|
|
|
26525
26889
|
/**
|
|
26526
|
-
* Decodes
|
|
26890
|
+
* Decodes an EvictReplRequest message from the specified reader or buffer.
|
|
26527
26891
|
* @param reader Reader or buffer to decode from
|
|
26528
26892
|
* @param [length] Message length if known beforehand
|
|
26529
|
-
* @returns
|
|
26893
|
+
* @returns EvictReplRequest
|
|
26530
26894
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26531
26895
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26532
26896
|
*/
|
|
26533
26897
|
static decode(
|
|
26534
26898
|
reader: $protobuf.Reader | Uint8Array,
|
|
26535
26899
|
length?: number
|
|
26536
|
-
): replit$goval$api$
|
|
26900
|
+
): replit$goval$api$EvictReplRequest;
|
|
26537
26901
|
|
|
26538
26902
|
/**
|
|
26539
|
-
* Decodes
|
|
26903
|
+
* Decodes an EvictReplRequest message from the specified reader or buffer, length delimited.
|
|
26540
26904
|
* @param reader Reader or buffer to decode from
|
|
26541
|
-
* @returns
|
|
26905
|
+
* @returns EvictReplRequest
|
|
26542
26906
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26543
26907
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26544
26908
|
*/
|
|
26545
26909
|
static decodeDelimited(
|
|
26546
26910
|
reader: $protobuf.Reader | Uint8Array
|
|
26547
|
-
): replit$goval$api$
|
|
26911
|
+
): replit$goval$api$EvictReplRequest;
|
|
26548
26912
|
|
|
26549
26913
|
/**
|
|
26550
|
-
* Verifies
|
|
26914
|
+
* Verifies an EvictReplRequest message.
|
|
26551
26915
|
* @param message Plain object to verify
|
|
26552
26916
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
26553
26917
|
*/
|
|
@@ -26556,29 +26920,29 @@ declare class replit$goval$api$ReplToken$Presenced {
|
|
|
26556
26920
|
|}): string | null;
|
|
26557
26921
|
|
|
26558
26922
|
/**
|
|
26559
|
-
* Creates
|
|
26923
|
+
* Creates an EvictReplRequest message from a plain object. Also converts values to their respective internal types.
|
|
26560
26924
|
* @param object Plain object
|
|
26561
|
-
* @returns
|
|
26925
|
+
* @returns EvictReplRequest
|
|
26562
26926
|
*/
|
|
26563
26927
|
static fromObject(object: {|
|
|
26564
26928
|
[k: string]: any,
|
|
26565
|
-
|}): replit$goval$api$
|
|
26929
|
+
|}): replit$goval$api$EvictReplRequest;
|
|
26566
26930
|
|
|
26567
26931
|
/**
|
|
26568
|
-
* Creates a plain object from
|
|
26569
|
-
* @param message
|
|
26932
|
+
* Creates a plain object from an EvictReplRequest message. Also converts values to other types if specified.
|
|
26933
|
+
* @param message EvictReplRequest
|
|
26570
26934
|
* @param [options] Conversion options
|
|
26571
26935
|
* @returns Plain object
|
|
26572
26936
|
*/
|
|
26573
26937
|
static toObject(
|
|
26574
|
-
message: replit$goval$api$
|
|
26938
|
+
message: replit$goval$api$EvictReplRequest,
|
|
26575
26939
|
options?: $protobuf.IConversionOptions
|
|
26576
26940
|
): {|
|
|
26577
26941
|
[k: string]: any,
|
|
26578
26942
|
|};
|
|
26579
26943
|
|
|
26580
26944
|
/**
|
|
26581
|
-
* Converts this
|
|
26945
|
+
* Converts this EvictReplRequest to JSON.
|
|
26582
26946
|
* @returns JSON object
|
|
26583
26947
|
*/
|
|
26584
26948
|
toJSON(): {|
|
|
@@ -26587,97 +26951,90 @@ declare class replit$goval$api$ReplToken$Presenced {
|
|
|
26587
26951
|
}
|
|
26588
26952
|
|
|
26589
26953
|
/**
|
|
26590
|
-
* Properties of
|
|
26954
|
+
* Properties of an EvictReplResponse.
|
|
26591
26955
|
*/
|
|
26592
|
-
declare type replit$goval$api$
|
|
26593
|
-
/**
|
|
26594
|
-
* TLSCertificate domain
|
|
26595
|
-
*/
|
|
26596
|
-
domain?: string | null,
|
|
26597
|
-
|
|
26956
|
+
declare type replit$goval$api$IEvictReplResponse = {|
|
|
26598
26957
|
/**
|
|
26599
|
-
*
|
|
26958
|
+
* EvictReplResponse replTransfer
|
|
26600
26959
|
*/
|
|
26601
|
-
|
|
26960
|
+
replTransfer?:
|
|
26961
|
+
| replit$goval$api$ReplTransfer
|
|
26962
|
+
| replit$goval$api$IReplTransfer
|
|
26963
|
+
| null,
|
|
26602
26964
|
|};
|
|
26603
26965
|
|
|
26604
26966
|
/**
|
|
26605
|
-
* Represents
|
|
26967
|
+
* Represents an EvictReplResponse.
|
|
26606
26968
|
*/
|
|
26607
|
-
declare class replit$goval$api$
|
|
26969
|
+
declare class replit$goval$api$EvictReplResponse {
|
|
26608
26970
|
/**
|
|
26609
|
-
* Constructs a new
|
|
26971
|
+
* Constructs a new EvictReplResponse.
|
|
26610
26972
|
* @param [properties] Properties to set
|
|
26611
26973
|
*/
|
|
26612
|
-
constructor(properties?: replit$goval$api$
|
|
26613
|
-
|
|
26614
|
-
/**
|
|
26615
|
-
* TLSCertificate domain.
|
|
26616
|
-
*/
|
|
26617
|
-
domain: string;
|
|
26974
|
+
constructor(properties?: replit$goval$api$IEvictReplResponse): this;
|
|
26618
26975
|
|
|
26619
26976
|
/**
|
|
26620
|
-
*
|
|
26977
|
+
* EvictReplResponse replTransfer.
|
|
26621
26978
|
*/
|
|
26622
|
-
|
|
26979
|
+
replTransfer?: replit$goval$api$ReplTransfer | null;
|
|
26623
26980
|
|
|
26624
26981
|
/**
|
|
26625
|
-
* Creates a new
|
|
26982
|
+
* Creates a new EvictReplResponse instance using the specified properties.
|
|
26626
26983
|
* @param [properties] Properties to set
|
|
26627
|
-
* @returns
|
|
26984
|
+
* @returns EvictReplResponse instance
|
|
26628
26985
|
*/
|
|
26629
26986
|
static create(
|
|
26630
|
-
properties?: replit$goval$api$
|
|
26631
|
-
): replit$goval$api$
|
|
26987
|
+
properties?: replit$goval$api$IEvictReplResponse
|
|
26988
|
+
): replit$goval$api$EvictReplResponse;
|
|
26632
26989
|
|
|
26633
26990
|
/**
|
|
26634
26991
|
* [object Object],[object Object],[object Object]
|
|
26635
|
-
* @param message
|
|
26992
|
+
* @param message EvictReplResponse message or plain object to encode
|
|
26636
26993
|
* @param [writer] Writer to encode to
|
|
26637
26994
|
* @returns Writer
|
|
26638
26995
|
*/
|
|
26639
26996
|
static encode(
|
|
26640
|
-
message: replit$goval$api$
|
|
26997
|
+
message: replit$goval$api$EvictReplResponse,
|
|
26641
26998
|
writer?: $protobuf.Writer
|
|
26642
26999
|
): $protobuf.Writer;
|
|
26643
27000
|
|
|
26644
27001
|
/**
|
|
26645
27002
|
* [object Object],[object Object],[object Object]
|
|
26646
|
-
* @param message
|
|
27003
|
+
* @param message EvictReplResponse message or plain object to encode
|
|
26647
27004
|
* @param [writer] Writer to encode to
|
|
26648
27005
|
* @returns Writer
|
|
26649
27006
|
*/
|
|
26650
27007
|
static encodeDelimited(
|
|
26651
|
-
message: replit$goval$api$
|
|
27008
|
+
message: replit$goval$api$EvictReplResponse,
|
|
26652
27009
|
writer?: $protobuf.Writer
|
|
26653
27010
|
): $protobuf.Writer;
|
|
26654
27011
|
|
|
26655
27012
|
/**
|
|
26656
|
-
* Decodes
|
|
27013
|
+
* Decodes an EvictReplResponse message from the specified reader or buffer.
|
|
26657
27014
|
* @param reader Reader or buffer to decode from
|
|
26658
27015
|
* @param [length] Message length if known beforehand
|
|
26659
|
-
* @returns
|
|
27016
|
+
* @returns EvictReplResponse
|
|
26660
27017
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26661
27018
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26662
27019
|
*/
|
|
26663
27020
|
static decode(
|
|
26664
27021
|
reader: $protobuf.Reader | Uint8Array,
|
|
26665
27022
|
length?: number
|
|
26666
|
-
): replit$goval$api$
|
|
27023
|
+
): replit$goval$api$EvictReplResponse;
|
|
26667
27024
|
|
|
26668
27025
|
/**
|
|
26669
|
-
* Decodes
|
|
27026
|
+
* Decodes an EvictReplResponse message from the specified reader or buffer, length delimited.
|
|
26670
27027
|
* @param reader Reader or buffer to decode from
|
|
26671
|
-
* @returns
|
|
27028
|
+
* @returns EvictReplResponse
|
|
26672
27029
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26673
27030
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26674
27031
|
*/
|
|
26675
27032
|
static decodeDelimited(
|
|
26676
27033
|
reader: $protobuf.Reader | Uint8Array
|
|
26677
|
-
): replit$goval$api$
|
|
27034
|
+
): replit$goval$api$EvictReplResponse;
|
|
26678
27035
|
|
|
26679
27036
|
/**
|
|
26680
|
-
* Verifies
|
|
27037
|
+
* Verifies an EvictReplResponse message.
|
|
26681
27038
|
* @param message Plain object to verify
|
|
26682
27039
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
26683
27040
|
*/
|
|
@@ -26686,29 +27043,29 @@ declare class replit$goval$api$TLSCertificate {
|
|
|
26686
27043
|
|}): string | null;
|
|
26687
27044
|
|
|
26688
27045
|
/**
|
|
26689
|
-
* Creates
|
|
27046
|
+
* Creates an EvictReplResponse message from a plain object. Also converts values to their respective internal types.
|
|
26690
27047
|
* @param object Plain object
|
|
26691
|
-
* @returns
|
|
27048
|
+
* @returns EvictReplResponse
|
|
26692
27049
|
*/
|
|
26693
27050
|
static fromObject(object: {|
|
|
26694
27051
|
[k: string]: any,
|
|
26695
|
-
|}): replit$goval$api$
|
|
27052
|
+
|}): replit$goval$api$EvictReplResponse;
|
|
26696
27053
|
|
|
26697
27054
|
/**
|
|
26698
|
-
* Creates a plain object from
|
|
26699
|
-
* @param message
|
|
27055
|
+
* Creates a plain object from an EvictReplResponse message. Also converts values to other types if specified.
|
|
27056
|
+
* @param message EvictReplResponse
|
|
26700
27057
|
* @param [options] Conversion options
|
|
26701
27058
|
* @returns Plain object
|
|
26702
27059
|
*/
|
|
26703
27060
|
static toObject(
|
|
26704
|
-
message: replit$goval$api$
|
|
27061
|
+
message: replit$goval$api$EvictReplResponse,
|
|
26705
27062
|
options?: $protobuf.IConversionOptions
|
|
26706
27063
|
): {|
|
|
26707
27064
|
[k: string]: any,
|
|
26708
27065
|
|};
|
|
26709
27066
|
|
|
26710
27067
|
/**
|
|
26711
|
-
* Converts this
|
|
27068
|
+
* Converts this EvictReplResponse to JSON.
|
|
26712
27069
|
* @returns JSON object
|
|
26713
27070
|
*/
|
|
26714
27071
|
toJSON(): {|
|
|
@@ -26717,145 +27074,131 @@ declare class replit$goval$api$TLSCertificate {
|
|
|
26717
27074
|
}
|
|
26718
27075
|
|
|
26719
27076
|
/**
|
|
26720
|
-
*
|
|
27077
|
+
* TokenVersion enum.
|
|
26721
27078
|
*/
|
|
26722
|
-
declare type replit$goval$api$IReplTransfer = {|
|
|
26723
|
-
/**
|
|
26724
|
-
* ReplTransfer repl
|
|
26725
|
-
*/
|
|
26726
|
-
repl?: replit$goval$api$Repl | replit$goval$api$IRepl | null,
|
|
26727
27079
|
|
|
26728
|
-
|
|
26729
|
-
|
|
26730
|
-
|
|
26731
|
-
|
|
26732
|
-
| replit$goval$api$ResourceLimits
|
|
26733
|
-
| replit$goval$api$IResourceLimits
|
|
26734
|
-
| null,
|
|
27080
|
+
declare var replit$goval$api$TokenVersion: {|
|
|
27081
|
+
+BARE_REPL_TOKEN: 0, // 0
|
|
27082
|
+
+TYPE_AWARE_TOKEN: 1, // 1
|
|
27083
|
+
|};
|
|
26735
27084
|
|
|
27085
|
+
/**
|
|
27086
|
+
* Properties of a GovalSigningAuthority.
|
|
27087
|
+
*/
|
|
27088
|
+
declare type replit$goval$api$IGovalSigningAuthority = {|
|
|
26736
27089
|
/**
|
|
26737
|
-
*
|
|
27090
|
+
* GovalSigningAuthority keyId
|
|
26738
27091
|
*/
|
|
26739
|
-
|
|
26740
|
-
| replit$goval$api$ResourceLimits
|
|
26741
|
-
| replit$goval$api$IResourceLimits
|
|
26742
|
-
| null,
|
|
27092
|
+
keyId?: string | null,
|
|
26743
27093
|
|
|
26744
27094
|
/**
|
|
26745
|
-
*
|
|
27095
|
+
* GovalSigningAuthority signedCert
|
|
26746
27096
|
*/
|
|
26747
|
-
|
|
27097
|
+
signedCert?: string | null,
|
|
26748
27098
|
|
|
26749
27099
|
/**
|
|
26750
|
-
*
|
|
27100
|
+
* GovalSigningAuthority version
|
|
26751
27101
|
*/
|
|
26752
|
-
|
|
26753
|
-
| (replit$goval$api$TLSCertificate | replit$goval$api$ITLSCertificate)[]
|
|
26754
|
-
| null,
|
|
27102
|
+
version?: $Values<typeof replit$goval$api$TokenVersion> | null,
|
|
26755
27103
|
|
|
26756
27104
|
/**
|
|
26757
|
-
*
|
|
27105
|
+
* GovalSigningAuthority issuer
|
|
26758
27106
|
*/
|
|
26759
|
-
|
|
27107
|
+
issuer?: string | null,
|
|
26760
27108
|
|};
|
|
26761
27109
|
|
|
26762
27110
|
/**
|
|
26763
|
-
* Represents a
|
|
27111
|
+
* Represents a GovalSigningAuthority.
|
|
26764
27112
|
*/
|
|
26765
|
-
declare class replit$goval$api$
|
|
27113
|
+
declare class replit$goval$api$GovalSigningAuthority {
|
|
26766
27114
|
/**
|
|
26767
|
-
* Constructs a new
|
|
27115
|
+
* Constructs a new GovalSigningAuthority.
|
|
26768
27116
|
* @param [properties] Properties to set
|
|
26769
27117
|
*/
|
|
26770
|
-
constructor(properties?: replit$goval$api$
|
|
26771
|
-
|
|
26772
|
-
/**
|
|
26773
|
-
* ReplTransfer repl.
|
|
26774
|
-
*/
|
|
26775
|
-
repl?: replit$goval$api$Repl | null;
|
|
27118
|
+
constructor(properties?: replit$goval$api$IGovalSigningAuthority): this;
|
|
26776
27119
|
|
|
26777
27120
|
/**
|
|
26778
|
-
*
|
|
27121
|
+
* GovalSigningAuthority keyId.
|
|
26779
27122
|
*/
|
|
26780
|
-
|
|
27123
|
+
keyId?: string | null;
|
|
26781
27124
|
|
|
26782
27125
|
/**
|
|
26783
|
-
*
|
|
27126
|
+
* GovalSigningAuthority signedCert.
|
|
26784
27127
|
*/
|
|
26785
|
-
|
|
27128
|
+
signedCert?: string | null;
|
|
26786
27129
|
|
|
26787
27130
|
/**
|
|
26788
|
-
*
|
|
27131
|
+
* GovalSigningAuthority version.
|
|
26789
27132
|
*/
|
|
26790
|
-
|
|
27133
|
+
version: $Values<typeof replit$goval$api$TokenVersion>;
|
|
26791
27134
|
|
|
26792
27135
|
/**
|
|
26793
|
-
*
|
|
27136
|
+
* GovalSigningAuthority issuer.
|
|
26794
27137
|
*/
|
|
26795
|
-
|
|
27138
|
+
issuer: string;
|
|
26796
27139
|
|
|
26797
27140
|
/**
|
|
26798
|
-
*
|
|
27141
|
+
* GovalSigningAuthority cert.
|
|
26799
27142
|
*/
|
|
26800
|
-
|
|
27143
|
+
cert?: "keyId" | "signedCert";
|
|
26801
27144
|
|
|
26802
27145
|
/**
|
|
26803
|
-
* Creates a new
|
|
27146
|
+
* Creates a new GovalSigningAuthority instance using the specified properties.
|
|
26804
27147
|
* @param [properties] Properties to set
|
|
26805
|
-
* @returns
|
|
27148
|
+
* @returns GovalSigningAuthority instance
|
|
26806
27149
|
*/
|
|
26807
27150
|
static create(
|
|
26808
|
-
properties?: replit$goval$api$
|
|
26809
|
-
): replit$goval$api$
|
|
27151
|
+
properties?: replit$goval$api$IGovalSigningAuthority
|
|
27152
|
+
): replit$goval$api$GovalSigningAuthority;
|
|
26810
27153
|
|
|
26811
27154
|
/**
|
|
26812
27155
|
* [object Object],[object Object],[object Object]
|
|
26813
|
-
* @param message
|
|
27156
|
+
* @param message GovalSigningAuthority message or plain object to encode
|
|
26814
27157
|
* @param [writer] Writer to encode to
|
|
26815
27158
|
* @returns Writer
|
|
26816
27159
|
*/
|
|
26817
27160
|
static encode(
|
|
26818
|
-
message: replit$goval$api$
|
|
27161
|
+
message: replit$goval$api$GovalSigningAuthority,
|
|
26819
27162
|
writer?: $protobuf.Writer
|
|
26820
27163
|
): $protobuf.Writer;
|
|
26821
27164
|
|
|
26822
27165
|
/**
|
|
26823
27166
|
* [object Object],[object Object],[object Object]
|
|
26824
|
-
* @param message
|
|
27167
|
+
* @param message GovalSigningAuthority message or plain object to encode
|
|
26825
27168
|
* @param [writer] Writer to encode to
|
|
26826
27169
|
* @returns Writer
|
|
26827
27170
|
*/
|
|
26828
27171
|
static encodeDelimited(
|
|
26829
|
-
message: replit$goval$api$
|
|
27172
|
+
message: replit$goval$api$GovalSigningAuthority,
|
|
26830
27173
|
writer?: $protobuf.Writer
|
|
26831
27174
|
): $protobuf.Writer;
|
|
26832
27175
|
|
|
26833
27176
|
/**
|
|
26834
|
-
* Decodes a
|
|
27177
|
+
* Decodes a GovalSigningAuthority message from the specified reader or buffer.
|
|
26835
27178
|
* @param reader Reader or buffer to decode from
|
|
26836
27179
|
* @param [length] Message length if known beforehand
|
|
26837
|
-
* @returns
|
|
27180
|
+
* @returns GovalSigningAuthority
|
|
26838
27181
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26839
27182
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26840
27183
|
*/
|
|
26841
27184
|
static decode(
|
|
26842
27185
|
reader: $protobuf.Reader | Uint8Array,
|
|
26843
27186
|
length?: number
|
|
26844
|
-
): replit$goval$api$
|
|
27187
|
+
): replit$goval$api$GovalSigningAuthority;
|
|
26845
27188
|
|
|
26846
27189
|
/**
|
|
26847
|
-
* Decodes a
|
|
27190
|
+
* Decodes a GovalSigningAuthority message from the specified reader or buffer, length delimited.
|
|
26848
27191
|
* @param reader Reader or buffer to decode from
|
|
26849
|
-
* @returns
|
|
27192
|
+
* @returns GovalSigningAuthority
|
|
26850
27193
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26851
27194
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26852
27195
|
*/
|
|
26853
27196
|
static decodeDelimited(
|
|
26854
27197
|
reader: $protobuf.Reader | Uint8Array
|
|
26855
|
-
): replit$goval$api$
|
|
27198
|
+
): replit$goval$api$GovalSigningAuthority;
|
|
26856
27199
|
|
|
26857
27200
|
/**
|
|
26858
|
-
* Verifies a
|
|
27201
|
+
* Verifies a GovalSigningAuthority message.
|
|
26859
27202
|
* @param message Plain object to verify
|
|
26860
27203
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
26861
27204
|
*/
|
|
@@ -26864,29 +27207,29 @@ declare class replit$goval$api$ReplTransfer {
|
|
|
26864
27207
|
|}): string | null;
|
|
26865
27208
|
|
|
26866
27209
|
/**
|
|
26867
|
-
* Creates a
|
|
27210
|
+
* Creates a GovalSigningAuthority message from a plain object. Also converts values to their respective internal types.
|
|
26868
27211
|
* @param object Plain object
|
|
26869
|
-
* @returns
|
|
27212
|
+
* @returns GovalSigningAuthority
|
|
26870
27213
|
*/
|
|
26871
27214
|
static fromObject(object: {|
|
|
26872
27215
|
[k: string]: any,
|
|
26873
|
-
|}): replit$goval$api$
|
|
27216
|
+
|}): replit$goval$api$GovalSigningAuthority;
|
|
26874
27217
|
|
|
26875
27218
|
/**
|
|
26876
|
-
* Creates a plain object from a
|
|
26877
|
-
* @param message
|
|
27219
|
+
* Creates a plain object from a GovalSigningAuthority message. Also converts values to other types if specified.
|
|
27220
|
+
* @param message GovalSigningAuthority
|
|
26878
27221
|
* @param [options] Conversion options
|
|
26879
27222
|
* @returns Plain object
|
|
26880
27223
|
*/
|
|
26881
27224
|
static toObject(
|
|
26882
|
-
message: replit$goval$api$
|
|
27225
|
+
message: replit$goval$api$GovalSigningAuthority,
|
|
26883
27226
|
options?: $protobuf.IConversionOptions
|
|
26884
27227
|
): {|
|
|
26885
27228
|
[k: string]: any,
|
|
26886
27229
|
|};
|
|
26887
27230
|
|
|
26888
27231
|
/**
|
|
26889
|
-
* Converts this
|
|
27232
|
+
* Converts this GovalSigningAuthority to JSON.
|
|
26890
27233
|
* @returns JSON object
|
|
26891
27234
|
*/
|
|
26892
27235
|
toJSON(): {|
|
|
@@ -26895,90 +27238,136 @@ declare class replit$goval$api$ReplTransfer {
|
|
|
26895
27238
|
}
|
|
26896
27239
|
|
|
26897
27240
|
/**
|
|
26898
|
-
*
|
|
27241
|
+
* FlagClaim enum.
|
|
26899
27242
|
*/
|
|
26900
|
-
|
|
27243
|
+
|
|
27244
|
+
declare var replit$goval$api$FlagClaim: {|
|
|
27245
|
+
+MINT_GOVAL_TOKEN: 0, // 0
|
|
27246
|
+
+SIGN_INTERMEDIATE_CERT: 1, // 1
|
|
27247
|
+
+IDENTITY: 5, // 5
|
|
27248
|
+
+GHOSTWRITER: 6, // 6
|
|
27249
|
+
+ANY_REPLID: 2, // 2
|
|
27250
|
+
+ANY_USER: 3, // 3
|
|
27251
|
+
+ANY_CLUSTER: 4, // 4
|
|
27252
|
+
|};
|
|
27253
|
+
|
|
27254
|
+
/**
|
|
27255
|
+
* Properties of a CertificateClaim.
|
|
27256
|
+
*/
|
|
27257
|
+
declare type replit$goval$api$ICertificateClaim = {|
|
|
26901
27258
|
/**
|
|
26902
|
-
*
|
|
27259
|
+
* CertificateClaim replid
|
|
26903
27260
|
*/
|
|
26904
|
-
|
|
26905
|
-
|
|
26906
|
-
|
|
26907
|
-
|
|
27261
|
+
replid?: string | null,
|
|
27262
|
+
|
|
27263
|
+
/**
|
|
27264
|
+
* CertificateClaim user
|
|
27265
|
+
*/
|
|
27266
|
+
user?: string | null,
|
|
27267
|
+
|
|
27268
|
+
/**
|
|
27269
|
+
* CertificateClaim cluster
|
|
27270
|
+
*/
|
|
27271
|
+
cluster?: string | null,
|
|
27272
|
+
|
|
27273
|
+
/**
|
|
27274
|
+
* CertificateClaim flag
|
|
27275
|
+
*/
|
|
27276
|
+
flag?: $Values<typeof replit$goval$api$FlagClaim> | null,
|
|
26908
27277
|
|};
|
|
26909
27278
|
|
|
26910
27279
|
/**
|
|
26911
|
-
* Represents
|
|
27280
|
+
* Represents a CertificateClaim.
|
|
26912
27281
|
*/
|
|
26913
|
-
declare class replit$goval$api$
|
|
27282
|
+
declare class replit$goval$api$CertificateClaim {
|
|
26914
27283
|
/**
|
|
26915
|
-
* Constructs a new
|
|
27284
|
+
* Constructs a new CertificateClaim.
|
|
26916
27285
|
* @param [properties] Properties to set
|
|
26917
27286
|
*/
|
|
26918
|
-
constructor(properties?: replit$goval$api$
|
|
27287
|
+
constructor(properties?: replit$goval$api$ICertificateClaim): this;
|
|
26919
27288
|
|
|
26920
27289
|
/**
|
|
26921
|
-
*
|
|
27290
|
+
* CertificateClaim replid.
|
|
26922
27291
|
*/
|
|
26923
|
-
|
|
27292
|
+
replid?: string | null;
|
|
26924
27293
|
|
|
26925
27294
|
/**
|
|
26926
|
-
*
|
|
27295
|
+
* CertificateClaim user.
|
|
27296
|
+
*/
|
|
27297
|
+
user?: string | null;
|
|
27298
|
+
|
|
27299
|
+
/**
|
|
27300
|
+
* CertificateClaim cluster.
|
|
27301
|
+
*/
|
|
27302
|
+
cluster?: string | null;
|
|
27303
|
+
|
|
27304
|
+
/**
|
|
27305
|
+
* CertificateClaim flag.
|
|
27306
|
+
*/
|
|
27307
|
+
flag?: $Values<typeof replit$goval$api$FlagClaim> | null;
|
|
27308
|
+
|
|
27309
|
+
/**
|
|
27310
|
+
* CertificateClaim claim.
|
|
27311
|
+
*/
|
|
27312
|
+
claim?: "replid" | "user" | "cluster" | "flag";
|
|
27313
|
+
|
|
27314
|
+
/**
|
|
27315
|
+
* Creates a new CertificateClaim instance using the specified properties.
|
|
26927
27316
|
* @param [properties] Properties to set
|
|
26928
|
-
* @returns
|
|
27317
|
+
* @returns CertificateClaim instance
|
|
26929
27318
|
*/
|
|
26930
27319
|
static create(
|
|
26931
|
-
properties?: replit$goval$api$
|
|
26932
|
-
): replit$goval$api$
|
|
27320
|
+
properties?: replit$goval$api$ICertificateClaim
|
|
27321
|
+
): replit$goval$api$CertificateClaim;
|
|
26933
27322
|
|
|
26934
27323
|
/**
|
|
26935
27324
|
* [object Object],[object Object],[object Object]
|
|
26936
|
-
* @param message
|
|
27325
|
+
* @param message CertificateClaim message or plain object to encode
|
|
26937
27326
|
* @param [writer] Writer to encode to
|
|
26938
27327
|
* @returns Writer
|
|
26939
27328
|
*/
|
|
26940
27329
|
static encode(
|
|
26941
|
-
message: replit$goval$api$
|
|
27330
|
+
message: replit$goval$api$CertificateClaim,
|
|
26942
27331
|
writer?: $protobuf.Writer
|
|
26943
27332
|
): $protobuf.Writer;
|
|
26944
27333
|
|
|
26945
27334
|
/**
|
|
26946
27335
|
* [object Object],[object Object],[object Object]
|
|
26947
|
-
* @param message
|
|
27336
|
+
* @param message CertificateClaim message or plain object to encode
|
|
26948
27337
|
* @param [writer] Writer to encode to
|
|
26949
27338
|
* @returns Writer
|
|
26950
27339
|
*/
|
|
26951
27340
|
static encodeDelimited(
|
|
26952
|
-
message: replit$goval$api$
|
|
27341
|
+
message: replit$goval$api$CertificateClaim,
|
|
26953
27342
|
writer?: $protobuf.Writer
|
|
26954
27343
|
): $protobuf.Writer;
|
|
26955
27344
|
|
|
26956
27345
|
/**
|
|
26957
|
-
* Decodes
|
|
27346
|
+
* Decodes a CertificateClaim message from the specified reader or buffer.
|
|
26958
27347
|
* @param reader Reader or buffer to decode from
|
|
26959
27348
|
* @param [length] Message length if known beforehand
|
|
26960
|
-
* @returns
|
|
27349
|
+
* @returns CertificateClaim
|
|
26961
27350
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26962
27351
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26963
27352
|
*/
|
|
26964
27353
|
static decode(
|
|
26965
27354
|
reader: $protobuf.Reader | Uint8Array,
|
|
26966
27355
|
length?: number
|
|
26967
|
-
): replit$goval$api$
|
|
27356
|
+
): replit$goval$api$CertificateClaim;
|
|
26968
27357
|
|
|
26969
27358
|
/**
|
|
26970
|
-
* Decodes
|
|
27359
|
+
* Decodes a CertificateClaim message from the specified reader or buffer, length delimited.
|
|
26971
27360
|
* @param reader Reader or buffer to decode from
|
|
26972
|
-
* @returns
|
|
27361
|
+
* @returns CertificateClaim
|
|
26973
27362
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26974
27363
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26975
27364
|
*/
|
|
26976
27365
|
static decodeDelimited(
|
|
26977
27366
|
reader: $protobuf.Reader | Uint8Array
|
|
26978
|
-
): replit$goval$api$
|
|
27367
|
+
): replit$goval$api$CertificateClaim;
|
|
26979
27368
|
|
|
26980
27369
|
/**
|
|
26981
|
-
* Verifies
|
|
27370
|
+
* Verifies a CertificateClaim message.
|
|
26982
27371
|
* @param message Plain object to verify
|
|
26983
27372
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
26984
27373
|
*/
|
|
@@ -26987,29 +27376,29 @@ declare class replit$goval$api$AllowReplRequest {
|
|
|
26987
27376
|
|}): string | null;
|
|
26988
27377
|
|
|
26989
27378
|
/**
|
|
26990
|
-
* Creates
|
|
27379
|
+
* Creates a CertificateClaim message from a plain object. Also converts values to their respective internal types.
|
|
26991
27380
|
* @param object Plain object
|
|
26992
|
-
* @returns
|
|
27381
|
+
* @returns CertificateClaim
|
|
26993
27382
|
*/
|
|
26994
27383
|
static fromObject(object: {|
|
|
26995
27384
|
[k: string]: any,
|
|
26996
|
-
|}): replit$goval$api$
|
|
27385
|
+
|}): replit$goval$api$CertificateClaim;
|
|
26997
27386
|
|
|
26998
27387
|
/**
|
|
26999
|
-
* Creates a plain object from
|
|
27000
|
-
* @param message
|
|
27388
|
+
* Creates a plain object from a CertificateClaim message. Also converts values to other types if specified.
|
|
27389
|
+
* @param message CertificateClaim
|
|
27001
27390
|
* @param [options] Conversion options
|
|
27002
27391
|
* @returns Plain object
|
|
27003
27392
|
*/
|
|
27004
27393
|
static toObject(
|
|
27005
|
-
message: replit$goval$api$
|
|
27394
|
+
message: replit$goval$api$CertificateClaim,
|
|
27006
27395
|
options?: $protobuf.IConversionOptions
|
|
27007
27396
|
): {|
|
|
27008
27397
|
[k: string]: any,
|
|
27009
27398
|
|};
|
|
27010
27399
|
|
|
27011
27400
|
/**
|
|
27012
|
-
* Converts this
|
|
27401
|
+
* Converts this CertificateClaim to JSON.
|
|
27013
27402
|
* @returns JSON object
|
|
27014
27403
|
*/
|
|
27015
27404
|
toJSON(): {|
|
|
@@ -27018,117 +27407,119 @@ declare class replit$goval$api$AllowReplRequest {
|
|
|
27018
27407
|
}
|
|
27019
27408
|
|
|
27020
27409
|
/**
|
|
27021
|
-
* Properties of a
|
|
27410
|
+
* Properties of a GovalCert.
|
|
27022
27411
|
*/
|
|
27023
|
-
declare type replit$goval$api$
|
|
27412
|
+
declare type replit$goval$api$IGovalCert = {|
|
|
27024
27413
|
/**
|
|
27025
|
-
*
|
|
27414
|
+
* GovalCert iat
|
|
27026
27415
|
*/
|
|
27027
|
-
|
|
27416
|
+
iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
27028
27417
|
|
|
27029
27418
|
/**
|
|
27030
|
-
*
|
|
27419
|
+
* GovalCert exp
|
|
27031
27420
|
*/
|
|
27032
|
-
|
|
27421
|
+
exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
27033
27422
|
|
|
27034
27423
|
/**
|
|
27035
|
-
*
|
|
27424
|
+
* GovalCert claims
|
|
27036
27425
|
*/
|
|
27037
|
-
|
|
27426
|
+
claims?:
|
|
27427
|
+
| (replit$goval$api$CertificateClaim | replit$goval$api$ICertificateClaim)[]
|
|
27428
|
+
| null,
|
|
27038
27429
|
|
|
27039
27430
|
/**
|
|
27040
|
-
*
|
|
27431
|
+
* GovalCert publicKey
|
|
27041
27432
|
*/
|
|
27042
|
-
|
|
27433
|
+
publicKey?: string | null,
|
|
27043
27434
|
|};
|
|
27044
27435
|
|
|
27045
27436
|
/**
|
|
27046
|
-
* Represents a
|
|
27437
|
+
* Represents a GovalCert.
|
|
27047
27438
|
*/
|
|
27048
|
-
declare class replit$goval$api$
|
|
27439
|
+
declare class replit$goval$api$GovalCert {
|
|
27049
27440
|
/**
|
|
27050
|
-
* Constructs a new
|
|
27441
|
+
* Constructs a new GovalCert.
|
|
27051
27442
|
* @param [properties] Properties to set
|
|
27052
27443
|
*/
|
|
27053
|
-
constructor(properties?: replit$goval$api$
|
|
27444
|
+
constructor(properties?: replit$goval$api$IGovalCert): this;
|
|
27054
27445
|
|
|
27055
27446
|
/**
|
|
27056
|
-
*
|
|
27447
|
+
* GovalCert iat.
|
|
27057
27448
|
*/
|
|
27058
|
-
|
|
27449
|
+
iat?: google$protobuf$Timestamp | null;
|
|
27059
27450
|
|
|
27060
27451
|
/**
|
|
27061
|
-
*
|
|
27452
|
+
* GovalCert exp.
|
|
27062
27453
|
*/
|
|
27063
|
-
|
|
27454
|
+
exp?: google$protobuf$Timestamp | null;
|
|
27064
27455
|
|
|
27065
27456
|
/**
|
|
27066
|
-
*
|
|
27457
|
+
* GovalCert claims.
|
|
27067
27458
|
*/
|
|
27068
|
-
|
|
27459
|
+
claims: replit$goval$api$CertificateClaim[];
|
|
27069
27460
|
|
|
27070
27461
|
/**
|
|
27071
|
-
*
|
|
27462
|
+
* GovalCert publicKey.
|
|
27072
27463
|
*/
|
|
27073
|
-
|
|
27464
|
+
publicKey: string;
|
|
27074
27465
|
|
|
27075
27466
|
/**
|
|
27076
|
-
* Creates a new
|
|
27467
|
+
* Creates a new GovalCert instance using the specified properties.
|
|
27077
27468
|
* @param [properties] Properties to set
|
|
27078
|
-
* @returns
|
|
27469
|
+
* @returns GovalCert instance
|
|
27079
27470
|
*/
|
|
27080
27471
|
static create(
|
|
27081
|
-
properties?: replit$goval$api$
|
|
27082
|
-
): replit$goval$api$
|
|
27472
|
+
properties?: replit$goval$api$IGovalCert
|
|
27473
|
+
): replit$goval$api$GovalCert;
|
|
27083
27474
|
|
|
27084
27475
|
/**
|
|
27085
27476
|
* [object Object],[object Object],[object Object]
|
|
27086
|
-
* @param message
|
|
27477
|
+
* @param message GovalCert message or plain object to encode
|
|
27087
27478
|
* @param [writer] Writer to encode to
|
|
27088
27479
|
* @returns Writer
|
|
27089
27480
|
*/
|
|
27090
27481
|
static encode(
|
|
27091
|
-
message: replit$goval$api$
|
|
27482
|
+
message: replit$goval$api$GovalCert,
|
|
27092
27483
|
writer?: $protobuf.Writer
|
|
27093
27484
|
): $protobuf.Writer;
|
|
27094
27485
|
|
|
27095
27486
|
/**
|
|
27096
27487
|
* [object Object],[object Object],[object Object]
|
|
27097
|
-
* @param message
|
|
27488
|
+
* @param message GovalCert message or plain object to encode
|
|
27098
27489
|
* @param [writer] Writer to encode to
|
|
27099
27490
|
* @returns Writer
|
|
27100
27491
|
*/
|
|
27101
27492
|
static encodeDelimited(
|
|
27102
|
-
message: replit$goval$api$
|
|
27493
|
+
message: replit$goval$api$GovalCert,
|
|
27103
27494
|
writer?: $protobuf.Writer
|
|
27104
27495
|
): $protobuf.Writer;
|
|
27105
27496
|
|
|
27106
27497
|
/**
|
|
27107
|
-
* Decodes a
|
|
27498
|
+
* Decodes a GovalCert message from the specified reader or buffer.
|
|
27108
27499
|
* @param reader Reader or buffer to decode from
|
|
27109
27500
|
* @param [length] Message length if known beforehand
|
|
27110
|
-
* @returns
|
|
27501
|
+
* @returns GovalCert
|
|
27111
27502
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27112
27503
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27113
27504
|
*/
|
|
27114
27505
|
static decode(
|
|
27115
27506
|
reader: $protobuf.Reader | Uint8Array,
|
|
27116
27507
|
length?: number
|
|
27117
|
-
): replit$goval$api$
|
|
27508
|
+
): replit$goval$api$GovalCert;
|
|
27118
27509
|
|
|
27119
27510
|
/**
|
|
27120
|
-
* Decodes a
|
|
27511
|
+
* Decodes a GovalCert message from the specified reader or buffer, length delimited.
|
|
27121
27512
|
* @param reader Reader or buffer to decode from
|
|
27122
|
-
* @returns
|
|
27513
|
+
* @returns GovalCert
|
|
27123
27514
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27124
27515
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27125
27516
|
*/
|
|
27126
27517
|
static decodeDelimited(
|
|
27127
27518
|
reader: $protobuf.Reader | Uint8Array
|
|
27128
|
-
): replit$goval$api$
|
|
27519
|
+
): replit$goval$api$GovalCert;
|
|
27129
27520
|
|
|
27130
27521
|
/**
|
|
27131
|
-
* Verifies a
|
|
27522
|
+
* Verifies a GovalCert message.
|
|
27132
27523
|
* @param message Plain object to verify
|
|
27133
27524
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
27134
27525
|
*/
|
|
@@ -27137,29 +27528,29 @@ declare class replit$goval$api$ClusterMetadata {
|
|
|
27137
27528
|
|}): string | null;
|
|
27138
27529
|
|
|
27139
27530
|
/**
|
|
27140
|
-
* Creates a
|
|
27531
|
+
* Creates a GovalCert message from a plain object. Also converts values to their respective internal types.
|
|
27141
27532
|
* @param object Plain object
|
|
27142
|
-
* @returns
|
|
27533
|
+
* @returns GovalCert
|
|
27143
27534
|
*/
|
|
27144
27535
|
static fromObject(object: {|
|
|
27145
27536
|
[k: string]: any,
|
|
27146
|
-
|}): replit$goval$api$
|
|
27537
|
+
|}): replit$goval$api$GovalCert;
|
|
27147
27538
|
|
|
27148
27539
|
/**
|
|
27149
|
-
* Creates a plain object from a
|
|
27150
|
-
* @param message
|
|
27540
|
+
* Creates a plain object from a GovalCert message. Also converts values to other types if specified.
|
|
27541
|
+
* @param message GovalCert
|
|
27151
27542
|
* @param [options] Conversion options
|
|
27152
27543
|
* @returns Plain object
|
|
27153
27544
|
*/
|
|
27154
27545
|
static toObject(
|
|
27155
|
-
message: replit$goval$api$
|
|
27546
|
+
message: replit$goval$api$GovalCert,
|
|
27156
27547
|
options?: $protobuf.IConversionOptions
|
|
27157
27548
|
): {|
|
|
27158
27549
|
[k: string]: any,
|
|
27159
27550
|
|};
|
|
27160
27551
|
|
|
27161
27552
|
/**
|
|
27162
|
-
* Converts this
|
|
27553
|
+
* Converts this GovalCert to JSON.
|
|
27163
27554
|
* @returns JSON object
|
|
27164
27555
|
*/
|
|
27165
27556
|
toJSON(): {|
|
|
@@ -27168,120 +27559,135 @@ declare class replit$goval$api$ClusterMetadata {
|
|
|
27168
27559
|
}
|
|
27169
27560
|
|
|
27170
27561
|
/**
|
|
27171
|
-
* Properties of
|
|
27562
|
+
* Properties of a GovalToken.
|
|
27172
27563
|
*/
|
|
27173
|
-
declare type replit$goval$api$
|
|
27564
|
+
declare type replit$goval$api$IGovalToken = {|
|
|
27174
27565
|
/**
|
|
27175
|
-
*
|
|
27566
|
+
* GovalToken iat
|
|
27176
27567
|
*/
|
|
27177
|
-
|
|
27178
|
-
| replit$goval$api$ClusterMetadata
|
|
27179
|
-
| replit$goval$api$IClusterMetadata
|
|
27180
|
-
| null,
|
|
27568
|
+
iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
27181
27569
|
|
|
27182
27570
|
/**
|
|
27183
|
-
*
|
|
27571
|
+
* GovalToken exp
|
|
27184
27572
|
*/
|
|
27185
|
-
|
|
27573
|
+
exp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
27186
27574
|
|
|
27187
27575
|
/**
|
|
27188
|
-
*
|
|
27576
|
+
* GovalToken replid
|
|
27577
|
+
*/
|
|
27578
|
+
replid?: string | null,
|
|
27579
|
+
|
|
27580
|
+
/**
|
|
27581
|
+
* GovalToken replToken
|
|
27582
|
+
*/
|
|
27583
|
+
replToken?: replit$goval$api$ReplToken | replit$goval$api$IReplToken | null,
|
|
27584
|
+
|
|
27585
|
+
/**
|
|
27586
|
+
* GovalToken replIdentity
|
|
27587
|
+
*/
|
|
27588
|
+
replIdentity?:
|
|
27589
|
+
| replit$goval$api$GovalReplIdentity
|
|
27590
|
+
| replit$goval$api$IGovalReplIdentity
|
|
27591
|
+
| null,
|
|
27592
|
+
|};
|
|
27593
|
+
|
|
27594
|
+
/**
|
|
27595
|
+
* Represents a GovalToken.
|
|
27596
|
+
*/
|
|
27597
|
+
declare class replit$goval$api$GovalToken {
|
|
27598
|
+
/**
|
|
27599
|
+
* Constructs a new GovalToken.
|
|
27600
|
+
* @param [properties] Properties to set
|
|
27189
27601
|
*/
|
|
27190
|
-
|
|
27602
|
+
constructor(properties?: replit$goval$api$IGovalToken): this;
|
|
27191
27603
|
|
|
27192
27604
|
/**
|
|
27193
|
-
*
|
|
27605
|
+
* GovalToken iat.
|
|
27194
27606
|
*/
|
|
27195
|
-
|
|
27196
|
-
|};
|
|
27607
|
+
iat?: google$protobuf$Timestamp | null;
|
|
27197
27608
|
|
|
27198
|
-
/**
|
|
27199
|
-
* Represents an EvictReplRequest.
|
|
27200
|
-
*/
|
|
27201
|
-
declare class replit$goval$api$EvictReplRequest {
|
|
27202
27609
|
/**
|
|
27203
|
-
*
|
|
27204
|
-
* @param [properties] Properties to set
|
|
27610
|
+
* GovalToken exp.
|
|
27205
27611
|
*/
|
|
27206
|
-
|
|
27612
|
+
exp?: google$protobuf$Timestamp | null;
|
|
27207
27613
|
|
|
27208
27614
|
/**
|
|
27209
|
-
*
|
|
27615
|
+
* GovalToken replid.
|
|
27210
27616
|
*/
|
|
27211
|
-
|
|
27617
|
+
replid: string;
|
|
27212
27618
|
|
|
27213
27619
|
/**
|
|
27214
|
-
*
|
|
27620
|
+
* GovalToken replToken.
|
|
27215
27621
|
*/
|
|
27216
|
-
|
|
27622
|
+
replToken?: replit$goval$api$ReplToken | null;
|
|
27217
27623
|
|
|
27218
27624
|
/**
|
|
27219
|
-
*
|
|
27625
|
+
* GovalToken replIdentity.
|
|
27220
27626
|
*/
|
|
27221
|
-
|
|
27627
|
+
replIdentity?: replit$goval$api$GovalReplIdentity | null;
|
|
27222
27628
|
|
|
27223
27629
|
/**
|
|
27224
|
-
*
|
|
27630
|
+
* GovalToken Token.
|
|
27225
27631
|
*/
|
|
27226
|
-
|
|
27632
|
+
Token?: "replToken" | "replIdentity";
|
|
27227
27633
|
|
|
27228
27634
|
/**
|
|
27229
|
-
* Creates a new
|
|
27635
|
+
* Creates a new GovalToken instance using the specified properties.
|
|
27230
27636
|
* @param [properties] Properties to set
|
|
27231
|
-
* @returns
|
|
27637
|
+
* @returns GovalToken instance
|
|
27232
27638
|
*/
|
|
27233
27639
|
static create(
|
|
27234
|
-
properties?: replit$goval$api$
|
|
27235
|
-
): replit$goval$api$
|
|
27640
|
+
properties?: replit$goval$api$IGovalToken
|
|
27641
|
+
): replit$goval$api$GovalToken;
|
|
27236
27642
|
|
|
27237
27643
|
/**
|
|
27238
27644
|
* [object Object],[object Object],[object Object]
|
|
27239
|
-
* @param message
|
|
27645
|
+
* @param message GovalToken message or plain object to encode
|
|
27240
27646
|
* @param [writer] Writer to encode to
|
|
27241
27647
|
* @returns Writer
|
|
27242
27648
|
*/
|
|
27243
27649
|
static encode(
|
|
27244
|
-
message: replit$goval$api$
|
|
27650
|
+
message: replit$goval$api$GovalToken,
|
|
27245
27651
|
writer?: $protobuf.Writer
|
|
27246
27652
|
): $protobuf.Writer;
|
|
27247
27653
|
|
|
27248
27654
|
/**
|
|
27249
27655
|
* [object Object],[object Object],[object Object]
|
|
27250
|
-
* @param message
|
|
27656
|
+
* @param message GovalToken message or plain object to encode
|
|
27251
27657
|
* @param [writer] Writer to encode to
|
|
27252
27658
|
* @returns Writer
|
|
27253
27659
|
*/
|
|
27254
27660
|
static encodeDelimited(
|
|
27255
|
-
message: replit$goval$api$
|
|
27661
|
+
message: replit$goval$api$GovalToken,
|
|
27256
27662
|
writer?: $protobuf.Writer
|
|
27257
27663
|
): $protobuf.Writer;
|
|
27258
27664
|
|
|
27259
27665
|
/**
|
|
27260
|
-
* Decodes
|
|
27666
|
+
* Decodes a GovalToken message from the specified reader or buffer.
|
|
27261
27667
|
* @param reader Reader or buffer to decode from
|
|
27262
27668
|
* @param [length] Message length if known beforehand
|
|
27263
|
-
* @returns
|
|
27669
|
+
* @returns GovalToken
|
|
27264
27670
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27265
27671
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27266
27672
|
*/
|
|
27267
27673
|
static decode(
|
|
27268
27674
|
reader: $protobuf.Reader | Uint8Array,
|
|
27269
27675
|
length?: number
|
|
27270
|
-
): replit$goval$api$
|
|
27676
|
+
): replit$goval$api$GovalToken;
|
|
27271
27677
|
|
|
27272
27678
|
/**
|
|
27273
|
-
* Decodes
|
|
27679
|
+
* Decodes a GovalToken message from the specified reader or buffer, length delimited.
|
|
27274
27680
|
* @param reader Reader or buffer to decode from
|
|
27275
|
-
* @returns
|
|
27681
|
+
* @returns GovalToken
|
|
27276
27682
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27277
27683
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27278
27684
|
*/
|
|
27279
27685
|
static decodeDelimited(
|
|
27280
27686
|
reader: $protobuf.Reader | Uint8Array
|
|
27281
|
-
): replit$goval$api$
|
|
27687
|
+
): replit$goval$api$GovalToken;
|
|
27282
27688
|
|
|
27283
27689
|
/**
|
|
27284
|
-
* Verifies
|
|
27690
|
+
* Verifies a GovalToken message.
|
|
27285
27691
|
* @param message Plain object to verify
|
|
27286
27692
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
27287
27693
|
*/
|
|
@@ -27290,29 +27696,29 @@ declare class replit$goval$api$EvictReplRequest {
|
|
|
27290
27696
|
|}): string | null;
|
|
27291
27697
|
|
|
27292
27698
|
/**
|
|
27293
|
-
* Creates
|
|
27699
|
+
* Creates a GovalToken message from a plain object. Also converts values to their respective internal types.
|
|
27294
27700
|
* @param object Plain object
|
|
27295
|
-
* @returns
|
|
27701
|
+
* @returns GovalToken
|
|
27296
27702
|
*/
|
|
27297
27703
|
static fromObject(object: {|
|
|
27298
27704
|
[k: string]: any,
|
|
27299
|
-
|}): replit$goval$api$
|
|
27705
|
+
|}): replit$goval$api$GovalToken;
|
|
27300
27706
|
|
|
27301
27707
|
/**
|
|
27302
|
-
* Creates a plain object from
|
|
27303
|
-
* @param message
|
|
27708
|
+
* Creates a plain object from a GovalToken message. Also converts values to other types if specified.
|
|
27709
|
+
* @param message GovalToken
|
|
27304
27710
|
* @param [options] Conversion options
|
|
27305
27711
|
* @returns Plain object
|
|
27306
27712
|
*/
|
|
27307
27713
|
static toObject(
|
|
27308
|
-
message: replit$goval$api$
|
|
27714
|
+
message: replit$goval$api$GovalToken,
|
|
27309
27715
|
options?: $protobuf.IConversionOptions
|
|
27310
27716
|
): {|
|
|
27311
27717
|
[k: string]: any,
|
|
27312
27718
|
|};
|
|
27313
27719
|
|
|
27314
27720
|
/**
|
|
27315
|
-
* Converts this
|
|
27721
|
+
* Converts this GovalToken to JSON.
|
|
27316
27722
|
* @returns JSON object
|
|
27317
27723
|
*/
|
|
27318
27724
|
toJSON(): {|
|
|
@@ -27321,90 +27727,137 @@ declare class replit$goval$api$EvictReplRequest {
|
|
|
27321
27727
|
}
|
|
27322
27728
|
|
|
27323
27729
|
/**
|
|
27324
|
-
* Properties of
|
|
27730
|
+
* Properties of a GovalReplIdentity.
|
|
27325
27731
|
*/
|
|
27326
|
-
declare type replit$goval$api$
|
|
27732
|
+
declare type replit$goval$api$IGovalReplIdentity = {|
|
|
27327
27733
|
/**
|
|
27328
|
-
*
|
|
27734
|
+
* GovalReplIdentity replid
|
|
27329
27735
|
*/
|
|
27330
|
-
|
|
27331
|
-
|
|
27332
|
-
|
|
27333
|
-
|
|
27736
|
+
replid?: string | null,
|
|
27737
|
+
|
|
27738
|
+
/**
|
|
27739
|
+
* GovalReplIdentity user
|
|
27740
|
+
*/
|
|
27741
|
+
user?: string | null,
|
|
27742
|
+
|
|
27743
|
+
/**
|
|
27744
|
+
* GovalReplIdentity slug
|
|
27745
|
+
*/
|
|
27746
|
+
slug?: string | null,
|
|
27747
|
+
|
|
27748
|
+
/**
|
|
27749
|
+
* GovalReplIdentity aud
|
|
27750
|
+
*/
|
|
27751
|
+
aud?: string | null,
|
|
27752
|
+
|
|
27753
|
+
/**
|
|
27754
|
+
* GovalReplIdentity ephemeral
|
|
27755
|
+
*/
|
|
27756
|
+
ephemeral?: boolean | null,
|
|
27757
|
+
|
|
27758
|
+
/**
|
|
27759
|
+
* GovalReplIdentity originReplid
|
|
27760
|
+
*/
|
|
27761
|
+
originReplid?: string | null,
|
|
27334
27762
|
|};
|
|
27335
27763
|
|
|
27336
27764
|
/**
|
|
27337
|
-
* Represents
|
|
27765
|
+
* Represents a GovalReplIdentity.
|
|
27338
27766
|
*/
|
|
27339
|
-
declare class replit$goval$api$
|
|
27767
|
+
declare class replit$goval$api$GovalReplIdentity {
|
|
27340
27768
|
/**
|
|
27341
|
-
* Constructs a new
|
|
27769
|
+
* Constructs a new GovalReplIdentity.
|
|
27342
27770
|
* @param [properties] Properties to set
|
|
27343
27771
|
*/
|
|
27344
|
-
constructor(properties?: replit$goval$api$
|
|
27772
|
+
constructor(properties?: replit$goval$api$IGovalReplIdentity): this;
|
|
27345
27773
|
|
|
27346
27774
|
/**
|
|
27347
|
-
*
|
|
27775
|
+
* GovalReplIdentity replid.
|
|
27348
27776
|
*/
|
|
27349
|
-
|
|
27777
|
+
replid: string;
|
|
27350
27778
|
|
|
27351
27779
|
/**
|
|
27352
|
-
*
|
|
27780
|
+
* GovalReplIdentity user.
|
|
27781
|
+
*/
|
|
27782
|
+
user: string;
|
|
27783
|
+
|
|
27784
|
+
/**
|
|
27785
|
+
* GovalReplIdentity slug.
|
|
27786
|
+
*/
|
|
27787
|
+
slug: string;
|
|
27788
|
+
|
|
27789
|
+
/**
|
|
27790
|
+
* GovalReplIdentity aud.
|
|
27791
|
+
*/
|
|
27792
|
+
aud: string;
|
|
27793
|
+
|
|
27794
|
+
/**
|
|
27795
|
+
* GovalReplIdentity ephemeral.
|
|
27796
|
+
*/
|
|
27797
|
+
ephemeral: boolean;
|
|
27798
|
+
|
|
27799
|
+
/**
|
|
27800
|
+
* GovalReplIdentity originReplid.
|
|
27801
|
+
*/
|
|
27802
|
+
originReplid: string;
|
|
27803
|
+
|
|
27804
|
+
/**
|
|
27805
|
+
* Creates a new GovalReplIdentity instance using the specified properties.
|
|
27353
27806
|
* @param [properties] Properties to set
|
|
27354
|
-
* @returns
|
|
27807
|
+
* @returns GovalReplIdentity instance
|
|
27355
27808
|
*/
|
|
27356
27809
|
static create(
|
|
27357
|
-
properties?: replit$goval$api$
|
|
27358
|
-
): replit$goval$api$
|
|
27810
|
+
properties?: replit$goval$api$IGovalReplIdentity
|
|
27811
|
+
): replit$goval$api$GovalReplIdentity;
|
|
27359
27812
|
|
|
27360
27813
|
/**
|
|
27361
27814
|
* [object Object],[object Object],[object Object]
|
|
27362
|
-
* @param message
|
|
27815
|
+
* @param message GovalReplIdentity message or plain object to encode
|
|
27363
27816
|
* @param [writer] Writer to encode to
|
|
27364
27817
|
* @returns Writer
|
|
27365
27818
|
*/
|
|
27366
27819
|
static encode(
|
|
27367
|
-
message: replit$goval$api$
|
|
27820
|
+
message: replit$goval$api$GovalReplIdentity,
|
|
27368
27821
|
writer?: $protobuf.Writer
|
|
27369
27822
|
): $protobuf.Writer;
|
|
27370
27823
|
|
|
27371
27824
|
/**
|
|
27372
27825
|
* [object Object],[object Object],[object Object]
|
|
27373
|
-
* @param message
|
|
27826
|
+
* @param message GovalReplIdentity message or plain object to encode
|
|
27374
27827
|
* @param [writer] Writer to encode to
|
|
27375
27828
|
* @returns Writer
|
|
27376
27829
|
*/
|
|
27377
27830
|
static encodeDelimited(
|
|
27378
|
-
message: replit$goval$api$
|
|
27831
|
+
message: replit$goval$api$GovalReplIdentity,
|
|
27379
27832
|
writer?: $protobuf.Writer
|
|
27380
27833
|
): $protobuf.Writer;
|
|
27381
27834
|
|
|
27382
27835
|
/**
|
|
27383
|
-
* Decodes
|
|
27836
|
+
* Decodes a GovalReplIdentity message from the specified reader or buffer.
|
|
27384
27837
|
* @param reader Reader or buffer to decode from
|
|
27385
27838
|
* @param [length] Message length if known beforehand
|
|
27386
|
-
* @returns
|
|
27839
|
+
* @returns GovalReplIdentity
|
|
27387
27840
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27388
27841
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27389
27842
|
*/
|
|
27390
27843
|
static decode(
|
|
27391
27844
|
reader: $protobuf.Reader | Uint8Array,
|
|
27392
27845
|
length?: number
|
|
27393
|
-
): replit$goval$api$
|
|
27846
|
+
): replit$goval$api$GovalReplIdentity;
|
|
27394
27847
|
|
|
27395
27848
|
/**
|
|
27396
|
-
* Decodes
|
|
27849
|
+
* Decodes a GovalReplIdentity message from the specified reader or buffer, length delimited.
|
|
27397
27850
|
* @param reader Reader or buffer to decode from
|
|
27398
|
-
* @returns
|
|
27851
|
+
* @returns GovalReplIdentity
|
|
27399
27852
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27400
27853
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27401
27854
|
*/
|
|
27402
27855
|
static decodeDelimited(
|
|
27403
27856
|
reader: $protobuf.Reader | Uint8Array
|
|
27404
|
-
): replit$goval$api$
|
|
27857
|
+
): replit$goval$api$GovalReplIdentity;
|
|
27405
27858
|
|
|
27406
27859
|
/**
|
|
27407
|
-
* Verifies
|
|
27860
|
+
* Verifies a GovalReplIdentity message.
|
|
27408
27861
|
* @param message Plain object to verify
|
|
27409
27862
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
27410
27863
|
*/
|
|
@@ -27413,162 +27866,117 @@ declare class replit$goval$api$EvictReplResponse {
|
|
|
27413
27866
|
|}): string | null;
|
|
27414
27867
|
|
|
27415
27868
|
/**
|
|
27416
|
-
* Creates
|
|
27869
|
+
* Creates a GovalReplIdentity message from a plain object. Also converts values to their respective internal types.
|
|
27417
27870
|
* @param object Plain object
|
|
27418
|
-
* @returns
|
|
27871
|
+
* @returns GovalReplIdentity
|
|
27419
27872
|
*/
|
|
27420
27873
|
static fromObject(object: {|
|
|
27421
27874
|
[k: string]: any,
|
|
27422
|
-
|}): replit$goval$api$
|
|
27423
|
-
|
|
27424
|
-
/**
|
|
27425
|
-
* Creates a plain object from an EvictReplResponse message. Also converts values to other types if specified.
|
|
27426
|
-
* @param message EvictReplResponse
|
|
27427
|
-
* @param [options] Conversion options
|
|
27428
|
-
* @returns Plain object
|
|
27429
|
-
*/
|
|
27430
|
-
static toObject(
|
|
27431
|
-
message: replit$goval$api$EvictReplResponse,
|
|
27432
|
-
options?: $protobuf.IConversionOptions
|
|
27433
|
-
): {|
|
|
27434
|
-
[k: string]: any,
|
|
27435
|
-
|};
|
|
27436
|
-
|
|
27437
|
-
/**
|
|
27438
|
-
* Converts this EvictReplResponse to JSON.
|
|
27439
|
-
* @returns JSON object
|
|
27440
|
-
*/
|
|
27441
|
-
toJSON(): {|
|
|
27442
|
-
[k: string]: any,
|
|
27443
|
-
|};
|
|
27444
|
-
}
|
|
27445
|
-
|
|
27446
|
-
/**
|
|
27447
|
-
* TokenVersion enum.
|
|
27448
|
-
*/
|
|
27449
|
-
|
|
27450
|
-
declare var replit$goval$api$TokenVersion: {|
|
|
27451
|
-
+BARE_REPL_TOKEN: 0, // 0
|
|
27452
|
-
+TYPE_AWARE_TOKEN: 1, // 1
|
|
27453
|
-
|};
|
|
27454
|
-
|
|
27455
|
-
/**
|
|
27456
|
-
* Properties of a GovalSigningAuthority.
|
|
27457
|
-
*/
|
|
27458
|
-
declare type replit$goval$api$IGovalSigningAuthority = {|
|
|
27459
|
-
/**
|
|
27460
|
-
* GovalSigningAuthority keyId
|
|
27461
|
-
*/
|
|
27462
|
-
keyId?: string | null,
|
|
27463
|
-
|
|
27464
|
-
/**
|
|
27465
|
-
* GovalSigningAuthority signedCert
|
|
27466
|
-
*/
|
|
27467
|
-
signedCert?: string | null,
|
|
27468
|
-
|
|
27469
|
-
/**
|
|
27470
|
-
* GovalSigningAuthority version
|
|
27471
|
-
*/
|
|
27472
|
-
version?: $Values<typeof replit$goval$api$TokenVersion> | null,
|
|
27473
|
-
|
|
27474
|
-
/**
|
|
27475
|
-
* GovalSigningAuthority issuer
|
|
27476
|
-
*/
|
|
27477
|
-
issuer?: string | null,
|
|
27478
|
-
|};
|
|
27479
|
-
|
|
27480
|
-
/**
|
|
27481
|
-
* Represents a GovalSigningAuthority.
|
|
27482
|
-
*/
|
|
27483
|
-
declare class replit$goval$api$GovalSigningAuthority {
|
|
27484
|
-
/**
|
|
27485
|
-
* Constructs a new GovalSigningAuthority.
|
|
27486
|
-
* @param [properties] Properties to set
|
|
27487
|
-
*/
|
|
27488
|
-
constructor(properties?: replit$goval$api$IGovalSigningAuthority): this;
|
|
27489
|
-
|
|
27490
|
-
/**
|
|
27491
|
-
* GovalSigningAuthority keyId.
|
|
27492
|
-
*/
|
|
27493
|
-
keyId?: string | null;
|
|
27875
|
+
|}): replit$goval$api$GovalReplIdentity;
|
|
27494
27876
|
|
|
27495
27877
|
/**
|
|
27496
|
-
*
|
|
27878
|
+
* Creates a plain object from a GovalReplIdentity message. Also converts values to other types if specified.
|
|
27879
|
+
* @param message GovalReplIdentity
|
|
27880
|
+
* @param [options] Conversion options
|
|
27881
|
+
* @returns Plain object
|
|
27497
27882
|
*/
|
|
27498
|
-
|
|
27883
|
+
static toObject(
|
|
27884
|
+
message: replit$goval$api$GovalReplIdentity,
|
|
27885
|
+
options?: $protobuf.IConversionOptions
|
|
27886
|
+
): {|
|
|
27887
|
+
[k: string]: any,
|
|
27888
|
+
|};
|
|
27499
27889
|
|
|
27500
27890
|
/**
|
|
27501
|
-
*
|
|
27891
|
+
* Converts this GovalReplIdentity to JSON.
|
|
27892
|
+
* @returns JSON object
|
|
27502
27893
|
*/
|
|
27503
|
-
|
|
27894
|
+
toJSON(): {|
|
|
27895
|
+
[k: string]: any,
|
|
27896
|
+
|};
|
|
27897
|
+
}
|
|
27504
27898
|
|
|
27505
|
-
|
|
27506
|
-
|
|
27507
|
-
|
|
27508
|
-
|
|
27899
|
+
declare var npm$namespace$replit$goval$api$features: {|
|
|
27900
|
+
IGpu: Class<replit$goval$api$features$IGpu>,
|
|
27901
|
+
IBoosted: Class<replit$goval$api$features$IBoosted>,
|
|
27902
|
+
IFeature: Class<replit$goval$api$features$IFeature>,
|
|
27903
|
+
Gpu: typeof replit$goval$api$features$Gpu,
|
|
27904
|
+
Boosted: typeof replit$goval$api$features$Boosted,
|
|
27905
|
+
Feature: typeof replit$goval$api$features$Feature,
|
|
27906
|
+
|};
|
|
27509
27907
|
|
|
27908
|
+
/**
|
|
27909
|
+
* Properties of a Gpu.
|
|
27910
|
+
*/
|
|
27911
|
+
declare type replit$goval$api$features$IGpu = {||};
|
|
27912
|
+
|
|
27913
|
+
/**
|
|
27914
|
+
* Represents a Gpu.
|
|
27915
|
+
*/
|
|
27916
|
+
declare class replit$goval$api$features$Gpu {
|
|
27510
27917
|
/**
|
|
27511
|
-
*
|
|
27918
|
+
* Constructs a new Gpu.
|
|
27919
|
+
* @param [properties] Properties to set
|
|
27512
27920
|
*/
|
|
27513
|
-
|
|
27921
|
+
constructor(properties?: replit$goval$api$features$IGpu): this;
|
|
27514
27922
|
|
|
27515
27923
|
/**
|
|
27516
|
-
* Creates a new
|
|
27924
|
+
* Creates a new Gpu instance using the specified properties.
|
|
27517
27925
|
* @param [properties] Properties to set
|
|
27518
|
-
* @returns
|
|
27926
|
+
* @returns Gpu instance
|
|
27519
27927
|
*/
|
|
27520
27928
|
static create(
|
|
27521
|
-
properties?: replit$goval$api$
|
|
27522
|
-
): replit$goval$api$
|
|
27929
|
+
properties?: replit$goval$api$features$IGpu
|
|
27930
|
+
): replit$goval$api$features$Gpu;
|
|
27523
27931
|
|
|
27524
27932
|
/**
|
|
27525
27933
|
* [object Object],[object Object],[object Object]
|
|
27526
|
-
* @param message
|
|
27934
|
+
* @param message Gpu message or plain object to encode
|
|
27527
27935
|
* @param [writer] Writer to encode to
|
|
27528
27936
|
* @returns Writer
|
|
27529
27937
|
*/
|
|
27530
27938
|
static encode(
|
|
27531
|
-
message: replit$goval$api$
|
|
27939
|
+
message: replit$goval$api$features$Gpu,
|
|
27532
27940
|
writer?: $protobuf.Writer
|
|
27533
27941
|
): $protobuf.Writer;
|
|
27534
27942
|
|
|
27535
27943
|
/**
|
|
27536
27944
|
* [object Object],[object Object],[object Object]
|
|
27537
|
-
* @param message
|
|
27945
|
+
* @param message Gpu message or plain object to encode
|
|
27538
27946
|
* @param [writer] Writer to encode to
|
|
27539
27947
|
* @returns Writer
|
|
27540
27948
|
*/
|
|
27541
27949
|
static encodeDelimited(
|
|
27542
|
-
message: replit$goval$api$
|
|
27950
|
+
message: replit$goval$api$features$Gpu,
|
|
27543
27951
|
writer?: $protobuf.Writer
|
|
27544
27952
|
): $protobuf.Writer;
|
|
27545
27953
|
|
|
27546
27954
|
/**
|
|
27547
|
-
* Decodes a
|
|
27955
|
+
* Decodes a Gpu message from the specified reader or buffer.
|
|
27548
27956
|
* @param reader Reader or buffer to decode from
|
|
27549
27957
|
* @param [length] Message length if known beforehand
|
|
27550
|
-
* @returns
|
|
27958
|
+
* @returns Gpu
|
|
27551
27959
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27552
27960
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27553
27961
|
*/
|
|
27554
27962
|
static decode(
|
|
27555
27963
|
reader: $protobuf.Reader | Uint8Array,
|
|
27556
27964
|
length?: number
|
|
27557
|
-
): replit$goval$api$
|
|
27965
|
+
): replit$goval$api$features$Gpu;
|
|
27558
27966
|
|
|
27559
27967
|
/**
|
|
27560
|
-
* Decodes a
|
|
27968
|
+
* Decodes a Gpu message from the specified reader or buffer, length delimited.
|
|
27561
27969
|
* @param reader Reader or buffer to decode from
|
|
27562
|
-
* @returns
|
|
27970
|
+
* @returns Gpu
|
|
27563
27971
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27564
27972
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27565
27973
|
*/
|
|
27566
27974
|
static decodeDelimited(
|
|
27567
27975
|
reader: $protobuf.Reader | Uint8Array
|
|
27568
|
-
): replit$goval$api$
|
|
27976
|
+
): replit$goval$api$features$Gpu;
|
|
27569
27977
|
|
|
27570
27978
|
/**
|
|
27571
|
-
* Verifies a
|
|
27979
|
+
* Verifies a Gpu message.
|
|
27572
27980
|
* @param message Plain object to verify
|
|
27573
27981
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
27574
27982
|
*/
|
|
@@ -27577,29 +27985,29 @@ declare class replit$goval$api$GovalSigningAuthority {
|
|
|
27577
27985
|
|}): string | null;
|
|
27578
27986
|
|
|
27579
27987
|
/**
|
|
27580
|
-
* Creates a
|
|
27988
|
+
* Creates a Gpu message from a plain object. Also converts values to their respective internal types.
|
|
27581
27989
|
* @param object Plain object
|
|
27582
|
-
* @returns
|
|
27990
|
+
* @returns Gpu
|
|
27583
27991
|
*/
|
|
27584
27992
|
static fromObject(object: {|
|
|
27585
27993
|
[k: string]: any,
|
|
27586
|
-
|}): replit$goval$api$
|
|
27994
|
+
|}): replit$goval$api$features$Gpu;
|
|
27587
27995
|
|
|
27588
27996
|
/**
|
|
27589
|
-
* Creates a plain object from a
|
|
27590
|
-
* @param message
|
|
27997
|
+
* Creates a plain object from a Gpu message. Also converts values to other types if specified.
|
|
27998
|
+
* @param message Gpu
|
|
27591
27999
|
* @param [options] Conversion options
|
|
27592
28000
|
* @returns Plain object
|
|
27593
28001
|
*/
|
|
27594
28002
|
static toObject(
|
|
27595
|
-
message: replit$goval$api$
|
|
28003
|
+
message: replit$goval$api$features$Gpu,
|
|
27596
28004
|
options?: $protobuf.IConversionOptions
|
|
27597
28005
|
): {|
|
|
27598
28006
|
[k: string]: any,
|
|
27599
28007
|
|};
|
|
27600
28008
|
|
|
27601
28009
|
/**
|
|
27602
|
-
* Converts this
|
|
28010
|
+
* Converts this Gpu to JSON.
|
|
27603
28011
|
* @returns JSON object
|
|
27604
28012
|
*/
|
|
27605
28013
|
toJSON(): {|
|
|
@@ -27608,135 +28016,77 @@ declare class replit$goval$api$GovalSigningAuthority {
|
|
|
27608
28016
|
}
|
|
27609
28017
|
|
|
27610
28018
|
/**
|
|
27611
|
-
*
|
|
27612
|
-
*/
|
|
27613
|
-
|
|
27614
|
-
declare var replit$goval$api$FlagClaim: {|
|
|
27615
|
-
+MINT_GOVAL_TOKEN: 0, // 0
|
|
27616
|
-
+SIGN_INTERMEDIATE_CERT: 1, // 1
|
|
27617
|
-
+IDENTITY: 5, // 5
|
|
27618
|
-
+ANY_REPLID: 2, // 2
|
|
27619
|
-
+ANY_USER: 3, // 3
|
|
27620
|
-
+ANY_CLUSTER: 4, // 4
|
|
27621
|
-
|};
|
|
27622
|
-
|
|
27623
|
-
/**
|
|
27624
|
-
* Properties of a CertificateClaim.
|
|
28019
|
+
* Properties of a Boosted.
|
|
27625
28020
|
*/
|
|
27626
|
-
declare type replit$goval$api$
|
|
27627
|
-
/**
|
|
27628
|
-
* CertificateClaim replid
|
|
27629
|
-
*/
|
|
27630
|
-
replid?: string | null,
|
|
27631
|
-
|
|
27632
|
-
/**
|
|
27633
|
-
* CertificateClaim user
|
|
27634
|
-
*/
|
|
27635
|
-
user?: string | null,
|
|
27636
|
-
|
|
27637
|
-
/**
|
|
27638
|
-
* CertificateClaim cluster
|
|
27639
|
-
*/
|
|
27640
|
-
cluster?: string | null,
|
|
27641
|
-
|
|
27642
|
-
/**
|
|
27643
|
-
* CertificateClaim flag
|
|
27644
|
-
*/
|
|
27645
|
-
flag?: $Values<typeof replit$goval$api$FlagClaim> | null,
|
|
27646
|
-
|};
|
|
28021
|
+
declare type replit$goval$api$features$IBoosted = {||};
|
|
27647
28022
|
|
|
27648
28023
|
/**
|
|
27649
|
-
* Represents a
|
|
28024
|
+
* Represents a Boosted.
|
|
27650
28025
|
*/
|
|
27651
|
-
declare class replit$goval$api$
|
|
28026
|
+
declare class replit$goval$api$features$Boosted {
|
|
27652
28027
|
/**
|
|
27653
|
-
* Constructs a new
|
|
28028
|
+
* Constructs a new Boosted.
|
|
27654
28029
|
* @param [properties] Properties to set
|
|
27655
28030
|
*/
|
|
27656
|
-
constructor(properties?: replit$goval$api$
|
|
27657
|
-
|
|
27658
|
-
/**
|
|
27659
|
-
* CertificateClaim replid.
|
|
27660
|
-
*/
|
|
27661
|
-
replid?: string | null;
|
|
27662
|
-
|
|
27663
|
-
/**
|
|
27664
|
-
* CertificateClaim user.
|
|
27665
|
-
*/
|
|
27666
|
-
user?: string | null;
|
|
27667
|
-
|
|
27668
|
-
/**
|
|
27669
|
-
* CertificateClaim cluster.
|
|
27670
|
-
*/
|
|
27671
|
-
cluster?: string | null;
|
|
27672
|
-
|
|
27673
|
-
/**
|
|
27674
|
-
* CertificateClaim flag.
|
|
27675
|
-
*/
|
|
27676
|
-
flag?: $Values<typeof replit$goval$api$FlagClaim> | null;
|
|
27677
|
-
|
|
27678
|
-
/**
|
|
27679
|
-
* CertificateClaim claim.
|
|
27680
|
-
*/
|
|
27681
|
-
claim?: "replid" | "user" | "cluster" | "flag";
|
|
28031
|
+
constructor(properties?: replit$goval$api$features$IBoosted): this;
|
|
27682
28032
|
|
|
27683
28033
|
/**
|
|
27684
|
-
* Creates a new
|
|
28034
|
+
* Creates a new Boosted instance using the specified properties.
|
|
27685
28035
|
* @param [properties] Properties to set
|
|
27686
|
-
* @returns
|
|
28036
|
+
* @returns Boosted instance
|
|
27687
28037
|
*/
|
|
27688
28038
|
static create(
|
|
27689
|
-
properties?: replit$goval$api$
|
|
27690
|
-
): replit$goval$api$
|
|
28039
|
+
properties?: replit$goval$api$features$IBoosted
|
|
28040
|
+
): replit$goval$api$features$Boosted;
|
|
27691
28041
|
|
|
27692
28042
|
/**
|
|
27693
28043
|
* [object Object],[object Object],[object Object]
|
|
27694
|
-
* @param message
|
|
28044
|
+
* @param message Boosted message or plain object to encode
|
|
27695
28045
|
* @param [writer] Writer to encode to
|
|
27696
28046
|
* @returns Writer
|
|
27697
28047
|
*/
|
|
27698
28048
|
static encode(
|
|
27699
|
-
message: replit$goval$api$
|
|
28049
|
+
message: replit$goval$api$features$Boosted,
|
|
27700
28050
|
writer?: $protobuf.Writer
|
|
27701
28051
|
): $protobuf.Writer;
|
|
27702
28052
|
|
|
27703
28053
|
/**
|
|
27704
28054
|
* [object Object],[object Object],[object Object]
|
|
27705
|
-
* @param message
|
|
28055
|
+
* @param message Boosted message or plain object to encode
|
|
27706
28056
|
* @param [writer] Writer to encode to
|
|
27707
28057
|
* @returns Writer
|
|
27708
28058
|
*/
|
|
27709
28059
|
static encodeDelimited(
|
|
27710
|
-
message: replit$goval$api$
|
|
28060
|
+
message: replit$goval$api$features$Boosted,
|
|
27711
28061
|
writer?: $protobuf.Writer
|
|
27712
28062
|
): $protobuf.Writer;
|
|
27713
28063
|
|
|
27714
28064
|
/**
|
|
27715
|
-
* Decodes a
|
|
28065
|
+
* Decodes a Boosted message from the specified reader or buffer.
|
|
27716
28066
|
* @param reader Reader or buffer to decode from
|
|
27717
28067
|
* @param [length] Message length if known beforehand
|
|
27718
|
-
* @returns
|
|
28068
|
+
* @returns Boosted
|
|
27719
28069
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27720
28070
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27721
28071
|
*/
|
|
27722
28072
|
static decode(
|
|
27723
28073
|
reader: $protobuf.Reader | Uint8Array,
|
|
27724
28074
|
length?: number
|
|
27725
|
-
): replit$goval$api$
|
|
28075
|
+
): replit$goval$api$features$Boosted;
|
|
27726
28076
|
|
|
27727
28077
|
/**
|
|
27728
|
-
* Decodes a
|
|
28078
|
+
* Decodes a Boosted message from the specified reader or buffer, length delimited.
|
|
27729
28079
|
* @param reader Reader or buffer to decode from
|
|
27730
|
-
* @returns
|
|
28080
|
+
* @returns Boosted
|
|
27731
28081
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27732
28082
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27733
28083
|
*/
|
|
27734
28084
|
static decodeDelimited(
|
|
27735
28085
|
reader: $protobuf.Reader | Uint8Array
|
|
27736
|
-
): replit$goval$api$
|
|
28086
|
+
): replit$goval$api$features$Boosted;
|
|
27737
28087
|
|
|
27738
28088
|
/**
|
|
27739
|
-
* Verifies a
|
|
28089
|
+
* Verifies a Boosted message.
|
|
27740
28090
|
* @param message Plain object to verify
|
|
27741
28091
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
27742
28092
|
*/
|
|
@@ -27745,29 +28095,29 @@ declare class replit$goval$api$CertificateClaim {
|
|
|
27745
28095
|
|}): string | null;
|
|
27746
28096
|
|
|
27747
28097
|
/**
|
|
27748
|
-
* Creates a
|
|
28098
|
+
* Creates a Boosted message from a plain object. Also converts values to their respective internal types.
|
|
27749
28099
|
* @param object Plain object
|
|
27750
|
-
* @returns
|
|
28100
|
+
* @returns Boosted
|
|
27751
28101
|
*/
|
|
27752
28102
|
static fromObject(object: {|
|
|
27753
28103
|
[k: string]: any,
|
|
27754
|
-
|}): replit$goval$api$
|
|
28104
|
+
|}): replit$goval$api$features$Boosted;
|
|
27755
28105
|
|
|
27756
28106
|
/**
|
|
27757
|
-
* Creates a plain object from a
|
|
27758
|
-
* @param message
|
|
28107
|
+
* Creates a plain object from a Boosted message. Also converts values to other types if specified.
|
|
28108
|
+
* @param message Boosted
|
|
27759
28109
|
* @param [options] Conversion options
|
|
27760
28110
|
* @returns Plain object
|
|
27761
28111
|
*/
|
|
27762
28112
|
static toObject(
|
|
27763
|
-
message: replit$goval$api$
|
|
28113
|
+
message: replit$goval$api$features$Boosted,
|
|
27764
28114
|
options?: $protobuf.IConversionOptions
|
|
27765
28115
|
): {|
|
|
27766
28116
|
[k: string]: any,
|
|
27767
28117
|
|};
|
|
27768
28118
|
|
|
27769
28119
|
/**
|
|
27770
|
-
* Converts this
|
|
28120
|
+
* Converts this Boosted to JSON.
|
|
27771
28121
|
* @returns JSON object
|
|
27772
28122
|
*/
|
|
27773
28123
|
toJSON(): {|
|
|
@@ -27776,119 +28126,115 @@ declare class replit$goval$api$CertificateClaim {
|
|
|
27776
28126
|
}
|
|
27777
28127
|
|
|
27778
28128
|
/**
|
|
27779
|
-
* Properties of a
|
|
28129
|
+
* Properties of a Feature.
|
|
27780
28130
|
*/
|
|
27781
|
-
declare type replit$goval$api$
|
|
27782
|
-
/**
|
|
27783
|
-
* GovalCert iat
|
|
27784
|
-
*/
|
|
27785
|
-
iat?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
27786
|
-
|
|
28131
|
+
declare type replit$goval$api$features$IFeature = {|
|
|
27787
28132
|
/**
|
|
27788
|
-
*
|
|
28133
|
+
* Feature gpu
|
|
27789
28134
|
*/
|
|
27790
|
-
|
|
28135
|
+
gpu?: replit$goval$api$features$Gpu | replit$goval$api$features$IGpu | null,
|
|
27791
28136
|
|
|
27792
28137
|
/**
|
|
27793
|
-
*
|
|
28138
|
+
* Feature boosted
|
|
27794
28139
|
*/
|
|
27795
|
-
|
|
27796
|
-
|
|
|
28140
|
+
boosted?:
|
|
28141
|
+
| replit$goval$api$features$Boosted
|
|
28142
|
+
| replit$goval$api$features$IBoosted
|
|
27797
28143
|
| null,
|
|
27798
28144
|
|
|
27799
28145
|
/**
|
|
27800
|
-
*
|
|
28146
|
+
* Feature required
|
|
27801
28147
|
*/
|
|
27802
|
-
|
|
28148
|
+
required?: boolean | null,
|
|
27803
28149
|
|};
|
|
27804
28150
|
|
|
27805
28151
|
/**
|
|
27806
|
-
* Represents a
|
|
28152
|
+
* Represents a Feature.
|
|
27807
28153
|
*/
|
|
27808
|
-
declare class replit$goval$api$
|
|
28154
|
+
declare class replit$goval$api$features$Feature {
|
|
27809
28155
|
/**
|
|
27810
|
-
* Constructs a new
|
|
28156
|
+
* Constructs a new Feature.
|
|
27811
28157
|
* @param [properties] Properties to set
|
|
27812
28158
|
*/
|
|
27813
|
-
constructor(properties?: replit$goval$api$
|
|
28159
|
+
constructor(properties?: replit$goval$api$features$IFeature): this;
|
|
27814
28160
|
|
|
27815
28161
|
/**
|
|
27816
|
-
*
|
|
28162
|
+
* Feature gpu.
|
|
27817
28163
|
*/
|
|
27818
|
-
|
|
28164
|
+
gpu?: replit$goval$api$features$Gpu | null;
|
|
27819
28165
|
|
|
27820
28166
|
/**
|
|
27821
|
-
*
|
|
28167
|
+
* Feature boosted.
|
|
27822
28168
|
*/
|
|
27823
|
-
|
|
28169
|
+
boosted?: replit$goval$api$features$Boosted | null;
|
|
27824
28170
|
|
|
27825
28171
|
/**
|
|
27826
|
-
*
|
|
28172
|
+
* Feature required.
|
|
27827
28173
|
*/
|
|
27828
|
-
|
|
28174
|
+
required: boolean;
|
|
27829
28175
|
|
|
27830
28176
|
/**
|
|
27831
|
-
*
|
|
28177
|
+
* Feature feature.
|
|
27832
28178
|
*/
|
|
27833
|
-
|
|
28179
|
+
feature?: "gpu" | "boosted";
|
|
27834
28180
|
|
|
27835
28181
|
/**
|
|
27836
|
-
* Creates a new
|
|
28182
|
+
* Creates a new Feature instance using the specified properties.
|
|
27837
28183
|
* @param [properties] Properties to set
|
|
27838
|
-
* @returns
|
|
28184
|
+
* @returns Feature instance
|
|
27839
28185
|
*/
|
|
27840
28186
|
static create(
|
|
27841
|
-
properties?: replit$goval$api$
|
|
27842
|
-
): replit$goval$api$
|
|
28187
|
+
properties?: replit$goval$api$features$IFeature
|
|
28188
|
+
): replit$goval$api$features$Feature;
|
|
27843
28189
|
|
|
27844
28190
|
/**
|
|
27845
28191
|
* [object Object],[object Object],[object Object]
|
|
27846
|
-
* @param message
|
|
28192
|
+
* @param message Feature message or plain object to encode
|
|
27847
28193
|
* @param [writer] Writer to encode to
|
|
27848
28194
|
* @returns Writer
|
|
27849
28195
|
*/
|
|
27850
28196
|
static encode(
|
|
27851
|
-
message: replit$goval$api$
|
|
28197
|
+
message: replit$goval$api$features$Feature,
|
|
27852
28198
|
writer?: $protobuf.Writer
|
|
27853
28199
|
): $protobuf.Writer;
|
|
27854
28200
|
|
|
27855
28201
|
/**
|
|
27856
28202
|
* [object Object],[object Object],[object Object]
|
|
27857
|
-
* @param message
|
|
28203
|
+
* @param message Feature message or plain object to encode
|
|
27858
28204
|
* @param [writer] Writer to encode to
|
|
27859
28205
|
* @returns Writer
|
|
27860
28206
|
*/
|
|
27861
28207
|
static encodeDelimited(
|
|
27862
|
-
message: replit$goval$api$
|
|
28208
|
+
message: replit$goval$api$features$Feature,
|
|
27863
28209
|
writer?: $protobuf.Writer
|
|
27864
28210
|
): $protobuf.Writer;
|
|
27865
28211
|
|
|
27866
28212
|
/**
|
|
27867
|
-
* Decodes a
|
|
28213
|
+
* Decodes a Feature message from the specified reader or buffer.
|
|
27868
28214
|
* @param reader Reader or buffer to decode from
|
|
27869
28215
|
* @param [length] Message length if known beforehand
|
|
27870
|
-
* @returns
|
|
28216
|
+
* @returns Feature
|
|
27871
28217
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27872
28218
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27873
28219
|
*/
|
|
27874
28220
|
static decode(
|
|
27875
28221
|
reader: $protobuf.Reader | Uint8Array,
|
|
27876
28222
|
length?: number
|
|
27877
|
-
): replit$goval$api$
|
|
28223
|
+
): replit$goval$api$features$Feature;
|
|
27878
28224
|
|
|
27879
28225
|
/**
|
|
27880
|
-
* Decodes a
|
|
28226
|
+
* Decodes a Feature message from the specified reader or buffer, length delimited.
|
|
27881
28227
|
* @param reader Reader or buffer to decode from
|
|
27882
|
-
* @returns
|
|
28228
|
+
* @returns Feature
|
|
27883
28229
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27884
28230
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27885
28231
|
*/
|
|
27886
28232
|
static decodeDelimited(
|
|
27887
28233
|
reader: $protobuf.Reader | Uint8Array
|
|
27888
|
-
): replit$goval$api$
|
|
28234
|
+
): replit$goval$api$features$Feature;
|
|
27889
28235
|
|
|
27890
28236
|
/**
|
|
27891
|
-
* Verifies a
|
|
28237
|
+
* Verifies a Feature message.
|
|
27892
28238
|
* @param message Plain object to verify
|
|
27893
28239
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
27894
28240
|
*/
|
|
@@ -27897,29 +28243,29 @@ declare class replit$goval$api$GovalCert {
|
|
|
27897
28243
|
|}): string | null;
|
|
27898
28244
|
|
|
27899
28245
|
/**
|
|
27900
|
-
* Creates a
|
|
28246
|
+
* Creates a Feature message from a plain object. Also converts values to their respective internal types.
|
|
27901
28247
|
* @param object Plain object
|
|
27902
|
-
* @returns
|
|
28248
|
+
* @returns Feature
|
|
27903
28249
|
*/
|
|
27904
28250
|
static fromObject(object: {|
|
|
27905
28251
|
[k: string]: any,
|
|
27906
|
-
|}): replit$goval$api$
|
|
28252
|
+
|}): replit$goval$api$features$Feature;
|
|
27907
28253
|
|
|
27908
28254
|
/**
|
|
27909
|
-
* Creates a plain object from a
|
|
27910
|
-
* @param message
|
|
28255
|
+
* Creates a plain object from a Feature message. Also converts values to other types if specified.
|
|
28256
|
+
* @param message Feature
|
|
27911
28257
|
* @param [options] Conversion options
|
|
27912
28258
|
* @returns Plain object
|
|
27913
28259
|
*/
|
|
27914
28260
|
static toObject(
|
|
27915
|
-
message: replit$goval$api$
|
|
28261
|
+
message: replit$goval$api$features$Feature,
|
|
27916
28262
|
options?: $protobuf.IConversionOptions
|
|
27917
28263
|
): {|
|
|
27918
28264
|
[k: string]: any,
|
|
27919
28265
|
|};
|
|
27920
28266
|
|
|
27921
28267
|
/**
|
|
27922
|
-
* Converts this
|
|
28268
|
+
* Converts this Feature to JSON.
|
|
27923
28269
|
* @returns JSON object
|
|
27924
28270
|
*/
|
|
27925
28271
|
toJSON(): {|
|
|
@@ -27927,136 +28273,160 @@ declare class replit$goval$api$GovalCert {
|
|
|
27927
28273
|
|};
|
|
27928
28274
|
}
|
|
27929
28275
|
|
|
28276
|
+
declare var npm$namespace$replit$goval$api$repl: {|
|
|
28277
|
+
Persistence: typeof replit$goval$api$repl$Persistence,
|
|
28278
|
+
IRepl: Class<replit$goval$api$repl$IRepl>,
|
|
28279
|
+
IResourceLimits: Class<replit$goval$api$repl$IResourceLimits>,
|
|
28280
|
+
IPermissions: Class<replit$goval$api$repl$IPermissions>,
|
|
28281
|
+
IMetadata: Class<replit$goval$api$repl$IMetadata>,
|
|
28282
|
+
Repl: typeof replit$goval$api$repl$Repl,
|
|
28283
|
+
ResourceLimits: typeof replit$goval$api$repl$ResourceLimits,
|
|
28284
|
+
Permissions: typeof replit$goval$api$repl$Permissions,
|
|
28285
|
+
Metadata: typeof replit$goval$api$repl$Metadata,
|
|
28286
|
+
|};
|
|
28287
|
+
|
|
27930
28288
|
/**
|
|
27931
|
-
* Properties of a
|
|
28289
|
+
* Properties of a Repl.
|
|
27932
28290
|
*/
|
|
27933
|
-
declare type replit$goval$api$
|
|
28291
|
+
declare type replit$goval$api$repl$IRepl = {|
|
|
27934
28292
|
/**
|
|
27935
|
-
*
|
|
28293
|
+
* Repl id
|
|
27936
28294
|
*/
|
|
27937
|
-
|
|
28295
|
+
id?: string | null,
|
|
27938
28296
|
|
|
27939
28297
|
/**
|
|
27940
|
-
*
|
|
28298
|
+
* Repl language
|
|
27941
28299
|
*/
|
|
27942
|
-
|
|
28300
|
+
language?: string | null,
|
|
27943
28301
|
|
|
27944
28302
|
/**
|
|
27945
|
-
*
|
|
28303
|
+
* Repl bucket
|
|
27946
28304
|
*/
|
|
27947
|
-
|
|
28305
|
+
bucket?: string | null,
|
|
27948
28306
|
|
|
27949
28307
|
/**
|
|
27950
|
-
*
|
|
28308
|
+
* Repl slug
|
|
27951
28309
|
*/
|
|
27952
|
-
|
|
28310
|
+
slug?: string | null,
|
|
27953
28311
|
|
|
27954
28312
|
/**
|
|
27955
|
-
*
|
|
28313
|
+
* Repl user
|
|
27956
28314
|
*/
|
|
27957
|
-
|
|
27958
|
-
|
|
27959
|
-
|
|
27960
|
-
|
|
28315
|
+
user?: string | null,
|
|
28316
|
+
|
|
28317
|
+
/**
|
|
28318
|
+
* Repl sourceRepl
|
|
28319
|
+
*/
|
|
28320
|
+
sourceRepl?: string | null,
|
|
28321
|
+
|
|
28322
|
+
/**
|
|
28323
|
+
* Repl database
|
|
28324
|
+
*/
|
|
28325
|
+
database?: string | null,
|
|
27961
28326
|
|};
|
|
27962
28327
|
|
|
27963
28328
|
/**
|
|
27964
|
-
* Represents a
|
|
28329
|
+
* Represents a Repl.
|
|
27965
28330
|
*/
|
|
27966
|
-
declare class replit$goval$api$
|
|
28331
|
+
declare class replit$goval$api$repl$Repl {
|
|
27967
28332
|
/**
|
|
27968
|
-
* Constructs a new
|
|
28333
|
+
* Constructs a new Repl.
|
|
27969
28334
|
* @param [properties] Properties to set
|
|
27970
28335
|
*/
|
|
27971
|
-
constructor(properties?: replit$goval$api$
|
|
28336
|
+
constructor(properties?: replit$goval$api$repl$IRepl): this;
|
|
27972
28337
|
|
|
27973
28338
|
/**
|
|
27974
|
-
*
|
|
28339
|
+
* Repl id.
|
|
27975
28340
|
*/
|
|
27976
|
-
|
|
28341
|
+
id: string;
|
|
27977
28342
|
|
|
27978
28343
|
/**
|
|
27979
|
-
*
|
|
28344
|
+
* Repl language.
|
|
27980
28345
|
*/
|
|
27981
|
-
|
|
28346
|
+
language: string;
|
|
27982
28347
|
|
|
27983
28348
|
/**
|
|
27984
|
-
*
|
|
28349
|
+
* Repl bucket.
|
|
27985
28350
|
*/
|
|
27986
|
-
|
|
28351
|
+
bucket: string;
|
|
27987
28352
|
|
|
27988
28353
|
/**
|
|
27989
|
-
*
|
|
28354
|
+
* Repl slug.
|
|
27990
28355
|
*/
|
|
27991
|
-
|
|
28356
|
+
slug: string;
|
|
27992
28357
|
|
|
27993
28358
|
/**
|
|
27994
|
-
*
|
|
28359
|
+
* Repl user.
|
|
27995
28360
|
*/
|
|
27996
|
-
|
|
28361
|
+
user: string;
|
|
27997
28362
|
|
|
27998
28363
|
/**
|
|
27999
|
-
*
|
|
28364
|
+
* Repl sourceRepl.
|
|
28000
28365
|
*/
|
|
28001
|
-
|
|
28366
|
+
sourceRepl: string;
|
|
28002
28367
|
|
|
28003
28368
|
/**
|
|
28004
|
-
*
|
|
28369
|
+
* Repl database.
|
|
28370
|
+
*/
|
|
28371
|
+
database: string;
|
|
28372
|
+
|
|
28373
|
+
/**
|
|
28374
|
+
* Creates a new Repl instance using the specified properties.
|
|
28005
28375
|
* @param [properties] Properties to set
|
|
28006
|
-
* @returns
|
|
28376
|
+
* @returns Repl instance
|
|
28007
28377
|
*/
|
|
28008
28378
|
static create(
|
|
28009
|
-
properties?: replit$goval$api$
|
|
28010
|
-
): replit$goval$api$
|
|
28379
|
+
properties?: replit$goval$api$repl$IRepl
|
|
28380
|
+
): replit$goval$api$repl$Repl;
|
|
28011
28381
|
|
|
28012
28382
|
/**
|
|
28013
28383
|
* [object Object],[object Object],[object Object]
|
|
28014
|
-
* @param message
|
|
28384
|
+
* @param message Repl message or plain object to encode
|
|
28015
28385
|
* @param [writer] Writer to encode to
|
|
28016
28386
|
* @returns Writer
|
|
28017
28387
|
*/
|
|
28018
28388
|
static encode(
|
|
28019
|
-
message: replit$goval$api$
|
|
28389
|
+
message: replit$goval$api$repl$Repl,
|
|
28020
28390
|
writer?: $protobuf.Writer
|
|
28021
28391
|
): $protobuf.Writer;
|
|
28022
28392
|
|
|
28023
28393
|
/**
|
|
28024
28394
|
* [object Object],[object Object],[object Object]
|
|
28025
|
-
* @param message
|
|
28395
|
+
* @param message Repl message or plain object to encode
|
|
28026
28396
|
* @param [writer] Writer to encode to
|
|
28027
28397
|
* @returns Writer
|
|
28028
28398
|
*/
|
|
28029
28399
|
static encodeDelimited(
|
|
28030
|
-
message: replit$goval$api$
|
|
28400
|
+
message: replit$goval$api$repl$Repl,
|
|
28031
28401
|
writer?: $protobuf.Writer
|
|
28032
28402
|
): $protobuf.Writer;
|
|
28033
28403
|
|
|
28034
28404
|
/**
|
|
28035
|
-
* Decodes a
|
|
28405
|
+
* Decodes a Repl message from the specified reader or buffer.
|
|
28036
28406
|
* @param reader Reader or buffer to decode from
|
|
28037
28407
|
* @param [length] Message length if known beforehand
|
|
28038
|
-
* @returns
|
|
28408
|
+
* @returns Repl
|
|
28039
28409
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28040
28410
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28041
28411
|
*/
|
|
28042
28412
|
static decode(
|
|
28043
28413
|
reader: $protobuf.Reader | Uint8Array,
|
|
28044
28414
|
length?: number
|
|
28045
|
-
): replit$goval$api$
|
|
28415
|
+
): replit$goval$api$repl$Repl;
|
|
28046
28416
|
|
|
28047
28417
|
/**
|
|
28048
|
-
* Decodes a
|
|
28418
|
+
* Decodes a Repl message from the specified reader or buffer, length delimited.
|
|
28049
28419
|
* @param reader Reader or buffer to decode from
|
|
28050
|
-
* @returns
|
|
28420
|
+
* @returns Repl
|
|
28051
28421
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28052
28422
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28053
28423
|
*/
|
|
28054
28424
|
static decodeDelimited(
|
|
28055
28425
|
reader: $protobuf.Reader | Uint8Array
|
|
28056
|
-
): replit$goval$api$
|
|
28426
|
+
): replit$goval$api$repl$Repl;
|
|
28057
28427
|
|
|
28058
28428
|
/**
|
|
28059
|
-
* Verifies a
|
|
28429
|
+
* Verifies a Repl message.
|
|
28060
28430
|
* @param message Plain object to verify
|
|
28061
28431
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
28062
28432
|
*/
|
|
@@ -28065,29 +28435,29 @@ declare class replit$goval$api$GovalToken {
|
|
|
28065
28435
|
|}): string | null;
|
|
28066
28436
|
|
|
28067
28437
|
/**
|
|
28068
|
-
* Creates a
|
|
28438
|
+
* Creates a Repl message from a plain object. Also converts values to their respective internal types.
|
|
28069
28439
|
* @param object Plain object
|
|
28070
|
-
* @returns
|
|
28440
|
+
* @returns Repl
|
|
28071
28441
|
*/
|
|
28072
28442
|
static fromObject(object: {|
|
|
28073
28443
|
[k: string]: any,
|
|
28074
|
-
|}): replit$goval$api$
|
|
28444
|
+
|}): replit$goval$api$repl$Repl;
|
|
28075
28445
|
|
|
28076
28446
|
/**
|
|
28077
|
-
* Creates a plain object from a
|
|
28078
|
-
* @param message
|
|
28447
|
+
* Creates a plain object from a Repl message. Also converts values to other types if specified.
|
|
28448
|
+
* @param message Repl
|
|
28079
28449
|
* @param [options] Conversion options
|
|
28080
28450
|
* @returns Plain object
|
|
28081
28451
|
*/
|
|
28082
28452
|
static toObject(
|
|
28083
|
-
message: replit$goval$api$
|
|
28453
|
+
message: replit$goval$api$repl$Repl,
|
|
28084
28454
|
options?: $protobuf.IConversionOptions
|
|
28085
28455
|
): {|
|
|
28086
28456
|
[k: string]: any,
|
|
28087
28457
|
|};
|
|
28088
28458
|
|
|
28089
28459
|
/**
|
|
28090
|
-
* Converts this
|
|
28460
|
+
* Converts this Repl to JSON.
|
|
28091
28461
|
* @returns JSON object
|
|
28092
28462
|
*/
|
|
28093
28463
|
toJSON(): {|
|
|
@@ -28096,256 +28466,159 @@ declare class replit$goval$api$GovalToken {
|
|
|
28096
28466
|
}
|
|
28097
28467
|
|
|
28098
28468
|
/**
|
|
28099
|
-
* Properties of a
|
|
28100
|
-
*/
|
|
28101
|
-
declare type replit$goval$api$IGovalReplIdentity = {|
|
|
28102
|
-
/**
|
|
28103
|
-
* GovalReplIdentity replid
|
|
28104
|
-
*/
|
|
28105
|
-
replid?: string | null,
|
|
28106
|
-
|
|
28107
|
-
/**
|
|
28108
|
-
* GovalReplIdentity user
|
|
28109
|
-
*/
|
|
28110
|
-
user?: string | null,
|
|
28111
|
-
|
|
28112
|
-
/**
|
|
28113
|
-
* GovalReplIdentity slug
|
|
28114
|
-
*/
|
|
28115
|
-
slug?: string | null,
|
|
28116
|
-
|
|
28117
|
-
/**
|
|
28118
|
-
* GovalReplIdentity aud
|
|
28119
|
-
*/
|
|
28120
|
-
aud?: string | null,
|
|
28121
|
-
|
|
28122
|
-
/**
|
|
28123
|
-
* GovalReplIdentity ephemeral
|
|
28124
|
-
*/
|
|
28125
|
-
ephemeral?: boolean | null,
|
|
28126
|
-
|
|
28127
|
-
/**
|
|
28128
|
-
* GovalReplIdentity originReplid
|
|
28129
|
-
*/
|
|
28130
|
-
originReplid?: string | null,
|
|
28131
|
-
|};
|
|
28132
|
-
|
|
28133
|
-
/**
|
|
28134
|
-
* Represents a GovalReplIdentity.
|
|
28469
|
+
* Properties of a ResourceLimits.
|
|
28135
28470
|
*/
|
|
28136
|
-
declare
|
|
28137
|
-
/**
|
|
28138
|
-
* Constructs a new GovalReplIdentity.
|
|
28139
|
-
* @param [properties] Properties to set
|
|
28140
|
-
*/
|
|
28141
|
-
constructor(properties?: replit$goval$api$IGovalReplIdentity): this;
|
|
28142
|
-
|
|
28143
|
-
/**
|
|
28144
|
-
* GovalReplIdentity replid.
|
|
28145
|
-
*/
|
|
28146
|
-
replid: string;
|
|
28147
|
-
|
|
28471
|
+
declare type replit$goval$api$repl$IResourceLimits = {|
|
|
28148
28472
|
/**
|
|
28149
|
-
*
|
|
28473
|
+
* ResourceLimits net
|
|
28150
28474
|
*/
|
|
28151
|
-
|
|
28475
|
+
net?: boolean | null,
|
|
28152
28476
|
|
|
28153
28477
|
/**
|
|
28154
|
-
*
|
|
28478
|
+
* ResourceLimits memory
|
|
28155
28479
|
*/
|
|
28156
|
-
|
|
28480
|
+
memory?: number | null,
|
|
28157
28481
|
|
|
28158
28482
|
/**
|
|
28159
|
-
*
|
|
28483
|
+
* ResourceLimits threads
|
|
28160
28484
|
*/
|
|
28161
|
-
|
|
28485
|
+
threads?: number | null,
|
|
28162
28486
|
|
|
28163
28487
|
/**
|
|
28164
|
-
*
|
|
28488
|
+
* ResourceLimits shares
|
|
28165
28489
|
*/
|
|
28166
|
-
|
|
28490
|
+
shares?: number | null,
|
|
28167
28491
|
|
|
28168
28492
|
/**
|
|
28169
|
-
*
|
|
28493
|
+
* ResourceLimits disk
|
|
28170
28494
|
*/
|
|
28171
|
-
|
|
28495
|
+
disk?: number | null,
|
|
28172
28496
|
|
|
28173
28497
|
/**
|
|
28174
|
-
*
|
|
28175
|
-
* @param [properties] Properties to set
|
|
28176
|
-
* @returns GovalReplIdentity instance
|
|
28498
|
+
* ResourceLimits cache
|
|
28177
28499
|
*/
|
|
28178
|
-
|
|
28179
|
-
|
|
28180
|
-
|
|
28500
|
+
cache?: $Values<
|
|
28501
|
+
typeof replit$goval$api$repl$ResourceLimits$Cachability
|
|
28502
|
+
> | null,
|
|
28181
28503
|
|
|
28182
28504
|
/**
|
|
28183
|
-
*
|
|
28184
|
-
* @param message GovalReplIdentity message or plain object to encode
|
|
28185
|
-
* @param [writer] Writer to encode to
|
|
28186
|
-
* @returns Writer
|
|
28505
|
+
* ResourceLimits restrictNetwork
|
|
28187
28506
|
*/
|
|
28188
|
-
|
|
28189
|
-
message: replit$goval$api$GovalReplIdentity,
|
|
28190
|
-
writer?: $protobuf.Writer
|
|
28191
|
-
): $protobuf.Writer;
|
|
28507
|
+
restrictNetwork?: boolean | null,
|
|
28192
28508
|
|
|
28193
28509
|
/**
|
|
28194
|
-
*
|
|
28195
|
-
* @param message GovalReplIdentity message or plain object to encode
|
|
28196
|
-
* @param [writer] Writer to encode to
|
|
28197
|
-
* @returns Writer
|
|
28510
|
+
* ResourceLimits preventWakeup
|
|
28198
28511
|
*/
|
|
28199
|
-
|
|
28200
|
-
|
|
28201
|
-
writer?: $protobuf.Writer
|
|
28202
|
-
): $protobuf.Writer;
|
|
28512
|
+
preventWakeup?: boolean | null,
|
|
28513
|
+
|};
|
|
28203
28514
|
|
|
28515
|
+
/**
|
|
28516
|
+
* Represents a ResourceLimits.
|
|
28517
|
+
*/
|
|
28518
|
+
declare class replit$goval$api$repl$ResourceLimits {
|
|
28204
28519
|
/**
|
|
28205
|
-
*
|
|
28206
|
-
* @param
|
|
28207
|
-
* @param [length] Message length if known beforehand
|
|
28208
|
-
* @returns GovalReplIdentity
|
|
28209
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28210
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28520
|
+
* Constructs a new ResourceLimits.
|
|
28521
|
+
* @param [properties] Properties to set
|
|
28211
28522
|
*/
|
|
28212
|
-
|
|
28213
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
28214
|
-
length?: number
|
|
28215
|
-
): replit$goval$api$GovalReplIdentity;
|
|
28523
|
+
constructor(properties?: replit$goval$api$repl$IResourceLimits): this;
|
|
28216
28524
|
|
|
28217
28525
|
/**
|
|
28218
|
-
*
|
|
28219
|
-
* @param reader Reader or buffer to decode from
|
|
28220
|
-
* @returns GovalReplIdentity
|
|
28221
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28222
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28526
|
+
* ResourceLimits net.
|
|
28223
28527
|
*/
|
|
28224
|
-
|
|
28225
|
-
reader: $protobuf.Reader | Uint8Array
|
|
28226
|
-
): replit$goval$api$GovalReplIdentity;
|
|
28528
|
+
net: boolean;
|
|
28227
28529
|
|
|
28228
28530
|
/**
|
|
28229
|
-
*
|
|
28230
|
-
* @param message Plain object to verify
|
|
28231
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
28531
|
+
* ResourceLimits memory.
|
|
28232
28532
|
*/
|
|
28233
|
-
|
|
28234
|
-
[k: string]: any,
|
|
28235
|
-
|}): string | null;
|
|
28533
|
+
memory: number;
|
|
28236
28534
|
|
|
28237
28535
|
/**
|
|
28238
|
-
*
|
|
28239
|
-
* @param object Plain object
|
|
28240
|
-
* @returns GovalReplIdentity
|
|
28536
|
+
* ResourceLimits threads.
|
|
28241
28537
|
*/
|
|
28242
|
-
|
|
28243
|
-
[k: string]: any,
|
|
28244
|
-
|}): replit$goval$api$GovalReplIdentity;
|
|
28538
|
+
threads: number;
|
|
28245
28539
|
|
|
28246
28540
|
/**
|
|
28247
|
-
*
|
|
28248
|
-
* @param message GovalReplIdentity
|
|
28249
|
-
* @param [options] Conversion options
|
|
28250
|
-
* @returns Plain object
|
|
28541
|
+
* ResourceLimits shares.
|
|
28251
28542
|
*/
|
|
28252
|
-
|
|
28253
|
-
message: replit$goval$api$GovalReplIdentity,
|
|
28254
|
-
options?: $protobuf.IConversionOptions
|
|
28255
|
-
): {|
|
|
28256
|
-
[k: string]: any,
|
|
28257
|
-
|};
|
|
28543
|
+
shares: number;
|
|
28258
28544
|
|
|
28259
28545
|
/**
|
|
28260
|
-
*
|
|
28261
|
-
* @returns JSON object
|
|
28546
|
+
* ResourceLimits disk.
|
|
28262
28547
|
*/
|
|
28263
|
-
|
|
28264
|
-
[k: string]: any,
|
|
28265
|
-
|};
|
|
28266
|
-
}
|
|
28548
|
+
disk: number;
|
|
28267
28549
|
|
|
28268
|
-
|
|
28269
|
-
|
|
28270
|
-
|
|
28271
|
-
|
|
28272
|
-
Gpu: typeof replit$goval$api$features$Gpu,
|
|
28273
|
-
Boosted: typeof replit$goval$api$features$Boosted,
|
|
28274
|
-
Feature: typeof replit$goval$api$features$Feature,
|
|
28275
|
-
|};
|
|
28550
|
+
/**
|
|
28551
|
+
* ResourceLimits cache.
|
|
28552
|
+
*/
|
|
28553
|
+
cache: $Values<typeof replit$goval$api$repl$ResourceLimits$Cachability>;
|
|
28276
28554
|
|
|
28277
|
-
/**
|
|
28278
|
-
|
|
28279
|
-
|
|
28280
|
-
|
|
28555
|
+
/**
|
|
28556
|
+
* ResourceLimits restrictNetwork.
|
|
28557
|
+
*/
|
|
28558
|
+
restrictNetwork: boolean;
|
|
28281
28559
|
|
|
28282
|
-
/**
|
|
28283
|
-
* Represents a Gpu.
|
|
28284
|
-
*/
|
|
28285
|
-
declare class replit$goval$api$features$Gpu {
|
|
28286
28560
|
/**
|
|
28287
|
-
*
|
|
28288
|
-
* @param [properties] Properties to set
|
|
28561
|
+
* ResourceLimits preventWakeup.
|
|
28289
28562
|
*/
|
|
28290
|
-
|
|
28563
|
+
preventWakeup: boolean;
|
|
28291
28564
|
|
|
28292
28565
|
/**
|
|
28293
|
-
* Creates a new
|
|
28566
|
+
* Creates a new ResourceLimits instance using the specified properties.
|
|
28294
28567
|
* @param [properties] Properties to set
|
|
28295
|
-
* @returns
|
|
28568
|
+
* @returns ResourceLimits instance
|
|
28296
28569
|
*/
|
|
28297
28570
|
static create(
|
|
28298
|
-
properties?: replit$goval$api$
|
|
28299
|
-
): replit$goval$api$
|
|
28571
|
+
properties?: replit$goval$api$repl$IResourceLimits
|
|
28572
|
+
): replit$goval$api$repl$ResourceLimits;
|
|
28300
28573
|
|
|
28301
28574
|
/**
|
|
28302
28575
|
* [object Object],[object Object],[object Object]
|
|
28303
|
-
* @param message
|
|
28576
|
+
* @param message ResourceLimits message or plain object to encode
|
|
28304
28577
|
* @param [writer] Writer to encode to
|
|
28305
28578
|
* @returns Writer
|
|
28306
28579
|
*/
|
|
28307
28580
|
static encode(
|
|
28308
|
-
message: replit$goval$api$
|
|
28581
|
+
message: replit$goval$api$repl$ResourceLimits,
|
|
28309
28582
|
writer?: $protobuf.Writer
|
|
28310
28583
|
): $protobuf.Writer;
|
|
28311
28584
|
|
|
28312
28585
|
/**
|
|
28313
28586
|
* [object Object],[object Object],[object Object]
|
|
28314
|
-
* @param message
|
|
28587
|
+
* @param message ResourceLimits message or plain object to encode
|
|
28315
28588
|
* @param [writer] Writer to encode to
|
|
28316
28589
|
* @returns Writer
|
|
28317
28590
|
*/
|
|
28318
28591
|
static encodeDelimited(
|
|
28319
|
-
message: replit$goval$api$
|
|
28592
|
+
message: replit$goval$api$repl$ResourceLimits,
|
|
28320
28593
|
writer?: $protobuf.Writer
|
|
28321
28594
|
): $protobuf.Writer;
|
|
28322
28595
|
|
|
28323
28596
|
/**
|
|
28324
|
-
* Decodes a
|
|
28597
|
+
* Decodes a ResourceLimits message from the specified reader or buffer.
|
|
28325
28598
|
* @param reader Reader or buffer to decode from
|
|
28326
28599
|
* @param [length] Message length if known beforehand
|
|
28327
|
-
* @returns
|
|
28600
|
+
* @returns ResourceLimits
|
|
28328
28601
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28329
28602
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28330
28603
|
*/
|
|
28331
28604
|
static decode(
|
|
28332
28605
|
reader: $protobuf.Reader | Uint8Array,
|
|
28333
28606
|
length?: number
|
|
28334
|
-
): replit$goval$api$
|
|
28607
|
+
): replit$goval$api$repl$ResourceLimits;
|
|
28335
28608
|
|
|
28336
28609
|
/**
|
|
28337
|
-
* Decodes a
|
|
28610
|
+
* Decodes a ResourceLimits message from the specified reader or buffer, length delimited.
|
|
28338
28611
|
* @param reader Reader or buffer to decode from
|
|
28339
|
-
* @returns
|
|
28612
|
+
* @returns ResourceLimits
|
|
28340
28613
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28341
28614
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28342
28615
|
*/
|
|
28343
28616
|
static decodeDelimited(
|
|
28344
28617
|
reader: $protobuf.Reader | Uint8Array
|
|
28345
|
-
): replit$goval$api$
|
|
28618
|
+
): replit$goval$api$repl$ResourceLimits;
|
|
28346
28619
|
|
|
28347
28620
|
/**
|
|
28348
|
-
* Verifies a
|
|
28621
|
+
* Verifies a ResourceLimits message.
|
|
28349
28622
|
* @param message Plain object to verify
|
|
28350
28623
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
28351
28624
|
*/
|
|
@@ -28354,108 +28627,129 @@ declare class replit$goval$api$features$Gpu {
|
|
|
28354
28627
|
|}): string | null;
|
|
28355
28628
|
|
|
28356
28629
|
/**
|
|
28357
|
-
* Creates a
|
|
28630
|
+
* Creates a ResourceLimits message from a plain object. Also converts values to their respective internal types.
|
|
28358
28631
|
* @param object Plain object
|
|
28359
|
-
* @returns
|
|
28632
|
+
* @returns ResourceLimits
|
|
28360
28633
|
*/
|
|
28361
28634
|
static fromObject(object: {|
|
|
28362
28635
|
[k: string]: any,
|
|
28363
|
-
|}): replit$goval$api$
|
|
28636
|
+
|}): replit$goval$api$repl$ResourceLimits;
|
|
28364
28637
|
|
|
28365
28638
|
/**
|
|
28366
|
-
* Creates a plain object from a
|
|
28367
|
-
* @param message
|
|
28639
|
+
* Creates a plain object from a ResourceLimits message. Also converts values to other types if specified.
|
|
28640
|
+
* @param message ResourceLimits
|
|
28368
28641
|
* @param [options] Conversion options
|
|
28369
28642
|
* @returns Plain object
|
|
28370
28643
|
*/
|
|
28371
28644
|
static toObject(
|
|
28372
|
-
message: replit$goval$api$
|
|
28645
|
+
message: replit$goval$api$repl$ResourceLimits,
|
|
28373
28646
|
options?: $protobuf.IConversionOptions
|
|
28374
28647
|
): {|
|
|
28375
28648
|
[k: string]: any,
|
|
28376
28649
|
|};
|
|
28377
28650
|
|
|
28378
28651
|
/**
|
|
28379
|
-
* Converts this
|
|
28652
|
+
* Converts this ResourceLimits to JSON.
|
|
28380
28653
|
* @returns JSON object
|
|
28381
28654
|
*/
|
|
28382
28655
|
toJSON(): {|
|
|
28383
28656
|
[k: string]: any,
|
|
28384
28657
|
|};
|
|
28658
|
+
static Cachability: typeof replit$goval$api$repl$ResourceLimits$Cachability;
|
|
28385
28659
|
}
|
|
28386
28660
|
|
|
28387
28661
|
/**
|
|
28388
|
-
*
|
|
28662
|
+
* Cachability enum.
|
|
28389
28663
|
*/
|
|
28390
|
-
|
|
28664
|
+
|
|
28665
|
+
declare var replit$goval$api$repl$ResourceLimits$Cachability: {|
|
|
28666
|
+
+NONE: 0, // 0
|
|
28667
|
+
+USER: 1, // 1
|
|
28668
|
+
+REPL: 2, // 2
|
|
28669
|
+
|};
|
|
28391
28670
|
|
|
28392
28671
|
/**
|
|
28393
|
-
*
|
|
28672
|
+
* Properties of a Permissions.
|
|
28394
28673
|
*/
|
|
28395
|
-
declare
|
|
28674
|
+
declare type replit$goval$api$repl$IPermissions = {|
|
|
28396
28675
|
/**
|
|
28397
|
-
*
|
|
28676
|
+
* Permissions toggleAlwaysOn
|
|
28677
|
+
*/
|
|
28678
|
+
toggleAlwaysOn?: boolean | null,
|
|
28679
|
+
|};
|
|
28680
|
+
|
|
28681
|
+
/**
|
|
28682
|
+
* Represents a Permissions.
|
|
28683
|
+
*/
|
|
28684
|
+
declare class replit$goval$api$repl$Permissions {
|
|
28685
|
+
/**
|
|
28686
|
+
* Constructs a new Permissions.
|
|
28398
28687
|
* @param [properties] Properties to set
|
|
28399
28688
|
*/
|
|
28400
|
-
constructor(properties?: replit$goval$api$
|
|
28689
|
+
constructor(properties?: replit$goval$api$repl$IPermissions): this;
|
|
28401
28690
|
|
|
28402
28691
|
/**
|
|
28403
|
-
*
|
|
28692
|
+
* Permissions toggleAlwaysOn.
|
|
28693
|
+
*/
|
|
28694
|
+
toggleAlwaysOn: boolean;
|
|
28695
|
+
|
|
28696
|
+
/**
|
|
28697
|
+
* Creates a new Permissions instance using the specified properties.
|
|
28404
28698
|
* @param [properties] Properties to set
|
|
28405
|
-
* @returns
|
|
28699
|
+
* @returns Permissions instance
|
|
28406
28700
|
*/
|
|
28407
28701
|
static create(
|
|
28408
|
-
properties?: replit$goval$api$
|
|
28409
|
-
): replit$goval$api$
|
|
28702
|
+
properties?: replit$goval$api$repl$IPermissions
|
|
28703
|
+
): replit$goval$api$repl$Permissions;
|
|
28410
28704
|
|
|
28411
28705
|
/**
|
|
28412
28706
|
* [object Object],[object Object],[object Object]
|
|
28413
|
-
* @param message
|
|
28707
|
+
* @param message Permissions message or plain object to encode
|
|
28414
28708
|
* @param [writer] Writer to encode to
|
|
28415
28709
|
* @returns Writer
|
|
28416
28710
|
*/
|
|
28417
28711
|
static encode(
|
|
28418
|
-
message: replit$goval$api$
|
|
28712
|
+
message: replit$goval$api$repl$Permissions,
|
|
28419
28713
|
writer?: $protobuf.Writer
|
|
28420
28714
|
): $protobuf.Writer;
|
|
28421
28715
|
|
|
28422
28716
|
/**
|
|
28423
28717
|
* [object Object],[object Object],[object Object]
|
|
28424
|
-
* @param message
|
|
28718
|
+
* @param message Permissions message or plain object to encode
|
|
28425
28719
|
* @param [writer] Writer to encode to
|
|
28426
28720
|
* @returns Writer
|
|
28427
28721
|
*/
|
|
28428
28722
|
static encodeDelimited(
|
|
28429
|
-
message: replit$goval$api$
|
|
28723
|
+
message: replit$goval$api$repl$Permissions,
|
|
28430
28724
|
writer?: $protobuf.Writer
|
|
28431
28725
|
): $protobuf.Writer;
|
|
28432
28726
|
|
|
28433
28727
|
/**
|
|
28434
|
-
* Decodes a
|
|
28728
|
+
* Decodes a Permissions message from the specified reader or buffer.
|
|
28435
28729
|
* @param reader Reader or buffer to decode from
|
|
28436
28730
|
* @param [length] Message length if known beforehand
|
|
28437
|
-
* @returns
|
|
28731
|
+
* @returns Permissions
|
|
28438
28732
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28439
28733
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28440
28734
|
*/
|
|
28441
28735
|
static decode(
|
|
28442
28736
|
reader: $protobuf.Reader | Uint8Array,
|
|
28443
28737
|
length?: number
|
|
28444
|
-
): replit$goval$api$
|
|
28738
|
+
): replit$goval$api$repl$Permissions;
|
|
28445
28739
|
|
|
28446
28740
|
/**
|
|
28447
|
-
* Decodes a
|
|
28741
|
+
* Decodes a Permissions message from the specified reader or buffer, length delimited.
|
|
28448
28742
|
* @param reader Reader or buffer to decode from
|
|
28449
|
-
* @returns
|
|
28743
|
+
* @returns Permissions
|
|
28450
28744
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28451
28745
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28452
28746
|
*/
|
|
28453
28747
|
static decodeDelimited(
|
|
28454
28748
|
reader: $protobuf.Reader | Uint8Array
|
|
28455
|
-
): replit$goval$api$
|
|
28749
|
+
): replit$goval$api$repl$Permissions;
|
|
28456
28750
|
|
|
28457
28751
|
/**
|
|
28458
|
-
* Verifies a
|
|
28752
|
+
* Verifies a Permissions message.
|
|
28459
28753
|
* @param message Plain object to verify
|
|
28460
28754
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
28461
28755
|
*/
|
|
@@ -28464,29 +28758,29 @@ declare class replit$goval$api$features$Boosted {
|
|
|
28464
28758
|
|}): string | null;
|
|
28465
28759
|
|
|
28466
28760
|
/**
|
|
28467
|
-
* Creates a
|
|
28761
|
+
* Creates a Permissions message from a plain object. Also converts values to their respective internal types.
|
|
28468
28762
|
* @param object Plain object
|
|
28469
|
-
* @returns
|
|
28763
|
+
* @returns Permissions
|
|
28470
28764
|
*/
|
|
28471
28765
|
static fromObject(object: {|
|
|
28472
28766
|
[k: string]: any,
|
|
28473
|
-
|}): replit$goval$api$
|
|
28767
|
+
|}): replit$goval$api$repl$Permissions;
|
|
28474
28768
|
|
|
28475
28769
|
/**
|
|
28476
|
-
* Creates a plain object from a
|
|
28477
|
-
* @param message
|
|
28770
|
+
* Creates a plain object from a Permissions message. Also converts values to other types if specified.
|
|
28771
|
+
* @param message Permissions
|
|
28478
28772
|
* @param [options] Conversion options
|
|
28479
28773
|
* @returns Plain object
|
|
28480
28774
|
*/
|
|
28481
28775
|
static toObject(
|
|
28482
|
-
message: replit$goval$api$
|
|
28776
|
+
message: replit$goval$api$repl$Permissions,
|
|
28483
28777
|
options?: $protobuf.IConversionOptions
|
|
28484
28778
|
): {|
|
|
28485
28779
|
[k: string]: any,
|
|
28486
28780
|
|};
|
|
28487
28781
|
|
|
28488
28782
|
/**
|
|
28489
|
-
* Converts this
|
|
28783
|
+
* Converts this Permissions to JSON.
|
|
28490
28784
|
* @returns JSON object
|
|
28491
28785
|
*/
|
|
28492
28786
|
toJSON(): {|
|
|
@@ -28495,115 +28789,155 @@ declare class replit$goval$api$features$Boosted {
|
|
|
28495
28789
|
}
|
|
28496
28790
|
|
|
28497
28791
|
/**
|
|
28498
|
-
*
|
|
28792
|
+
* Persistence enum.
|
|
28499
28793
|
*/
|
|
28500
|
-
|
|
28794
|
+
|
|
28795
|
+
declare var replit$goval$api$repl$Persistence: {|
|
|
28796
|
+
+PERSISTENT: 0, // 0
|
|
28797
|
+
+EPHEMERAL: 1, // 1
|
|
28798
|
+
+NONE: 2, // 2
|
|
28799
|
+
|};
|
|
28800
|
+
|
|
28801
|
+
/**
|
|
28802
|
+
* Properties of a Metadata.
|
|
28803
|
+
*/
|
|
28804
|
+
declare type replit$goval$api$repl$IMetadata = {|
|
|
28501
28805
|
/**
|
|
28502
|
-
*
|
|
28806
|
+
* Metadata repl
|
|
28503
28807
|
*/
|
|
28504
|
-
|
|
28808
|
+
repl?: replit$goval$api$repl$Repl | replit$goval$api$repl$IRepl | null,
|
|
28505
28809
|
|
|
28506
28810
|
/**
|
|
28507
|
-
*
|
|
28811
|
+
* Metadata resourceLimits
|
|
28508
28812
|
*/
|
|
28509
|
-
|
|
28510
|
-
| replit$goval$api$
|
|
28511
|
-
| replit$goval$api$
|
|
28813
|
+
resourceLimits?:
|
|
28814
|
+
| replit$goval$api$repl$ResourceLimits
|
|
28815
|
+
| replit$goval$api$repl$IResourceLimits
|
|
28512
28816
|
| null,
|
|
28513
28817
|
|
|
28514
28818
|
/**
|
|
28515
|
-
*
|
|
28819
|
+
* Metadata persistence
|
|
28516
28820
|
*/
|
|
28517
|
-
|
|
28821
|
+
persistence?: $Values<typeof replit$goval$api$repl$Persistence> | null,
|
|
28822
|
+
|
|
28823
|
+
/**
|
|
28824
|
+
* Metadata flags
|
|
28825
|
+
*/
|
|
28826
|
+
flags?: string[] | null,
|
|
28827
|
+
|
|
28828
|
+
/**
|
|
28829
|
+
* Metadata permissions
|
|
28830
|
+
*/
|
|
28831
|
+
permissions?:
|
|
28832
|
+
| replit$goval$api$repl$Permissions
|
|
28833
|
+
| replit$goval$api$repl$IPermissions
|
|
28834
|
+
| null,
|
|
28835
|
+
|
|
28836
|
+
/**
|
|
28837
|
+
* Metadata features
|
|
28838
|
+
*/
|
|
28839
|
+
features?:
|
|
28840
|
+
| (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
|
|
28841
|
+
| null,
|
|
28518
28842
|
|};
|
|
28519
28843
|
|
|
28520
28844
|
/**
|
|
28521
|
-
* Represents a
|
|
28845
|
+
* Represents a Metadata.
|
|
28522
28846
|
*/
|
|
28523
|
-
declare class replit$goval$api$
|
|
28847
|
+
declare class replit$goval$api$repl$Metadata {
|
|
28524
28848
|
/**
|
|
28525
|
-
* Constructs a new
|
|
28849
|
+
* Constructs a new Metadata.
|
|
28526
28850
|
* @param [properties] Properties to set
|
|
28527
28851
|
*/
|
|
28528
|
-
constructor(properties?: replit$goval$api$
|
|
28852
|
+
constructor(properties?: replit$goval$api$repl$IMetadata): this;
|
|
28529
28853
|
|
|
28530
28854
|
/**
|
|
28531
|
-
*
|
|
28855
|
+
* Metadata repl.
|
|
28532
28856
|
*/
|
|
28533
|
-
|
|
28857
|
+
repl?: replit$goval$api$repl$Repl | null;
|
|
28534
28858
|
|
|
28535
28859
|
/**
|
|
28536
|
-
*
|
|
28860
|
+
* Metadata resourceLimits.
|
|
28537
28861
|
*/
|
|
28538
|
-
|
|
28862
|
+
resourceLimits?: replit$goval$api$repl$ResourceLimits | null;
|
|
28539
28863
|
|
|
28540
28864
|
/**
|
|
28541
|
-
*
|
|
28865
|
+
* Metadata persistence.
|
|
28542
28866
|
*/
|
|
28543
|
-
|
|
28867
|
+
persistence: $Values<typeof replit$goval$api$repl$Persistence>;
|
|
28544
28868
|
|
|
28545
28869
|
/**
|
|
28546
|
-
*
|
|
28870
|
+
* Metadata flags.
|
|
28547
28871
|
*/
|
|
28548
|
-
|
|
28872
|
+
flags: string[];
|
|
28549
28873
|
|
|
28550
28874
|
/**
|
|
28551
|
-
*
|
|
28875
|
+
* Metadata permissions.
|
|
28876
|
+
*/
|
|
28877
|
+
permissions?: replit$goval$api$repl$Permissions | null;
|
|
28878
|
+
|
|
28879
|
+
/**
|
|
28880
|
+
* Metadata features.
|
|
28881
|
+
*/
|
|
28882
|
+
features: replit$goval$api$features$Feature[];
|
|
28883
|
+
|
|
28884
|
+
/**
|
|
28885
|
+
* Creates a new Metadata instance using the specified properties.
|
|
28552
28886
|
* @param [properties] Properties to set
|
|
28553
|
-
* @returns
|
|
28887
|
+
* @returns Metadata instance
|
|
28554
28888
|
*/
|
|
28555
28889
|
static create(
|
|
28556
|
-
properties?: replit$goval$api$
|
|
28557
|
-
): replit$goval$api$
|
|
28890
|
+
properties?: replit$goval$api$repl$IMetadata
|
|
28891
|
+
): replit$goval$api$repl$Metadata;
|
|
28558
28892
|
|
|
28559
28893
|
/**
|
|
28560
28894
|
* [object Object],[object Object],[object Object]
|
|
28561
|
-
* @param message
|
|
28895
|
+
* @param message Metadata message or plain object to encode
|
|
28562
28896
|
* @param [writer] Writer to encode to
|
|
28563
28897
|
* @returns Writer
|
|
28564
28898
|
*/
|
|
28565
28899
|
static encode(
|
|
28566
|
-
message: replit$goval$api$
|
|
28900
|
+
message: replit$goval$api$repl$Metadata,
|
|
28567
28901
|
writer?: $protobuf.Writer
|
|
28568
28902
|
): $protobuf.Writer;
|
|
28569
28903
|
|
|
28570
28904
|
/**
|
|
28571
28905
|
* [object Object],[object Object],[object Object]
|
|
28572
|
-
* @param message
|
|
28906
|
+
* @param message Metadata message or plain object to encode
|
|
28573
28907
|
* @param [writer] Writer to encode to
|
|
28574
28908
|
* @returns Writer
|
|
28575
28909
|
*/
|
|
28576
28910
|
static encodeDelimited(
|
|
28577
|
-
message: replit$goval$api$
|
|
28911
|
+
message: replit$goval$api$repl$Metadata,
|
|
28578
28912
|
writer?: $protobuf.Writer
|
|
28579
28913
|
): $protobuf.Writer;
|
|
28580
28914
|
|
|
28581
28915
|
/**
|
|
28582
|
-
* Decodes a
|
|
28916
|
+
* Decodes a Metadata message from the specified reader or buffer.
|
|
28583
28917
|
* @param reader Reader or buffer to decode from
|
|
28584
28918
|
* @param [length] Message length if known beforehand
|
|
28585
|
-
* @returns
|
|
28919
|
+
* @returns Metadata
|
|
28586
28920
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28587
28921
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28588
28922
|
*/
|
|
28589
28923
|
static decode(
|
|
28590
28924
|
reader: $protobuf.Reader | Uint8Array,
|
|
28591
28925
|
length?: number
|
|
28592
|
-
): replit$goval$api$
|
|
28926
|
+
): replit$goval$api$repl$Metadata;
|
|
28593
28927
|
|
|
28594
28928
|
/**
|
|
28595
|
-
* Decodes a
|
|
28929
|
+
* Decodes a Metadata message from the specified reader or buffer, length delimited.
|
|
28596
28930
|
* @param reader Reader or buffer to decode from
|
|
28597
|
-
* @returns
|
|
28931
|
+
* @returns Metadata
|
|
28598
28932
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28599
28933
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28600
28934
|
*/
|
|
28601
28935
|
static decodeDelimited(
|
|
28602
28936
|
reader: $protobuf.Reader | Uint8Array
|
|
28603
|
-
): replit$goval$api$
|
|
28937
|
+
): replit$goval$api$repl$Metadata;
|
|
28604
28938
|
|
|
28605
28939
|
/**
|
|
28606
|
-
* Verifies a
|
|
28940
|
+
* Verifies a Metadata message.
|
|
28607
28941
|
* @param message Plain object to verify
|
|
28608
28942
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
28609
28943
|
*/
|
|
@@ -28612,29 +28946,29 @@ declare class replit$goval$api$features$Feature {
|
|
|
28612
28946
|
|}): string | null;
|
|
28613
28947
|
|
|
28614
28948
|
/**
|
|
28615
|
-
* Creates a
|
|
28949
|
+
* Creates a Metadata message from a plain object. Also converts values to their respective internal types.
|
|
28616
28950
|
* @param object Plain object
|
|
28617
|
-
* @returns
|
|
28951
|
+
* @returns Metadata
|
|
28618
28952
|
*/
|
|
28619
28953
|
static fromObject(object: {|
|
|
28620
28954
|
[k: string]: any,
|
|
28621
|
-
|}): replit$goval$api$
|
|
28955
|
+
|}): replit$goval$api$repl$Metadata;
|
|
28622
28956
|
|
|
28623
28957
|
/**
|
|
28624
|
-
* Creates a plain object from a
|
|
28625
|
-
* @param message
|
|
28958
|
+
* Creates a plain object from a Metadata message. Also converts values to other types if specified.
|
|
28959
|
+
* @param message Metadata
|
|
28626
28960
|
* @param [options] Conversion options
|
|
28627
28961
|
* @returns Plain object
|
|
28628
28962
|
*/
|
|
28629
28963
|
static toObject(
|
|
28630
|
-
message: replit$goval$api$
|
|
28964
|
+
message: replit$goval$api$repl$Metadata,
|
|
28631
28965
|
options?: $protobuf.IConversionOptions
|
|
28632
28966
|
): {|
|
|
28633
28967
|
[k: string]: any,
|
|
28634
28968
|
|};
|
|
28635
28969
|
|
|
28636
28970
|
/**
|
|
28637
|
-
* Converts this
|
|
28971
|
+
* Converts this Metadata to JSON.
|
|
28638
28972
|
* @returns JSON object
|
|
28639
28973
|
*/
|
|
28640
28974
|
toJSON(): {|
|