@replit/protocol 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/index.d.ts +116 -304
- package/main/index.js +286 -707
- package/package.json +1 -1
package/main/index.js
CHANGED
|
@@ -136,9 +136,6 @@
|
|
|
136
136
|
* @property {replit.goval.api.Flush|replit.goval.api.IFlush|null} [flush] Command flush
|
|
137
137
|
* @property {replit.goval.api.OTFlushNotification|replit.goval.api.IOTFlushNotification|null} [otFlushNotification] Command otFlushNotification
|
|
138
138
|
* @property {replit.goval.api.Debug|replit.goval.api.IDebug|null} [debug] Command debug
|
|
139
|
-
* @property {replit.goval.api.StartVCR|replit.goval.api.IStartVCR|null} [startVCR] Command startVCR
|
|
140
|
-
* @property {replit.goval.api.ReadVCR|replit.goval.api.IReadVCR|null} [readVCR] Command readVCR
|
|
141
|
-
* @property {replit.goval.api.VCRLog|replit.goval.api.IVCRLog|null} [VCRLog] Command VCRLog
|
|
142
139
|
* @property {replit.goval.api.Auth|replit.goval.api.IAuth|null} [auth] Command auth
|
|
143
140
|
* @property {replit.goval.api.ExecInfo|replit.goval.api.IExecInfo|null} [execInfo] Command execInfo
|
|
144
141
|
* @property {replit.goval.api.SubscribeFile|replit.goval.api.ISubscribeFile|null} [subscribeFile] Command subscribeFile
|
|
@@ -242,6 +239,7 @@
|
|
|
242
239
|
* @property {replit.goval.api.NixModulesGetRegistryRequest|replit.goval.api.INixModulesGetRegistryRequest|null} [nixModulesGetRegistryRequest] Command nixModulesGetRegistryRequest
|
|
243
240
|
* @property {replit.goval.api.NixModulesGetRegistryResponse|replit.goval.api.INixModulesGetRegistryResponse|null} [nixModulesGetRegistryResponse] Command nixModulesGetRegistryResponse
|
|
244
241
|
* @property {replit.goval.api.ReplspaceApiShellTracker|replit.goval.api.IReplspaceApiShellTracker|null} [replspaceApiShellTracker] Command replspaceApiShellTracker
|
|
242
|
+
* @property {replit.goval.api.PaneMetricsTracker|replit.goval.api.IPaneMetricsTracker|null} [paneMetricsTracker] Command paneMetricsTracker
|
|
245
243
|
* @property {replit.goval.api.NixModuleConfigGetRequest|replit.goval.api.INixModuleConfigGetRequest|null} [nixModuleConfigGetRequest] Command nixModuleConfigGetRequest
|
|
246
244
|
* @property {replit.goval.api.NixModuleConfigGetResponse|replit.goval.api.INixModuleConfigGetResponse|null} [nixModuleConfigGetResponse] Command nixModuleConfigGetResponse
|
|
247
245
|
* @property {replit.goval.api.NixModuleConfigSetRequest|replit.goval.api.INixModuleConfigSetRequest|null} [nixModuleConfigSetRequest] Command nixModuleConfigSetRequest
|
|
@@ -968,30 +966,6 @@
|
|
|
968
966
|
*/
|
|
969
967
|
Command.prototype.debug = null;
|
|
970
968
|
|
|
971
|
-
/**
|
|
972
|
-
* Command startVCR.
|
|
973
|
-
* @member {replit.goval.api.StartVCR|null|undefined} startVCR
|
|
974
|
-
* @memberof replit.goval.api.Command
|
|
975
|
-
* @instance
|
|
976
|
-
*/
|
|
977
|
-
Command.prototype.startVCR = null;
|
|
978
|
-
|
|
979
|
-
/**
|
|
980
|
-
* Command readVCR.
|
|
981
|
-
* @member {replit.goval.api.ReadVCR|null|undefined} readVCR
|
|
982
|
-
* @memberof replit.goval.api.Command
|
|
983
|
-
* @instance
|
|
984
|
-
*/
|
|
985
|
-
Command.prototype.readVCR = null;
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* Command VCRLog.
|
|
989
|
-
* @member {replit.goval.api.VCRLog|null|undefined} VCRLog
|
|
990
|
-
* @memberof replit.goval.api.Command
|
|
991
|
-
* @instance
|
|
992
|
-
*/
|
|
993
|
-
Command.prototype.VCRLog = null;
|
|
994
|
-
|
|
995
969
|
/**
|
|
996
970
|
* Command auth.
|
|
997
971
|
* @member {replit.goval.api.Auth|null|undefined} auth
|
|
@@ -1816,6 +1790,14 @@
|
|
|
1816
1790
|
*/
|
|
1817
1791
|
Command.prototype.replspaceApiShellTracker = null;
|
|
1818
1792
|
|
|
1793
|
+
/**
|
|
1794
|
+
* Command paneMetricsTracker.
|
|
1795
|
+
* @member {replit.goval.api.PaneMetricsTracker|null|undefined} paneMetricsTracker
|
|
1796
|
+
* @memberof replit.goval.api.Command
|
|
1797
|
+
* @instance
|
|
1798
|
+
*/
|
|
1799
|
+
Command.prototype.paneMetricsTracker = null;
|
|
1800
|
+
|
|
1819
1801
|
/**
|
|
1820
1802
|
* Command nixModuleConfigGetRequest.
|
|
1821
1803
|
* @member {replit.goval.api.NixModuleConfigGetRequest|null|undefined} nixModuleConfigGetRequest
|
|
@@ -1925,12 +1907,12 @@
|
|
|
1925
1907
|
|
|
1926
1908
|
/**
|
|
1927
1909
|
* Command body.
|
|
1928
|
-
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"otFlushNotification"|"debug"|"
|
|
1910
|
+
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"otFlushNotification"|"debug"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"replResourcesUpdateNotification"|undefined} body
|
|
1929
1911
|
* @memberof replit.goval.api.Command
|
|
1930
1912
|
* @instance
|
|
1931
1913
|
*/
|
|
1932
1914
|
Object.defineProperty(Command.prototype, "body", {
|
|
1933
|
-
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "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", "otFlushNotification", "debug", "
|
|
1915
|
+
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "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", "otFlushNotification", "debug", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "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", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "paneMetricsTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "replResourcesUpdateNotification"]),
|
|
1934
1916
|
set: $util.oneOfSetter($oneOfFields)
|
|
1935
1917
|
});
|
|
1936
1918
|
|
|
@@ -2102,12 +2084,6 @@
|
|
|
2102
2084
|
$root.replit.goval.api.OTLinkFileResponse.encode(message.otLinkFileResponse, writer.uint32(/* id 229, wireType 2 =*/1834).fork()).ldelim();
|
|
2103
2085
|
if (message.debug != null && Object.hasOwnProperty.call(message, "debug"))
|
|
2104
2086
|
$root.replit.goval.api.Debug.encode(message.debug, writer.uint32(/* id 230, wireType 2 =*/1842).fork()).ldelim();
|
|
2105
|
-
if (message.startVCR != null && Object.hasOwnProperty.call(message, "startVCR"))
|
|
2106
|
-
$root.replit.goval.api.StartVCR.encode(message.startVCR, writer.uint32(/* id 231, wireType 2 =*/1850).fork()).ldelim();
|
|
2107
|
-
if (message.readVCR != null && Object.hasOwnProperty.call(message, "readVCR"))
|
|
2108
|
-
$root.replit.goval.api.ReadVCR.encode(message.readVCR, writer.uint32(/* id 232, wireType 2 =*/1858).fork()).ldelim();
|
|
2109
|
-
if (message.VCRLog != null && Object.hasOwnProperty.call(message, "VCRLog"))
|
|
2110
|
-
$root.replit.goval.api.VCRLog.encode(message.VCRLog, writer.uint32(/* id 233, wireType 2 =*/1866).fork()).ldelim();
|
|
2111
2087
|
if (message.auth != null && Object.hasOwnProperty.call(message, "auth"))
|
|
2112
2088
|
$root.replit.goval.api.Auth.encode(message.auth, writer.uint32(/* id 235, wireType 2 =*/1882).fork()).ldelim();
|
|
2113
2089
|
if (message.execInfo != null && Object.hasOwnProperty.call(message, "execInfo"))
|
|
@@ -2344,6 +2320,8 @@
|
|
|
2344
2320
|
$root.replit.goval.api.NixPackageInfoResponse.encode(message.nixPackageInfoResponse, writer.uint32(/* id 451, wireType 2 =*/3610).fork()).ldelim();
|
|
2345
2321
|
if (message.otFlushNotification != null && Object.hasOwnProperty.call(message, "otFlushNotification"))
|
|
2346
2322
|
$root.replit.goval.api.OTFlushNotification.encode(message.otFlushNotification, writer.uint32(/* id 452, wireType 2 =*/3618).fork()).ldelim();
|
|
2323
|
+
if (message.paneMetricsTracker != null && Object.hasOwnProperty.call(message, "paneMetricsTracker"))
|
|
2324
|
+
$root.replit.goval.api.PaneMetricsTracker.encode(message.paneMetricsTracker, writer.uint32(/* id 453, wireType 2 =*/3626).fork()).ldelim();
|
|
2347
2325
|
if (message.nixModuleConfigGetRequest != null && Object.hasOwnProperty.call(message, "nixModuleConfigGetRequest"))
|
|
2348
2326
|
$root.replit.goval.api.NixModuleConfigGetRequest.encode(message.nixModuleConfigGetRequest, writer.uint32(/* id 460, wireType 2 =*/3682).fork()).ldelim();
|
|
2349
2327
|
if (message.nixModuleConfigGetResponse != null && Object.hasOwnProperty.call(message, "nixModuleConfigGetResponse"))
|
|
@@ -2753,18 +2731,6 @@
|
|
|
2753
2731
|
message.debug = $root.replit.goval.api.Debug.decode(reader, reader.uint32());
|
|
2754
2732
|
break;
|
|
2755
2733
|
}
|
|
2756
|
-
case 231: {
|
|
2757
|
-
message.startVCR = $root.replit.goval.api.StartVCR.decode(reader, reader.uint32());
|
|
2758
|
-
break;
|
|
2759
|
-
}
|
|
2760
|
-
case 232: {
|
|
2761
|
-
message.readVCR = $root.replit.goval.api.ReadVCR.decode(reader, reader.uint32());
|
|
2762
|
-
break;
|
|
2763
|
-
}
|
|
2764
|
-
case 233: {
|
|
2765
|
-
message.VCRLog = $root.replit.goval.api.VCRLog.decode(reader, reader.uint32());
|
|
2766
|
-
break;
|
|
2767
|
-
}
|
|
2768
2734
|
case 235: {
|
|
2769
2735
|
message.auth = $root.replit.goval.api.Auth.decode(reader, reader.uint32());
|
|
2770
2736
|
break;
|
|
@@ -3177,6 +3143,10 @@
|
|
|
3177
3143
|
message.replspaceApiShellTracker = $root.replit.goval.api.ReplspaceApiShellTracker.decode(reader, reader.uint32());
|
|
3178
3144
|
break;
|
|
3179
3145
|
}
|
|
3146
|
+
case 453: {
|
|
3147
|
+
message.paneMetricsTracker = $root.replit.goval.api.PaneMetricsTracker.decode(reader, reader.uint32());
|
|
3148
|
+
break;
|
|
3149
|
+
}
|
|
3180
3150
|
case 460: {
|
|
3181
3151
|
message.nixModuleConfigGetRequest = $root.replit.goval.api.NixModuleConfigGetRequest.decode(reader, reader.uint32());
|
|
3182
3152
|
break;
|
|
@@ -4110,36 +4080,6 @@
|
|
|
4110
4080
|
return "debug." + error;
|
|
4111
4081
|
}
|
|
4112
4082
|
}
|
|
4113
|
-
if (message.startVCR != null && message.hasOwnProperty("startVCR")) {
|
|
4114
|
-
if (properties.body === 1)
|
|
4115
|
-
return "body: multiple values";
|
|
4116
|
-
properties.body = 1;
|
|
4117
|
-
{
|
|
4118
|
-
var error = $root.replit.goval.api.StartVCR.verify(message.startVCR);
|
|
4119
|
-
if (error)
|
|
4120
|
-
return "startVCR." + error;
|
|
4121
|
-
}
|
|
4122
|
-
}
|
|
4123
|
-
if (message.readVCR != null && message.hasOwnProperty("readVCR")) {
|
|
4124
|
-
if (properties.body === 1)
|
|
4125
|
-
return "body: multiple values";
|
|
4126
|
-
properties.body = 1;
|
|
4127
|
-
{
|
|
4128
|
-
var error = $root.replit.goval.api.ReadVCR.verify(message.readVCR);
|
|
4129
|
-
if (error)
|
|
4130
|
-
return "readVCR." + error;
|
|
4131
|
-
}
|
|
4132
|
-
}
|
|
4133
|
-
if (message.VCRLog != null && message.hasOwnProperty("VCRLog")) {
|
|
4134
|
-
if (properties.body === 1)
|
|
4135
|
-
return "body: multiple values";
|
|
4136
|
-
properties.body = 1;
|
|
4137
|
-
{
|
|
4138
|
-
var error = $root.replit.goval.api.VCRLog.verify(message.VCRLog);
|
|
4139
|
-
if (error)
|
|
4140
|
-
return "VCRLog." + error;
|
|
4141
|
-
}
|
|
4142
|
-
}
|
|
4143
4083
|
if (message.auth != null && message.hasOwnProperty("auth")) {
|
|
4144
4084
|
if (properties.body === 1)
|
|
4145
4085
|
return "body: multiple values";
|
|
@@ -5164,6 +5104,16 @@
|
|
|
5164
5104
|
return "replspaceApiShellTracker." + error;
|
|
5165
5105
|
}
|
|
5166
5106
|
}
|
|
5107
|
+
if (message.paneMetricsTracker != null && message.hasOwnProperty("paneMetricsTracker")) {
|
|
5108
|
+
if (properties.body === 1)
|
|
5109
|
+
return "body: multiple values";
|
|
5110
|
+
properties.body = 1;
|
|
5111
|
+
{
|
|
5112
|
+
var error = $root.replit.goval.api.PaneMetricsTracker.verify(message.paneMetricsTracker);
|
|
5113
|
+
if (error)
|
|
5114
|
+
return "paneMetricsTracker." + error;
|
|
5115
|
+
}
|
|
5116
|
+
}
|
|
5167
5117
|
if (message.nixModuleConfigGetRequest != null && message.hasOwnProperty("nixModuleConfigGetRequest")) {
|
|
5168
5118
|
if (properties.body === 1)
|
|
5169
5119
|
return "body: multiple values";
|
|
@@ -5703,21 +5653,6 @@
|
|
|
5703
5653
|
throw TypeError(".replit.goval.api.Command.debug: object expected");
|
|
5704
5654
|
message.debug = $root.replit.goval.api.Debug.fromObject(object.debug);
|
|
5705
5655
|
}
|
|
5706
|
-
if (object.startVCR != null) {
|
|
5707
|
-
if (typeof object.startVCR !== "object")
|
|
5708
|
-
throw TypeError(".replit.goval.api.Command.startVCR: object expected");
|
|
5709
|
-
message.startVCR = $root.replit.goval.api.StartVCR.fromObject(object.startVCR);
|
|
5710
|
-
}
|
|
5711
|
-
if (object.readVCR != null) {
|
|
5712
|
-
if (typeof object.readVCR !== "object")
|
|
5713
|
-
throw TypeError(".replit.goval.api.Command.readVCR: object expected");
|
|
5714
|
-
message.readVCR = $root.replit.goval.api.ReadVCR.fromObject(object.readVCR);
|
|
5715
|
-
}
|
|
5716
|
-
if (object.VCRLog != null) {
|
|
5717
|
-
if (typeof object.VCRLog !== "object")
|
|
5718
|
-
throw TypeError(".replit.goval.api.Command.VCRLog: object expected");
|
|
5719
|
-
message.VCRLog = $root.replit.goval.api.VCRLog.fromObject(object.VCRLog);
|
|
5720
|
-
}
|
|
5721
5656
|
if (object.auth != null) {
|
|
5722
5657
|
if (typeof object.auth !== "object")
|
|
5723
5658
|
throw TypeError(".replit.goval.api.Command.auth: object expected");
|
|
@@ -6227,6 +6162,11 @@
|
|
|
6227
6162
|
throw TypeError(".replit.goval.api.Command.replspaceApiShellTracker: object expected");
|
|
6228
6163
|
message.replspaceApiShellTracker = $root.replit.goval.api.ReplspaceApiShellTracker.fromObject(object.replspaceApiShellTracker);
|
|
6229
6164
|
}
|
|
6165
|
+
if (object.paneMetricsTracker != null) {
|
|
6166
|
+
if (typeof object.paneMetricsTracker !== "object")
|
|
6167
|
+
throw TypeError(".replit.goval.api.Command.paneMetricsTracker: object expected");
|
|
6168
|
+
message.paneMetricsTracker = $root.replit.goval.api.PaneMetricsTracker.fromObject(object.paneMetricsTracker);
|
|
6169
|
+
}
|
|
6230
6170
|
if (object.nixModuleConfigGetRequest != null) {
|
|
6231
6171
|
if (typeof object.nixModuleConfigGetRequest !== "object")
|
|
6232
6172
|
throw TypeError(".replit.goval.api.Command.nixModuleConfigGetRequest: object expected");
|
|
@@ -6666,21 +6606,6 @@
|
|
|
6666
6606
|
if (options.oneofs)
|
|
6667
6607
|
object.body = "debug";
|
|
6668
6608
|
}
|
|
6669
|
-
if (message.startVCR != null && message.hasOwnProperty("startVCR")) {
|
|
6670
|
-
object.startVCR = $root.replit.goval.api.StartVCR.toObject(message.startVCR, options);
|
|
6671
|
-
if (options.oneofs)
|
|
6672
|
-
object.body = "startVCR";
|
|
6673
|
-
}
|
|
6674
|
-
if (message.readVCR != null && message.hasOwnProperty("readVCR")) {
|
|
6675
|
-
object.readVCR = $root.replit.goval.api.ReadVCR.toObject(message.readVCR, options);
|
|
6676
|
-
if (options.oneofs)
|
|
6677
|
-
object.body = "readVCR";
|
|
6678
|
-
}
|
|
6679
|
-
if (message.VCRLog != null && message.hasOwnProperty("VCRLog")) {
|
|
6680
|
-
object.VCRLog = $root.replit.goval.api.VCRLog.toObject(message.VCRLog, options);
|
|
6681
|
-
if (options.oneofs)
|
|
6682
|
-
object.body = "VCRLog";
|
|
6683
|
-
}
|
|
6684
6609
|
if (message.auth != null && message.hasOwnProperty("auth")) {
|
|
6685
6610
|
object.auth = $root.replit.goval.api.Auth.toObject(message.auth, options);
|
|
6686
6611
|
if (options.oneofs)
|
|
@@ -7271,6 +7196,11 @@
|
|
|
7271
7196
|
if (options.oneofs)
|
|
7272
7197
|
object.body = "otFlushNotification";
|
|
7273
7198
|
}
|
|
7199
|
+
if (message.paneMetricsTracker != null && message.hasOwnProperty("paneMetricsTracker")) {
|
|
7200
|
+
object.paneMetricsTracker = $root.replit.goval.api.PaneMetricsTracker.toObject(message.paneMetricsTracker, options);
|
|
7201
|
+
if (options.oneofs)
|
|
7202
|
+
object.body = "paneMetricsTracker";
|
|
7203
|
+
}
|
|
7274
7204
|
if (message.nixModuleConfigGetRequest != null && message.hasOwnProperty("nixModuleConfigGetRequest")) {
|
|
7275
7205
|
object.nixModuleConfigGetRequest = $root.replit.goval.api.NixModuleConfigGetRequest.toObject(message.nixModuleConfigGetRequest, options);
|
|
7276
7206
|
if (options.oneofs)
|
|
@@ -16718,606 +16648,6 @@
|
|
|
16718
16648
|
return VCREntry;
|
|
16719
16649
|
})();
|
|
16720
16650
|
|
|
16721
|
-
api.StartVCR = (function() {
|
|
16722
|
-
|
|
16723
|
-
/**
|
|
16724
|
-
* Properties of a StartVCR.
|
|
16725
|
-
* @memberof replit.goval.api
|
|
16726
|
-
* @interface IStartVCR
|
|
16727
|
-
*/
|
|
16728
|
-
|
|
16729
|
-
/**
|
|
16730
|
-
* Constructs a new StartVCR.
|
|
16731
|
-
* @memberof replit.goval.api
|
|
16732
|
-
* @classdesc Represents a StartVCR.
|
|
16733
|
-
* @constructor
|
|
16734
|
-
* @param {replit.goval.api.IStartVCR=} [properties] Properties to set
|
|
16735
|
-
*/
|
|
16736
|
-
function StartVCR(properties) {
|
|
16737
|
-
if (properties)
|
|
16738
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16739
|
-
if (properties[keys[i]] != null)
|
|
16740
|
-
this[keys[i]] = properties[keys[i]];
|
|
16741
|
-
}
|
|
16742
|
-
|
|
16743
|
-
/**
|
|
16744
|
-
* Creates a new StartVCR instance using the specified properties.
|
|
16745
|
-
* @function create
|
|
16746
|
-
* @memberof replit.goval.api.StartVCR
|
|
16747
|
-
* @static
|
|
16748
|
-
* @param {replit.goval.api.IStartVCR=} [properties] Properties to set
|
|
16749
|
-
* @returns {replit.goval.api.StartVCR} StartVCR instance
|
|
16750
|
-
*/
|
|
16751
|
-
StartVCR.create = function create(properties) {
|
|
16752
|
-
return StartVCR.fromObject(properties);
|
|
16753
|
-
};
|
|
16754
|
-
|
|
16755
|
-
/**
|
|
16756
|
-
* Encodes the specified StartVCR message. Does not implicitly {@link replit.goval.api.StartVCR.verify|verify} messages.
|
|
16757
|
-
* @function encode
|
|
16758
|
-
* @memberof replit.goval.api.StartVCR
|
|
16759
|
-
* @static
|
|
16760
|
-
* @param {replit.goval.api.StartVCR} message StartVCR message or plain object to encode
|
|
16761
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16762
|
-
* @returns {$protobuf.Writer} Writer
|
|
16763
|
-
*/
|
|
16764
|
-
StartVCR.encode = function encode(message, writer) {
|
|
16765
|
-
if (!writer)
|
|
16766
|
-
writer = $Writer.create();
|
|
16767
|
-
return writer;
|
|
16768
|
-
};
|
|
16769
|
-
|
|
16770
|
-
/**
|
|
16771
|
-
* Encodes the specified StartVCR message, length delimited. Does not implicitly {@link replit.goval.api.StartVCR.verify|verify} messages.
|
|
16772
|
-
* @function encodeDelimited
|
|
16773
|
-
* @memberof replit.goval.api.StartVCR
|
|
16774
|
-
* @static
|
|
16775
|
-
* @param {replit.goval.api.StartVCR} message StartVCR message or plain object to encode
|
|
16776
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16777
|
-
* @returns {$protobuf.Writer} Writer
|
|
16778
|
-
*/
|
|
16779
|
-
StartVCR.encodeDelimited = function encodeDelimited(message, writer) {
|
|
16780
|
-
return this.encode(message, writer).ldelim();
|
|
16781
|
-
};
|
|
16782
|
-
|
|
16783
|
-
/**
|
|
16784
|
-
* Decodes a StartVCR message from the specified reader or buffer.
|
|
16785
|
-
* @function decode
|
|
16786
|
-
* @memberof replit.goval.api.StartVCR
|
|
16787
|
-
* @static
|
|
16788
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16789
|
-
* @param {number} [length] Message length if known beforehand
|
|
16790
|
-
* @returns {replit.goval.api.StartVCR} StartVCR
|
|
16791
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16792
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16793
|
-
*/
|
|
16794
|
-
StartVCR.decode = function decode(reader, length) {
|
|
16795
|
-
if (!(reader instanceof $Reader))
|
|
16796
|
-
reader = $Reader.create(reader);
|
|
16797
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.StartVCR();
|
|
16798
|
-
while (reader.pos < end) {
|
|
16799
|
-
var tag = reader.uint32();
|
|
16800
|
-
switch (tag >>> 3) {
|
|
16801
|
-
default:
|
|
16802
|
-
reader.skipType(tag & 7);
|
|
16803
|
-
break;
|
|
16804
|
-
}
|
|
16805
|
-
}
|
|
16806
|
-
return message;
|
|
16807
|
-
};
|
|
16808
|
-
|
|
16809
|
-
/**
|
|
16810
|
-
* Decodes a StartVCR message from the specified reader or buffer, length delimited.
|
|
16811
|
-
* @function decodeDelimited
|
|
16812
|
-
* @memberof replit.goval.api.StartVCR
|
|
16813
|
-
* @static
|
|
16814
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16815
|
-
* @returns {replit.goval.api.StartVCR} StartVCR
|
|
16816
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16817
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16818
|
-
*/
|
|
16819
|
-
StartVCR.decodeDelimited = function decodeDelimited(reader) {
|
|
16820
|
-
if (!(reader instanceof $Reader))
|
|
16821
|
-
reader = new $Reader(reader);
|
|
16822
|
-
return this.decode(reader, reader.uint32());
|
|
16823
|
-
};
|
|
16824
|
-
|
|
16825
|
-
/**
|
|
16826
|
-
* Verifies a StartVCR message.
|
|
16827
|
-
* @function verify
|
|
16828
|
-
* @memberof replit.goval.api.StartVCR
|
|
16829
|
-
* @static
|
|
16830
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
16831
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
16832
|
-
*/
|
|
16833
|
-
StartVCR.verify = function verify(message) {
|
|
16834
|
-
if (typeof message !== "object" || message === null)
|
|
16835
|
-
return "object expected";
|
|
16836
|
-
return null;
|
|
16837
|
-
};
|
|
16838
|
-
|
|
16839
|
-
/**
|
|
16840
|
-
* Creates a StartVCR message from a plain object. Also converts values to their respective internal types.
|
|
16841
|
-
* @function fromObject
|
|
16842
|
-
* @memberof replit.goval.api.StartVCR
|
|
16843
|
-
* @static
|
|
16844
|
-
* @param {Object.<string,*>} object Plain object
|
|
16845
|
-
* @returns {replit.goval.api.StartVCR} StartVCR
|
|
16846
|
-
*/
|
|
16847
|
-
StartVCR.fromObject = function fromObject(object) {
|
|
16848
|
-
if (object instanceof $root.replit.goval.api.StartVCR)
|
|
16849
|
-
return object;
|
|
16850
|
-
return new $root.replit.goval.api.StartVCR();
|
|
16851
|
-
};
|
|
16852
|
-
|
|
16853
|
-
/**
|
|
16854
|
-
* Creates a plain object from a StartVCR message. Also converts values to other types if specified.
|
|
16855
|
-
* @function toObject
|
|
16856
|
-
* @memberof replit.goval.api.StartVCR
|
|
16857
|
-
* @static
|
|
16858
|
-
* @param {replit.goval.api.StartVCR} message StartVCR
|
|
16859
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
16860
|
-
* @returns {Object.<string,*>} Plain object
|
|
16861
|
-
*/
|
|
16862
|
-
StartVCR.toObject = function toObject() {
|
|
16863
|
-
return {};
|
|
16864
|
-
};
|
|
16865
|
-
|
|
16866
|
-
/**
|
|
16867
|
-
* Converts this StartVCR to JSON.
|
|
16868
|
-
* @function toJSON
|
|
16869
|
-
* @memberof replit.goval.api.StartVCR
|
|
16870
|
-
* @instance
|
|
16871
|
-
* @returns {Object.<string,*>} JSON object
|
|
16872
|
-
*/
|
|
16873
|
-
StartVCR.prototype.toJSON = function toJSON() {
|
|
16874
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
16875
|
-
};
|
|
16876
|
-
|
|
16877
|
-
/**
|
|
16878
|
-
* Gets the default type url for StartVCR
|
|
16879
|
-
* @function getTypeUrl
|
|
16880
|
-
* @memberof replit.goval.api.StartVCR
|
|
16881
|
-
* @static
|
|
16882
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16883
|
-
* @returns {string} The default type url
|
|
16884
|
-
*/
|
|
16885
|
-
StartVCR.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
16886
|
-
if (typeUrlPrefix === undefined) {
|
|
16887
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
16888
|
-
}
|
|
16889
|
-
return typeUrlPrefix + "/replit.goval.api.StartVCR";
|
|
16890
|
-
};
|
|
16891
|
-
|
|
16892
|
-
return StartVCR;
|
|
16893
|
-
})();
|
|
16894
|
-
|
|
16895
|
-
api.ReadVCR = (function() {
|
|
16896
|
-
|
|
16897
|
-
/**
|
|
16898
|
-
* Properties of a ReadVCR.
|
|
16899
|
-
* @memberof replit.goval.api
|
|
16900
|
-
* @interface IReadVCR
|
|
16901
|
-
*/
|
|
16902
|
-
|
|
16903
|
-
/**
|
|
16904
|
-
* Constructs a new ReadVCR.
|
|
16905
|
-
* @memberof replit.goval.api
|
|
16906
|
-
* @classdesc Represents a ReadVCR.
|
|
16907
|
-
* @constructor
|
|
16908
|
-
* @param {replit.goval.api.IReadVCR=} [properties] Properties to set
|
|
16909
|
-
*/
|
|
16910
|
-
function ReadVCR(properties) {
|
|
16911
|
-
if (properties)
|
|
16912
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16913
|
-
if (properties[keys[i]] != null)
|
|
16914
|
-
this[keys[i]] = properties[keys[i]];
|
|
16915
|
-
}
|
|
16916
|
-
|
|
16917
|
-
/**
|
|
16918
|
-
* Creates a new ReadVCR instance using the specified properties.
|
|
16919
|
-
* @function create
|
|
16920
|
-
* @memberof replit.goval.api.ReadVCR
|
|
16921
|
-
* @static
|
|
16922
|
-
* @param {replit.goval.api.IReadVCR=} [properties] Properties to set
|
|
16923
|
-
* @returns {replit.goval.api.ReadVCR} ReadVCR instance
|
|
16924
|
-
*/
|
|
16925
|
-
ReadVCR.create = function create(properties) {
|
|
16926
|
-
return ReadVCR.fromObject(properties);
|
|
16927
|
-
};
|
|
16928
|
-
|
|
16929
|
-
/**
|
|
16930
|
-
* Encodes the specified ReadVCR message. Does not implicitly {@link replit.goval.api.ReadVCR.verify|verify} messages.
|
|
16931
|
-
* @function encode
|
|
16932
|
-
* @memberof replit.goval.api.ReadVCR
|
|
16933
|
-
* @static
|
|
16934
|
-
* @param {replit.goval.api.ReadVCR} message ReadVCR message or plain object to encode
|
|
16935
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16936
|
-
* @returns {$protobuf.Writer} Writer
|
|
16937
|
-
*/
|
|
16938
|
-
ReadVCR.encode = function encode(message, writer) {
|
|
16939
|
-
if (!writer)
|
|
16940
|
-
writer = $Writer.create();
|
|
16941
|
-
return writer;
|
|
16942
|
-
};
|
|
16943
|
-
|
|
16944
|
-
/**
|
|
16945
|
-
* Encodes the specified ReadVCR message, length delimited. Does not implicitly {@link replit.goval.api.ReadVCR.verify|verify} messages.
|
|
16946
|
-
* @function encodeDelimited
|
|
16947
|
-
* @memberof replit.goval.api.ReadVCR
|
|
16948
|
-
* @static
|
|
16949
|
-
* @param {replit.goval.api.ReadVCR} message ReadVCR message or plain object to encode
|
|
16950
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16951
|
-
* @returns {$protobuf.Writer} Writer
|
|
16952
|
-
*/
|
|
16953
|
-
ReadVCR.encodeDelimited = function encodeDelimited(message, writer) {
|
|
16954
|
-
return this.encode(message, writer).ldelim();
|
|
16955
|
-
};
|
|
16956
|
-
|
|
16957
|
-
/**
|
|
16958
|
-
* Decodes a ReadVCR message from the specified reader or buffer.
|
|
16959
|
-
* @function decode
|
|
16960
|
-
* @memberof replit.goval.api.ReadVCR
|
|
16961
|
-
* @static
|
|
16962
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16963
|
-
* @param {number} [length] Message length if known beforehand
|
|
16964
|
-
* @returns {replit.goval.api.ReadVCR} ReadVCR
|
|
16965
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16966
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16967
|
-
*/
|
|
16968
|
-
ReadVCR.decode = function decode(reader, length) {
|
|
16969
|
-
if (!(reader instanceof $Reader))
|
|
16970
|
-
reader = $Reader.create(reader);
|
|
16971
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ReadVCR();
|
|
16972
|
-
while (reader.pos < end) {
|
|
16973
|
-
var tag = reader.uint32();
|
|
16974
|
-
switch (tag >>> 3) {
|
|
16975
|
-
default:
|
|
16976
|
-
reader.skipType(tag & 7);
|
|
16977
|
-
break;
|
|
16978
|
-
}
|
|
16979
|
-
}
|
|
16980
|
-
return message;
|
|
16981
|
-
};
|
|
16982
|
-
|
|
16983
|
-
/**
|
|
16984
|
-
* Decodes a ReadVCR message from the specified reader or buffer, length delimited.
|
|
16985
|
-
* @function decodeDelimited
|
|
16986
|
-
* @memberof replit.goval.api.ReadVCR
|
|
16987
|
-
* @static
|
|
16988
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16989
|
-
* @returns {replit.goval.api.ReadVCR} ReadVCR
|
|
16990
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16991
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16992
|
-
*/
|
|
16993
|
-
ReadVCR.decodeDelimited = function decodeDelimited(reader) {
|
|
16994
|
-
if (!(reader instanceof $Reader))
|
|
16995
|
-
reader = new $Reader(reader);
|
|
16996
|
-
return this.decode(reader, reader.uint32());
|
|
16997
|
-
};
|
|
16998
|
-
|
|
16999
|
-
/**
|
|
17000
|
-
* Verifies a ReadVCR message.
|
|
17001
|
-
* @function verify
|
|
17002
|
-
* @memberof replit.goval.api.ReadVCR
|
|
17003
|
-
* @static
|
|
17004
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
17005
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17006
|
-
*/
|
|
17007
|
-
ReadVCR.verify = function verify(message) {
|
|
17008
|
-
if (typeof message !== "object" || message === null)
|
|
17009
|
-
return "object expected";
|
|
17010
|
-
return null;
|
|
17011
|
-
};
|
|
17012
|
-
|
|
17013
|
-
/**
|
|
17014
|
-
* Creates a ReadVCR message from a plain object. Also converts values to their respective internal types.
|
|
17015
|
-
* @function fromObject
|
|
17016
|
-
* @memberof replit.goval.api.ReadVCR
|
|
17017
|
-
* @static
|
|
17018
|
-
* @param {Object.<string,*>} object Plain object
|
|
17019
|
-
* @returns {replit.goval.api.ReadVCR} ReadVCR
|
|
17020
|
-
*/
|
|
17021
|
-
ReadVCR.fromObject = function fromObject(object) {
|
|
17022
|
-
if (object instanceof $root.replit.goval.api.ReadVCR)
|
|
17023
|
-
return object;
|
|
17024
|
-
return new $root.replit.goval.api.ReadVCR();
|
|
17025
|
-
};
|
|
17026
|
-
|
|
17027
|
-
/**
|
|
17028
|
-
* Creates a plain object from a ReadVCR message. Also converts values to other types if specified.
|
|
17029
|
-
* @function toObject
|
|
17030
|
-
* @memberof replit.goval.api.ReadVCR
|
|
17031
|
-
* @static
|
|
17032
|
-
* @param {replit.goval.api.ReadVCR} message ReadVCR
|
|
17033
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
17034
|
-
* @returns {Object.<string,*>} Plain object
|
|
17035
|
-
*/
|
|
17036
|
-
ReadVCR.toObject = function toObject() {
|
|
17037
|
-
return {};
|
|
17038
|
-
};
|
|
17039
|
-
|
|
17040
|
-
/**
|
|
17041
|
-
* Converts this ReadVCR to JSON.
|
|
17042
|
-
* @function toJSON
|
|
17043
|
-
* @memberof replit.goval.api.ReadVCR
|
|
17044
|
-
* @instance
|
|
17045
|
-
* @returns {Object.<string,*>} JSON object
|
|
17046
|
-
*/
|
|
17047
|
-
ReadVCR.prototype.toJSON = function toJSON() {
|
|
17048
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
17049
|
-
};
|
|
17050
|
-
|
|
17051
|
-
/**
|
|
17052
|
-
* Gets the default type url for ReadVCR
|
|
17053
|
-
* @function getTypeUrl
|
|
17054
|
-
* @memberof replit.goval.api.ReadVCR
|
|
17055
|
-
* @static
|
|
17056
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17057
|
-
* @returns {string} The default type url
|
|
17058
|
-
*/
|
|
17059
|
-
ReadVCR.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17060
|
-
if (typeUrlPrefix === undefined) {
|
|
17061
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
17062
|
-
}
|
|
17063
|
-
return typeUrlPrefix + "/replit.goval.api.ReadVCR";
|
|
17064
|
-
};
|
|
17065
|
-
|
|
17066
|
-
return ReadVCR;
|
|
17067
|
-
})();
|
|
17068
|
-
|
|
17069
|
-
api.VCRLog = (function() {
|
|
17070
|
-
|
|
17071
|
-
/**
|
|
17072
|
-
* Properties of a VCRLog.
|
|
17073
|
-
* @memberof replit.goval.api
|
|
17074
|
-
* @interface IVCRLog
|
|
17075
|
-
* @property {Array.<replit.goval.api.VCREntry|replit.goval.api.IVCREntry>|null} [log] VCRLog log
|
|
17076
|
-
* @property {replit.goval.api.File|replit.goval.api.IFile|null} [logfile] VCRLog logfile
|
|
17077
|
-
*/
|
|
17078
|
-
|
|
17079
|
-
/**
|
|
17080
|
-
* Constructs a new VCRLog.
|
|
17081
|
-
* @memberof replit.goval.api
|
|
17082
|
-
* @classdesc Represents a VCRLog.
|
|
17083
|
-
* @constructor
|
|
17084
|
-
* @param {replit.goval.api.IVCRLog=} [properties] Properties to set
|
|
17085
|
-
*/
|
|
17086
|
-
function VCRLog(properties) {
|
|
17087
|
-
this.log = [];
|
|
17088
|
-
if (properties)
|
|
17089
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17090
|
-
if (properties[keys[i]] != null)
|
|
17091
|
-
this[keys[i]] = properties[keys[i]];
|
|
17092
|
-
}
|
|
17093
|
-
|
|
17094
|
-
/**
|
|
17095
|
-
* VCRLog log.
|
|
17096
|
-
* @member {Array.<replit.goval.api.VCREntry>} log
|
|
17097
|
-
* @memberof replit.goval.api.VCRLog
|
|
17098
|
-
* @instance
|
|
17099
|
-
*/
|
|
17100
|
-
VCRLog.prototype.log = $util.emptyArray;
|
|
17101
|
-
|
|
17102
|
-
/**
|
|
17103
|
-
* VCRLog logfile.
|
|
17104
|
-
* @member {replit.goval.api.File|null|undefined} logfile
|
|
17105
|
-
* @memberof replit.goval.api.VCRLog
|
|
17106
|
-
* @instance
|
|
17107
|
-
*/
|
|
17108
|
-
VCRLog.prototype.logfile = null;
|
|
17109
|
-
|
|
17110
|
-
/**
|
|
17111
|
-
* Creates a new VCRLog instance using the specified properties.
|
|
17112
|
-
* @function create
|
|
17113
|
-
* @memberof replit.goval.api.VCRLog
|
|
17114
|
-
* @static
|
|
17115
|
-
* @param {replit.goval.api.IVCRLog=} [properties] Properties to set
|
|
17116
|
-
* @returns {replit.goval.api.VCRLog} VCRLog instance
|
|
17117
|
-
*/
|
|
17118
|
-
VCRLog.create = function create(properties) {
|
|
17119
|
-
return VCRLog.fromObject(properties);
|
|
17120
|
-
};
|
|
17121
|
-
|
|
17122
|
-
/**
|
|
17123
|
-
* Encodes the specified VCRLog message. Does not implicitly {@link replit.goval.api.VCRLog.verify|verify} messages.
|
|
17124
|
-
* @function encode
|
|
17125
|
-
* @memberof replit.goval.api.VCRLog
|
|
17126
|
-
* @static
|
|
17127
|
-
* @param {replit.goval.api.VCRLog} message VCRLog message or plain object to encode
|
|
17128
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17129
|
-
* @returns {$protobuf.Writer} Writer
|
|
17130
|
-
*/
|
|
17131
|
-
VCRLog.encode = function encode(message, writer) {
|
|
17132
|
-
if (!writer)
|
|
17133
|
-
writer = $Writer.create();
|
|
17134
|
-
if (message.log != null && message.log.length)
|
|
17135
|
-
for (var i = 0; i < message.log.length; ++i)
|
|
17136
|
-
$root.replit.goval.api.VCREntry.encode(message.log[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
17137
|
-
if (message.logfile != null && Object.hasOwnProperty.call(message, "logfile"))
|
|
17138
|
-
$root.replit.goval.api.File.encode(message.logfile, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
17139
|
-
return writer;
|
|
17140
|
-
};
|
|
17141
|
-
|
|
17142
|
-
/**
|
|
17143
|
-
* Encodes the specified VCRLog message, length delimited. Does not implicitly {@link replit.goval.api.VCRLog.verify|verify} messages.
|
|
17144
|
-
* @function encodeDelimited
|
|
17145
|
-
* @memberof replit.goval.api.VCRLog
|
|
17146
|
-
* @static
|
|
17147
|
-
* @param {replit.goval.api.VCRLog} message VCRLog message or plain object to encode
|
|
17148
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17149
|
-
* @returns {$protobuf.Writer} Writer
|
|
17150
|
-
*/
|
|
17151
|
-
VCRLog.encodeDelimited = function encodeDelimited(message, writer) {
|
|
17152
|
-
return this.encode(message, writer).ldelim();
|
|
17153
|
-
};
|
|
17154
|
-
|
|
17155
|
-
/**
|
|
17156
|
-
* Decodes a VCRLog message from the specified reader or buffer.
|
|
17157
|
-
* @function decode
|
|
17158
|
-
* @memberof replit.goval.api.VCRLog
|
|
17159
|
-
* @static
|
|
17160
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17161
|
-
* @param {number} [length] Message length if known beforehand
|
|
17162
|
-
* @returns {replit.goval.api.VCRLog} VCRLog
|
|
17163
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17164
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17165
|
-
*/
|
|
17166
|
-
VCRLog.decode = function decode(reader, length) {
|
|
17167
|
-
if (!(reader instanceof $Reader))
|
|
17168
|
-
reader = $Reader.create(reader);
|
|
17169
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.VCRLog();
|
|
17170
|
-
while (reader.pos < end) {
|
|
17171
|
-
var tag = reader.uint32();
|
|
17172
|
-
switch (tag >>> 3) {
|
|
17173
|
-
case 1: {
|
|
17174
|
-
if (!(message.log && message.log.length))
|
|
17175
|
-
message.log = [];
|
|
17176
|
-
message.log.push($root.replit.goval.api.VCREntry.decode(reader, reader.uint32()));
|
|
17177
|
-
break;
|
|
17178
|
-
}
|
|
17179
|
-
case 2: {
|
|
17180
|
-
message.logfile = $root.replit.goval.api.File.decode(reader, reader.uint32());
|
|
17181
|
-
break;
|
|
17182
|
-
}
|
|
17183
|
-
default:
|
|
17184
|
-
reader.skipType(tag & 7);
|
|
17185
|
-
break;
|
|
17186
|
-
}
|
|
17187
|
-
}
|
|
17188
|
-
return message;
|
|
17189
|
-
};
|
|
17190
|
-
|
|
17191
|
-
/**
|
|
17192
|
-
* Decodes a VCRLog message from the specified reader or buffer, length delimited.
|
|
17193
|
-
* @function decodeDelimited
|
|
17194
|
-
* @memberof replit.goval.api.VCRLog
|
|
17195
|
-
* @static
|
|
17196
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17197
|
-
* @returns {replit.goval.api.VCRLog} VCRLog
|
|
17198
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17199
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17200
|
-
*/
|
|
17201
|
-
VCRLog.decodeDelimited = function decodeDelimited(reader) {
|
|
17202
|
-
if (!(reader instanceof $Reader))
|
|
17203
|
-
reader = new $Reader(reader);
|
|
17204
|
-
return this.decode(reader, reader.uint32());
|
|
17205
|
-
};
|
|
17206
|
-
|
|
17207
|
-
/**
|
|
17208
|
-
* Verifies a VCRLog message.
|
|
17209
|
-
* @function verify
|
|
17210
|
-
* @memberof replit.goval.api.VCRLog
|
|
17211
|
-
* @static
|
|
17212
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
17213
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17214
|
-
*/
|
|
17215
|
-
VCRLog.verify = function verify(message) {
|
|
17216
|
-
if (typeof message !== "object" || message === null)
|
|
17217
|
-
return "object expected";
|
|
17218
|
-
if (message.log != null && message.hasOwnProperty("log")) {
|
|
17219
|
-
if (!Array.isArray(message.log))
|
|
17220
|
-
return "log: array expected";
|
|
17221
|
-
for (var i = 0; i < message.log.length; ++i) {
|
|
17222
|
-
var error = $root.replit.goval.api.VCREntry.verify(message.log[i]);
|
|
17223
|
-
if (error)
|
|
17224
|
-
return "log." + error;
|
|
17225
|
-
}
|
|
17226
|
-
}
|
|
17227
|
-
if (message.logfile != null && message.hasOwnProperty("logfile")) {
|
|
17228
|
-
var error = $root.replit.goval.api.File.verify(message.logfile);
|
|
17229
|
-
if (error)
|
|
17230
|
-
return "logfile." + error;
|
|
17231
|
-
}
|
|
17232
|
-
return null;
|
|
17233
|
-
};
|
|
17234
|
-
|
|
17235
|
-
/**
|
|
17236
|
-
* Creates a VCRLog message from a plain object. Also converts values to their respective internal types.
|
|
17237
|
-
* @function fromObject
|
|
17238
|
-
* @memberof replit.goval.api.VCRLog
|
|
17239
|
-
* @static
|
|
17240
|
-
* @param {Object.<string,*>} object Plain object
|
|
17241
|
-
* @returns {replit.goval.api.VCRLog} VCRLog
|
|
17242
|
-
*/
|
|
17243
|
-
VCRLog.fromObject = function fromObject(object) {
|
|
17244
|
-
if (object instanceof $root.replit.goval.api.VCRLog)
|
|
17245
|
-
return object;
|
|
17246
|
-
var message = new $root.replit.goval.api.VCRLog();
|
|
17247
|
-
if (object.log) {
|
|
17248
|
-
if (!Array.isArray(object.log))
|
|
17249
|
-
throw TypeError(".replit.goval.api.VCRLog.log: array expected");
|
|
17250
|
-
message.log = [];
|
|
17251
|
-
for (var i = 0; i < object.log.length; ++i) {
|
|
17252
|
-
if (typeof object.log[i] !== "object")
|
|
17253
|
-
throw TypeError(".replit.goval.api.VCRLog.log: object expected");
|
|
17254
|
-
message.log[i] = $root.replit.goval.api.VCREntry.fromObject(object.log[i]);
|
|
17255
|
-
}
|
|
17256
|
-
}
|
|
17257
|
-
if (object.logfile != null) {
|
|
17258
|
-
if (typeof object.logfile !== "object")
|
|
17259
|
-
throw TypeError(".replit.goval.api.VCRLog.logfile: object expected");
|
|
17260
|
-
message.logfile = $root.replit.goval.api.File.fromObject(object.logfile);
|
|
17261
|
-
}
|
|
17262
|
-
return message;
|
|
17263
|
-
};
|
|
17264
|
-
|
|
17265
|
-
/**
|
|
17266
|
-
* Creates a plain object from a VCRLog message. Also converts values to other types if specified.
|
|
17267
|
-
* @function toObject
|
|
17268
|
-
* @memberof replit.goval.api.VCRLog
|
|
17269
|
-
* @static
|
|
17270
|
-
* @param {replit.goval.api.VCRLog} message VCRLog
|
|
17271
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
17272
|
-
* @returns {Object.<string,*>} Plain object
|
|
17273
|
-
*/
|
|
17274
|
-
VCRLog.toObject = function toObject(message, options) {
|
|
17275
|
-
if (!options)
|
|
17276
|
-
options = {};
|
|
17277
|
-
var object = {};
|
|
17278
|
-
if (options.arrays || options.defaults)
|
|
17279
|
-
object.log = [];
|
|
17280
|
-
if (options.defaults)
|
|
17281
|
-
object.logfile = null;
|
|
17282
|
-
if (message.log && message.log.length) {
|
|
17283
|
-
object.log = [];
|
|
17284
|
-
for (var j = 0; j < message.log.length; ++j)
|
|
17285
|
-
object.log[j] = $root.replit.goval.api.VCREntry.toObject(message.log[j], options);
|
|
17286
|
-
}
|
|
17287
|
-
if (message.logfile != null && message.hasOwnProperty("logfile"))
|
|
17288
|
-
object.logfile = $root.replit.goval.api.File.toObject(message.logfile, options);
|
|
17289
|
-
return object;
|
|
17290
|
-
};
|
|
17291
|
-
|
|
17292
|
-
/**
|
|
17293
|
-
* Converts this VCRLog to JSON.
|
|
17294
|
-
* @function toJSON
|
|
17295
|
-
* @memberof replit.goval.api.VCRLog
|
|
17296
|
-
* @instance
|
|
17297
|
-
* @returns {Object.<string,*>} JSON object
|
|
17298
|
-
*/
|
|
17299
|
-
VCRLog.prototype.toJSON = function toJSON() {
|
|
17300
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
17301
|
-
};
|
|
17302
|
-
|
|
17303
|
-
/**
|
|
17304
|
-
* Gets the default type url for VCRLog
|
|
17305
|
-
* @function getTypeUrl
|
|
17306
|
-
* @memberof replit.goval.api.VCRLog
|
|
17307
|
-
* @static
|
|
17308
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17309
|
-
* @returns {string} The default type url
|
|
17310
|
-
*/
|
|
17311
|
-
VCRLog.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17312
|
-
if (typeUrlPrefix === undefined) {
|
|
17313
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
17314
|
-
}
|
|
17315
|
-
return typeUrlPrefix + "/replit.goval.api.VCRLog";
|
|
17316
|
-
};
|
|
17317
|
-
|
|
17318
|
-
return VCRLog;
|
|
17319
|
-
})();
|
|
17320
|
-
|
|
17321
16651
|
api.ExecInfo = (function() {
|
|
17322
16652
|
|
|
17323
16653
|
/**
|
|
@@ -34237,6 +33567,232 @@
|
|
|
34237
33567
|
return ReplspaceApiShellTracker;
|
|
34238
33568
|
})();
|
|
34239
33569
|
|
|
33570
|
+
api.PaneMetricsTracker = (function() {
|
|
33571
|
+
|
|
33572
|
+
/**
|
|
33573
|
+
* Properties of a PaneMetricsTracker.
|
|
33574
|
+
* @memberof replit.goval.api
|
|
33575
|
+
* @interface IPaneMetricsTracker
|
|
33576
|
+
* @property {string|null} [pane] PaneMetricsTracker pane
|
|
33577
|
+
* @property {string|null} [flow] PaneMetricsTracker flow
|
|
33578
|
+
*/
|
|
33579
|
+
|
|
33580
|
+
/**
|
|
33581
|
+
* Constructs a new PaneMetricsTracker.
|
|
33582
|
+
* @memberof replit.goval.api
|
|
33583
|
+
* @classdesc Represents a PaneMetricsTracker.
|
|
33584
|
+
* @constructor
|
|
33585
|
+
* @param {replit.goval.api.IPaneMetricsTracker=} [properties] Properties to set
|
|
33586
|
+
*/
|
|
33587
|
+
function PaneMetricsTracker(properties) {
|
|
33588
|
+
if (properties)
|
|
33589
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
33590
|
+
if (properties[keys[i]] != null)
|
|
33591
|
+
this[keys[i]] = properties[keys[i]];
|
|
33592
|
+
}
|
|
33593
|
+
|
|
33594
|
+
/**
|
|
33595
|
+
* PaneMetricsTracker pane.
|
|
33596
|
+
* @member {string} pane
|
|
33597
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33598
|
+
* @instance
|
|
33599
|
+
*/
|
|
33600
|
+
PaneMetricsTracker.prototype.pane = "";
|
|
33601
|
+
|
|
33602
|
+
/**
|
|
33603
|
+
* PaneMetricsTracker flow.
|
|
33604
|
+
* @member {string} flow
|
|
33605
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33606
|
+
* @instance
|
|
33607
|
+
*/
|
|
33608
|
+
PaneMetricsTracker.prototype.flow = "";
|
|
33609
|
+
|
|
33610
|
+
/**
|
|
33611
|
+
* Creates a new PaneMetricsTracker instance using the specified properties.
|
|
33612
|
+
* @function create
|
|
33613
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33614
|
+
* @static
|
|
33615
|
+
* @param {replit.goval.api.IPaneMetricsTracker=} [properties] Properties to set
|
|
33616
|
+
* @returns {replit.goval.api.PaneMetricsTracker} PaneMetricsTracker instance
|
|
33617
|
+
*/
|
|
33618
|
+
PaneMetricsTracker.create = function create(properties) {
|
|
33619
|
+
return PaneMetricsTracker.fromObject(properties);
|
|
33620
|
+
};
|
|
33621
|
+
|
|
33622
|
+
/**
|
|
33623
|
+
* Encodes the specified PaneMetricsTracker message. Does not implicitly {@link replit.goval.api.PaneMetricsTracker.verify|verify} messages.
|
|
33624
|
+
* @function encode
|
|
33625
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33626
|
+
* @static
|
|
33627
|
+
* @param {replit.goval.api.PaneMetricsTracker} message PaneMetricsTracker message or plain object to encode
|
|
33628
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33629
|
+
* @returns {$protobuf.Writer} Writer
|
|
33630
|
+
*/
|
|
33631
|
+
PaneMetricsTracker.encode = function encode(message, writer) {
|
|
33632
|
+
if (!writer)
|
|
33633
|
+
writer = $Writer.create();
|
|
33634
|
+
if (message.pane != null && Object.hasOwnProperty.call(message, "pane"))
|
|
33635
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.pane);
|
|
33636
|
+
if (message.flow != null && Object.hasOwnProperty.call(message, "flow"))
|
|
33637
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.flow);
|
|
33638
|
+
return writer;
|
|
33639
|
+
};
|
|
33640
|
+
|
|
33641
|
+
/**
|
|
33642
|
+
* Encodes the specified PaneMetricsTracker message, length delimited. Does not implicitly {@link replit.goval.api.PaneMetricsTracker.verify|verify} messages.
|
|
33643
|
+
* @function encodeDelimited
|
|
33644
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33645
|
+
* @static
|
|
33646
|
+
* @param {replit.goval.api.PaneMetricsTracker} message PaneMetricsTracker message or plain object to encode
|
|
33647
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33648
|
+
* @returns {$protobuf.Writer} Writer
|
|
33649
|
+
*/
|
|
33650
|
+
PaneMetricsTracker.encodeDelimited = function encodeDelimited(message, writer) {
|
|
33651
|
+
return this.encode(message, writer).ldelim();
|
|
33652
|
+
};
|
|
33653
|
+
|
|
33654
|
+
/**
|
|
33655
|
+
* Decodes a PaneMetricsTracker message from the specified reader or buffer.
|
|
33656
|
+
* @function decode
|
|
33657
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33658
|
+
* @static
|
|
33659
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33660
|
+
* @param {number} [length] Message length if known beforehand
|
|
33661
|
+
* @returns {replit.goval.api.PaneMetricsTracker} PaneMetricsTracker
|
|
33662
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33663
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33664
|
+
*/
|
|
33665
|
+
PaneMetricsTracker.decode = function decode(reader, length) {
|
|
33666
|
+
if (!(reader instanceof $Reader))
|
|
33667
|
+
reader = $Reader.create(reader);
|
|
33668
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.PaneMetricsTracker();
|
|
33669
|
+
while (reader.pos < end) {
|
|
33670
|
+
var tag = reader.uint32();
|
|
33671
|
+
switch (tag >>> 3) {
|
|
33672
|
+
case 1: {
|
|
33673
|
+
message.pane = reader.string();
|
|
33674
|
+
break;
|
|
33675
|
+
}
|
|
33676
|
+
case 2: {
|
|
33677
|
+
message.flow = reader.string();
|
|
33678
|
+
break;
|
|
33679
|
+
}
|
|
33680
|
+
default:
|
|
33681
|
+
reader.skipType(tag & 7);
|
|
33682
|
+
break;
|
|
33683
|
+
}
|
|
33684
|
+
}
|
|
33685
|
+
return message;
|
|
33686
|
+
};
|
|
33687
|
+
|
|
33688
|
+
/**
|
|
33689
|
+
* Decodes a PaneMetricsTracker message from the specified reader or buffer, length delimited.
|
|
33690
|
+
* @function decodeDelimited
|
|
33691
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33692
|
+
* @static
|
|
33693
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33694
|
+
* @returns {replit.goval.api.PaneMetricsTracker} PaneMetricsTracker
|
|
33695
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33696
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33697
|
+
*/
|
|
33698
|
+
PaneMetricsTracker.decodeDelimited = function decodeDelimited(reader) {
|
|
33699
|
+
if (!(reader instanceof $Reader))
|
|
33700
|
+
reader = new $Reader(reader);
|
|
33701
|
+
return this.decode(reader, reader.uint32());
|
|
33702
|
+
};
|
|
33703
|
+
|
|
33704
|
+
/**
|
|
33705
|
+
* Verifies a PaneMetricsTracker message.
|
|
33706
|
+
* @function verify
|
|
33707
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33708
|
+
* @static
|
|
33709
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
33710
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
33711
|
+
*/
|
|
33712
|
+
PaneMetricsTracker.verify = function verify(message) {
|
|
33713
|
+
if (typeof message !== "object" || message === null)
|
|
33714
|
+
return "object expected";
|
|
33715
|
+
if (message.pane != null && message.hasOwnProperty("pane"))
|
|
33716
|
+
if (!$util.isString(message.pane))
|
|
33717
|
+
return "pane: string expected";
|
|
33718
|
+
if (message.flow != null && message.hasOwnProperty("flow"))
|
|
33719
|
+
if (!$util.isString(message.flow))
|
|
33720
|
+
return "flow: string expected";
|
|
33721
|
+
return null;
|
|
33722
|
+
};
|
|
33723
|
+
|
|
33724
|
+
/**
|
|
33725
|
+
* Creates a PaneMetricsTracker message from a plain object. Also converts values to their respective internal types.
|
|
33726
|
+
* @function fromObject
|
|
33727
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33728
|
+
* @static
|
|
33729
|
+
* @param {Object.<string,*>} object Plain object
|
|
33730
|
+
* @returns {replit.goval.api.PaneMetricsTracker} PaneMetricsTracker
|
|
33731
|
+
*/
|
|
33732
|
+
PaneMetricsTracker.fromObject = function fromObject(object) {
|
|
33733
|
+
if (object instanceof $root.replit.goval.api.PaneMetricsTracker)
|
|
33734
|
+
return object;
|
|
33735
|
+
var message = new $root.replit.goval.api.PaneMetricsTracker();
|
|
33736
|
+
if (object.pane != null)
|
|
33737
|
+
message.pane = String(object.pane);
|
|
33738
|
+
if (object.flow != null)
|
|
33739
|
+
message.flow = String(object.flow);
|
|
33740
|
+
return message;
|
|
33741
|
+
};
|
|
33742
|
+
|
|
33743
|
+
/**
|
|
33744
|
+
* Creates a plain object from a PaneMetricsTracker message. Also converts values to other types if specified.
|
|
33745
|
+
* @function toObject
|
|
33746
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33747
|
+
* @static
|
|
33748
|
+
* @param {replit.goval.api.PaneMetricsTracker} message PaneMetricsTracker
|
|
33749
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
33750
|
+
* @returns {Object.<string,*>} Plain object
|
|
33751
|
+
*/
|
|
33752
|
+
PaneMetricsTracker.toObject = function toObject(message, options) {
|
|
33753
|
+
if (!options)
|
|
33754
|
+
options = {};
|
|
33755
|
+
var object = {};
|
|
33756
|
+
if (options.defaults) {
|
|
33757
|
+
object.pane = "";
|
|
33758
|
+
object.flow = "";
|
|
33759
|
+
}
|
|
33760
|
+
if (message.pane != null && message.hasOwnProperty("pane"))
|
|
33761
|
+
object.pane = message.pane;
|
|
33762
|
+
if (message.flow != null && message.hasOwnProperty("flow"))
|
|
33763
|
+
object.flow = message.flow;
|
|
33764
|
+
return object;
|
|
33765
|
+
};
|
|
33766
|
+
|
|
33767
|
+
/**
|
|
33768
|
+
* Converts this PaneMetricsTracker to JSON.
|
|
33769
|
+
* @function toJSON
|
|
33770
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33771
|
+
* @instance
|
|
33772
|
+
* @returns {Object.<string,*>} JSON object
|
|
33773
|
+
*/
|
|
33774
|
+
PaneMetricsTracker.prototype.toJSON = function toJSON() {
|
|
33775
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
33776
|
+
};
|
|
33777
|
+
|
|
33778
|
+
/**
|
|
33779
|
+
* Gets the default type url for PaneMetricsTracker
|
|
33780
|
+
* @function getTypeUrl
|
|
33781
|
+
* @memberof replit.goval.api.PaneMetricsTracker
|
|
33782
|
+
* @static
|
|
33783
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33784
|
+
* @returns {string} The default type url
|
|
33785
|
+
*/
|
|
33786
|
+
PaneMetricsTracker.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
33787
|
+
if (typeUrlPrefix === undefined) {
|
|
33788
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
33789
|
+
}
|
|
33790
|
+
return typeUrlPrefix + "/replit.goval.api.PaneMetricsTracker";
|
|
33791
|
+
};
|
|
33792
|
+
|
|
33793
|
+
return PaneMetricsTracker;
|
|
33794
|
+
})();
|
|
33795
|
+
|
|
34240
33796
|
api.Focused = (function() {
|
|
34241
33797
|
|
|
34242
33798
|
/**
|
|
@@ -73797,6 +73353,7 @@
|
|
|
73797
73353
|
* @property {replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null} [buildInfo] ReplToken buildInfo
|
|
73798
73354
|
* @property {replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null} [pid2Info] ReplToken pid2Info
|
|
73799
73355
|
* @property {boolean|null} [paid] ReplToken paid
|
|
73356
|
+
* @property {boolean|null} [replexec] ReplToken replexec
|
|
73800
73357
|
*/
|
|
73801
73358
|
|
|
73802
73359
|
/**
|
|
@@ -73951,6 +73508,14 @@
|
|
|
73951
73508
|
*/
|
|
73952
73509
|
ReplToken.prototype.paid = false;
|
|
73953
73510
|
|
|
73511
|
+
/**
|
|
73512
|
+
* ReplToken replexec.
|
|
73513
|
+
* @member {boolean} replexec
|
|
73514
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
73515
|
+
* @instance
|
|
73516
|
+
*/
|
|
73517
|
+
ReplToken.prototype.replexec = false;
|
|
73518
|
+
|
|
73954
73519
|
// OneOf field names bound to virtual getters and setters
|
|
73955
73520
|
var $oneOfFields;
|
|
73956
73521
|
|
|
@@ -74025,6 +73590,8 @@
|
|
|
74025
73590
|
$root.replit.goval.api.repl.Pid2Binary.encode(message.pid2Info, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
74026
73591
|
if (message.paid != null && Object.hasOwnProperty.call(message, "paid"))
|
|
74027
73592
|
writer.uint32(/* id 20, wireType 0 =*/160).bool(message.paid);
|
|
73593
|
+
if (message.replexec != null && Object.hasOwnProperty.call(message, "replexec"))
|
|
73594
|
+
writer.uint32(/* id 21, wireType 0 =*/168).bool(message.replexec);
|
|
74028
73595
|
return writer;
|
|
74029
73596
|
};
|
|
74030
73597
|
|
|
@@ -74131,6 +73698,10 @@
|
|
|
74131
73698
|
message.paid = reader.bool();
|
|
74132
73699
|
break;
|
|
74133
73700
|
}
|
|
73701
|
+
case 21: {
|
|
73702
|
+
message.replexec = reader.bool();
|
|
73703
|
+
break;
|
|
73704
|
+
}
|
|
74134
73705
|
default:
|
|
74135
73706
|
reader.skipType(tag & 7);
|
|
74136
73707
|
break;
|
|
@@ -74275,6 +73846,9 @@
|
|
|
74275
73846
|
if (message.paid != null && message.hasOwnProperty("paid"))
|
|
74276
73847
|
if (typeof message.paid !== "boolean")
|
|
74277
73848
|
return "paid: boolean expected";
|
|
73849
|
+
if (message.replexec != null && message.hasOwnProperty("replexec"))
|
|
73850
|
+
if (typeof message.replexec !== "boolean")
|
|
73851
|
+
return "replexec: boolean expected";
|
|
74278
73852
|
return null;
|
|
74279
73853
|
};
|
|
74280
73854
|
|
|
@@ -74411,6 +73985,8 @@
|
|
|
74411
73985
|
}
|
|
74412
73986
|
if (object.paid != null)
|
|
74413
73987
|
message.paid = Boolean(object.paid);
|
|
73988
|
+
if (object.replexec != null)
|
|
73989
|
+
message.replexec = Boolean(object.replexec);
|
|
74414
73990
|
return message;
|
|
74415
73991
|
};
|
|
74416
73992
|
|
|
@@ -74444,6 +74020,7 @@
|
|
|
74444
74020
|
object.buildInfo = null;
|
|
74445
74021
|
object.pid2Info = null;
|
|
74446
74022
|
object.paid = false;
|
|
74023
|
+
object.replexec = false;
|
|
74447
74024
|
}
|
|
74448
74025
|
if (message.iat != null && message.hasOwnProperty("iat"))
|
|
74449
74026
|
object.iat = $root.google.protobuf.Timestamp.toObject(message.iat, options);
|
|
@@ -74494,6 +74071,8 @@
|
|
|
74494
74071
|
object.pid2Info = $root.replit.goval.api.repl.Pid2Binary.toObject(message.pid2Info, options);
|
|
74495
74072
|
if (message.paid != null && message.hasOwnProperty("paid"))
|
|
74496
74073
|
object.paid = message.paid;
|
|
74074
|
+
if (message.replexec != null && message.hasOwnProperty("replexec"))
|
|
74075
|
+
object.replexec = message.replexec;
|
|
74497
74076
|
return object;
|
|
74498
74077
|
};
|
|
74499
74078
|
|