@replit/protocol 0.2.77 → 0.2.79
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/gen.sh +1 -2
- package/iotester/index.js.flow +1 -1
- package/main/index.d.ts +309 -3
- package/main/index.js +760 -6
- package/main/index.js.flow +443 -5
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Flowtype definitions for index
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.
|
|
4
|
+
* Flowgen v1.20.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -194,6 +194,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
194
194
|
IProxyGoingAway: Class<replit$goval$api$IProxyGoingAway>,
|
|
195
195
|
IFirewallDenied: Class<replit$goval$api$IFirewallDenied>,
|
|
196
196
|
IReplLogMessage: Class<replit$goval$api$IReplLogMessage>,
|
|
197
|
+
IUserEvent: Class<replit$goval$api$IUserEvent>,
|
|
197
198
|
IReplToken: Class<replit$goval$api$IReplToken>,
|
|
198
199
|
ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
|
|
199
200
|
IReplTransfer: Class<replit$goval$api$IReplTransfer>,
|
|
@@ -211,6 +212,8 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
211
212
|
ISoftTakedown: Class<replit$goval$api$ISoftTakedown>,
|
|
212
213
|
IGovalCommand: Class<replit$goval$api$IGovalCommand>,
|
|
213
214
|
IPartialUpdateMetadata: Class<replit$goval$api$IPartialUpdateMetadata>,
|
|
215
|
+
IMultiGovalCommand: Class<replit$goval$api$IMultiGovalCommand>,
|
|
216
|
+
IKillRepl: Class<replit$goval$api$IKillRepl>,
|
|
214
217
|
IRestore: Class<replit$goval$api$IRestore>,
|
|
215
218
|
Command: typeof replit$goval$api$Command,
|
|
216
219
|
NixPackageAddRequest: typeof replit$goval$api$NixPackageAddRequest,
|
|
@@ -385,6 +388,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
385
388
|
ProxyGoingAway: typeof replit$goval$api$ProxyGoingAway,
|
|
386
389
|
FirewallDenied: typeof replit$goval$api$FirewallDenied,
|
|
387
390
|
ReplLogMessage: typeof replit$goval$api$ReplLogMessage,
|
|
391
|
+
UserEvent: typeof replit$goval$api$UserEvent,
|
|
388
392
|
ReplToken: typeof replit$goval$api$ReplToken,
|
|
389
393
|
TLSCertificate: typeof replit$goval$api$TLSCertificate,
|
|
390
394
|
ReplTransfer: typeof replit$goval$api$ReplTransfer,
|
|
@@ -402,6 +406,8 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
402
406
|
SoftTakedown: typeof replit$goval$api$SoftTakedown,
|
|
403
407
|
GovalCommand: typeof replit$goval$api$GovalCommand,
|
|
404
408
|
PartialUpdateMetadata: typeof replit$goval$api$PartialUpdateMetadata,
|
|
409
|
+
MultiGovalCommand: typeof replit$goval$api$MultiGovalCommand,
|
|
410
|
+
KillRepl: typeof replit$goval$api$KillRepl,
|
|
405
411
|
Restore: typeof replit$goval$api$Restore,
|
|
406
412
|
features: typeof npm$namespace$replit$goval$api$features,
|
|
407
413
|
repl: typeof npm$namespace$replit$goval$api$repl,
|
|
@@ -1507,6 +1513,11 @@ declare type replit$goval$api$ICommand = {|
|
|
|
1507
1513
|
| replit$goval$api$INixPackageSearchResponse
|
|
1508
1514
|
| null,
|
|
1509
1515
|
|
|
1516
|
+
/**
|
|
1517
|
+
* Command userEvent
|
|
1518
|
+
*/
|
|
1519
|
+
userEvent?: replit$goval$api$UserEvent | replit$goval$api$IUserEvent | null,
|
|
1520
|
+
|
|
1510
1521
|
/**
|
|
1511
1522
|
* Command ref
|
|
1512
1523
|
*/
|
|
@@ -2350,6 +2361,11 @@ declare class replit$goval$api$Command {
|
|
|
2350
2361
|
*/
|
|
2351
2362
|
nixPackageSearchResponse?: replit$goval$api$NixPackageSearchResponse | null;
|
|
2352
2363
|
|
|
2364
|
+
/**
|
|
2365
|
+
* Command userEvent.
|
|
2366
|
+
*/
|
|
2367
|
+
userEvent?: replit$goval$api$UserEvent | null;
|
|
2368
|
+
|
|
2353
2369
|
/**
|
|
2354
2370
|
* Command ref.
|
|
2355
2371
|
*/
|
|
@@ -2527,7 +2543,8 @@ declare class replit$goval$api$Command {
|
|
|
2527
2543
|
| "nixChannelLatestStableRequest"
|
|
2528
2544
|
| "nixChannelLatestStableResponse"
|
|
2529
2545
|
| "nixPackageSearchRequest"
|
|
2530
|
-
| "nixPackageSearchResponse"
|
|
2546
|
+
| "nixPackageSearchResponse"
|
|
2547
|
+
| "userEvent";
|
|
2531
2548
|
|
|
2532
2549
|
/**
|
|
2533
2550
|
* Creates a new Command instance using the specified properties.
|
|
@@ -25713,6 +25730,146 @@ declare class replit$goval$api$ReplLogMessage {
|
|
|
25713
25730
|
|};
|
|
25714
25731
|
}
|
|
25715
25732
|
|
|
25733
|
+
/**
|
|
25734
|
+
* Properties of a UserEvent.
|
|
25735
|
+
*/
|
|
25736
|
+
declare type replit$goval$api$IUserEvent = {|
|
|
25737
|
+
/**
|
|
25738
|
+
* UserEvent eventName
|
|
25739
|
+
*/
|
|
25740
|
+
eventName?: string | null,
|
|
25741
|
+
|
|
25742
|
+
/**
|
|
25743
|
+
* UserEvent eventData
|
|
25744
|
+
*/
|
|
25745
|
+
eventData?: google$protobuf$Struct | google$protobuf$IStruct | null,
|
|
25746
|
+
|
|
25747
|
+
/**
|
|
25748
|
+
* UserEvent version
|
|
25749
|
+
*/
|
|
25750
|
+
version?: number | null,
|
|
25751
|
+
|};
|
|
25752
|
+
|
|
25753
|
+
/**
|
|
25754
|
+
* Represents a UserEvent.
|
|
25755
|
+
*/
|
|
25756
|
+
declare class replit$goval$api$UserEvent {
|
|
25757
|
+
/**
|
|
25758
|
+
* Constructs a new UserEvent.
|
|
25759
|
+
* @param [properties] Properties to set
|
|
25760
|
+
*/
|
|
25761
|
+
constructor(properties?: replit$goval$api$IUserEvent): this;
|
|
25762
|
+
|
|
25763
|
+
/**
|
|
25764
|
+
* UserEvent eventName.
|
|
25765
|
+
*/
|
|
25766
|
+
eventName: string;
|
|
25767
|
+
|
|
25768
|
+
/**
|
|
25769
|
+
* UserEvent eventData.
|
|
25770
|
+
*/
|
|
25771
|
+
eventData?: google$protobuf$Struct | null;
|
|
25772
|
+
|
|
25773
|
+
/**
|
|
25774
|
+
* UserEvent version.
|
|
25775
|
+
*/
|
|
25776
|
+
version: number;
|
|
25777
|
+
|
|
25778
|
+
/**
|
|
25779
|
+
* Creates a new UserEvent instance using the specified properties.
|
|
25780
|
+
* @param [properties] Properties to set
|
|
25781
|
+
* @returns UserEvent instance
|
|
25782
|
+
*/
|
|
25783
|
+
static create(
|
|
25784
|
+
properties?: replit$goval$api$IUserEvent
|
|
25785
|
+
): replit$goval$api$UserEvent;
|
|
25786
|
+
|
|
25787
|
+
/**
|
|
25788
|
+
* [object Object],[object Object],[object Object]
|
|
25789
|
+
* @param message UserEvent message or plain object to encode
|
|
25790
|
+
* @param [writer] Writer to encode to
|
|
25791
|
+
* @returns Writer
|
|
25792
|
+
*/
|
|
25793
|
+
static encode(
|
|
25794
|
+
message: replit$goval$api$UserEvent,
|
|
25795
|
+
writer?: $protobuf.Writer
|
|
25796
|
+
): $protobuf.Writer;
|
|
25797
|
+
|
|
25798
|
+
/**
|
|
25799
|
+
* [object Object],[object Object],[object Object]
|
|
25800
|
+
* @param message UserEvent message or plain object to encode
|
|
25801
|
+
* @param [writer] Writer to encode to
|
|
25802
|
+
* @returns Writer
|
|
25803
|
+
*/
|
|
25804
|
+
static encodeDelimited(
|
|
25805
|
+
message: replit$goval$api$UserEvent,
|
|
25806
|
+
writer?: $protobuf.Writer
|
|
25807
|
+
): $protobuf.Writer;
|
|
25808
|
+
|
|
25809
|
+
/**
|
|
25810
|
+
* Decodes a UserEvent message from the specified reader or buffer.
|
|
25811
|
+
* @param reader Reader or buffer to decode from
|
|
25812
|
+
* @param [length] Message length if known beforehand
|
|
25813
|
+
* @returns UserEvent
|
|
25814
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25815
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25816
|
+
*/
|
|
25817
|
+
static decode(
|
|
25818
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
25819
|
+
length?: number
|
|
25820
|
+
): replit$goval$api$UserEvent;
|
|
25821
|
+
|
|
25822
|
+
/**
|
|
25823
|
+
* Decodes a UserEvent message from the specified reader or buffer, length delimited.
|
|
25824
|
+
* @param reader Reader or buffer to decode from
|
|
25825
|
+
* @returns UserEvent
|
|
25826
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25827
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25828
|
+
*/
|
|
25829
|
+
static decodeDelimited(
|
|
25830
|
+
reader: $protobuf.Reader | Uint8Array
|
|
25831
|
+
): replit$goval$api$UserEvent;
|
|
25832
|
+
|
|
25833
|
+
/**
|
|
25834
|
+
* Verifies a UserEvent message.
|
|
25835
|
+
* @param message Plain object to verify
|
|
25836
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
25837
|
+
*/
|
|
25838
|
+
static verify(message: {|
|
|
25839
|
+
[k: string]: any,
|
|
25840
|
+
|}): string | null;
|
|
25841
|
+
|
|
25842
|
+
/**
|
|
25843
|
+
* Creates a UserEvent message from a plain object. Also converts values to their respective internal types.
|
|
25844
|
+
* @param object Plain object
|
|
25845
|
+
* @returns UserEvent
|
|
25846
|
+
*/
|
|
25847
|
+
static fromObject(object: {|
|
|
25848
|
+
[k: string]: any,
|
|
25849
|
+
|}): replit$goval$api$UserEvent;
|
|
25850
|
+
|
|
25851
|
+
/**
|
|
25852
|
+
* Creates a plain object from a UserEvent message. Also converts values to other types if specified.
|
|
25853
|
+
* @param message UserEvent
|
|
25854
|
+
* @param [options] Conversion options
|
|
25855
|
+
* @returns Plain object
|
|
25856
|
+
*/
|
|
25857
|
+
static toObject(
|
|
25858
|
+
message: replit$goval$api$UserEvent,
|
|
25859
|
+
options?: $protobuf.IConversionOptions
|
|
25860
|
+
): {|
|
|
25861
|
+
[k: string]: any,
|
|
25862
|
+
|};
|
|
25863
|
+
|
|
25864
|
+
/**
|
|
25865
|
+
* Converts this UserEvent to JSON.
|
|
25866
|
+
* @returns JSON object
|
|
25867
|
+
*/
|
|
25868
|
+
toJSON(): {|
|
|
25869
|
+
[k: string]: any,
|
|
25870
|
+
|};
|
|
25871
|
+
}
|
|
25872
|
+
|
|
25716
25873
|
/**
|
|
25717
25874
|
* Properties of a ReplToken.
|
|
25718
25875
|
*/
|
|
@@ -28099,6 +28256,14 @@ declare type replit$goval$api$ILoreCommand = {|
|
|
|
28099
28256
|
| replit$goval$api$IGovalCommand
|
|
28100
28257
|
| null,
|
|
28101
28258
|
|
|
28259
|
+
/**
|
|
28260
|
+
* LoreCommand multiGovalCommand
|
|
28261
|
+
*/
|
|
28262
|
+
multiGovalCommand?:
|
|
28263
|
+
| replit$goval$api$MultiGovalCommand
|
|
28264
|
+
| replit$goval$api$IMultiGovalCommand
|
|
28265
|
+
| null,
|
|
28266
|
+
|
|
28102
28267
|
/**
|
|
28103
28268
|
* LoreCommand restore
|
|
28104
28269
|
*/
|
|
@@ -28130,6 +28295,11 @@ declare class replit$goval$api$LoreCommand {
|
|
|
28130
28295
|
*/
|
|
28131
28296
|
govalCommand?: replit$goval$api$GovalCommand | null;
|
|
28132
28297
|
|
|
28298
|
+
/**
|
|
28299
|
+
* LoreCommand multiGovalCommand.
|
|
28300
|
+
*/
|
|
28301
|
+
multiGovalCommand?: replit$goval$api$MultiGovalCommand | null;
|
|
28302
|
+
|
|
28133
28303
|
/**
|
|
28134
28304
|
* LoreCommand restore.
|
|
28135
28305
|
*/
|
|
@@ -28138,7 +28308,12 @@ declare class replit$goval$api$LoreCommand {
|
|
|
28138
28308
|
/**
|
|
28139
28309
|
* LoreCommand command.
|
|
28140
28310
|
*/
|
|
28141
|
-
command?:
|
|
28311
|
+
command?:
|
|
28312
|
+
| "clusterTransfer"
|
|
28313
|
+
| "softTakedown"
|
|
28314
|
+
| "govalCommand"
|
|
28315
|
+
| "multiGovalCommand"
|
|
28316
|
+
| "restore";
|
|
28142
28317
|
|
|
28143
28318
|
/**
|
|
28144
28319
|
* Creates a new LoreCommand instance using the specified properties.
|
|
@@ -28534,6 +28709,11 @@ declare type replit$goval$api$IGovalCommand = {|
|
|
|
28534
28709
|
| replit$goval$api$PartialUpdateMetadata
|
|
28535
28710
|
| replit$goval$api$IPartialUpdateMetadata
|
|
28536
28711
|
| null,
|
|
28712
|
+
|
|
28713
|
+
/**
|
|
28714
|
+
* GovalCommand killRepl
|
|
28715
|
+
*/
|
|
28716
|
+
killRepl?: replit$goval$api$KillRepl | replit$goval$api$IKillRepl | null,
|
|
28537
28717
|
|};
|
|
28538
28718
|
|
|
28539
28719
|
/**
|
|
@@ -28556,10 +28736,15 @@ declare class replit$goval$api$GovalCommand {
|
|
|
28556
28736
|
*/
|
|
28557
28737
|
partialUpdateMetadata?: replit$goval$api$PartialUpdateMetadata | null;
|
|
28558
28738
|
|
|
28739
|
+
/**
|
|
28740
|
+
* GovalCommand killRepl.
|
|
28741
|
+
*/
|
|
28742
|
+
killRepl?: replit$goval$api$KillRepl | null;
|
|
28743
|
+
|
|
28559
28744
|
/**
|
|
28560
28745
|
* GovalCommand command.
|
|
28561
28746
|
*/
|
|
28562
|
-
command?: "updateMetadata" | "partialUpdateMetadata";
|
|
28747
|
+
command?: "updateMetadata" | "partialUpdateMetadata" | "killRepl";
|
|
28563
28748
|
|
|
28564
28749
|
/**
|
|
28565
28750
|
* Creates a new GovalCommand instance using the specified properties.
|
|
@@ -28789,6 +28974,258 @@ declare class replit$goval$api$PartialUpdateMetadata {
|
|
|
28789
28974
|
|};
|
|
28790
28975
|
}
|
|
28791
28976
|
|
|
28977
|
+
/**
|
|
28978
|
+
* Properties of a MultiGovalCommand.
|
|
28979
|
+
*/
|
|
28980
|
+
declare type replit$goval$api$IMultiGovalCommand = {|
|
|
28981
|
+
/**
|
|
28982
|
+
* MultiGovalCommand replId
|
|
28983
|
+
*/
|
|
28984
|
+
replId?: string | null,
|
|
28985
|
+
|
|
28986
|
+
/**
|
|
28987
|
+
* MultiGovalCommand govalCommands
|
|
28988
|
+
*/
|
|
28989
|
+
govalCommands?:
|
|
28990
|
+
| (replit$goval$api$GovalCommand | replit$goval$api$IGovalCommand)[]
|
|
28991
|
+
| null,
|
|
28992
|
+
|};
|
|
28993
|
+
|
|
28994
|
+
/**
|
|
28995
|
+
* Represents a MultiGovalCommand.
|
|
28996
|
+
*/
|
|
28997
|
+
declare class replit$goval$api$MultiGovalCommand {
|
|
28998
|
+
/**
|
|
28999
|
+
* Constructs a new MultiGovalCommand.
|
|
29000
|
+
* @param [properties] Properties to set
|
|
29001
|
+
*/
|
|
29002
|
+
constructor(properties?: replit$goval$api$IMultiGovalCommand): this;
|
|
29003
|
+
|
|
29004
|
+
/**
|
|
29005
|
+
* MultiGovalCommand replId.
|
|
29006
|
+
*/
|
|
29007
|
+
replId: string;
|
|
29008
|
+
|
|
29009
|
+
/**
|
|
29010
|
+
* MultiGovalCommand govalCommands.
|
|
29011
|
+
*/
|
|
29012
|
+
govalCommands: replit$goval$api$GovalCommand[];
|
|
29013
|
+
|
|
29014
|
+
/**
|
|
29015
|
+
* Creates a new MultiGovalCommand instance using the specified properties.
|
|
29016
|
+
* @param [properties] Properties to set
|
|
29017
|
+
* @returns MultiGovalCommand instance
|
|
29018
|
+
*/
|
|
29019
|
+
static create(
|
|
29020
|
+
properties?: replit$goval$api$IMultiGovalCommand
|
|
29021
|
+
): replit$goval$api$MultiGovalCommand;
|
|
29022
|
+
|
|
29023
|
+
/**
|
|
29024
|
+
* [object Object],[object Object],[object Object]
|
|
29025
|
+
* @param message MultiGovalCommand message or plain object to encode
|
|
29026
|
+
* @param [writer] Writer to encode to
|
|
29027
|
+
* @returns Writer
|
|
29028
|
+
*/
|
|
29029
|
+
static encode(
|
|
29030
|
+
message: replit$goval$api$MultiGovalCommand,
|
|
29031
|
+
writer?: $protobuf.Writer
|
|
29032
|
+
): $protobuf.Writer;
|
|
29033
|
+
|
|
29034
|
+
/**
|
|
29035
|
+
* [object Object],[object Object],[object Object]
|
|
29036
|
+
* @param message MultiGovalCommand message or plain object to encode
|
|
29037
|
+
* @param [writer] Writer to encode to
|
|
29038
|
+
* @returns Writer
|
|
29039
|
+
*/
|
|
29040
|
+
static encodeDelimited(
|
|
29041
|
+
message: replit$goval$api$MultiGovalCommand,
|
|
29042
|
+
writer?: $protobuf.Writer
|
|
29043
|
+
): $protobuf.Writer;
|
|
29044
|
+
|
|
29045
|
+
/**
|
|
29046
|
+
* Decodes a MultiGovalCommand message from the specified reader or buffer.
|
|
29047
|
+
* @param reader Reader or buffer to decode from
|
|
29048
|
+
* @param [length] Message length if known beforehand
|
|
29049
|
+
* @returns MultiGovalCommand
|
|
29050
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29051
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29052
|
+
*/
|
|
29053
|
+
static decode(
|
|
29054
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
29055
|
+
length?: number
|
|
29056
|
+
): replit$goval$api$MultiGovalCommand;
|
|
29057
|
+
|
|
29058
|
+
/**
|
|
29059
|
+
* Decodes a MultiGovalCommand message from the specified reader or buffer, length delimited.
|
|
29060
|
+
* @param reader Reader or buffer to decode from
|
|
29061
|
+
* @returns MultiGovalCommand
|
|
29062
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29063
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29064
|
+
*/
|
|
29065
|
+
static decodeDelimited(
|
|
29066
|
+
reader: $protobuf.Reader | Uint8Array
|
|
29067
|
+
): replit$goval$api$MultiGovalCommand;
|
|
29068
|
+
|
|
29069
|
+
/**
|
|
29070
|
+
* Verifies a MultiGovalCommand message.
|
|
29071
|
+
* @param message Plain object to verify
|
|
29072
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29073
|
+
*/
|
|
29074
|
+
static verify(message: {|
|
|
29075
|
+
[k: string]: any,
|
|
29076
|
+
|}): string | null;
|
|
29077
|
+
|
|
29078
|
+
/**
|
|
29079
|
+
* Creates a MultiGovalCommand message from a plain object. Also converts values to their respective internal types.
|
|
29080
|
+
* @param object Plain object
|
|
29081
|
+
* @returns MultiGovalCommand
|
|
29082
|
+
*/
|
|
29083
|
+
static fromObject(object: {|
|
|
29084
|
+
[k: string]: any,
|
|
29085
|
+
|}): replit$goval$api$MultiGovalCommand;
|
|
29086
|
+
|
|
29087
|
+
/**
|
|
29088
|
+
* Creates a plain object from a MultiGovalCommand message. Also converts values to other types if specified.
|
|
29089
|
+
* @param message MultiGovalCommand
|
|
29090
|
+
* @param [options] Conversion options
|
|
29091
|
+
* @returns Plain object
|
|
29092
|
+
*/
|
|
29093
|
+
static toObject(
|
|
29094
|
+
message: replit$goval$api$MultiGovalCommand,
|
|
29095
|
+
options?: $protobuf.IConversionOptions
|
|
29096
|
+
): {|
|
|
29097
|
+
[k: string]: any,
|
|
29098
|
+
|};
|
|
29099
|
+
|
|
29100
|
+
/**
|
|
29101
|
+
* Converts this MultiGovalCommand to JSON.
|
|
29102
|
+
* @returns JSON object
|
|
29103
|
+
*/
|
|
29104
|
+
toJSON(): {|
|
|
29105
|
+
[k: string]: any,
|
|
29106
|
+
|};
|
|
29107
|
+
}
|
|
29108
|
+
|
|
29109
|
+
/**
|
|
29110
|
+
* Properties of a KillRepl.
|
|
29111
|
+
*/
|
|
29112
|
+
declare type replit$goval$api$IKillRepl = {|
|
|
29113
|
+
/**
|
|
29114
|
+
* KillRepl replId
|
|
29115
|
+
*/
|
|
29116
|
+
replId?: string | null,
|
|
29117
|
+
|};
|
|
29118
|
+
|
|
29119
|
+
/**
|
|
29120
|
+
* Represents a KillRepl.
|
|
29121
|
+
*/
|
|
29122
|
+
declare class replit$goval$api$KillRepl {
|
|
29123
|
+
/**
|
|
29124
|
+
* Constructs a new KillRepl.
|
|
29125
|
+
* @param [properties] Properties to set
|
|
29126
|
+
*/
|
|
29127
|
+
constructor(properties?: replit$goval$api$IKillRepl): this;
|
|
29128
|
+
|
|
29129
|
+
/**
|
|
29130
|
+
* KillRepl replId.
|
|
29131
|
+
*/
|
|
29132
|
+
replId: string;
|
|
29133
|
+
|
|
29134
|
+
/**
|
|
29135
|
+
* Creates a new KillRepl instance using the specified properties.
|
|
29136
|
+
* @param [properties] Properties to set
|
|
29137
|
+
* @returns KillRepl instance
|
|
29138
|
+
*/
|
|
29139
|
+
static create(
|
|
29140
|
+
properties?: replit$goval$api$IKillRepl
|
|
29141
|
+
): replit$goval$api$KillRepl;
|
|
29142
|
+
|
|
29143
|
+
/**
|
|
29144
|
+
* [object Object],[object Object],[object Object]
|
|
29145
|
+
* @param message KillRepl message or plain object to encode
|
|
29146
|
+
* @param [writer] Writer to encode to
|
|
29147
|
+
* @returns Writer
|
|
29148
|
+
*/
|
|
29149
|
+
static encode(
|
|
29150
|
+
message: replit$goval$api$KillRepl,
|
|
29151
|
+
writer?: $protobuf.Writer
|
|
29152
|
+
): $protobuf.Writer;
|
|
29153
|
+
|
|
29154
|
+
/**
|
|
29155
|
+
* [object Object],[object Object],[object Object]
|
|
29156
|
+
* @param message KillRepl message or plain object to encode
|
|
29157
|
+
* @param [writer] Writer to encode to
|
|
29158
|
+
* @returns Writer
|
|
29159
|
+
*/
|
|
29160
|
+
static encodeDelimited(
|
|
29161
|
+
message: replit$goval$api$KillRepl,
|
|
29162
|
+
writer?: $protobuf.Writer
|
|
29163
|
+
): $protobuf.Writer;
|
|
29164
|
+
|
|
29165
|
+
/**
|
|
29166
|
+
* Decodes a KillRepl message from the specified reader or buffer.
|
|
29167
|
+
* @param reader Reader or buffer to decode from
|
|
29168
|
+
* @param [length] Message length if known beforehand
|
|
29169
|
+
* @returns KillRepl
|
|
29170
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29171
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29172
|
+
*/
|
|
29173
|
+
static decode(
|
|
29174
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
29175
|
+
length?: number
|
|
29176
|
+
): replit$goval$api$KillRepl;
|
|
29177
|
+
|
|
29178
|
+
/**
|
|
29179
|
+
* Decodes a KillRepl message from the specified reader or buffer, length delimited.
|
|
29180
|
+
* @param reader Reader or buffer to decode from
|
|
29181
|
+
* @returns KillRepl
|
|
29182
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29183
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29184
|
+
*/
|
|
29185
|
+
static decodeDelimited(
|
|
29186
|
+
reader: $protobuf.Reader | Uint8Array
|
|
29187
|
+
): replit$goval$api$KillRepl;
|
|
29188
|
+
|
|
29189
|
+
/**
|
|
29190
|
+
* Verifies a KillRepl message.
|
|
29191
|
+
* @param message Plain object to verify
|
|
29192
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29193
|
+
*/
|
|
29194
|
+
static verify(message: {|
|
|
29195
|
+
[k: string]: any,
|
|
29196
|
+
|}): string | null;
|
|
29197
|
+
|
|
29198
|
+
/**
|
|
29199
|
+
* Creates a KillRepl message from a plain object. Also converts values to their respective internal types.
|
|
29200
|
+
* @param object Plain object
|
|
29201
|
+
* @returns KillRepl
|
|
29202
|
+
*/
|
|
29203
|
+
static fromObject(object: {|
|
|
29204
|
+
[k: string]: any,
|
|
29205
|
+
|}): replit$goval$api$KillRepl;
|
|
29206
|
+
|
|
29207
|
+
/**
|
|
29208
|
+
* Creates a plain object from a KillRepl message. Also converts values to other types if specified.
|
|
29209
|
+
* @param message KillRepl
|
|
29210
|
+
* @param [options] Conversion options
|
|
29211
|
+
* @returns Plain object
|
|
29212
|
+
*/
|
|
29213
|
+
static toObject(
|
|
29214
|
+
message: replit$goval$api$KillRepl,
|
|
29215
|
+
options?: $protobuf.IConversionOptions
|
|
29216
|
+
): {|
|
|
29217
|
+
[k: string]: any,
|
|
29218
|
+
|};
|
|
29219
|
+
|
|
29220
|
+
/**
|
|
29221
|
+
* Converts this KillRepl to JSON.
|
|
29222
|
+
* @returns JSON object
|
|
29223
|
+
*/
|
|
29224
|
+
toJSON(): {|
|
|
29225
|
+
[k: string]: any,
|
|
29226
|
+
|};
|
|
29227
|
+
}
|
|
29228
|
+
|
|
28792
29229
|
/**
|
|
28793
29230
|
* Properties of a Restore.
|
|
28794
29231
|
*/
|
|
@@ -29998,7 +30435,7 @@ declare class replit$goval$api$repl$Metadata {
|
|
|
29998
30435
|
[k: string]: any,
|
|
29999
30436
|
|};
|
|
30000
30437
|
}
|
|
30001
|
-
|
|
30438
|
+
export var google = npm$namespace$google;
|
|
30002
30439
|
|
|
30003
30440
|
declare var npm$namespace$google: {|
|
|
30004
30441
|
protobuf: typeof npm$namespace$google$protobuf,
|
|
@@ -30696,4 +31133,5 @@ declare class google$protobuf$FieldMask {
|
|
|
30696
31133
|
[k: string]: any,
|
|
30697
31134
|
|};
|
|
30698
31135
|
}
|
|
31136
|
+
declare var api: typeof replit$goval$api;
|
|
30699
31137
|
export var api = npm$namespace$replit$goval$api;
|