@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/gen.sh
CHANGED
|
@@ -47,8 +47,7 @@ flowgen \
|
|
|
47
47
|
|
|
48
48
|
if [ "$MODE" = "fix" ]; then
|
|
49
49
|
sed -i.bak 's/declare var replit: typeof npm\$namespace\$replit;/export var replit = npm$namespace$replit;/' "${TARGET}.js.flow"
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
sed -i.bak 's/declare var google: typeof npm\$namespace\$google;/export var google = npm$namespace$google;/' "${TARGET}.js.flow"
|
|
52
51
|
sed -i.bak 's/declare export { api };/export var api = npm$namespace$replit$goval$api;/' "${TARGET}.js.flow"
|
|
53
52
|
rm -f "${TARGET}.js.flow.bak"
|
|
54
53
|
fi
|
package/iotester/index.js.flow
CHANGED
package/main/index.d.ts
CHANGED
|
@@ -503,6 +503,9 @@ export namespace replit {
|
|
|
503
503
|
/** Command nixPackageSearchResponse */
|
|
504
504
|
nixPackageSearchResponse?: (replit.goval.api.NixPackageSearchResponse|replit.goval.api.INixPackageSearchResponse|null);
|
|
505
505
|
|
|
506
|
+
/** Command userEvent */
|
|
507
|
+
userEvent?: (replit.goval.api.UserEvent|replit.goval.api.IUserEvent|null);
|
|
508
|
+
|
|
506
509
|
/** Command ref */
|
|
507
510
|
ref?: (string|null);
|
|
508
511
|
|
|
@@ -1011,6 +1014,9 @@ export namespace replit {
|
|
|
1011
1014
|
/** Command nixPackageSearchResponse. */
|
|
1012
1015
|
public nixPackageSearchResponse?: (replit.goval.api.NixPackageSearchResponse|null);
|
|
1013
1016
|
|
|
1017
|
+
/** Command userEvent. */
|
|
1018
|
+
public userEvent?: (replit.goval.api.UserEvent|null);
|
|
1019
|
+
|
|
1014
1020
|
/** Command ref. */
|
|
1015
1021
|
public ref: string;
|
|
1016
1022
|
|
|
@@ -1018,7 +1024,7 @@ export namespace replit {
|
|
|
1018
1024
|
public traceInfo: { [k: string]: string };
|
|
1019
1025
|
|
|
1020
1026
|
/** Command body. */
|
|
1021
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse");
|
|
1027
|
+
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"userEvent");
|
|
1022
1028
|
|
|
1023
1029
|
/**
|
|
1024
1030
|
* Creates a new Command instance using the specified properties.
|
|
@@ -18054,6 +18060,108 @@ export namespace replit {
|
|
|
18054
18060
|
public toJSON(): { [k: string]: any };
|
|
18055
18061
|
}
|
|
18056
18062
|
|
|
18063
|
+
/** Properties of a UserEvent. */
|
|
18064
|
+
interface IUserEvent {
|
|
18065
|
+
|
|
18066
|
+
/** UserEvent eventName */
|
|
18067
|
+
eventName?: (string|null);
|
|
18068
|
+
|
|
18069
|
+
/** UserEvent eventData */
|
|
18070
|
+
eventData?: (google.protobuf.Struct|google.protobuf.IStruct|null);
|
|
18071
|
+
|
|
18072
|
+
/** UserEvent version */
|
|
18073
|
+
version?: (number|null);
|
|
18074
|
+
}
|
|
18075
|
+
|
|
18076
|
+
/** Represents a UserEvent. */
|
|
18077
|
+
class UserEvent {
|
|
18078
|
+
|
|
18079
|
+
/**
|
|
18080
|
+
* Constructs a new UserEvent.
|
|
18081
|
+
* @param [properties] Properties to set
|
|
18082
|
+
*/
|
|
18083
|
+
private constructor(properties?: replit.goval.api.IUserEvent);
|
|
18084
|
+
|
|
18085
|
+
/** UserEvent eventName. */
|
|
18086
|
+
public eventName: string;
|
|
18087
|
+
|
|
18088
|
+
/** UserEvent eventData. */
|
|
18089
|
+
public eventData?: (google.protobuf.Struct|null);
|
|
18090
|
+
|
|
18091
|
+
/** UserEvent version. */
|
|
18092
|
+
public version: number;
|
|
18093
|
+
|
|
18094
|
+
/**
|
|
18095
|
+
* Creates a new UserEvent instance using the specified properties.
|
|
18096
|
+
* @param [properties] Properties to set
|
|
18097
|
+
* @returns UserEvent instance
|
|
18098
|
+
*/
|
|
18099
|
+
public static create(properties?: replit.goval.api.IUserEvent): replit.goval.api.UserEvent;
|
|
18100
|
+
|
|
18101
|
+
/**
|
|
18102
|
+
* Encodes the specified UserEvent message. Does not implicitly {@link replit.goval.api.UserEvent.verify|verify} messages.
|
|
18103
|
+
* @param message UserEvent message or plain object to encode
|
|
18104
|
+
* @param [writer] Writer to encode to
|
|
18105
|
+
* @returns Writer
|
|
18106
|
+
*/
|
|
18107
|
+
public static encode(message: replit.goval.api.UserEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18108
|
+
|
|
18109
|
+
/**
|
|
18110
|
+
* Encodes the specified UserEvent message, length delimited. Does not implicitly {@link replit.goval.api.UserEvent.verify|verify} messages.
|
|
18111
|
+
* @param message UserEvent message or plain object to encode
|
|
18112
|
+
* @param [writer] Writer to encode to
|
|
18113
|
+
* @returns Writer
|
|
18114
|
+
*/
|
|
18115
|
+
public static encodeDelimited(message: replit.goval.api.UserEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18116
|
+
|
|
18117
|
+
/**
|
|
18118
|
+
* Decodes a UserEvent message from the specified reader or buffer.
|
|
18119
|
+
* @param reader Reader or buffer to decode from
|
|
18120
|
+
* @param [length] Message length if known beforehand
|
|
18121
|
+
* @returns UserEvent
|
|
18122
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18123
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18124
|
+
*/
|
|
18125
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.UserEvent;
|
|
18126
|
+
|
|
18127
|
+
/**
|
|
18128
|
+
* Decodes a UserEvent message from the specified reader or buffer, length delimited.
|
|
18129
|
+
* @param reader Reader or buffer to decode from
|
|
18130
|
+
* @returns UserEvent
|
|
18131
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18132
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18133
|
+
*/
|
|
18134
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.UserEvent;
|
|
18135
|
+
|
|
18136
|
+
/**
|
|
18137
|
+
* Verifies a UserEvent message.
|
|
18138
|
+
* @param message Plain object to verify
|
|
18139
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18140
|
+
*/
|
|
18141
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18142
|
+
|
|
18143
|
+
/**
|
|
18144
|
+
* Creates a UserEvent message from a plain object. Also converts values to their respective internal types.
|
|
18145
|
+
* @param object Plain object
|
|
18146
|
+
* @returns UserEvent
|
|
18147
|
+
*/
|
|
18148
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.UserEvent;
|
|
18149
|
+
|
|
18150
|
+
/**
|
|
18151
|
+
* Creates a plain object from a UserEvent message. Also converts values to other types if specified.
|
|
18152
|
+
* @param message UserEvent
|
|
18153
|
+
* @param [options] Conversion options
|
|
18154
|
+
* @returns Plain object
|
|
18155
|
+
*/
|
|
18156
|
+
public static toObject(message: replit.goval.api.UserEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18157
|
+
|
|
18158
|
+
/**
|
|
18159
|
+
* Converts this UserEvent to JSON.
|
|
18160
|
+
* @returns JSON object
|
|
18161
|
+
*/
|
|
18162
|
+
public toJSON(): { [k: string]: any };
|
|
18163
|
+
}
|
|
18164
|
+
|
|
18057
18165
|
/** Properties of a ReplToken. */
|
|
18058
18166
|
interface IReplToken {
|
|
18059
18167
|
|
|
@@ -19730,6 +19838,9 @@ export namespace replit {
|
|
|
19730
19838
|
/** LoreCommand govalCommand */
|
|
19731
19839
|
govalCommand?: (replit.goval.api.GovalCommand|replit.goval.api.IGovalCommand|null);
|
|
19732
19840
|
|
|
19841
|
+
/** LoreCommand multiGovalCommand */
|
|
19842
|
+
multiGovalCommand?: (replit.goval.api.MultiGovalCommand|replit.goval.api.IMultiGovalCommand|null);
|
|
19843
|
+
|
|
19733
19844
|
/** LoreCommand restore */
|
|
19734
19845
|
restore?: (replit.goval.api.Restore|replit.goval.api.IRestore|null);
|
|
19735
19846
|
}
|
|
@@ -19752,11 +19863,14 @@ export namespace replit {
|
|
|
19752
19863
|
/** LoreCommand govalCommand. */
|
|
19753
19864
|
public govalCommand?: (replit.goval.api.GovalCommand|null);
|
|
19754
19865
|
|
|
19866
|
+
/** LoreCommand multiGovalCommand. */
|
|
19867
|
+
public multiGovalCommand?: (replit.goval.api.MultiGovalCommand|null);
|
|
19868
|
+
|
|
19755
19869
|
/** LoreCommand restore. */
|
|
19756
19870
|
public restore?: (replit.goval.api.Restore|null);
|
|
19757
19871
|
|
|
19758
19872
|
/** LoreCommand command. */
|
|
19759
|
-
public command?: ("clusterTransfer"|"softTakedown"|"govalCommand"|"restore");
|
|
19873
|
+
public command?: ("clusterTransfer"|"softTakedown"|"govalCommand"|"multiGovalCommand"|"restore");
|
|
19760
19874
|
|
|
19761
19875
|
/**
|
|
19762
19876
|
* Creates a new LoreCommand instance using the specified properties.
|
|
@@ -20041,6 +20155,9 @@ export namespace replit {
|
|
|
20041
20155
|
|
|
20042
20156
|
/** GovalCommand partialUpdateMetadata */
|
|
20043
20157
|
partialUpdateMetadata?: (replit.goval.api.PartialUpdateMetadata|replit.goval.api.IPartialUpdateMetadata|null);
|
|
20158
|
+
|
|
20159
|
+
/** GovalCommand killRepl */
|
|
20160
|
+
killRepl?: (replit.goval.api.KillRepl|replit.goval.api.IKillRepl|null);
|
|
20044
20161
|
}
|
|
20045
20162
|
|
|
20046
20163
|
/** Represents a GovalCommand. */
|
|
@@ -20058,8 +20175,11 @@ export namespace replit {
|
|
|
20058
20175
|
/** GovalCommand partialUpdateMetadata. */
|
|
20059
20176
|
public partialUpdateMetadata?: (replit.goval.api.PartialUpdateMetadata|null);
|
|
20060
20177
|
|
|
20178
|
+
/** GovalCommand killRepl. */
|
|
20179
|
+
public killRepl?: (replit.goval.api.KillRepl|null);
|
|
20180
|
+
|
|
20061
20181
|
/** GovalCommand command. */
|
|
20062
|
-
public command?: ("updateMetadata"|"partialUpdateMetadata");
|
|
20182
|
+
public command?: ("updateMetadata"|"partialUpdateMetadata"|"killRepl");
|
|
20063
20183
|
|
|
20064
20184
|
/**
|
|
20065
20185
|
* Creates a new GovalCommand instance using the specified properties.
|
|
@@ -20228,6 +20348,192 @@ export namespace replit {
|
|
|
20228
20348
|
public toJSON(): { [k: string]: any };
|
|
20229
20349
|
}
|
|
20230
20350
|
|
|
20351
|
+
/** Properties of a MultiGovalCommand. */
|
|
20352
|
+
interface IMultiGovalCommand {
|
|
20353
|
+
|
|
20354
|
+
/** MultiGovalCommand replId */
|
|
20355
|
+
replId?: (string|null);
|
|
20356
|
+
|
|
20357
|
+
/** MultiGovalCommand govalCommands */
|
|
20358
|
+
govalCommands?: ((replit.goval.api.GovalCommand|replit.goval.api.IGovalCommand)[]|null);
|
|
20359
|
+
}
|
|
20360
|
+
|
|
20361
|
+
/** Represents a MultiGovalCommand. */
|
|
20362
|
+
class MultiGovalCommand {
|
|
20363
|
+
|
|
20364
|
+
/**
|
|
20365
|
+
* Constructs a new MultiGovalCommand.
|
|
20366
|
+
* @param [properties] Properties to set
|
|
20367
|
+
*/
|
|
20368
|
+
private constructor(properties?: replit.goval.api.IMultiGovalCommand);
|
|
20369
|
+
|
|
20370
|
+
/** MultiGovalCommand replId. */
|
|
20371
|
+
public replId: string;
|
|
20372
|
+
|
|
20373
|
+
/** MultiGovalCommand govalCommands. */
|
|
20374
|
+
public govalCommands: replit.goval.api.GovalCommand[];
|
|
20375
|
+
|
|
20376
|
+
/**
|
|
20377
|
+
* Creates a new MultiGovalCommand instance using the specified properties.
|
|
20378
|
+
* @param [properties] Properties to set
|
|
20379
|
+
* @returns MultiGovalCommand instance
|
|
20380
|
+
*/
|
|
20381
|
+
public static create(properties?: replit.goval.api.IMultiGovalCommand): replit.goval.api.MultiGovalCommand;
|
|
20382
|
+
|
|
20383
|
+
/**
|
|
20384
|
+
* Encodes the specified MultiGovalCommand message. Does not implicitly {@link replit.goval.api.MultiGovalCommand.verify|verify} messages.
|
|
20385
|
+
* @param message MultiGovalCommand message or plain object to encode
|
|
20386
|
+
* @param [writer] Writer to encode to
|
|
20387
|
+
* @returns Writer
|
|
20388
|
+
*/
|
|
20389
|
+
public static encode(message: replit.goval.api.MultiGovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20390
|
+
|
|
20391
|
+
/**
|
|
20392
|
+
* Encodes the specified MultiGovalCommand message, length delimited. Does not implicitly {@link replit.goval.api.MultiGovalCommand.verify|verify} messages.
|
|
20393
|
+
* @param message MultiGovalCommand message or plain object to encode
|
|
20394
|
+
* @param [writer] Writer to encode to
|
|
20395
|
+
* @returns Writer
|
|
20396
|
+
*/
|
|
20397
|
+
public static encodeDelimited(message: replit.goval.api.MultiGovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20398
|
+
|
|
20399
|
+
/**
|
|
20400
|
+
* Decodes a MultiGovalCommand message from the specified reader or buffer.
|
|
20401
|
+
* @param reader Reader or buffer to decode from
|
|
20402
|
+
* @param [length] Message length if known beforehand
|
|
20403
|
+
* @returns MultiGovalCommand
|
|
20404
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20405
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20406
|
+
*/
|
|
20407
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.MultiGovalCommand;
|
|
20408
|
+
|
|
20409
|
+
/**
|
|
20410
|
+
* Decodes a MultiGovalCommand message from the specified reader or buffer, length delimited.
|
|
20411
|
+
* @param reader Reader or buffer to decode from
|
|
20412
|
+
* @returns MultiGovalCommand
|
|
20413
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20414
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20415
|
+
*/
|
|
20416
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.MultiGovalCommand;
|
|
20417
|
+
|
|
20418
|
+
/**
|
|
20419
|
+
* Verifies a MultiGovalCommand message.
|
|
20420
|
+
* @param message Plain object to verify
|
|
20421
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20422
|
+
*/
|
|
20423
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20424
|
+
|
|
20425
|
+
/**
|
|
20426
|
+
* Creates a MultiGovalCommand message from a plain object. Also converts values to their respective internal types.
|
|
20427
|
+
* @param object Plain object
|
|
20428
|
+
* @returns MultiGovalCommand
|
|
20429
|
+
*/
|
|
20430
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.MultiGovalCommand;
|
|
20431
|
+
|
|
20432
|
+
/**
|
|
20433
|
+
* Creates a plain object from a MultiGovalCommand message. Also converts values to other types if specified.
|
|
20434
|
+
* @param message MultiGovalCommand
|
|
20435
|
+
* @param [options] Conversion options
|
|
20436
|
+
* @returns Plain object
|
|
20437
|
+
*/
|
|
20438
|
+
public static toObject(message: replit.goval.api.MultiGovalCommand, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20439
|
+
|
|
20440
|
+
/**
|
|
20441
|
+
* Converts this MultiGovalCommand to JSON.
|
|
20442
|
+
* @returns JSON object
|
|
20443
|
+
*/
|
|
20444
|
+
public toJSON(): { [k: string]: any };
|
|
20445
|
+
}
|
|
20446
|
+
|
|
20447
|
+
/** Properties of a KillRepl. */
|
|
20448
|
+
interface IKillRepl {
|
|
20449
|
+
|
|
20450
|
+
/** KillRepl replId */
|
|
20451
|
+
replId?: (string|null);
|
|
20452
|
+
}
|
|
20453
|
+
|
|
20454
|
+
/** Represents a KillRepl. */
|
|
20455
|
+
class KillRepl {
|
|
20456
|
+
|
|
20457
|
+
/**
|
|
20458
|
+
* Constructs a new KillRepl.
|
|
20459
|
+
* @param [properties] Properties to set
|
|
20460
|
+
*/
|
|
20461
|
+
private constructor(properties?: replit.goval.api.IKillRepl);
|
|
20462
|
+
|
|
20463
|
+
/** KillRepl replId. */
|
|
20464
|
+
public replId: string;
|
|
20465
|
+
|
|
20466
|
+
/**
|
|
20467
|
+
* Creates a new KillRepl instance using the specified properties.
|
|
20468
|
+
* @param [properties] Properties to set
|
|
20469
|
+
* @returns KillRepl instance
|
|
20470
|
+
*/
|
|
20471
|
+
public static create(properties?: replit.goval.api.IKillRepl): replit.goval.api.KillRepl;
|
|
20472
|
+
|
|
20473
|
+
/**
|
|
20474
|
+
* Encodes the specified KillRepl message. Does not implicitly {@link replit.goval.api.KillRepl.verify|verify} messages.
|
|
20475
|
+
* @param message KillRepl message or plain object to encode
|
|
20476
|
+
* @param [writer] Writer to encode to
|
|
20477
|
+
* @returns Writer
|
|
20478
|
+
*/
|
|
20479
|
+
public static encode(message: replit.goval.api.KillRepl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20480
|
+
|
|
20481
|
+
/**
|
|
20482
|
+
* Encodes the specified KillRepl message, length delimited. Does not implicitly {@link replit.goval.api.KillRepl.verify|verify} messages.
|
|
20483
|
+
* @param message KillRepl message or plain object to encode
|
|
20484
|
+
* @param [writer] Writer to encode to
|
|
20485
|
+
* @returns Writer
|
|
20486
|
+
*/
|
|
20487
|
+
public static encodeDelimited(message: replit.goval.api.KillRepl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20488
|
+
|
|
20489
|
+
/**
|
|
20490
|
+
* Decodes a KillRepl message from the specified reader or buffer.
|
|
20491
|
+
* @param reader Reader or buffer to decode from
|
|
20492
|
+
* @param [length] Message length if known beforehand
|
|
20493
|
+
* @returns KillRepl
|
|
20494
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20495
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20496
|
+
*/
|
|
20497
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.KillRepl;
|
|
20498
|
+
|
|
20499
|
+
/**
|
|
20500
|
+
* Decodes a KillRepl message from the specified reader or buffer, length delimited.
|
|
20501
|
+
* @param reader Reader or buffer to decode from
|
|
20502
|
+
* @returns KillRepl
|
|
20503
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20504
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20505
|
+
*/
|
|
20506
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.KillRepl;
|
|
20507
|
+
|
|
20508
|
+
/**
|
|
20509
|
+
* Verifies a KillRepl message.
|
|
20510
|
+
* @param message Plain object to verify
|
|
20511
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20512
|
+
*/
|
|
20513
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20514
|
+
|
|
20515
|
+
/**
|
|
20516
|
+
* Creates a KillRepl message from a plain object. Also converts values to their respective internal types.
|
|
20517
|
+
* @param object Plain object
|
|
20518
|
+
* @returns KillRepl
|
|
20519
|
+
*/
|
|
20520
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.KillRepl;
|
|
20521
|
+
|
|
20522
|
+
/**
|
|
20523
|
+
* Creates a plain object from a KillRepl message. Also converts values to other types if specified.
|
|
20524
|
+
* @param message KillRepl
|
|
20525
|
+
* @param [options] Conversion options
|
|
20526
|
+
* @returns Plain object
|
|
20527
|
+
*/
|
|
20528
|
+
public static toObject(message: replit.goval.api.KillRepl, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20529
|
+
|
|
20530
|
+
/**
|
|
20531
|
+
* Converts this KillRepl to JSON.
|
|
20532
|
+
* @returns JSON object
|
|
20533
|
+
*/
|
|
20534
|
+
public toJSON(): { [k: string]: any };
|
|
20535
|
+
}
|
|
20536
|
+
|
|
20231
20537
|
/** Properties of a Restore. */
|
|
20232
20538
|
interface IRestore {
|
|
20233
20539
|
|