@replit/protocol 0.2.78 → 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/iotester/index.js.flow +1 -1
- package/main/index.d.ts +109 -1
- package/main/index.js +272 -2
- package/main/index.js.flow +156 -2
- package/package.json +1 -1
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
|
|
package/main/index.js
CHANGED
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
* @property {replit.goval.api.NixChannelLatestStableResponse|replit.goval.api.INixChannelLatestStableResponse|null} [nixChannelLatestStableResponse] Command nixChannelLatestStableResponse
|
|
214
214
|
* @property {replit.goval.api.NixPackageSearchRequest|replit.goval.api.INixPackageSearchRequest|null} [nixPackageSearchRequest] Command nixPackageSearchRequest
|
|
215
215
|
* @property {replit.goval.api.NixPackageSearchResponse|replit.goval.api.INixPackageSearchResponse|null} [nixPackageSearchResponse] Command nixPackageSearchResponse
|
|
216
|
+
* @property {replit.goval.api.UserEvent|replit.goval.api.IUserEvent|null} [userEvent] Command userEvent
|
|
216
217
|
* @property {string|null} [ref] Command ref
|
|
217
218
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
218
219
|
*/
|
|
@@ -1544,6 +1545,14 @@
|
|
|
1544
1545
|
*/
|
|
1545
1546
|
Command.prototype.nixPackageSearchResponse = null;
|
|
1546
1547
|
|
|
1548
|
+
/**
|
|
1549
|
+
* Command userEvent.
|
|
1550
|
+
* @member {replit.goval.api.UserEvent|null|undefined} userEvent
|
|
1551
|
+
* @memberof replit.goval.api.Command
|
|
1552
|
+
* @instance
|
|
1553
|
+
*/
|
|
1554
|
+
Command.prototype.userEvent = null;
|
|
1555
|
+
|
|
1547
1556
|
/**
|
|
1548
1557
|
* Command ref.
|
|
1549
1558
|
* @member {string} ref
|
|
@@ -1565,12 +1574,12 @@
|
|
|
1565
1574
|
|
|
1566
1575
|
/**
|
|
1567
1576
|
* Command body.
|
|
1568
|
-
* @member {"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"|undefined} body
|
|
1577
|
+
* @member {"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"|undefined} body
|
|
1569
1578
|
* @memberof replit.goval.api.Command
|
|
1570
1579
|
* @instance
|
|
1571
1580
|
*/
|
|
1572
1581
|
Object.defineProperty(Command.prototype, "body", {
|
|
1573
|
-
get: $util.oneOfGetter($oneOfFields = ["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"]),
|
|
1582
|
+
get: $util.oneOfGetter($oneOfFields = ["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"]),
|
|
1574
1583
|
set: $util.oneOfSetter($oneOfFields)
|
|
1575
1584
|
});
|
|
1576
1585
|
|
|
@@ -1926,6 +1935,8 @@
|
|
|
1926
1935
|
$root.replit.goval.api.NixPackageSearchResponse.encode(message.nixPackageSearchResponse, writer.uint32(/* id 421, wireType 2 =*/3370).fork()).ldelim();
|
|
1927
1936
|
if (message.record != null && Object.hasOwnProperty.call(message, "record"))
|
|
1928
1937
|
writer.uint32(/* id 422, wireType 2 =*/3378).string(message.record);
|
|
1938
|
+
if (message.userEvent != null && Object.hasOwnProperty.call(message, "userEvent"))
|
|
1939
|
+
$root.replit.goval.api.UserEvent.encode(message.userEvent, writer.uint32(/* id 423, wireType 2 =*/3386).fork()).ldelim();
|
|
1929
1940
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
1930
1941
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
1931
1942
|
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
@@ -2457,6 +2468,9 @@
|
|
|
2457
2468
|
case 421:
|
|
2458
2469
|
message.nixPackageSearchResponse = $root.replit.goval.api.NixPackageSearchResponse.decode(reader, reader.uint32());
|
|
2459
2470
|
break;
|
|
2471
|
+
case 423:
|
|
2472
|
+
message.userEvent = $root.replit.goval.api.UserEvent.decode(reader, reader.uint32());
|
|
2473
|
+
break;
|
|
2460
2474
|
case 1000:
|
|
2461
2475
|
message.ref = reader.string();
|
|
2462
2476
|
break;
|
|
@@ -4111,6 +4125,16 @@
|
|
|
4111
4125
|
return "nixPackageSearchResponse." + error;
|
|
4112
4126
|
}
|
|
4113
4127
|
}
|
|
4128
|
+
if (message.userEvent != null && message.hasOwnProperty("userEvent")) {
|
|
4129
|
+
if (properties.body === 1)
|
|
4130
|
+
return "body: multiple values";
|
|
4131
|
+
properties.body = 1;
|
|
4132
|
+
{
|
|
4133
|
+
var error = $root.replit.goval.api.UserEvent.verify(message.userEvent);
|
|
4134
|
+
if (error)
|
|
4135
|
+
return "userEvent." + error;
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4114
4138
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
4115
4139
|
if (!$util.isString(message.ref))
|
|
4116
4140
|
return "ref: string expected";
|
|
@@ -4923,6 +4947,11 @@
|
|
|
4923
4947
|
throw TypeError(".replit.goval.api.Command.nixPackageSearchResponse: object expected");
|
|
4924
4948
|
message.nixPackageSearchResponse = $root.replit.goval.api.NixPackageSearchResponse.fromObject(object.nixPackageSearchResponse);
|
|
4925
4949
|
}
|
|
4950
|
+
if (object.userEvent != null) {
|
|
4951
|
+
if (typeof object.userEvent !== "object")
|
|
4952
|
+
throw TypeError(".replit.goval.api.Command.userEvent: object expected");
|
|
4953
|
+
message.userEvent = $root.replit.goval.api.UserEvent.fromObject(object.userEvent);
|
|
4954
|
+
}
|
|
4926
4955
|
if (object.ref != null)
|
|
4927
4956
|
message.ref = String(object.ref);
|
|
4928
4957
|
if (object.traceInfo) {
|
|
@@ -5769,6 +5798,11 @@
|
|
|
5769
5798
|
if (options.oneofs)
|
|
5770
5799
|
object.body = "record";
|
|
5771
5800
|
}
|
|
5801
|
+
if (message.userEvent != null && message.hasOwnProperty("userEvent")) {
|
|
5802
|
+
object.userEvent = $root.replit.goval.api.UserEvent.toObject(message.userEvent, options);
|
|
5803
|
+
if (options.oneofs)
|
|
5804
|
+
object.body = "userEvent";
|
|
5805
|
+
}
|
|
5772
5806
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5773
5807
|
object.ref = message.ref;
|
|
5774
5808
|
var keys2;
|
|
@@ -44926,6 +44960,242 @@
|
|
|
44926
44960
|
return ReplLogMessage;
|
|
44927
44961
|
})();
|
|
44928
44962
|
|
|
44963
|
+
api.UserEvent = (function() {
|
|
44964
|
+
|
|
44965
|
+
/**
|
|
44966
|
+
* Properties of a UserEvent.
|
|
44967
|
+
* @memberof replit.goval.api
|
|
44968
|
+
* @interface IUserEvent
|
|
44969
|
+
* @property {string|null} [eventName] UserEvent eventName
|
|
44970
|
+
* @property {google.protobuf.Struct|google.protobuf.IStruct|null} [eventData] UserEvent eventData
|
|
44971
|
+
* @property {number|null} [version] UserEvent version
|
|
44972
|
+
*/
|
|
44973
|
+
|
|
44974
|
+
/**
|
|
44975
|
+
* Constructs a new UserEvent.
|
|
44976
|
+
* @memberof replit.goval.api
|
|
44977
|
+
* @classdesc Represents a UserEvent.
|
|
44978
|
+
* @constructor
|
|
44979
|
+
* @param {replit.goval.api.IUserEvent=} [properties] Properties to set
|
|
44980
|
+
*/
|
|
44981
|
+
function UserEvent(properties) {
|
|
44982
|
+
if (properties)
|
|
44983
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
44984
|
+
if (properties[keys[i]] != null)
|
|
44985
|
+
this[keys[i]] = properties[keys[i]];
|
|
44986
|
+
}
|
|
44987
|
+
|
|
44988
|
+
/**
|
|
44989
|
+
* UserEvent eventName.
|
|
44990
|
+
* @member {string} eventName
|
|
44991
|
+
* @memberof replit.goval.api.UserEvent
|
|
44992
|
+
* @instance
|
|
44993
|
+
*/
|
|
44994
|
+
UserEvent.prototype.eventName = "";
|
|
44995
|
+
|
|
44996
|
+
/**
|
|
44997
|
+
* UserEvent eventData.
|
|
44998
|
+
* @member {google.protobuf.Struct|null|undefined} eventData
|
|
44999
|
+
* @memberof replit.goval.api.UserEvent
|
|
45000
|
+
* @instance
|
|
45001
|
+
*/
|
|
45002
|
+
UserEvent.prototype.eventData = null;
|
|
45003
|
+
|
|
45004
|
+
/**
|
|
45005
|
+
* UserEvent version.
|
|
45006
|
+
* @member {number} version
|
|
45007
|
+
* @memberof replit.goval.api.UserEvent
|
|
45008
|
+
* @instance
|
|
45009
|
+
*/
|
|
45010
|
+
UserEvent.prototype.version = 0;
|
|
45011
|
+
|
|
45012
|
+
/**
|
|
45013
|
+
* Creates a new UserEvent instance using the specified properties.
|
|
45014
|
+
* @function create
|
|
45015
|
+
* @memberof replit.goval.api.UserEvent
|
|
45016
|
+
* @static
|
|
45017
|
+
* @param {replit.goval.api.IUserEvent=} [properties] Properties to set
|
|
45018
|
+
* @returns {replit.goval.api.UserEvent} UserEvent instance
|
|
45019
|
+
*/
|
|
45020
|
+
UserEvent.create = function create(properties) {
|
|
45021
|
+
return UserEvent.fromObject(properties);
|
|
45022
|
+
};
|
|
45023
|
+
|
|
45024
|
+
/**
|
|
45025
|
+
* Encodes the specified UserEvent message. Does not implicitly {@link replit.goval.api.UserEvent.verify|verify} messages.
|
|
45026
|
+
* @function encode
|
|
45027
|
+
* @memberof replit.goval.api.UserEvent
|
|
45028
|
+
* @static
|
|
45029
|
+
* @param {replit.goval.api.UserEvent} message UserEvent message or plain object to encode
|
|
45030
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
45031
|
+
* @returns {$protobuf.Writer} Writer
|
|
45032
|
+
*/
|
|
45033
|
+
UserEvent.encode = function encode(message, writer) {
|
|
45034
|
+
if (!writer)
|
|
45035
|
+
writer = $Writer.create();
|
|
45036
|
+
if (message.eventName != null && Object.hasOwnProperty.call(message, "eventName"))
|
|
45037
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.eventName);
|
|
45038
|
+
if (message.eventData != null && Object.hasOwnProperty.call(message, "eventData"))
|
|
45039
|
+
$root.google.protobuf.Struct.encode(message.eventData, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
45040
|
+
if (message.version != null && Object.hasOwnProperty.call(message, "version"))
|
|
45041
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.version);
|
|
45042
|
+
return writer;
|
|
45043
|
+
};
|
|
45044
|
+
|
|
45045
|
+
/**
|
|
45046
|
+
* Encodes the specified UserEvent message, length delimited. Does not implicitly {@link replit.goval.api.UserEvent.verify|verify} messages.
|
|
45047
|
+
* @function encodeDelimited
|
|
45048
|
+
* @memberof replit.goval.api.UserEvent
|
|
45049
|
+
* @static
|
|
45050
|
+
* @param {replit.goval.api.UserEvent} message UserEvent message or plain object to encode
|
|
45051
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
45052
|
+
* @returns {$protobuf.Writer} Writer
|
|
45053
|
+
*/
|
|
45054
|
+
UserEvent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
45055
|
+
return this.encode(message, writer).ldelim();
|
|
45056
|
+
};
|
|
45057
|
+
|
|
45058
|
+
/**
|
|
45059
|
+
* Decodes a UserEvent message from the specified reader or buffer.
|
|
45060
|
+
* @function decode
|
|
45061
|
+
* @memberof replit.goval.api.UserEvent
|
|
45062
|
+
* @static
|
|
45063
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
45064
|
+
* @param {number} [length] Message length if known beforehand
|
|
45065
|
+
* @returns {replit.goval.api.UserEvent} UserEvent
|
|
45066
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45067
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45068
|
+
*/
|
|
45069
|
+
UserEvent.decode = function decode(reader, length) {
|
|
45070
|
+
if (!(reader instanceof $Reader))
|
|
45071
|
+
reader = $Reader.create(reader);
|
|
45072
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.UserEvent();
|
|
45073
|
+
while (reader.pos < end) {
|
|
45074
|
+
var tag = reader.uint32();
|
|
45075
|
+
switch (tag >>> 3) {
|
|
45076
|
+
case 1:
|
|
45077
|
+
message.eventName = reader.string();
|
|
45078
|
+
break;
|
|
45079
|
+
case 2:
|
|
45080
|
+
message.eventData = $root.google.protobuf.Struct.decode(reader, reader.uint32());
|
|
45081
|
+
break;
|
|
45082
|
+
case 3:
|
|
45083
|
+
message.version = reader.int32();
|
|
45084
|
+
break;
|
|
45085
|
+
default:
|
|
45086
|
+
reader.skipType(tag & 7);
|
|
45087
|
+
break;
|
|
45088
|
+
}
|
|
45089
|
+
}
|
|
45090
|
+
return message;
|
|
45091
|
+
};
|
|
45092
|
+
|
|
45093
|
+
/**
|
|
45094
|
+
* Decodes a UserEvent message from the specified reader or buffer, length delimited.
|
|
45095
|
+
* @function decodeDelimited
|
|
45096
|
+
* @memberof replit.goval.api.UserEvent
|
|
45097
|
+
* @static
|
|
45098
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
45099
|
+
* @returns {replit.goval.api.UserEvent} UserEvent
|
|
45100
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45101
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45102
|
+
*/
|
|
45103
|
+
UserEvent.decodeDelimited = function decodeDelimited(reader) {
|
|
45104
|
+
if (!(reader instanceof $Reader))
|
|
45105
|
+
reader = new $Reader(reader);
|
|
45106
|
+
return this.decode(reader, reader.uint32());
|
|
45107
|
+
};
|
|
45108
|
+
|
|
45109
|
+
/**
|
|
45110
|
+
* Verifies a UserEvent message.
|
|
45111
|
+
* @function verify
|
|
45112
|
+
* @memberof replit.goval.api.UserEvent
|
|
45113
|
+
* @static
|
|
45114
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
45115
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
45116
|
+
*/
|
|
45117
|
+
UserEvent.verify = function verify(message) {
|
|
45118
|
+
if (typeof message !== "object" || message === null)
|
|
45119
|
+
return "object expected";
|
|
45120
|
+
if (message.eventName != null && message.hasOwnProperty("eventName"))
|
|
45121
|
+
if (!$util.isString(message.eventName))
|
|
45122
|
+
return "eventName: string expected";
|
|
45123
|
+
if (message.eventData != null && message.hasOwnProperty("eventData")) {
|
|
45124
|
+
var error = $root.google.protobuf.Struct.verify(message.eventData);
|
|
45125
|
+
if (error)
|
|
45126
|
+
return "eventData." + error;
|
|
45127
|
+
}
|
|
45128
|
+
if (message.version != null && message.hasOwnProperty("version"))
|
|
45129
|
+
if (!$util.isInteger(message.version))
|
|
45130
|
+
return "version: integer expected";
|
|
45131
|
+
return null;
|
|
45132
|
+
};
|
|
45133
|
+
|
|
45134
|
+
/**
|
|
45135
|
+
* Creates a UserEvent message from a plain object. Also converts values to their respective internal types.
|
|
45136
|
+
* @function fromObject
|
|
45137
|
+
* @memberof replit.goval.api.UserEvent
|
|
45138
|
+
* @static
|
|
45139
|
+
* @param {Object.<string,*>} object Plain object
|
|
45140
|
+
* @returns {replit.goval.api.UserEvent} UserEvent
|
|
45141
|
+
*/
|
|
45142
|
+
UserEvent.fromObject = function fromObject(object) {
|
|
45143
|
+
if (object instanceof $root.replit.goval.api.UserEvent)
|
|
45144
|
+
return object;
|
|
45145
|
+
var message = new $root.replit.goval.api.UserEvent();
|
|
45146
|
+
if (object.eventName != null)
|
|
45147
|
+
message.eventName = String(object.eventName);
|
|
45148
|
+
if (object.eventData != null) {
|
|
45149
|
+
if (typeof object.eventData !== "object")
|
|
45150
|
+
throw TypeError(".replit.goval.api.UserEvent.eventData: object expected");
|
|
45151
|
+
message.eventData = $root.google.protobuf.Struct.fromObject(object.eventData);
|
|
45152
|
+
}
|
|
45153
|
+
if (object.version != null)
|
|
45154
|
+
message.version = object.version | 0;
|
|
45155
|
+
return message;
|
|
45156
|
+
};
|
|
45157
|
+
|
|
45158
|
+
/**
|
|
45159
|
+
* Creates a plain object from a UserEvent message. Also converts values to other types if specified.
|
|
45160
|
+
* @function toObject
|
|
45161
|
+
* @memberof replit.goval.api.UserEvent
|
|
45162
|
+
* @static
|
|
45163
|
+
* @param {replit.goval.api.UserEvent} message UserEvent
|
|
45164
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
45165
|
+
* @returns {Object.<string,*>} Plain object
|
|
45166
|
+
*/
|
|
45167
|
+
UserEvent.toObject = function toObject(message, options) {
|
|
45168
|
+
if (!options)
|
|
45169
|
+
options = {};
|
|
45170
|
+
var object = {};
|
|
45171
|
+
if (options.defaults) {
|
|
45172
|
+
object.eventName = "";
|
|
45173
|
+
object.eventData = null;
|
|
45174
|
+
object.version = 0;
|
|
45175
|
+
}
|
|
45176
|
+
if (message.eventName != null && message.hasOwnProperty("eventName"))
|
|
45177
|
+
object.eventName = message.eventName;
|
|
45178
|
+
if (message.eventData != null && message.hasOwnProperty("eventData"))
|
|
45179
|
+
object.eventData = $root.google.protobuf.Struct.toObject(message.eventData, options);
|
|
45180
|
+
if (message.version != null && message.hasOwnProperty("version"))
|
|
45181
|
+
object.version = message.version;
|
|
45182
|
+
return object;
|
|
45183
|
+
};
|
|
45184
|
+
|
|
45185
|
+
/**
|
|
45186
|
+
* Converts this UserEvent to JSON.
|
|
45187
|
+
* @function toJSON
|
|
45188
|
+
* @memberof replit.goval.api.UserEvent
|
|
45189
|
+
* @instance
|
|
45190
|
+
* @returns {Object.<string,*>} JSON object
|
|
45191
|
+
*/
|
|
45192
|
+
UserEvent.prototype.toJSON = function toJSON() {
|
|
45193
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
45194
|
+
};
|
|
45195
|
+
|
|
45196
|
+
return UserEvent;
|
|
45197
|
+
})();
|
|
45198
|
+
|
|
44929
45199
|
api.ReplToken = (function() {
|
|
44930
45200
|
|
|
44931
45201
|
/**
|
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>,
|
|
@@ -387,6 +388,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
387
388
|
ProxyGoingAway: typeof replit$goval$api$ProxyGoingAway,
|
|
388
389
|
FirewallDenied: typeof replit$goval$api$FirewallDenied,
|
|
389
390
|
ReplLogMessage: typeof replit$goval$api$ReplLogMessage,
|
|
391
|
+
UserEvent: typeof replit$goval$api$UserEvent,
|
|
390
392
|
ReplToken: typeof replit$goval$api$ReplToken,
|
|
391
393
|
TLSCertificate: typeof replit$goval$api$TLSCertificate,
|
|
392
394
|
ReplTransfer: typeof replit$goval$api$ReplTransfer,
|
|
@@ -1511,6 +1513,11 @@ declare type replit$goval$api$ICommand = {|
|
|
|
1511
1513
|
| replit$goval$api$INixPackageSearchResponse
|
|
1512
1514
|
| null,
|
|
1513
1515
|
|
|
1516
|
+
/**
|
|
1517
|
+
* Command userEvent
|
|
1518
|
+
*/
|
|
1519
|
+
userEvent?: replit$goval$api$UserEvent | replit$goval$api$IUserEvent | null,
|
|
1520
|
+
|
|
1514
1521
|
/**
|
|
1515
1522
|
* Command ref
|
|
1516
1523
|
*/
|
|
@@ -2354,6 +2361,11 @@ declare class replit$goval$api$Command {
|
|
|
2354
2361
|
*/
|
|
2355
2362
|
nixPackageSearchResponse?: replit$goval$api$NixPackageSearchResponse | null;
|
|
2356
2363
|
|
|
2364
|
+
/**
|
|
2365
|
+
* Command userEvent.
|
|
2366
|
+
*/
|
|
2367
|
+
userEvent?: replit$goval$api$UserEvent | null;
|
|
2368
|
+
|
|
2357
2369
|
/**
|
|
2358
2370
|
* Command ref.
|
|
2359
2371
|
*/
|
|
@@ -2531,7 +2543,8 @@ declare class replit$goval$api$Command {
|
|
|
2531
2543
|
| "nixChannelLatestStableRequest"
|
|
2532
2544
|
| "nixChannelLatestStableResponse"
|
|
2533
2545
|
| "nixPackageSearchRequest"
|
|
2534
|
-
| "nixPackageSearchResponse"
|
|
2546
|
+
| "nixPackageSearchResponse"
|
|
2547
|
+
| "userEvent";
|
|
2535
2548
|
|
|
2536
2549
|
/**
|
|
2537
2550
|
* Creates a new Command instance using the specified properties.
|
|
@@ -25717,6 +25730,146 @@ declare class replit$goval$api$ReplLogMessage {
|
|
|
25717
25730
|
|};
|
|
25718
25731
|
}
|
|
25719
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
|
+
|
|
25720
25873
|
/**
|
|
25721
25874
|
* Properties of a ReplToken.
|
|
25722
25875
|
*/
|
|
@@ -30980,4 +31133,5 @@ declare class google$protobuf$FieldMask {
|
|
|
30980
31133
|
[k: string]: any,
|
|
30981
31134
|
|};
|
|
30982
31135
|
}
|
|
31136
|
+
declare var api: typeof replit$goval$api;
|
|
30983
31137
|
export var api = npm$namespace$replit$goval$api;
|