@replit/protocol 0.2.97 → 0.2.99
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 +611 -2
- package/main/index.js +1480 -4
- package/main/index.js.flow +866 -1
- package/package.json +2 -2
- package/yarn-error.log +386 -0
package/main/index.d.ts
CHANGED
|
@@ -21943,6 +21943,9 @@ export namespace replit {
|
|
|
21943
21943
|
|
|
21944
21944
|
/** GovalReplIdentity userId */
|
|
21945
21945
|
userId?: (number|null);
|
|
21946
|
+
|
|
21947
|
+
/** GovalReplIdentity buildInfo */
|
|
21948
|
+
buildInfo?: (replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null);
|
|
21946
21949
|
}
|
|
21947
21950
|
|
|
21948
21951
|
/** Represents a GovalReplIdentity. */
|
|
@@ -21975,6 +21978,9 @@ export namespace replit {
|
|
|
21975
21978
|
/** GovalReplIdentity userId. */
|
|
21976
21979
|
public userId: number;
|
|
21977
21980
|
|
|
21981
|
+
/** GovalReplIdentity buildInfo. */
|
|
21982
|
+
public buildInfo?: (replit.goval.api.repl.BuildInfo|null);
|
|
21983
|
+
|
|
21978
21984
|
/**
|
|
21979
21985
|
* Creates a new GovalReplIdentity instance using the specified properties.
|
|
21980
21986
|
* @param [properties] Properties to set
|
|
@@ -22055,6 +22061,9 @@ export namespace replit {
|
|
|
22055
22061
|
/** LoreCommand softTakedown */
|
|
22056
22062
|
softTakedown?: (replit.goval.api.SoftTakedown|replit.goval.api.ISoftTakedown|null);
|
|
22057
22063
|
|
|
22064
|
+
/** LoreCommand takedown */
|
|
22065
|
+
takedown?: (replit.goval.api.Takedown|replit.goval.api.ITakedown|null);
|
|
22066
|
+
|
|
22058
22067
|
/** LoreCommand govalCommand */
|
|
22059
22068
|
govalCommand?: (replit.goval.api.GovalCommand|replit.goval.api.IGovalCommand|null);
|
|
22060
22069
|
|
|
@@ -22080,6 +22089,9 @@ export namespace replit {
|
|
|
22080
22089
|
/** LoreCommand softTakedown. */
|
|
22081
22090
|
public softTakedown?: (replit.goval.api.SoftTakedown|null);
|
|
22082
22091
|
|
|
22092
|
+
/** LoreCommand takedown. */
|
|
22093
|
+
public takedown?: (replit.goval.api.Takedown|null);
|
|
22094
|
+
|
|
22083
22095
|
/** LoreCommand govalCommand. */
|
|
22084
22096
|
public govalCommand?: (replit.goval.api.GovalCommand|null);
|
|
22085
22097
|
|
|
@@ -22090,7 +22102,7 @@ export namespace replit {
|
|
|
22090
22102
|
public restore?: (replit.goval.api.Restore|null);
|
|
22091
22103
|
|
|
22092
22104
|
/** LoreCommand command. */
|
|
22093
|
-
public command?: ("clusterTransfer"|"softTakedown"|"govalCommand"|"multiGovalCommand"|"restore");
|
|
22105
|
+
public command?: ("clusterTransfer"|"softTakedown"|"takedown"|"govalCommand"|"multiGovalCommand"|"restore");
|
|
22094
22106
|
|
|
22095
22107
|
/**
|
|
22096
22108
|
* Creates a new LoreCommand instance using the specified properties.
|
|
@@ -22376,6 +22388,96 @@ export namespace replit {
|
|
|
22376
22388
|
public toJSON(): { [k: string]: any };
|
|
22377
22389
|
}
|
|
22378
22390
|
|
|
22391
|
+
/** Properties of a Takedown. */
|
|
22392
|
+
interface ITakedown {
|
|
22393
|
+
|
|
22394
|
+
/** Takedown replId */
|
|
22395
|
+
replId?: (string|null);
|
|
22396
|
+
}
|
|
22397
|
+
|
|
22398
|
+
/** Represents a Takedown. */
|
|
22399
|
+
class Takedown {
|
|
22400
|
+
|
|
22401
|
+
/**
|
|
22402
|
+
* Constructs a new Takedown.
|
|
22403
|
+
* @param [properties] Properties to set
|
|
22404
|
+
*/
|
|
22405
|
+
private constructor(properties?: replit.goval.api.ITakedown);
|
|
22406
|
+
|
|
22407
|
+
/** Takedown replId. */
|
|
22408
|
+
public replId: string;
|
|
22409
|
+
|
|
22410
|
+
/**
|
|
22411
|
+
* Creates a new Takedown instance using the specified properties.
|
|
22412
|
+
* @param [properties] Properties to set
|
|
22413
|
+
* @returns Takedown instance
|
|
22414
|
+
*/
|
|
22415
|
+
public static create(properties?: replit.goval.api.ITakedown): replit.goval.api.Takedown;
|
|
22416
|
+
|
|
22417
|
+
/**
|
|
22418
|
+
* Encodes the specified Takedown message. Does not implicitly {@link replit.goval.api.Takedown.verify|verify} messages.
|
|
22419
|
+
* @param message Takedown message or plain object to encode
|
|
22420
|
+
* @param [writer] Writer to encode to
|
|
22421
|
+
* @returns Writer
|
|
22422
|
+
*/
|
|
22423
|
+
public static encode(message: replit.goval.api.Takedown, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22424
|
+
|
|
22425
|
+
/**
|
|
22426
|
+
* Encodes the specified Takedown message, length delimited. Does not implicitly {@link replit.goval.api.Takedown.verify|verify} messages.
|
|
22427
|
+
* @param message Takedown message or plain object to encode
|
|
22428
|
+
* @param [writer] Writer to encode to
|
|
22429
|
+
* @returns Writer
|
|
22430
|
+
*/
|
|
22431
|
+
public static encodeDelimited(message: replit.goval.api.Takedown, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22432
|
+
|
|
22433
|
+
/**
|
|
22434
|
+
* Decodes a Takedown message from the specified reader or buffer.
|
|
22435
|
+
* @param reader Reader or buffer to decode from
|
|
22436
|
+
* @param [length] Message length if known beforehand
|
|
22437
|
+
* @returns Takedown
|
|
22438
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22439
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22440
|
+
*/
|
|
22441
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.Takedown;
|
|
22442
|
+
|
|
22443
|
+
/**
|
|
22444
|
+
* Decodes a Takedown message from the specified reader or buffer, length delimited.
|
|
22445
|
+
* @param reader Reader or buffer to decode from
|
|
22446
|
+
* @returns Takedown
|
|
22447
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22448
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22449
|
+
*/
|
|
22450
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.Takedown;
|
|
22451
|
+
|
|
22452
|
+
/**
|
|
22453
|
+
* Verifies a Takedown message.
|
|
22454
|
+
* @param message Plain object to verify
|
|
22455
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22456
|
+
*/
|
|
22457
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22458
|
+
|
|
22459
|
+
/**
|
|
22460
|
+
* Creates a Takedown message from a plain object. Also converts values to their respective internal types.
|
|
22461
|
+
* @param object Plain object
|
|
22462
|
+
* @returns Takedown
|
|
22463
|
+
*/
|
|
22464
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.Takedown;
|
|
22465
|
+
|
|
22466
|
+
/**
|
|
22467
|
+
* Creates a plain object from a Takedown message. Also converts values to other types if specified.
|
|
22468
|
+
* @param message Takedown
|
|
22469
|
+
* @param [options] Conversion options
|
|
22470
|
+
* @returns Plain object
|
|
22471
|
+
*/
|
|
22472
|
+
public static toObject(message: replit.goval.api.Takedown, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22473
|
+
|
|
22474
|
+
/**
|
|
22475
|
+
* Converts this Takedown to JSON.
|
|
22476
|
+
* @returns JSON object
|
|
22477
|
+
*/
|
|
22478
|
+
public toJSON(): { [k: string]: any };
|
|
22479
|
+
}
|
|
22480
|
+
|
|
22379
22481
|
/** Properties of a GovalCommand. */
|
|
22380
22482
|
interface IGovalCommand {
|
|
22381
22483
|
|
|
@@ -22393,6 +22495,12 @@ export namespace replit {
|
|
|
22393
22495
|
|
|
22394
22496
|
/** GovalCommand updateReplFlags */
|
|
22395
22497
|
updateReplFlags?: (replit.goval.api.UpdateReplFlags|replit.goval.api.IUpdateReplFlags|null);
|
|
22498
|
+
|
|
22499
|
+
/** GovalCommand softTakedown */
|
|
22500
|
+
softTakedown?: (replit.goval.api.SoftTakedown|replit.goval.api.ISoftTakedown|null);
|
|
22501
|
+
|
|
22502
|
+
/** GovalCommand takedown */
|
|
22503
|
+
takedown?: (replit.goval.api.Takedown|replit.goval.api.ITakedown|null);
|
|
22396
22504
|
}
|
|
22397
22505
|
|
|
22398
22506
|
/** Represents a GovalCommand. */
|
|
@@ -22419,8 +22527,14 @@ export namespace replit {
|
|
|
22419
22527
|
/** GovalCommand updateReplFlags. */
|
|
22420
22528
|
public updateReplFlags?: (replit.goval.api.UpdateReplFlags|null);
|
|
22421
22529
|
|
|
22530
|
+
/** GovalCommand softTakedown. */
|
|
22531
|
+
public softTakedown?: (replit.goval.api.SoftTakedown|null);
|
|
22532
|
+
|
|
22533
|
+
/** GovalCommand takedown. */
|
|
22534
|
+
public takedown?: (replit.goval.api.Takedown|null);
|
|
22535
|
+
|
|
22422
22536
|
/** GovalCommand command. */
|
|
22423
|
-
public command?: ("updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags");
|
|
22537
|
+
public command?: ("updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown");
|
|
22424
22538
|
|
|
22425
22539
|
/**
|
|
22426
22540
|
* Creates a new GovalCommand instance using the specified properties.
|
|
@@ -24059,6 +24173,12 @@ export namespace replit {
|
|
|
24059
24173
|
|
|
24060
24174
|
/** BuildInfo url */
|
|
24061
24175
|
url?: (string|null);
|
|
24176
|
+
|
|
24177
|
+
/** BuildInfo buildId */
|
|
24178
|
+
buildId?: (string|null);
|
|
24179
|
+
|
|
24180
|
+
/** BuildInfo machineTier */
|
|
24181
|
+
machineTier?: (string|null);
|
|
24062
24182
|
}
|
|
24063
24183
|
|
|
24064
24184
|
/** Represents a BuildInfo. */
|
|
@@ -24076,6 +24196,12 @@ export namespace replit {
|
|
|
24076
24196
|
/** BuildInfo url. */
|
|
24077
24197
|
public url: string;
|
|
24078
24198
|
|
|
24199
|
+
/** BuildInfo buildId. */
|
|
24200
|
+
public buildId: string;
|
|
24201
|
+
|
|
24202
|
+
/** BuildInfo machineTier. */
|
|
24203
|
+
public machineTier: string;
|
|
24204
|
+
|
|
24079
24205
|
/**
|
|
24080
24206
|
* Creates a new BuildInfo instance using the specified properties.
|
|
24081
24207
|
* @param [properties] Properties to set
|
|
@@ -24147,6 +24273,489 @@ export namespace replit {
|
|
|
24147
24273
|
public toJSON(): { [k: string]: any };
|
|
24148
24274
|
}
|
|
24149
24275
|
}
|
|
24276
|
+
|
|
24277
|
+
/** Properties of a PrivateReplsPowerup. */
|
|
24278
|
+
interface IPrivateReplsPowerup {
|
|
24279
|
+
|
|
24280
|
+
/** PrivateReplsPowerup enabled */
|
|
24281
|
+
enabled?: (boolean|null);
|
|
24282
|
+
}
|
|
24283
|
+
|
|
24284
|
+
/** Represents a PrivateReplsPowerup. */
|
|
24285
|
+
class PrivateReplsPowerup {
|
|
24286
|
+
|
|
24287
|
+
/**
|
|
24288
|
+
* Constructs a new PrivateReplsPowerup.
|
|
24289
|
+
* @param [properties] Properties to set
|
|
24290
|
+
*/
|
|
24291
|
+
private constructor(properties?: replit.goval.api.IPrivateReplsPowerup);
|
|
24292
|
+
|
|
24293
|
+
/** PrivateReplsPowerup enabled. */
|
|
24294
|
+
public enabled: boolean;
|
|
24295
|
+
|
|
24296
|
+
/**
|
|
24297
|
+
* Creates a new PrivateReplsPowerup instance using the specified properties.
|
|
24298
|
+
* @param [properties] Properties to set
|
|
24299
|
+
* @returns PrivateReplsPowerup instance
|
|
24300
|
+
*/
|
|
24301
|
+
public static create(properties?: replit.goval.api.IPrivateReplsPowerup): replit.goval.api.PrivateReplsPowerup;
|
|
24302
|
+
|
|
24303
|
+
/**
|
|
24304
|
+
* Encodes the specified PrivateReplsPowerup message. Does not implicitly {@link replit.goval.api.PrivateReplsPowerup.verify|verify} messages.
|
|
24305
|
+
* @param message PrivateReplsPowerup message or plain object to encode
|
|
24306
|
+
* @param [writer] Writer to encode to
|
|
24307
|
+
* @returns Writer
|
|
24308
|
+
*/
|
|
24309
|
+
public static encode(message: replit.goval.api.PrivateReplsPowerup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24310
|
+
|
|
24311
|
+
/**
|
|
24312
|
+
* Encodes the specified PrivateReplsPowerup message, length delimited. Does not implicitly {@link replit.goval.api.PrivateReplsPowerup.verify|verify} messages.
|
|
24313
|
+
* @param message PrivateReplsPowerup message or plain object to encode
|
|
24314
|
+
* @param [writer] Writer to encode to
|
|
24315
|
+
* @returns Writer
|
|
24316
|
+
*/
|
|
24317
|
+
public static encodeDelimited(message: replit.goval.api.PrivateReplsPowerup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24318
|
+
|
|
24319
|
+
/**
|
|
24320
|
+
* Decodes a PrivateReplsPowerup message from the specified reader or buffer.
|
|
24321
|
+
* @param reader Reader or buffer to decode from
|
|
24322
|
+
* @param [length] Message length if known beforehand
|
|
24323
|
+
* @returns PrivateReplsPowerup
|
|
24324
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24325
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24326
|
+
*/
|
|
24327
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.PrivateReplsPowerup;
|
|
24328
|
+
|
|
24329
|
+
/**
|
|
24330
|
+
* Decodes a PrivateReplsPowerup message from the specified reader or buffer, length delimited.
|
|
24331
|
+
* @param reader Reader or buffer to decode from
|
|
24332
|
+
* @returns PrivateReplsPowerup
|
|
24333
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24334
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24335
|
+
*/
|
|
24336
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.PrivateReplsPowerup;
|
|
24337
|
+
|
|
24338
|
+
/**
|
|
24339
|
+
* Verifies a PrivateReplsPowerup message.
|
|
24340
|
+
* @param message Plain object to verify
|
|
24341
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24342
|
+
*/
|
|
24343
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24344
|
+
|
|
24345
|
+
/**
|
|
24346
|
+
* Creates a PrivateReplsPowerup message from a plain object. Also converts values to their respective internal types.
|
|
24347
|
+
* @param object Plain object
|
|
24348
|
+
* @returns PrivateReplsPowerup
|
|
24349
|
+
*/
|
|
24350
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.PrivateReplsPowerup;
|
|
24351
|
+
|
|
24352
|
+
/**
|
|
24353
|
+
* Creates a plain object from a PrivateReplsPowerup message. Also converts values to other types if specified.
|
|
24354
|
+
* @param message PrivateReplsPowerup
|
|
24355
|
+
* @param [options] Conversion options
|
|
24356
|
+
* @returns Plain object
|
|
24357
|
+
*/
|
|
24358
|
+
public static toObject(message: replit.goval.api.PrivateReplsPowerup, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24359
|
+
|
|
24360
|
+
/**
|
|
24361
|
+
* Converts this PrivateReplsPowerup to JSON.
|
|
24362
|
+
* @returns JSON object
|
|
24363
|
+
*/
|
|
24364
|
+
public toJSON(): { [k: string]: any };
|
|
24365
|
+
}
|
|
24366
|
+
|
|
24367
|
+
/** Properties of a GhostwriterPowerup. */
|
|
24368
|
+
interface IGhostwriterPowerup {
|
|
24369
|
+
|
|
24370
|
+
/** GhostwriterPowerup enabled */
|
|
24371
|
+
enabled?: (boolean|null);
|
|
24372
|
+
}
|
|
24373
|
+
|
|
24374
|
+
/** Represents a GhostwriterPowerup. */
|
|
24375
|
+
class GhostwriterPowerup {
|
|
24376
|
+
|
|
24377
|
+
/**
|
|
24378
|
+
* Constructs a new GhostwriterPowerup.
|
|
24379
|
+
* @param [properties] Properties to set
|
|
24380
|
+
*/
|
|
24381
|
+
private constructor(properties?: replit.goval.api.IGhostwriterPowerup);
|
|
24382
|
+
|
|
24383
|
+
/** GhostwriterPowerup enabled. */
|
|
24384
|
+
public enabled: boolean;
|
|
24385
|
+
|
|
24386
|
+
/**
|
|
24387
|
+
* Creates a new GhostwriterPowerup instance using the specified properties.
|
|
24388
|
+
* @param [properties] Properties to set
|
|
24389
|
+
* @returns GhostwriterPowerup instance
|
|
24390
|
+
*/
|
|
24391
|
+
public static create(properties?: replit.goval.api.IGhostwriterPowerup): replit.goval.api.GhostwriterPowerup;
|
|
24392
|
+
|
|
24393
|
+
/**
|
|
24394
|
+
* Encodes the specified GhostwriterPowerup message. Does not implicitly {@link replit.goval.api.GhostwriterPowerup.verify|verify} messages.
|
|
24395
|
+
* @param message GhostwriterPowerup message or plain object to encode
|
|
24396
|
+
* @param [writer] Writer to encode to
|
|
24397
|
+
* @returns Writer
|
|
24398
|
+
*/
|
|
24399
|
+
public static encode(message: replit.goval.api.GhostwriterPowerup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24400
|
+
|
|
24401
|
+
/**
|
|
24402
|
+
* Encodes the specified GhostwriterPowerup message, length delimited. Does not implicitly {@link replit.goval.api.GhostwriterPowerup.verify|verify} messages.
|
|
24403
|
+
* @param message GhostwriterPowerup message or plain object to encode
|
|
24404
|
+
* @param [writer] Writer to encode to
|
|
24405
|
+
* @returns Writer
|
|
24406
|
+
*/
|
|
24407
|
+
public static encodeDelimited(message: replit.goval.api.GhostwriterPowerup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24408
|
+
|
|
24409
|
+
/**
|
|
24410
|
+
* Decodes a GhostwriterPowerup message from the specified reader or buffer.
|
|
24411
|
+
* @param reader Reader or buffer to decode from
|
|
24412
|
+
* @param [length] Message length if known beforehand
|
|
24413
|
+
* @returns GhostwriterPowerup
|
|
24414
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24415
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24416
|
+
*/
|
|
24417
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.GhostwriterPowerup;
|
|
24418
|
+
|
|
24419
|
+
/**
|
|
24420
|
+
* Decodes a GhostwriterPowerup message from the specified reader or buffer, length delimited.
|
|
24421
|
+
* @param reader Reader or buffer to decode from
|
|
24422
|
+
* @returns GhostwriterPowerup
|
|
24423
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24424
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24425
|
+
*/
|
|
24426
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.GhostwriterPowerup;
|
|
24427
|
+
|
|
24428
|
+
/**
|
|
24429
|
+
* Verifies a GhostwriterPowerup message.
|
|
24430
|
+
* @param message Plain object to verify
|
|
24431
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24432
|
+
*/
|
|
24433
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24434
|
+
|
|
24435
|
+
/**
|
|
24436
|
+
* Creates a GhostwriterPowerup message from a plain object. Also converts values to their respective internal types.
|
|
24437
|
+
* @param object Plain object
|
|
24438
|
+
* @returns GhostwriterPowerup
|
|
24439
|
+
*/
|
|
24440
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.GhostwriterPowerup;
|
|
24441
|
+
|
|
24442
|
+
/**
|
|
24443
|
+
* Creates a plain object from a GhostwriterPowerup message. Also converts values to other types if specified.
|
|
24444
|
+
* @param message GhostwriterPowerup
|
|
24445
|
+
* @param [options] Conversion options
|
|
24446
|
+
* @returns Plain object
|
|
24447
|
+
*/
|
|
24448
|
+
public static toObject(message: replit.goval.api.GhostwriterPowerup, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24449
|
+
|
|
24450
|
+
/**
|
|
24451
|
+
* Converts this GhostwriterPowerup to JSON.
|
|
24452
|
+
* @returns JSON object
|
|
24453
|
+
*/
|
|
24454
|
+
public toJSON(): { [k: string]: any };
|
|
24455
|
+
}
|
|
24456
|
+
|
|
24457
|
+
/** Properties of a ConnectivityPowerup. */
|
|
24458
|
+
interface IConnectivityPowerup {
|
|
24459
|
+
|
|
24460
|
+
/** ConnectivityPowerup enabled */
|
|
24461
|
+
enabled?: (boolean|null);
|
|
24462
|
+
}
|
|
24463
|
+
|
|
24464
|
+
/** Represents a ConnectivityPowerup. */
|
|
24465
|
+
class ConnectivityPowerup {
|
|
24466
|
+
|
|
24467
|
+
/**
|
|
24468
|
+
* Constructs a new ConnectivityPowerup.
|
|
24469
|
+
* @param [properties] Properties to set
|
|
24470
|
+
*/
|
|
24471
|
+
private constructor(properties?: replit.goval.api.IConnectivityPowerup);
|
|
24472
|
+
|
|
24473
|
+
/** ConnectivityPowerup enabled. */
|
|
24474
|
+
public enabled: boolean;
|
|
24475
|
+
|
|
24476
|
+
/**
|
|
24477
|
+
* Creates a new ConnectivityPowerup instance using the specified properties.
|
|
24478
|
+
* @param [properties] Properties to set
|
|
24479
|
+
* @returns ConnectivityPowerup instance
|
|
24480
|
+
*/
|
|
24481
|
+
public static create(properties?: replit.goval.api.IConnectivityPowerup): replit.goval.api.ConnectivityPowerup;
|
|
24482
|
+
|
|
24483
|
+
/**
|
|
24484
|
+
* Encodes the specified ConnectivityPowerup message. Does not implicitly {@link replit.goval.api.ConnectivityPowerup.verify|verify} messages.
|
|
24485
|
+
* @param message ConnectivityPowerup message or plain object to encode
|
|
24486
|
+
* @param [writer] Writer to encode to
|
|
24487
|
+
* @returns Writer
|
|
24488
|
+
*/
|
|
24489
|
+
public static encode(message: replit.goval.api.ConnectivityPowerup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24490
|
+
|
|
24491
|
+
/**
|
|
24492
|
+
* Encodes the specified ConnectivityPowerup message, length delimited. Does not implicitly {@link replit.goval.api.ConnectivityPowerup.verify|verify} messages.
|
|
24493
|
+
* @param message ConnectivityPowerup message or plain object to encode
|
|
24494
|
+
* @param [writer] Writer to encode to
|
|
24495
|
+
* @returns Writer
|
|
24496
|
+
*/
|
|
24497
|
+
public static encodeDelimited(message: replit.goval.api.ConnectivityPowerup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24498
|
+
|
|
24499
|
+
/**
|
|
24500
|
+
* Decodes a ConnectivityPowerup message from the specified reader or buffer.
|
|
24501
|
+
* @param reader Reader or buffer to decode from
|
|
24502
|
+
* @param [length] Message length if known beforehand
|
|
24503
|
+
* @returns ConnectivityPowerup
|
|
24504
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24505
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24506
|
+
*/
|
|
24507
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ConnectivityPowerup;
|
|
24508
|
+
|
|
24509
|
+
/**
|
|
24510
|
+
* Decodes a ConnectivityPowerup message from the specified reader or buffer, length delimited.
|
|
24511
|
+
* @param reader Reader or buffer to decode from
|
|
24512
|
+
* @returns ConnectivityPowerup
|
|
24513
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24514
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24515
|
+
*/
|
|
24516
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ConnectivityPowerup;
|
|
24517
|
+
|
|
24518
|
+
/**
|
|
24519
|
+
* Verifies a ConnectivityPowerup message.
|
|
24520
|
+
* @param message Plain object to verify
|
|
24521
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24522
|
+
*/
|
|
24523
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24524
|
+
|
|
24525
|
+
/**
|
|
24526
|
+
* Creates a ConnectivityPowerup message from a plain object. Also converts values to their respective internal types.
|
|
24527
|
+
* @param object Plain object
|
|
24528
|
+
* @returns ConnectivityPowerup
|
|
24529
|
+
*/
|
|
24530
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ConnectivityPowerup;
|
|
24531
|
+
|
|
24532
|
+
/**
|
|
24533
|
+
* Creates a plain object from a ConnectivityPowerup message. Also converts values to other types if specified.
|
|
24534
|
+
* @param message ConnectivityPowerup
|
|
24535
|
+
* @param [options] Conversion options
|
|
24536
|
+
* @returns Plain object
|
|
24537
|
+
*/
|
|
24538
|
+
public static toObject(message: replit.goval.api.ConnectivityPowerup, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24539
|
+
|
|
24540
|
+
/**
|
|
24541
|
+
* Converts this ConnectivityPowerup to JSON.
|
|
24542
|
+
* @returns JSON object
|
|
24543
|
+
*/
|
|
24544
|
+
public toJSON(): { [k: string]: any };
|
|
24545
|
+
}
|
|
24546
|
+
|
|
24547
|
+
/** Properties of a PowerUp. */
|
|
24548
|
+
interface IPowerUp {
|
|
24549
|
+
|
|
24550
|
+
/** PowerUp expiresAt */
|
|
24551
|
+
expiresAt?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
24552
|
+
|
|
24553
|
+
/** PowerUp private */
|
|
24554
|
+
"private"?: (replit.goval.api.PrivateReplsPowerup|replit.goval.api.IPrivateReplsPowerup|null);
|
|
24555
|
+
|
|
24556
|
+
/** PowerUp ghostwriter */
|
|
24557
|
+
ghostwriter?: (replit.goval.api.GhostwriterPowerup|replit.goval.api.IGhostwriterPowerup|null);
|
|
24558
|
+
|
|
24559
|
+
/** PowerUp connectivity */
|
|
24560
|
+
connectivity?: (replit.goval.api.ConnectivityPowerup|replit.goval.api.IConnectivityPowerup|null);
|
|
24561
|
+
}
|
|
24562
|
+
|
|
24563
|
+
/** Represents a PowerUp. */
|
|
24564
|
+
class PowerUp {
|
|
24565
|
+
|
|
24566
|
+
/**
|
|
24567
|
+
* Constructs a new PowerUp.
|
|
24568
|
+
* @param [properties] Properties to set
|
|
24569
|
+
*/
|
|
24570
|
+
private constructor(properties?: replit.goval.api.IPowerUp);
|
|
24571
|
+
|
|
24572
|
+
/** PowerUp expiresAt. */
|
|
24573
|
+
public expiresAt?: (google.protobuf.Timestamp|null);
|
|
24574
|
+
|
|
24575
|
+
/** PowerUp private. */
|
|
24576
|
+
public private?: (replit.goval.api.PrivateReplsPowerup|null);
|
|
24577
|
+
|
|
24578
|
+
/** PowerUp ghostwriter. */
|
|
24579
|
+
public ghostwriter?: (replit.goval.api.GhostwriterPowerup|null);
|
|
24580
|
+
|
|
24581
|
+
/** PowerUp connectivity. */
|
|
24582
|
+
public connectivity?: (replit.goval.api.ConnectivityPowerup|null);
|
|
24583
|
+
|
|
24584
|
+
/** PowerUp powerup. */
|
|
24585
|
+
public powerup?: ("private"|"ghostwriter"|"connectivity");
|
|
24586
|
+
|
|
24587
|
+
/**
|
|
24588
|
+
* Creates a new PowerUp instance using the specified properties.
|
|
24589
|
+
* @param [properties] Properties to set
|
|
24590
|
+
* @returns PowerUp instance
|
|
24591
|
+
*/
|
|
24592
|
+
public static create(properties?: replit.goval.api.IPowerUp): replit.goval.api.PowerUp;
|
|
24593
|
+
|
|
24594
|
+
/**
|
|
24595
|
+
* Encodes the specified PowerUp message. Does not implicitly {@link replit.goval.api.PowerUp.verify|verify} messages.
|
|
24596
|
+
* @param message PowerUp message or plain object to encode
|
|
24597
|
+
* @param [writer] Writer to encode to
|
|
24598
|
+
* @returns Writer
|
|
24599
|
+
*/
|
|
24600
|
+
public static encode(message: replit.goval.api.PowerUp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24601
|
+
|
|
24602
|
+
/**
|
|
24603
|
+
* Encodes the specified PowerUp message, length delimited. Does not implicitly {@link replit.goval.api.PowerUp.verify|verify} messages.
|
|
24604
|
+
* @param message PowerUp message or plain object to encode
|
|
24605
|
+
* @param [writer] Writer to encode to
|
|
24606
|
+
* @returns Writer
|
|
24607
|
+
*/
|
|
24608
|
+
public static encodeDelimited(message: replit.goval.api.PowerUp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24609
|
+
|
|
24610
|
+
/**
|
|
24611
|
+
* Decodes a PowerUp message from the specified reader or buffer.
|
|
24612
|
+
* @param reader Reader or buffer to decode from
|
|
24613
|
+
* @param [length] Message length if known beforehand
|
|
24614
|
+
* @returns PowerUp
|
|
24615
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24616
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24617
|
+
*/
|
|
24618
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.PowerUp;
|
|
24619
|
+
|
|
24620
|
+
/**
|
|
24621
|
+
* Decodes a PowerUp message from the specified reader or buffer, length delimited.
|
|
24622
|
+
* @param reader Reader or buffer to decode from
|
|
24623
|
+
* @returns PowerUp
|
|
24624
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24625
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24626
|
+
*/
|
|
24627
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.PowerUp;
|
|
24628
|
+
|
|
24629
|
+
/**
|
|
24630
|
+
* Verifies a PowerUp message.
|
|
24631
|
+
* @param message Plain object to verify
|
|
24632
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24633
|
+
*/
|
|
24634
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24635
|
+
|
|
24636
|
+
/**
|
|
24637
|
+
* Creates a PowerUp message from a plain object. Also converts values to their respective internal types.
|
|
24638
|
+
* @param object Plain object
|
|
24639
|
+
* @returns PowerUp
|
|
24640
|
+
*/
|
|
24641
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.PowerUp;
|
|
24642
|
+
|
|
24643
|
+
/**
|
|
24644
|
+
* Creates a plain object from a PowerUp message. Also converts values to other types if specified.
|
|
24645
|
+
* @param message PowerUp
|
|
24646
|
+
* @param [options] Conversion options
|
|
24647
|
+
* @returns Plain object
|
|
24648
|
+
*/
|
|
24649
|
+
public static toObject(message: replit.goval.api.PowerUp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24650
|
+
|
|
24651
|
+
/**
|
|
24652
|
+
* Converts this PowerUp to JSON.
|
|
24653
|
+
* @returns JSON object
|
|
24654
|
+
*/
|
|
24655
|
+
public toJSON(): { [k: string]: any };
|
|
24656
|
+
}
|
|
24657
|
+
|
|
24658
|
+
/** Properties of a UserPowerUps. */
|
|
24659
|
+
interface IUserPowerUps {
|
|
24660
|
+
|
|
24661
|
+
/** UserPowerUps userId */
|
|
24662
|
+
userId?: (number|null);
|
|
24663
|
+
|
|
24664
|
+
/** UserPowerUps username */
|
|
24665
|
+
username?: (string|null);
|
|
24666
|
+
|
|
24667
|
+
/** UserPowerUps powerups */
|
|
24668
|
+
powerups?: ((replit.goval.api.PowerUp|replit.goval.api.IPowerUp)[]|null);
|
|
24669
|
+
}
|
|
24670
|
+
|
|
24671
|
+
/** Represents a UserPowerUps. */
|
|
24672
|
+
class UserPowerUps {
|
|
24673
|
+
|
|
24674
|
+
/**
|
|
24675
|
+
* Constructs a new UserPowerUps.
|
|
24676
|
+
* @param [properties] Properties to set
|
|
24677
|
+
*/
|
|
24678
|
+
private constructor(properties?: replit.goval.api.IUserPowerUps);
|
|
24679
|
+
|
|
24680
|
+
/** UserPowerUps userId. */
|
|
24681
|
+
public userId: number;
|
|
24682
|
+
|
|
24683
|
+
/** UserPowerUps username. */
|
|
24684
|
+
public username: string;
|
|
24685
|
+
|
|
24686
|
+
/** UserPowerUps powerups. */
|
|
24687
|
+
public powerups: replit.goval.api.PowerUp[];
|
|
24688
|
+
|
|
24689
|
+
/**
|
|
24690
|
+
* Creates a new UserPowerUps instance using the specified properties.
|
|
24691
|
+
* @param [properties] Properties to set
|
|
24692
|
+
* @returns UserPowerUps instance
|
|
24693
|
+
*/
|
|
24694
|
+
public static create(properties?: replit.goval.api.IUserPowerUps): replit.goval.api.UserPowerUps;
|
|
24695
|
+
|
|
24696
|
+
/**
|
|
24697
|
+
* Encodes the specified UserPowerUps message. Does not implicitly {@link replit.goval.api.UserPowerUps.verify|verify} messages.
|
|
24698
|
+
* @param message UserPowerUps message or plain object to encode
|
|
24699
|
+
* @param [writer] Writer to encode to
|
|
24700
|
+
* @returns Writer
|
|
24701
|
+
*/
|
|
24702
|
+
public static encode(message: replit.goval.api.UserPowerUps, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24703
|
+
|
|
24704
|
+
/**
|
|
24705
|
+
* Encodes the specified UserPowerUps message, length delimited. Does not implicitly {@link replit.goval.api.UserPowerUps.verify|verify} messages.
|
|
24706
|
+
* @param message UserPowerUps message or plain object to encode
|
|
24707
|
+
* @param [writer] Writer to encode to
|
|
24708
|
+
* @returns Writer
|
|
24709
|
+
*/
|
|
24710
|
+
public static encodeDelimited(message: replit.goval.api.UserPowerUps, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24711
|
+
|
|
24712
|
+
/**
|
|
24713
|
+
* Decodes a UserPowerUps message from the specified reader or buffer.
|
|
24714
|
+
* @param reader Reader or buffer to decode from
|
|
24715
|
+
* @param [length] Message length if known beforehand
|
|
24716
|
+
* @returns UserPowerUps
|
|
24717
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24718
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24719
|
+
*/
|
|
24720
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.UserPowerUps;
|
|
24721
|
+
|
|
24722
|
+
/**
|
|
24723
|
+
* Decodes a UserPowerUps message from the specified reader or buffer, length delimited.
|
|
24724
|
+
* @param reader Reader or buffer to decode from
|
|
24725
|
+
* @returns UserPowerUps
|
|
24726
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24727
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24728
|
+
*/
|
|
24729
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.UserPowerUps;
|
|
24730
|
+
|
|
24731
|
+
/**
|
|
24732
|
+
* Verifies a UserPowerUps message.
|
|
24733
|
+
* @param message Plain object to verify
|
|
24734
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24735
|
+
*/
|
|
24736
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24737
|
+
|
|
24738
|
+
/**
|
|
24739
|
+
* Creates a UserPowerUps message from a plain object. Also converts values to their respective internal types.
|
|
24740
|
+
* @param object Plain object
|
|
24741
|
+
* @returns UserPowerUps
|
|
24742
|
+
*/
|
|
24743
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.UserPowerUps;
|
|
24744
|
+
|
|
24745
|
+
/**
|
|
24746
|
+
* Creates a plain object from a UserPowerUps message. Also converts values to other types if specified.
|
|
24747
|
+
* @param message UserPowerUps
|
|
24748
|
+
* @param [options] Conversion options
|
|
24749
|
+
* @returns Plain object
|
|
24750
|
+
*/
|
|
24751
|
+
public static toObject(message: replit.goval.api.UserPowerUps, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24752
|
+
|
|
24753
|
+
/**
|
|
24754
|
+
* Converts this UserPowerUps to JSON.
|
|
24755
|
+
* @returns JSON object
|
|
24756
|
+
*/
|
|
24757
|
+
public toJSON(): { [k: string]: any };
|
|
24758
|
+
}
|
|
24150
24759
|
}
|
|
24151
24760
|
}
|
|
24152
24761
|
}
|