@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.js.flow
CHANGED
|
@@ -231,6 +231,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
231
231
|
ILoreCommand: Class<replit$goval$api$ILoreCommand>,
|
|
232
232
|
IClusterTransfer: Class<replit$goval$api$IClusterTransfer>,
|
|
233
233
|
ISoftTakedown: Class<replit$goval$api$ISoftTakedown>,
|
|
234
|
+
ITakedown: Class<replit$goval$api$ITakedown>,
|
|
234
235
|
IGovalCommand: Class<replit$goval$api$IGovalCommand>,
|
|
235
236
|
IPartialUpdateMetadata: Class<replit$goval$api$IPartialUpdateMetadata>,
|
|
236
237
|
IMultiGovalCommand: Class<replit$goval$api$IMultiGovalCommand>,
|
|
@@ -238,6 +239,11 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
238
239
|
IRestore: Class<replit$goval$api$IRestore>,
|
|
239
240
|
IUpdateSourceRepl: Class<replit$goval$api$IUpdateSourceRepl>,
|
|
240
241
|
IUpdateReplFlags: Class<replit$goval$api$IUpdateReplFlags>,
|
|
242
|
+
IPrivateReplsPowerup: Class<replit$goval$api$IPrivateReplsPowerup>,
|
|
243
|
+
IGhostwriterPowerup: Class<replit$goval$api$IGhostwriterPowerup>,
|
|
244
|
+
IConnectivityPowerup: Class<replit$goval$api$IConnectivityPowerup>,
|
|
245
|
+
IPowerUp: Class<replit$goval$api$IPowerUp>,
|
|
246
|
+
IUserPowerUps: Class<replit$goval$api$IUserPowerUps>,
|
|
241
247
|
Command: typeof replit$goval$api$Command,
|
|
242
248
|
NixPackageAddRequest: typeof replit$goval$api$NixPackageAddRequest,
|
|
243
249
|
NixPackageAddResponse: typeof replit$goval$api$NixPackageAddResponse,
|
|
@@ -448,6 +454,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
448
454
|
LoreCommand: typeof replit$goval$api$LoreCommand,
|
|
449
455
|
ClusterTransfer: typeof replit$goval$api$ClusterTransfer,
|
|
450
456
|
SoftTakedown: typeof replit$goval$api$SoftTakedown,
|
|
457
|
+
Takedown: typeof replit$goval$api$Takedown,
|
|
451
458
|
GovalCommand: typeof replit$goval$api$GovalCommand,
|
|
452
459
|
PartialUpdateMetadata: typeof replit$goval$api$PartialUpdateMetadata,
|
|
453
460
|
MultiGovalCommand: typeof replit$goval$api$MultiGovalCommand,
|
|
@@ -455,6 +462,11 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
455
462
|
Restore: typeof replit$goval$api$Restore,
|
|
456
463
|
UpdateSourceRepl: typeof replit$goval$api$UpdateSourceRepl,
|
|
457
464
|
UpdateReplFlags: typeof replit$goval$api$UpdateReplFlags,
|
|
465
|
+
PrivateReplsPowerup: typeof replit$goval$api$PrivateReplsPowerup,
|
|
466
|
+
GhostwriterPowerup: typeof replit$goval$api$GhostwriterPowerup,
|
|
467
|
+
ConnectivityPowerup: typeof replit$goval$api$ConnectivityPowerup,
|
|
468
|
+
PowerUp: typeof replit$goval$api$PowerUp,
|
|
469
|
+
UserPowerUps: typeof replit$goval$api$UserPowerUps,
|
|
458
470
|
features: typeof npm$namespace$replit$goval$api$features,
|
|
459
471
|
repl: typeof npm$namespace$replit$goval$api$repl,
|
|
460
472
|
|};
|
|
@@ -31297,6 +31309,14 @@ declare type replit$goval$api$IGovalReplIdentity = {|
|
|
|
31297
31309
|
* GovalReplIdentity userId
|
|
31298
31310
|
*/
|
|
31299
31311
|
userId?: number | null,
|
|
31312
|
+
|
|
31313
|
+
/**
|
|
31314
|
+
* GovalReplIdentity buildInfo
|
|
31315
|
+
*/
|
|
31316
|
+
buildInfo?:
|
|
31317
|
+
| replit$goval$api$repl$BuildInfo
|
|
31318
|
+
| replit$goval$api$repl$IBuildInfo
|
|
31319
|
+
| null,
|
|
31300
31320
|
|};
|
|
31301
31321
|
|
|
31302
31322
|
/**
|
|
@@ -31344,6 +31364,11 @@ declare class replit$goval$api$GovalReplIdentity {
|
|
|
31344
31364
|
*/
|
|
31345
31365
|
userId: number;
|
|
31346
31366
|
|
|
31367
|
+
/**
|
|
31368
|
+
* GovalReplIdentity buildInfo.
|
|
31369
|
+
*/
|
|
31370
|
+
buildInfo?: replit$goval$api$repl$BuildInfo | null;
|
|
31371
|
+
|
|
31347
31372
|
/**
|
|
31348
31373
|
* Creates a new GovalReplIdentity instance using the specified properties.
|
|
31349
31374
|
* @param [properties] Properties to set
|
|
@@ -31459,6 +31484,11 @@ declare type replit$goval$api$ILoreCommand = {|
|
|
|
31459
31484
|
| replit$goval$api$ISoftTakedown
|
|
31460
31485
|
| null,
|
|
31461
31486
|
|
|
31487
|
+
/**
|
|
31488
|
+
* LoreCommand takedown
|
|
31489
|
+
*/
|
|
31490
|
+
takedown?: replit$goval$api$Takedown | replit$goval$api$ITakedown | null,
|
|
31491
|
+
|
|
31462
31492
|
/**
|
|
31463
31493
|
* LoreCommand govalCommand
|
|
31464
31494
|
*/
|
|
@@ -31501,6 +31531,11 @@ declare class replit$goval$api$LoreCommand {
|
|
|
31501
31531
|
*/
|
|
31502
31532
|
softTakedown?: replit$goval$api$SoftTakedown | null;
|
|
31503
31533
|
|
|
31534
|
+
/**
|
|
31535
|
+
* LoreCommand takedown.
|
|
31536
|
+
*/
|
|
31537
|
+
takedown?: replit$goval$api$Takedown | null;
|
|
31538
|
+
|
|
31504
31539
|
/**
|
|
31505
31540
|
* LoreCommand govalCommand.
|
|
31506
31541
|
*/
|
|
@@ -31522,6 +31557,7 @@ declare class replit$goval$api$LoreCommand {
|
|
|
31522
31557
|
command?:
|
|
31523
31558
|
| "clusterTransfer"
|
|
31524
31559
|
| "softTakedown"
|
|
31560
|
+
| "takedown"
|
|
31525
31561
|
| "govalCommand"
|
|
31526
31562
|
| "multiGovalCommand"
|
|
31527
31563
|
| "restore";
|
|
@@ -31916,6 +31952,126 @@ declare class replit$goval$api$SoftTakedown {
|
|
|
31916
31952
|
|};
|
|
31917
31953
|
}
|
|
31918
31954
|
|
|
31955
|
+
/**
|
|
31956
|
+
* Properties of a Takedown.
|
|
31957
|
+
*/
|
|
31958
|
+
declare type replit$goval$api$ITakedown = {|
|
|
31959
|
+
/**
|
|
31960
|
+
* Takedown replId
|
|
31961
|
+
*/
|
|
31962
|
+
replId?: string | null,
|
|
31963
|
+
|};
|
|
31964
|
+
|
|
31965
|
+
/**
|
|
31966
|
+
* Represents a Takedown.
|
|
31967
|
+
*/
|
|
31968
|
+
declare class replit$goval$api$Takedown {
|
|
31969
|
+
/**
|
|
31970
|
+
* Constructs a new Takedown.
|
|
31971
|
+
* @param [properties] Properties to set
|
|
31972
|
+
*/
|
|
31973
|
+
constructor(properties?: replit$goval$api$ITakedown): this;
|
|
31974
|
+
|
|
31975
|
+
/**
|
|
31976
|
+
* Takedown replId.
|
|
31977
|
+
*/
|
|
31978
|
+
replId: string;
|
|
31979
|
+
|
|
31980
|
+
/**
|
|
31981
|
+
* Creates a new Takedown instance using the specified properties.
|
|
31982
|
+
* @param [properties] Properties to set
|
|
31983
|
+
* @returns Takedown instance
|
|
31984
|
+
*/
|
|
31985
|
+
static create(
|
|
31986
|
+
properties?: replit$goval$api$ITakedown
|
|
31987
|
+
): replit$goval$api$Takedown;
|
|
31988
|
+
|
|
31989
|
+
/**
|
|
31990
|
+
* [object Object],[object Object],[object Object]
|
|
31991
|
+
* @param message Takedown message or plain object to encode
|
|
31992
|
+
* @param [writer] Writer to encode to
|
|
31993
|
+
* @returns Writer
|
|
31994
|
+
*/
|
|
31995
|
+
static encode(
|
|
31996
|
+
message: replit$goval$api$Takedown,
|
|
31997
|
+
writer?: $protobuf.Writer
|
|
31998
|
+
): $protobuf.Writer;
|
|
31999
|
+
|
|
32000
|
+
/**
|
|
32001
|
+
* [object Object],[object Object],[object Object]
|
|
32002
|
+
* @param message Takedown message or plain object to encode
|
|
32003
|
+
* @param [writer] Writer to encode to
|
|
32004
|
+
* @returns Writer
|
|
32005
|
+
*/
|
|
32006
|
+
static encodeDelimited(
|
|
32007
|
+
message: replit$goval$api$Takedown,
|
|
32008
|
+
writer?: $protobuf.Writer
|
|
32009
|
+
): $protobuf.Writer;
|
|
32010
|
+
|
|
32011
|
+
/**
|
|
32012
|
+
* Decodes a Takedown message from the specified reader or buffer.
|
|
32013
|
+
* @param reader Reader or buffer to decode from
|
|
32014
|
+
* @param [length] Message length if known beforehand
|
|
32015
|
+
* @returns Takedown
|
|
32016
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32017
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32018
|
+
*/
|
|
32019
|
+
static decode(
|
|
32020
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
32021
|
+
length?: number
|
|
32022
|
+
): replit$goval$api$Takedown;
|
|
32023
|
+
|
|
32024
|
+
/**
|
|
32025
|
+
* Decodes a Takedown message from the specified reader or buffer, length delimited.
|
|
32026
|
+
* @param reader Reader or buffer to decode from
|
|
32027
|
+
* @returns Takedown
|
|
32028
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32029
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32030
|
+
*/
|
|
32031
|
+
static decodeDelimited(
|
|
32032
|
+
reader: $protobuf.Reader | Uint8Array
|
|
32033
|
+
): replit$goval$api$Takedown;
|
|
32034
|
+
|
|
32035
|
+
/**
|
|
32036
|
+
* Verifies a Takedown message.
|
|
32037
|
+
* @param message Plain object to verify
|
|
32038
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
32039
|
+
*/
|
|
32040
|
+
static verify(message: {|
|
|
32041
|
+
[k: string]: any,
|
|
32042
|
+
|}): string | null;
|
|
32043
|
+
|
|
32044
|
+
/**
|
|
32045
|
+
* Creates a Takedown message from a plain object. Also converts values to their respective internal types.
|
|
32046
|
+
* @param object Plain object
|
|
32047
|
+
* @returns Takedown
|
|
32048
|
+
*/
|
|
32049
|
+
static fromObject(object: {|
|
|
32050
|
+
[k: string]: any,
|
|
32051
|
+
|}): replit$goval$api$Takedown;
|
|
32052
|
+
|
|
32053
|
+
/**
|
|
32054
|
+
* Creates a plain object from a Takedown message. Also converts values to other types if specified.
|
|
32055
|
+
* @param message Takedown
|
|
32056
|
+
* @param [options] Conversion options
|
|
32057
|
+
* @returns Plain object
|
|
32058
|
+
*/
|
|
32059
|
+
static toObject(
|
|
32060
|
+
message: replit$goval$api$Takedown,
|
|
32061
|
+
options?: $protobuf.IConversionOptions
|
|
32062
|
+
): {|
|
|
32063
|
+
[k: string]: any,
|
|
32064
|
+
|};
|
|
32065
|
+
|
|
32066
|
+
/**
|
|
32067
|
+
* Converts this Takedown to JSON.
|
|
32068
|
+
* @returns JSON object
|
|
32069
|
+
*/
|
|
32070
|
+
toJSON(): {|
|
|
32071
|
+
[k: string]: any,
|
|
32072
|
+
|};
|
|
32073
|
+
}
|
|
32074
|
+
|
|
31919
32075
|
/**
|
|
31920
32076
|
* Properties of a GovalCommand.
|
|
31921
32077
|
*/
|
|
@@ -31956,6 +32112,19 @@ declare type replit$goval$api$IGovalCommand = {|
|
|
|
31956
32112
|
| replit$goval$api$UpdateReplFlags
|
|
31957
32113
|
| replit$goval$api$IUpdateReplFlags
|
|
31958
32114
|
| null,
|
|
32115
|
+
|
|
32116
|
+
/**
|
|
32117
|
+
* GovalCommand softTakedown
|
|
32118
|
+
*/
|
|
32119
|
+
softTakedown?:
|
|
32120
|
+
| replit$goval$api$SoftTakedown
|
|
32121
|
+
| replit$goval$api$ISoftTakedown
|
|
32122
|
+
| null,
|
|
32123
|
+
|
|
32124
|
+
/**
|
|
32125
|
+
* GovalCommand takedown
|
|
32126
|
+
*/
|
|
32127
|
+
takedown?: replit$goval$api$Takedown | replit$goval$api$ITakedown | null,
|
|
31959
32128
|
|};
|
|
31960
32129
|
|
|
31961
32130
|
/**
|
|
@@ -31993,6 +32162,16 @@ declare class replit$goval$api$GovalCommand {
|
|
|
31993
32162
|
*/
|
|
31994
32163
|
updateReplFlags?: replit$goval$api$UpdateReplFlags | null;
|
|
31995
32164
|
|
|
32165
|
+
/**
|
|
32166
|
+
* GovalCommand softTakedown.
|
|
32167
|
+
*/
|
|
32168
|
+
softTakedown?: replit$goval$api$SoftTakedown | null;
|
|
32169
|
+
|
|
32170
|
+
/**
|
|
32171
|
+
* GovalCommand takedown.
|
|
32172
|
+
*/
|
|
32173
|
+
takedown?: replit$goval$api$Takedown | null;
|
|
32174
|
+
|
|
31996
32175
|
/**
|
|
31997
32176
|
* GovalCommand command.
|
|
31998
32177
|
*/
|
|
@@ -32001,7 +32180,9 @@ declare class replit$goval$api$GovalCommand {
|
|
|
32001
32180
|
| "partialUpdateMetadata"
|
|
32002
32181
|
| "killRepl"
|
|
32003
32182
|
| "updateSourceRepl"
|
|
32004
|
-
| "updateReplFlags"
|
|
32183
|
+
| "updateReplFlags"
|
|
32184
|
+
| "softTakedown"
|
|
32185
|
+
| "takedown";
|
|
32005
32186
|
|
|
32006
32187
|
/**
|
|
32007
32188
|
* Creates a new GovalCommand instance using the specified properties.
|
|
@@ -34292,6 +34473,16 @@ declare type replit$goval$api$repl$IBuildInfo = {|
|
|
|
34292
34473
|
* BuildInfo url
|
|
34293
34474
|
*/
|
|
34294
34475
|
url?: string | null,
|
|
34476
|
+
|
|
34477
|
+
/**
|
|
34478
|
+
* BuildInfo buildId
|
|
34479
|
+
*/
|
|
34480
|
+
buildId?: string | null,
|
|
34481
|
+
|
|
34482
|
+
/**
|
|
34483
|
+
* BuildInfo machineTier
|
|
34484
|
+
*/
|
|
34485
|
+
machineTier?: string | null,
|
|
34295
34486
|
|};
|
|
34296
34487
|
|
|
34297
34488
|
/**
|
|
@@ -34314,6 +34505,16 @@ declare class replit$goval$api$repl$BuildInfo {
|
|
|
34314
34505
|
*/
|
|
34315
34506
|
url: string;
|
|
34316
34507
|
|
|
34508
|
+
/**
|
|
34509
|
+
* BuildInfo buildId.
|
|
34510
|
+
*/
|
|
34511
|
+
buildId: string;
|
|
34512
|
+
|
|
34513
|
+
/**
|
|
34514
|
+
* BuildInfo machineTier.
|
|
34515
|
+
*/
|
|
34516
|
+
machineTier: string;
|
|
34517
|
+
|
|
34317
34518
|
/**
|
|
34318
34519
|
* Creates a new BuildInfo instance using the specified properties.
|
|
34319
34520
|
* @param [properties] Properties to set
|
|
@@ -34408,6 +34609,670 @@ declare class replit$goval$api$repl$BuildInfo {
|
|
|
34408
34609
|
[k: string]: any,
|
|
34409
34610
|
|};
|
|
34410
34611
|
}
|
|
34612
|
+
|
|
34613
|
+
/**
|
|
34614
|
+
* Properties of a PrivateReplsPowerup.
|
|
34615
|
+
*/
|
|
34616
|
+
declare type replit$goval$api$IPrivateReplsPowerup = {|
|
|
34617
|
+
/**
|
|
34618
|
+
* PrivateReplsPowerup enabled
|
|
34619
|
+
*/
|
|
34620
|
+
enabled?: boolean | null,
|
|
34621
|
+
|};
|
|
34622
|
+
|
|
34623
|
+
/**
|
|
34624
|
+
* Represents a PrivateReplsPowerup.
|
|
34625
|
+
*/
|
|
34626
|
+
declare class replit$goval$api$PrivateReplsPowerup {
|
|
34627
|
+
/**
|
|
34628
|
+
* Constructs a new PrivateReplsPowerup.
|
|
34629
|
+
* @param [properties] Properties to set
|
|
34630
|
+
*/
|
|
34631
|
+
constructor(properties?: replit$goval$api$IPrivateReplsPowerup): this;
|
|
34632
|
+
|
|
34633
|
+
/**
|
|
34634
|
+
* PrivateReplsPowerup enabled.
|
|
34635
|
+
*/
|
|
34636
|
+
enabled: boolean;
|
|
34637
|
+
|
|
34638
|
+
/**
|
|
34639
|
+
* Creates a new PrivateReplsPowerup instance using the specified properties.
|
|
34640
|
+
* @param [properties] Properties to set
|
|
34641
|
+
* @returns PrivateReplsPowerup instance
|
|
34642
|
+
*/
|
|
34643
|
+
static create(
|
|
34644
|
+
properties?: replit$goval$api$IPrivateReplsPowerup
|
|
34645
|
+
): replit$goval$api$PrivateReplsPowerup;
|
|
34646
|
+
|
|
34647
|
+
/**
|
|
34648
|
+
* [object Object],[object Object],[object Object]
|
|
34649
|
+
* @param message PrivateReplsPowerup message or plain object to encode
|
|
34650
|
+
* @param [writer] Writer to encode to
|
|
34651
|
+
* @returns Writer
|
|
34652
|
+
*/
|
|
34653
|
+
static encode(
|
|
34654
|
+
message: replit$goval$api$PrivateReplsPowerup,
|
|
34655
|
+
writer?: $protobuf.Writer
|
|
34656
|
+
): $protobuf.Writer;
|
|
34657
|
+
|
|
34658
|
+
/**
|
|
34659
|
+
* [object Object],[object Object],[object Object]
|
|
34660
|
+
* @param message PrivateReplsPowerup message or plain object to encode
|
|
34661
|
+
* @param [writer] Writer to encode to
|
|
34662
|
+
* @returns Writer
|
|
34663
|
+
*/
|
|
34664
|
+
static encodeDelimited(
|
|
34665
|
+
message: replit$goval$api$PrivateReplsPowerup,
|
|
34666
|
+
writer?: $protobuf.Writer
|
|
34667
|
+
): $protobuf.Writer;
|
|
34668
|
+
|
|
34669
|
+
/**
|
|
34670
|
+
* Decodes a PrivateReplsPowerup message from the specified reader or buffer.
|
|
34671
|
+
* @param reader Reader or buffer to decode from
|
|
34672
|
+
* @param [length] Message length if known beforehand
|
|
34673
|
+
* @returns PrivateReplsPowerup
|
|
34674
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34675
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34676
|
+
*/
|
|
34677
|
+
static decode(
|
|
34678
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
34679
|
+
length?: number
|
|
34680
|
+
): replit$goval$api$PrivateReplsPowerup;
|
|
34681
|
+
|
|
34682
|
+
/**
|
|
34683
|
+
* Decodes a PrivateReplsPowerup message from the specified reader or buffer, length delimited.
|
|
34684
|
+
* @param reader Reader or buffer to decode from
|
|
34685
|
+
* @returns PrivateReplsPowerup
|
|
34686
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34687
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34688
|
+
*/
|
|
34689
|
+
static decodeDelimited(
|
|
34690
|
+
reader: $protobuf.Reader | Uint8Array
|
|
34691
|
+
): replit$goval$api$PrivateReplsPowerup;
|
|
34692
|
+
|
|
34693
|
+
/**
|
|
34694
|
+
* Verifies a PrivateReplsPowerup message.
|
|
34695
|
+
* @param message Plain object to verify
|
|
34696
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34697
|
+
*/
|
|
34698
|
+
static verify(message: {|
|
|
34699
|
+
[k: string]: any,
|
|
34700
|
+
|}): string | null;
|
|
34701
|
+
|
|
34702
|
+
/**
|
|
34703
|
+
* Creates a PrivateReplsPowerup message from a plain object. Also converts values to their respective internal types.
|
|
34704
|
+
* @param object Plain object
|
|
34705
|
+
* @returns PrivateReplsPowerup
|
|
34706
|
+
*/
|
|
34707
|
+
static fromObject(object: {|
|
|
34708
|
+
[k: string]: any,
|
|
34709
|
+
|}): replit$goval$api$PrivateReplsPowerup;
|
|
34710
|
+
|
|
34711
|
+
/**
|
|
34712
|
+
* Creates a plain object from a PrivateReplsPowerup message. Also converts values to other types if specified.
|
|
34713
|
+
* @param message PrivateReplsPowerup
|
|
34714
|
+
* @param [options] Conversion options
|
|
34715
|
+
* @returns Plain object
|
|
34716
|
+
*/
|
|
34717
|
+
static toObject(
|
|
34718
|
+
message: replit$goval$api$PrivateReplsPowerup,
|
|
34719
|
+
options?: $protobuf.IConversionOptions
|
|
34720
|
+
): {|
|
|
34721
|
+
[k: string]: any,
|
|
34722
|
+
|};
|
|
34723
|
+
|
|
34724
|
+
/**
|
|
34725
|
+
* Converts this PrivateReplsPowerup to JSON.
|
|
34726
|
+
* @returns JSON object
|
|
34727
|
+
*/
|
|
34728
|
+
toJSON(): {|
|
|
34729
|
+
[k: string]: any,
|
|
34730
|
+
|};
|
|
34731
|
+
}
|
|
34732
|
+
|
|
34733
|
+
/**
|
|
34734
|
+
* Properties of a GhostwriterPowerup.
|
|
34735
|
+
*/
|
|
34736
|
+
declare type replit$goval$api$IGhostwriterPowerup = {|
|
|
34737
|
+
/**
|
|
34738
|
+
* GhostwriterPowerup enabled
|
|
34739
|
+
*/
|
|
34740
|
+
enabled?: boolean | null,
|
|
34741
|
+
|};
|
|
34742
|
+
|
|
34743
|
+
/**
|
|
34744
|
+
* Represents a GhostwriterPowerup.
|
|
34745
|
+
*/
|
|
34746
|
+
declare class replit$goval$api$GhostwriterPowerup {
|
|
34747
|
+
/**
|
|
34748
|
+
* Constructs a new GhostwriterPowerup.
|
|
34749
|
+
* @param [properties] Properties to set
|
|
34750
|
+
*/
|
|
34751
|
+
constructor(properties?: replit$goval$api$IGhostwriterPowerup): this;
|
|
34752
|
+
|
|
34753
|
+
/**
|
|
34754
|
+
* GhostwriterPowerup enabled.
|
|
34755
|
+
*/
|
|
34756
|
+
enabled: boolean;
|
|
34757
|
+
|
|
34758
|
+
/**
|
|
34759
|
+
* Creates a new GhostwriterPowerup instance using the specified properties.
|
|
34760
|
+
* @param [properties] Properties to set
|
|
34761
|
+
* @returns GhostwriterPowerup instance
|
|
34762
|
+
*/
|
|
34763
|
+
static create(
|
|
34764
|
+
properties?: replit$goval$api$IGhostwriterPowerup
|
|
34765
|
+
): replit$goval$api$GhostwriterPowerup;
|
|
34766
|
+
|
|
34767
|
+
/**
|
|
34768
|
+
* [object Object],[object Object],[object Object]
|
|
34769
|
+
* @param message GhostwriterPowerup message or plain object to encode
|
|
34770
|
+
* @param [writer] Writer to encode to
|
|
34771
|
+
* @returns Writer
|
|
34772
|
+
*/
|
|
34773
|
+
static encode(
|
|
34774
|
+
message: replit$goval$api$GhostwriterPowerup,
|
|
34775
|
+
writer?: $protobuf.Writer
|
|
34776
|
+
): $protobuf.Writer;
|
|
34777
|
+
|
|
34778
|
+
/**
|
|
34779
|
+
* [object Object],[object Object],[object Object]
|
|
34780
|
+
* @param message GhostwriterPowerup message or plain object to encode
|
|
34781
|
+
* @param [writer] Writer to encode to
|
|
34782
|
+
* @returns Writer
|
|
34783
|
+
*/
|
|
34784
|
+
static encodeDelimited(
|
|
34785
|
+
message: replit$goval$api$GhostwriterPowerup,
|
|
34786
|
+
writer?: $protobuf.Writer
|
|
34787
|
+
): $protobuf.Writer;
|
|
34788
|
+
|
|
34789
|
+
/**
|
|
34790
|
+
* Decodes a GhostwriterPowerup message from the specified reader or buffer.
|
|
34791
|
+
* @param reader Reader or buffer to decode from
|
|
34792
|
+
* @param [length] Message length if known beforehand
|
|
34793
|
+
* @returns GhostwriterPowerup
|
|
34794
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34795
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34796
|
+
*/
|
|
34797
|
+
static decode(
|
|
34798
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
34799
|
+
length?: number
|
|
34800
|
+
): replit$goval$api$GhostwriterPowerup;
|
|
34801
|
+
|
|
34802
|
+
/**
|
|
34803
|
+
* Decodes a GhostwriterPowerup message from the specified reader or buffer, length delimited.
|
|
34804
|
+
* @param reader Reader or buffer to decode from
|
|
34805
|
+
* @returns GhostwriterPowerup
|
|
34806
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34807
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34808
|
+
*/
|
|
34809
|
+
static decodeDelimited(
|
|
34810
|
+
reader: $protobuf.Reader | Uint8Array
|
|
34811
|
+
): replit$goval$api$GhostwriterPowerup;
|
|
34812
|
+
|
|
34813
|
+
/**
|
|
34814
|
+
* Verifies a GhostwriterPowerup message.
|
|
34815
|
+
* @param message Plain object to verify
|
|
34816
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34817
|
+
*/
|
|
34818
|
+
static verify(message: {|
|
|
34819
|
+
[k: string]: any,
|
|
34820
|
+
|}): string | null;
|
|
34821
|
+
|
|
34822
|
+
/**
|
|
34823
|
+
* Creates a GhostwriterPowerup message from a plain object. Also converts values to their respective internal types.
|
|
34824
|
+
* @param object Plain object
|
|
34825
|
+
* @returns GhostwriterPowerup
|
|
34826
|
+
*/
|
|
34827
|
+
static fromObject(object: {|
|
|
34828
|
+
[k: string]: any,
|
|
34829
|
+
|}): replit$goval$api$GhostwriterPowerup;
|
|
34830
|
+
|
|
34831
|
+
/**
|
|
34832
|
+
* Creates a plain object from a GhostwriterPowerup message. Also converts values to other types if specified.
|
|
34833
|
+
* @param message GhostwriterPowerup
|
|
34834
|
+
* @param [options] Conversion options
|
|
34835
|
+
* @returns Plain object
|
|
34836
|
+
*/
|
|
34837
|
+
static toObject(
|
|
34838
|
+
message: replit$goval$api$GhostwriterPowerup,
|
|
34839
|
+
options?: $protobuf.IConversionOptions
|
|
34840
|
+
): {|
|
|
34841
|
+
[k: string]: any,
|
|
34842
|
+
|};
|
|
34843
|
+
|
|
34844
|
+
/**
|
|
34845
|
+
* Converts this GhostwriterPowerup to JSON.
|
|
34846
|
+
* @returns JSON object
|
|
34847
|
+
*/
|
|
34848
|
+
toJSON(): {|
|
|
34849
|
+
[k: string]: any,
|
|
34850
|
+
|};
|
|
34851
|
+
}
|
|
34852
|
+
|
|
34853
|
+
/**
|
|
34854
|
+
* Properties of a ConnectivityPowerup.
|
|
34855
|
+
*/
|
|
34856
|
+
declare type replit$goval$api$IConnectivityPowerup = {|
|
|
34857
|
+
/**
|
|
34858
|
+
* ConnectivityPowerup enabled
|
|
34859
|
+
*/
|
|
34860
|
+
enabled?: boolean | null,
|
|
34861
|
+
|};
|
|
34862
|
+
|
|
34863
|
+
/**
|
|
34864
|
+
* Represents a ConnectivityPowerup.
|
|
34865
|
+
*/
|
|
34866
|
+
declare class replit$goval$api$ConnectivityPowerup {
|
|
34867
|
+
/**
|
|
34868
|
+
* Constructs a new ConnectivityPowerup.
|
|
34869
|
+
* @param [properties] Properties to set
|
|
34870
|
+
*/
|
|
34871
|
+
constructor(properties?: replit$goval$api$IConnectivityPowerup): this;
|
|
34872
|
+
|
|
34873
|
+
/**
|
|
34874
|
+
* ConnectivityPowerup enabled.
|
|
34875
|
+
*/
|
|
34876
|
+
enabled: boolean;
|
|
34877
|
+
|
|
34878
|
+
/**
|
|
34879
|
+
* Creates a new ConnectivityPowerup instance using the specified properties.
|
|
34880
|
+
* @param [properties] Properties to set
|
|
34881
|
+
* @returns ConnectivityPowerup instance
|
|
34882
|
+
*/
|
|
34883
|
+
static create(
|
|
34884
|
+
properties?: replit$goval$api$IConnectivityPowerup
|
|
34885
|
+
): replit$goval$api$ConnectivityPowerup;
|
|
34886
|
+
|
|
34887
|
+
/**
|
|
34888
|
+
* [object Object],[object Object],[object Object]
|
|
34889
|
+
* @param message ConnectivityPowerup message or plain object to encode
|
|
34890
|
+
* @param [writer] Writer to encode to
|
|
34891
|
+
* @returns Writer
|
|
34892
|
+
*/
|
|
34893
|
+
static encode(
|
|
34894
|
+
message: replit$goval$api$ConnectivityPowerup,
|
|
34895
|
+
writer?: $protobuf.Writer
|
|
34896
|
+
): $protobuf.Writer;
|
|
34897
|
+
|
|
34898
|
+
/**
|
|
34899
|
+
* [object Object],[object Object],[object Object]
|
|
34900
|
+
* @param message ConnectivityPowerup message or plain object to encode
|
|
34901
|
+
* @param [writer] Writer to encode to
|
|
34902
|
+
* @returns Writer
|
|
34903
|
+
*/
|
|
34904
|
+
static encodeDelimited(
|
|
34905
|
+
message: replit$goval$api$ConnectivityPowerup,
|
|
34906
|
+
writer?: $protobuf.Writer
|
|
34907
|
+
): $protobuf.Writer;
|
|
34908
|
+
|
|
34909
|
+
/**
|
|
34910
|
+
* Decodes a ConnectivityPowerup message from the specified reader or buffer.
|
|
34911
|
+
* @param reader Reader or buffer to decode from
|
|
34912
|
+
* @param [length] Message length if known beforehand
|
|
34913
|
+
* @returns ConnectivityPowerup
|
|
34914
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34915
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34916
|
+
*/
|
|
34917
|
+
static decode(
|
|
34918
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
34919
|
+
length?: number
|
|
34920
|
+
): replit$goval$api$ConnectivityPowerup;
|
|
34921
|
+
|
|
34922
|
+
/**
|
|
34923
|
+
* Decodes a ConnectivityPowerup message from the specified reader or buffer, length delimited.
|
|
34924
|
+
* @param reader Reader or buffer to decode from
|
|
34925
|
+
* @returns ConnectivityPowerup
|
|
34926
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34927
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34928
|
+
*/
|
|
34929
|
+
static decodeDelimited(
|
|
34930
|
+
reader: $protobuf.Reader | Uint8Array
|
|
34931
|
+
): replit$goval$api$ConnectivityPowerup;
|
|
34932
|
+
|
|
34933
|
+
/**
|
|
34934
|
+
* Verifies a ConnectivityPowerup message.
|
|
34935
|
+
* @param message Plain object to verify
|
|
34936
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34937
|
+
*/
|
|
34938
|
+
static verify(message: {|
|
|
34939
|
+
[k: string]: any,
|
|
34940
|
+
|}): string | null;
|
|
34941
|
+
|
|
34942
|
+
/**
|
|
34943
|
+
* Creates a ConnectivityPowerup message from a plain object. Also converts values to their respective internal types.
|
|
34944
|
+
* @param object Plain object
|
|
34945
|
+
* @returns ConnectivityPowerup
|
|
34946
|
+
*/
|
|
34947
|
+
static fromObject(object: {|
|
|
34948
|
+
[k: string]: any,
|
|
34949
|
+
|}): replit$goval$api$ConnectivityPowerup;
|
|
34950
|
+
|
|
34951
|
+
/**
|
|
34952
|
+
* Creates a plain object from a ConnectivityPowerup message. Also converts values to other types if specified.
|
|
34953
|
+
* @param message ConnectivityPowerup
|
|
34954
|
+
* @param [options] Conversion options
|
|
34955
|
+
* @returns Plain object
|
|
34956
|
+
*/
|
|
34957
|
+
static toObject(
|
|
34958
|
+
message: replit$goval$api$ConnectivityPowerup,
|
|
34959
|
+
options?: $protobuf.IConversionOptions
|
|
34960
|
+
): {|
|
|
34961
|
+
[k: string]: any,
|
|
34962
|
+
|};
|
|
34963
|
+
|
|
34964
|
+
/**
|
|
34965
|
+
* Converts this ConnectivityPowerup to JSON.
|
|
34966
|
+
* @returns JSON object
|
|
34967
|
+
*/
|
|
34968
|
+
toJSON(): {|
|
|
34969
|
+
[k: string]: any,
|
|
34970
|
+
|};
|
|
34971
|
+
}
|
|
34972
|
+
|
|
34973
|
+
/**
|
|
34974
|
+
* Properties of a PowerUp.
|
|
34975
|
+
*/
|
|
34976
|
+
declare type replit$goval$api$IPowerUp = {|
|
|
34977
|
+
/**
|
|
34978
|
+
* PowerUp expiresAt
|
|
34979
|
+
*/
|
|
34980
|
+
expiresAt?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
34981
|
+
|
|
34982
|
+
/**
|
|
34983
|
+
* PowerUp private
|
|
34984
|
+
*/
|
|
34985
|
+
private?:
|
|
34986
|
+
| replit$goval$api$PrivateReplsPowerup
|
|
34987
|
+
| replit$goval$api$IPrivateReplsPowerup
|
|
34988
|
+
| null,
|
|
34989
|
+
|
|
34990
|
+
/**
|
|
34991
|
+
* PowerUp ghostwriter
|
|
34992
|
+
*/
|
|
34993
|
+
ghostwriter?:
|
|
34994
|
+
| replit$goval$api$GhostwriterPowerup
|
|
34995
|
+
| replit$goval$api$IGhostwriterPowerup
|
|
34996
|
+
| null,
|
|
34997
|
+
|
|
34998
|
+
/**
|
|
34999
|
+
* PowerUp connectivity
|
|
35000
|
+
*/
|
|
35001
|
+
connectivity?:
|
|
35002
|
+
| replit$goval$api$ConnectivityPowerup
|
|
35003
|
+
| replit$goval$api$IConnectivityPowerup
|
|
35004
|
+
| null,
|
|
35005
|
+
|};
|
|
35006
|
+
|
|
35007
|
+
/**
|
|
35008
|
+
* Represents a PowerUp.
|
|
35009
|
+
*/
|
|
35010
|
+
declare class replit$goval$api$PowerUp {
|
|
35011
|
+
/**
|
|
35012
|
+
* Constructs a new PowerUp.
|
|
35013
|
+
* @param [properties] Properties to set
|
|
35014
|
+
*/
|
|
35015
|
+
constructor(properties?: replit$goval$api$IPowerUp): this;
|
|
35016
|
+
|
|
35017
|
+
/**
|
|
35018
|
+
* PowerUp expiresAt.
|
|
35019
|
+
*/
|
|
35020
|
+
expiresAt?: google$protobuf$Timestamp | null;
|
|
35021
|
+
|
|
35022
|
+
/**
|
|
35023
|
+
* PowerUp private.
|
|
35024
|
+
*/
|
|
35025
|
+
private?: replit$goval$api$PrivateReplsPowerup | null;
|
|
35026
|
+
|
|
35027
|
+
/**
|
|
35028
|
+
* PowerUp ghostwriter.
|
|
35029
|
+
*/
|
|
35030
|
+
ghostwriter?: replit$goval$api$GhostwriterPowerup | null;
|
|
35031
|
+
|
|
35032
|
+
/**
|
|
35033
|
+
* PowerUp connectivity.
|
|
35034
|
+
*/
|
|
35035
|
+
connectivity?: replit$goval$api$ConnectivityPowerup | null;
|
|
35036
|
+
|
|
35037
|
+
/**
|
|
35038
|
+
* PowerUp powerup.
|
|
35039
|
+
*/
|
|
35040
|
+
powerup?: "private" | "ghostwriter" | "connectivity";
|
|
35041
|
+
|
|
35042
|
+
/**
|
|
35043
|
+
* Creates a new PowerUp instance using the specified properties.
|
|
35044
|
+
* @param [properties] Properties to set
|
|
35045
|
+
* @returns PowerUp instance
|
|
35046
|
+
*/
|
|
35047
|
+
static create(
|
|
35048
|
+
properties?: replit$goval$api$IPowerUp
|
|
35049
|
+
): replit$goval$api$PowerUp;
|
|
35050
|
+
|
|
35051
|
+
/**
|
|
35052
|
+
* [object Object],[object Object],[object Object]
|
|
35053
|
+
* @param message PowerUp message or plain object to encode
|
|
35054
|
+
* @param [writer] Writer to encode to
|
|
35055
|
+
* @returns Writer
|
|
35056
|
+
*/
|
|
35057
|
+
static encode(
|
|
35058
|
+
message: replit$goval$api$PowerUp,
|
|
35059
|
+
writer?: $protobuf.Writer
|
|
35060
|
+
): $protobuf.Writer;
|
|
35061
|
+
|
|
35062
|
+
/**
|
|
35063
|
+
* [object Object],[object Object],[object Object]
|
|
35064
|
+
* @param message PowerUp message or plain object to encode
|
|
35065
|
+
* @param [writer] Writer to encode to
|
|
35066
|
+
* @returns Writer
|
|
35067
|
+
*/
|
|
35068
|
+
static encodeDelimited(
|
|
35069
|
+
message: replit$goval$api$PowerUp,
|
|
35070
|
+
writer?: $protobuf.Writer
|
|
35071
|
+
): $protobuf.Writer;
|
|
35072
|
+
|
|
35073
|
+
/**
|
|
35074
|
+
* Decodes a PowerUp message from the specified reader or buffer.
|
|
35075
|
+
* @param reader Reader or buffer to decode from
|
|
35076
|
+
* @param [length] Message length if known beforehand
|
|
35077
|
+
* @returns PowerUp
|
|
35078
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35079
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35080
|
+
*/
|
|
35081
|
+
static decode(
|
|
35082
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
35083
|
+
length?: number
|
|
35084
|
+
): replit$goval$api$PowerUp;
|
|
35085
|
+
|
|
35086
|
+
/**
|
|
35087
|
+
* Decodes a PowerUp message from the specified reader or buffer, length delimited.
|
|
35088
|
+
* @param reader Reader or buffer to decode from
|
|
35089
|
+
* @returns PowerUp
|
|
35090
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35091
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35092
|
+
*/
|
|
35093
|
+
static decodeDelimited(
|
|
35094
|
+
reader: $protobuf.Reader | Uint8Array
|
|
35095
|
+
): replit$goval$api$PowerUp;
|
|
35096
|
+
|
|
35097
|
+
/**
|
|
35098
|
+
* Verifies a PowerUp message.
|
|
35099
|
+
* @param message Plain object to verify
|
|
35100
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35101
|
+
*/
|
|
35102
|
+
static verify(message: {|
|
|
35103
|
+
[k: string]: any,
|
|
35104
|
+
|}): string | null;
|
|
35105
|
+
|
|
35106
|
+
/**
|
|
35107
|
+
* Creates a PowerUp message from a plain object. Also converts values to their respective internal types.
|
|
35108
|
+
* @param object Plain object
|
|
35109
|
+
* @returns PowerUp
|
|
35110
|
+
*/
|
|
35111
|
+
static fromObject(object: {|
|
|
35112
|
+
[k: string]: any,
|
|
35113
|
+
|}): replit$goval$api$PowerUp;
|
|
35114
|
+
|
|
35115
|
+
/**
|
|
35116
|
+
* Creates a plain object from a PowerUp message. Also converts values to other types if specified.
|
|
35117
|
+
* @param message PowerUp
|
|
35118
|
+
* @param [options] Conversion options
|
|
35119
|
+
* @returns Plain object
|
|
35120
|
+
*/
|
|
35121
|
+
static toObject(
|
|
35122
|
+
message: replit$goval$api$PowerUp,
|
|
35123
|
+
options?: $protobuf.IConversionOptions
|
|
35124
|
+
): {|
|
|
35125
|
+
[k: string]: any,
|
|
35126
|
+
|};
|
|
35127
|
+
|
|
35128
|
+
/**
|
|
35129
|
+
* Converts this PowerUp to JSON.
|
|
35130
|
+
* @returns JSON object
|
|
35131
|
+
*/
|
|
35132
|
+
toJSON(): {|
|
|
35133
|
+
[k: string]: any,
|
|
35134
|
+
|};
|
|
35135
|
+
}
|
|
35136
|
+
|
|
35137
|
+
/**
|
|
35138
|
+
* Properties of a UserPowerUps.
|
|
35139
|
+
*/
|
|
35140
|
+
declare type replit$goval$api$IUserPowerUps = {|
|
|
35141
|
+
/**
|
|
35142
|
+
* UserPowerUps userId
|
|
35143
|
+
*/
|
|
35144
|
+
userId?: number | null,
|
|
35145
|
+
|
|
35146
|
+
/**
|
|
35147
|
+
* UserPowerUps username
|
|
35148
|
+
*/
|
|
35149
|
+
username?: string | null,
|
|
35150
|
+
|
|
35151
|
+
/**
|
|
35152
|
+
* UserPowerUps powerups
|
|
35153
|
+
*/
|
|
35154
|
+
powerups?: (replit$goval$api$PowerUp | replit$goval$api$IPowerUp)[] | null,
|
|
35155
|
+
|};
|
|
35156
|
+
|
|
35157
|
+
/**
|
|
35158
|
+
* Represents a UserPowerUps.
|
|
35159
|
+
*/
|
|
35160
|
+
declare class replit$goval$api$UserPowerUps {
|
|
35161
|
+
/**
|
|
35162
|
+
* Constructs a new UserPowerUps.
|
|
35163
|
+
* @param [properties] Properties to set
|
|
35164
|
+
*/
|
|
35165
|
+
constructor(properties?: replit$goval$api$IUserPowerUps): this;
|
|
35166
|
+
|
|
35167
|
+
/**
|
|
35168
|
+
* UserPowerUps userId.
|
|
35169
|
+
*/
|
|
35170
|
+
userId: number;
|
|
35171
|
+
|
|
35172
|
+
/**
|
|
35173
|
+
* UserPowerUps username.
|
|
35174
|
+
*/
|
|
35175
|
+
username: string;
|
|
35176
|
+
|
|
35177
|
+
/**
|
|
35178
|
+
* UserPowerUps powerups.
|
|
35179
|
+
*/
|
|
35180
|
+
powerups: replit$goval$api$PowerUp[];
|
|
35181
|
+
|
|
35182
|
+
/**
|
|
35183
|
+
* Creates a new UserPowerUps instance using the specified properties.
|
|
35184
|
+
* @param [properties] Properties to set
|
|
35185
|
+
* @returns UserPowerUps instance
|
|
35186
|
+
*/
|
|
35187
|
+
static create(
|
|
35188
|
+
properties?: replit$goval$api$IUserPowerUps
|
|
35189
|
+
): replit$goval$api$UserPowerUps;
|
|
35190
|
+
|
|
35191
|
+
/**
|
|
35192
|
+
* [object Object],[object Object],[object Object]
|
|
35193
|
+
* @param message UserPowerUps message or plain object to encode
|
|
35194
|
+
* @param [writer] Writer to encode to
|
|
35195
|
+
* @returns Writer
|
|
35196
|
+
*/
|
|
35197
|
+
static encode(
|
|
35198
|
+
message: replit$goval$api$UserPowerUps,
|
|
35199
|
+
writer?: $protobuf.Writer
|
|
35200
|
+
): $protobuf.Writer;
|
|
35201
|
+
|
|
35202
|
+
/**
|
|
35203
|
+
* [object Object],[object Object],[object Object]
|
|
35204
|
+
* @param message UserPowerUps message or plain object to encode
|
|
35205
|
+
* @param [writer] Writer to encode to
|
|
35206
|
+
* @returns Writer
|
|
35207
|
+
*/
|
|
35208
|
+
static encodeDelimited(
|
|
35209
|
+
message: replit$goval$api$UserPowerUps,
|
|
35210
|
+
writer?: $protobuf.Writer
|
|
35211
|
+
): $protobuf.Writer;
|
|
35212
|
+
|
|
35213
|
+
/**
|
|
35214
|
+
* Decodes a UserPowerUps message from the specified reader or buffer.
|
|
35215
|
+
* @param reader Reader or buffer to decode from
|
|
35216
|
+
* @param [length] Message length if known beforehand
|
|
35217
|
+
* @returns UserPowerUps
|
|
35218
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35219
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35220
|
+
*/
|
|
35221
|
+
static decode(
|
|
35222
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
35223
|
+
length?: number
|
|
35224
|
+
): replit$goval$api$UserPowerUps;
|
|
35225
|
+
|
|
35226
|
+
/**
|
|
35227
|
+
* Decodes a UserPowerUps message from the specified reader or buffer, length delimited.
|
|
35228
|
+
* @param reader Reader or buffer to decode from
|
|
35229
|
+
* @returns UserPowerUps
|
|
35230
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35231
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35232
|
+
*/
|
|
35233
|
+
static decodeDelimited(
|
|
35234
|
+
reader: $protobuf.Reader | Uint8Array
|
|
35235
|
+
): replit$goval$api$UserPowerUps;
|
|
35236
|
+
|
|
35237
|
+
/**
|
|
35238
|
+
* Verifies a UserPowerUps message.
|
|
35239
|
+
* @param message Plain object to verify
|
|
35240
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35241
|
+
*/
|
|
35242
|
+
static verify(message: {|
|
|
35243
|
+
[k: string]: any,
|
|
35244
|
+
|}): string | null;
|
|
35245
|
+
|
|
35246
|
+
/**
|
|
35247
|
+
* Creates a UserPowerUps message from a plain object. Also converts values to their respective internal types.
|
|
35248
|
+
* @param object Plain object
|
|
35249
|
+
* @returns UserPowerUps
|
|
35250
|
+
*/
|
|
35251
|
+
static fromObject(object: {|
|
|
35252
|
+
[k: string]: any,
|
|
35253
|
+
|}): replit$goval$api$UserPowerUps;
|
|
35254
|
+
|
|
35255
|
+
/**
|
|
35256
|
+
* Creates a plain object from a UserPowerUps message. Also converts values to other types if specified.
|
|
35257
|
+
* @param message UserPowerUps
|
|
35258
|
+
* @param [options] Conversion options
|
|
35259
|
+
* @returns Plain object
|
|
35260
|
+
*/
|
|
35261
|
+
static toObject(
|
|
35262
|
+
message: replit$goval$api$UserPowerUps,
|
|
35263
|
+
options?: $protobuf.IConversionOptions
|
|
35264
|
+
): {|
|
|
35265
|
+
[k: string]: any,
|
|
35266
|
+
|};
|
|
35267
|
+
|
|
35268
|
+
/**
|
|
35269
|
+
* Converts this UserPowerUps to JSON.
|
|
35270
|
+
* @returns JSON object
|
|
35271
|
+
*/
|
|
35272
|
+
toJSON(): {|
|
|
35273
|
+
[k: string]: any,
|
|
35274
|
+
|};
|
|
35275
|
+
}
|
|
34411
35276
|
export var google = npm$namespace$google;
|
|
34412
35277
|
|
|
34413
35278
|
declare var npm$namespace$google: {|
|