@replit/protocol 0.2.90 → 0.2.91
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 +1669 -1
- package/main/index.js +4203 -3
- package/main/index.js.flow +2522 -121
- package/package.json +1 -1
package/main/index.js
CHANGED
|
@@ -219,6 +219,15 @@
|
|
|
219
219
|
* @property {replit.goval.api.ReplspaceApiGetGitHubToken|replit.goval.api.IReplspaceApiGetGitHubToken|null} [replspaceApiGetGitHubToken] Command replspaceApiGetGitHubToken
|
|
220
220
|
* @property {replit.goval.api.ReplspaceApiGitHubToken|replit.goval.api.IReplspaceApiGitHubToken|null} [replspaceApiGitHubToken] Command replspaceApiGitHubToken
|
|
221
221
|
* @property {replit.goval.api.Focused|replit.goval.api.IFocused|null} [focused] Command focused
|
|
222
|
+
* @property {replit.goval.api.NixModulesGetRequest|replit.goval.api.INixModulesGetRequest|null} [nixModulesGetRequest] Command nixModulesGetRequest
|
|
223
|
+
* @property {replit.goval.api.NixModulesGetResponse|replit.goval.api.INixModulesGetResponse|null} [nixModulesGetResponse] Command nixModulesGetResponse
|
|
224
|
+
* @property {replit.goval.api.NixModulesChanged|replit.goval.api.INixModulesChanged|null} [nixModulesChanged] Command nixModulesChanged
|
|
225
|
+
* @property {replit.goval.api.NixModulesBuildRequest|replit.goval.api.INixModulesBuildRequest|null} [nixModulesBuildRequest] Command nixModulesBuildRequest
|
|
226
|
+
* @property {replit.goval.api.PackageSetPackagerRequest|replit.goval.api.IPackageSetPackagerRequest|null} [packageSetPackagerRequest] Command packageSetPackagerRequest
|
|
227
|
+
* @property {replit.goval.api.PackageSetPackagerResponse|replit.goval.api.IPackageSetPackagerResponse|null} [packageSetPackagerResp] Command packageSetPackagerResp
|
|
228
|
+
* @property {replit.goval.api.ToolchainGetRequest|replit.goval.api.IToolchainGetRequest|null} [toolchainGetRequest] Command toolchainGetRequest
|
|
229
|
+
* @property {replit.goval.api.ToolchainGetResponse|replit.goval.api.IToolchainGetResponse|null} [toolchainGetResponse] Command toolchainGetResponse
|
|
230
|
+
* @property {replit.goval.api.ToolchainChanged|replit.goval.api.IToolchainChanged|null} [toolchainChanged] Command toolchainChanged
|
|
222
231
|
* @property {string|null} [ref] Command ref
|
|
223
232
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
224
233
|
*/
|
|
@@ -1598,6 +1607,78 @@
|
|
|
1598
1607
|
*/
|
|
1599
1608
|
Command.prototype.focused = null;
|
|
1600
1609
|
|
|
1610
|
+
/**
|
|
1611
|
+
* Command nixModulesGetRequest.
|
|
1612
|
+
* @member {replit.goval.api.NixModulesGetRequest|null|undefined} nixModulesGetRequest
|
|
1613
|
+
* @memberof replit.goval.api.Command
|
|
1614
|
+
* @instance
|
|
1615
|
+
*/
|
|
1616
|
+
Command.prototype.nixModulesGetRequest = null;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Command nixModulesGetResponse.
|
|
1620
|
+
* @member {replit.goval.api.NixModulesGetResponse|null|undefined} nixModulesGetResponse
|
|
1621
|
+
* @memberof replit.goval.api.Command
|
|
1622
|
+
* @instance
|
|
1623
|
+
*/
|
|
1624
|
+
Command.prototype.nixModulesGetResponse = null;
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* Command nixModulesChanged.
|
|
1628
|
+
* @member {replit.goval.api.NixModulesChanged|null|undefined} nixModulesChanged
|
|
1629
|
+
* @memberof replit.goval.api.Command
|
|
1630
|
+
* @instance
|
|
1631
|
+
*/
|
|
1632
|
+
Command.prototype.nixModulesChanged = null;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Command nixModulesBuildRequest.
|
|
1636
|
+
* @member {replit.goval.api.NixModulesBuildRequest|null|undefined} nixModulesBuildRequest
|
|
1637
|
+
* @memberof replit.goval.api.Command
|
|
1638
|
+
* @instance
|
|
1639
|
+
*/
|
|
1640
|
+
Command.prototype.nixModulesBuildRequest = null;
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Command packageSetPackagerRequest.
|
|
1644
|
+
* @member {replit.goval.api.PackageSetPackagerRequest|null|undefined} packageSetPackagerRequest
|
|
1645
|
+
* @memberof replit.goval.api.Command
|
|
1646
|
+
* @instance
|
|
1647
|
+
*/
|
|
1648
|
+
Command.prototype.packageSetPackagerRequest = null;
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Command packageSetPackagerResp.
|
|
1652
|
+
* @member {replit.goval.api.PackageSetPackagerResponse|null|undefined} packageSetPackagerResp
|
|
1653
|
+
* @memberof replit.goval.api.Command
|
|
1654
|
+
* @instance
|
|
1655
|
+
*/
|
|
1656
|
+
Command.prototype.packageSetPackagerResp = null;
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Command toolchainGetRequest.
|
|
1660
|
+
* @member {replit.goval.api.ToolchainGetRequest|null|undefined} toolchainGetRequest
|
|
1661
|
+
* @memberof replit.goval.api.Command
|
|
1662
|
+
* @instance
|
|
1663
|
+
*/
|
|
1664
|
+
Command.prototype.toolchainGetRequest = null;
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* Command toolchainGetResponse.
|
|
1668
|
+
* @member {replit.goval.api.ToolchainGetResponse|null|undefined} toolchainGetResponse
|
|
1669
|
+
* @memberof replit.goval.api.Command
|
|
1670
|
+
* @instance
|
|
1671
|
+
*/
|
|
1672
|
+
Command.prototype.toolchainGetResponse = null;
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* Command toolchainChanged.
|
|
1676
|
+
* @member {replit.goval.api.ToolchainChanged|null|undefined} toolchainChanged
|
|
1677
|
+
* @memberof replit.goval.api.Command
|
|
1678
|
+
* @instance
|
|
1679
|
+
*/
|
|
1680
|
+
Command.prototype.toolchainChanged = null;
|
|
1681
|
+
|
|
1601
1682
|
/**
|
|
1602
1683
|
* Command ref.
|
|
1603
1684
|
* @member {string} ref
|
|
@@ -1619,12 +1700,12 @@
|
|
|
1619
1700
|
|
|
1620
1701
|
/**
|
|
1621
1702
|
* Command body.
|
|
1622
|
-
* @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"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|undefined} body
|
|
1703
|
+
* @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"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|undefined} body
|
|
1623
1704
|
* @memberof replit.goval.api.Command
|
|
1624
1705
|
* @instance
|
|
1625
1706
|
*/
|
|
1626
1707
|
Object.defineProperty(Command.prototype, "body", {
|
|
1627
|
-
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", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused"]),
|
|
1708
|
+
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", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged"]),
|
|
1628
1709
|
set: $util.oneOfSetter($oneOfFields)
|
|
1629
1710
|
});
|
|
1630
1711
|
|
|
@@ -1992,6 +2073,24 @@
|
|
|
1992
2073
|
$root.replit.goval.api.ReplspaceApiGitHubToken.encode(message.replspaceApiGitHubToken, writer.uint32(/* id 427, wireType 2 =*/3418).fork()).ldelim();
|
|
1993
2074
|
if (message.focused != null && Object.hasOwnProperty.call(message, "focused"))
|
|
1994
2075
|
$root.replit.goval.api.Focused.encode(message.focused, writer.uint32(/* id 428, wireType 2 =*/3426).fork()).ldelim();
|
|
2076
|
+
if (message.nixModulesGetRequest != null && Object.hasOwnProperty.call(message, "nixModulesGetRequest"))
|
|
2077
|
+
$root.replit.goval.api.NixModulesGetRequest.encode(message.nixModulesGetRequest, writer.uint32(/* id 429, wireType 2 =*/3434).fork()).ldelim();
|
|
2078
|
+
if (message.nixModulesGetResponse != null && Object.hasOwnProperty.call(message, "nixModulesGetResponse"))
|
|
2079
|
+
$root.replit.goval.api.NixModulesGetResponse.encode(message.nixModulesGetResponse, writer.uint32(/* id 430, wireType 2 =*/3442).fork()).ldelim();
|
|
2080
|
+
if (message.nixModulesChanged != null && Object.hasOwnProperty.call(message, "nixModulesChanged"))
|
|
2081
|
+
$root.replit.goval.api.NixModulesChanged.encode(message.nixModulesChanged, writer.uint32(/* id 431, wireType 2 =*/3450).fork()).ldelim();
|
|
2082
|
+
if (message.nixModulesBuildRequest != null && Object.hasOwnProperty.call(message, "nixModulesBuildRequest"))
|
|
2083
|
+
$root.replit.goval.api.NixModulesBuildRequest.encode(message.nixModulesBuildRequest, writer.uint32(/* id 432, wireType 2 =*/3458).fork()).ldelim();
|
|
2084
|
+
if (message.packageSetPackagerRequest != null && Object.hasOwnProperty.call(message, "packageSetPackagerRequest"))
|
|
2085
|
+
$root.replit.goval.api.PackageSetPackagerRequest.encode(message.packageSetPackagerRequest, writer.uint32(/* id 433, wireType 2 =*/3466).fork()).ldelim();
|
|
2086
|
+
if (message.packageSetPackagerResp != null && Object.hasOwnProperty.call(message, "packageSetPackagerResp"))
|
|
2087
|
+
$root.replit.goval.api.PackageSetPackagerResponse.encode(message.packageSetPackagerResp, writer.uint32(/* id 434, wireType 2 =*/3474).fork()).ldelim();
|
|
2088
|
+
if (message.toolchainGetRequest != null && Object.hasOwnProperty.call(message, "toolchainGetRequest"))
|
|
2089
|
+
$root.replit.goval.api.ToolchainGetRequest.encode(message.toolchainGetRequest, writer.uint32(/* id 435, wireType 2 =*/3482).fork()).ldelim();
|
|
2090
|
+
if (message.toolchainGetResponse != null && Object.hasOwnProperty.call(message, "toolchainGetResponse"))
|
|
2091
|
+
$root.replit.goval.api.ToolchainGetResponse.encode(message.toolchainGetResponse, writer.uint32(/* id 436, wireType 2 =*/3490).fork()).ldelim();
|
|
2092
|
+
if (message.toolchainChanged != null && Object.hasOwnProperty.call(message, "toolchainChanged"))
|
|
2093
|
+
$root.replit.goval.api.ToolchainChanged.encode(message.toolchainChanged, writer.uint32(/* id 437, wireType 2 =*/3498).fork()).ldelim();
|
|
1995
2094
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
1996
2095
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
1997
2096
|
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
@@ -2541,6 +2640,33 @@
|
|
|
2541
2640
|
case 428:
|
|
2542
2641
|
message.focused = $root.replit.goval.api.Focused.decode(reader, reader.uint32());
|
|
2543
2642
|
break;
|
|
2643
|
+
case 429:
|
|
2644
|
+
message.nixModulesGetRequest = $root.replit.goval.api.NixModulesGetRequest.decode(reader, reader.uint32());
|
|
2645
|
+
break;
|
|
2646
|
+
case 430:
|
|
2647
|
+
message.nixModulesGetResponse = $root.replit.goval.api.NixModulesGetResponse.decode(reader, reader.uint32());
|
|
2648
|
+
break;
|
|
2649
|
+
case 431:
|
|
2650
|
+
message.nixModulesChanged = $root.replit.goval.api.NixModulesChanged.decode(reader, reader.uint32());
|
|
2651
|
+
break;
|
|
2652
|
+
case 432:
|
|
2653
|
+
message.nixModulesBuildRequest = $root.replit.goval.api.NixModulesBuildRequest.decode(reader, reader.uint32());
|
|
2654
|
+
break;
|
|
2655
|
+
case 433:
|
|
2656
|
+
message.packageSetPackagerRequest = $root.replit.goval.api.PackageSetPackagerRequest.decode(reader, reader.uint32());
|
|
2657
|
+
break;
|
|
2658
|
+
case 434:
|
|
2659
|
+
message.packageSetPackagerResp = $root.replit.goval.api.PackageSetPackagerResponse.decode(reader, reader.uint32());
|
|
2660
|
+
break;
|
|
2661
|
+
case 435:
|
|
2662
|
+
message.toolchainGetRequest = $root.replit.goval.api.ToolchainGetRequest.decode(reader, reader.uint32());
|
|
2663
|
+
break;
|
|
2664
|
+
case 436:
|
|
2665
|
+
message.toolchainGetResponse = $root.replit.goval.api.ToolchainGetResponse.decode(reader, reader.uint32());
|
|
2666
|
+
break;
|
|
2667
|
+
case 437:
|
|
2668
|
+
message.toolchainChanged = $root.replit.goval.api.ToolchainChanged.decode(reader, reader.uint32());
|
|
2669
|
+
break;
|
|
2544
2670
|
case 1000:
|
|
2545
2671
|
message.ref = reader.string();
|
|
2546
2672
|
break;
|
|
@@ -4255,6 +4381,96 @@
|
|
|
4255
4381
|
return "focused." + error;
|
|
4256
4382
|
}
|
|
4257
4383
|
}
|
|
4384
|
+
if (message.nixModulesGetRequest != null && message.hasOwnProperty("nixModulesGetRequest")) {
|
|
4385
|
+
if (properties.body === 1)
|
|
4386
|
+
return "body: multiple values";
|
|
4387
|
+
properties.body = 1;
|
|
4388
|
+
{
|
|
4389
|
+
var error = $root.replit.goval.api.NixModulesGetRequest.verify(message.nixModulesGetRequest);
|
|
4390
|
+
if (error)
|
|
4391
|
+
return "nixModulesGetRequest." + error;
|
|
4392
|
+
}
|
|
4393
|
+
}
|
|
4394
|
+
if (message.nixModulesGetResponse != null && message.hasOwnProperty("nixModulesGetResponse")) {
|
|
4395
|
+
if (properties.body === 1)
|
|
4396
|
+
return "body: multiple values";
|
|
4397
|
+
properties.body = 1;
|
|
4398
|
+
{
|
|
4399
|
+
var error = $root.replit.goval.api.NixModulesGetResponse.verify(message.nixModulesGetResponse);
|
|
4400
|
+
if (error)
|
|
4401
|
+
return "nixModulesGetResponse." + error;
|
|
4402
|
+
}
|
|
4403
|
+
}
|
|
4404
|
+
if (message.nixModulesChanged != null && message.hasOwnProperty("nixModulesChanged")) {
|
|
4405
|
+
if (properties.body === 1)
|
|
4406
|
+
return "body: multiple values";
|
|
4407
|
+
properties.body = 1;
|
|
4408
|
+
{
|
|
4409
|
+
var error = $root.replit.goval.api.NixModulesChanged.verify(message.nixModulesChanged);
|
|
4410
|
+
if (error)
|
|
4411
|
+
return "nixModulesChanged." + error;
|
|
4412
|
+
}
|
|
4413
|
+
}
|
|
4414
|
+
if (message.nixModulesBuildRequest != null && message.hasOwnProperty("nixModulesBuildRequest")) {
|
|
4415
|
+
if (properties.body === 1)
|
|
4416
|
+
return "body: multiple values";
|
|
4417
|
+
properties.body = 1;
|
|
4418
|
+
{
|
|
4419
|
+
var error = $root.replit.goval.api.NixModulesBuildRequest.verify(message.nixModulesBuildRequest);
|
|
4420
|
+
if (error)
|
|
4421
|
+
return "nixModulesBuildRequest." + error;
|
|
4422
|
+
}
|
|
4423
|
+
}
|
|
4424
|
+
if (message.packageSetPackagerRequest != null && message.hasOwnProperty("packageSetPackagerRequest")) {
|
|
4425
|
+
if (properties.body === 1)
|
|
4426
|
+
return "body: multiple values";
|
|
4427
|
+
properties.body = 1;
|
|
4428
|
+
{
|
|
4429
|
+
var error = $root.replit.goval.api.PackageSetPackagerRequest.verify(message.packageSetPackagerRequest);
|
|
4430
|
+
if (error)
|
|
4431
|
+
return "packageSetPackagerRequest." + error;
|
|
4432
|
+
}
|
|
4433
|
+
}
|
|
4434
|
+
if (message.packageSetPackagerResp != null && message.hasOwnProperty("packageSetPackagerResp")) {
|
|
4435
|
+
if (properties.body === 1)
|
|
4436
|
+
return "body: multiple values";
|
|
4437
|
+
properties.body = 1;
|
|
4438
|
+
{
|
|
4439
|
+
var error = $root.replit.goval.api.PackageSetPackagerResponse.verify(message.packageSetPackagerResp);
|
|
4440
|
+
if (error)
|
|
4441
|
+
return "packageSetPackagerResp." + error;
|
|
4442
|
+
}
|
|
4443
|
+
}
|
|
4444
|
+
if (message.toolchainGetRequest != null && message.hasOwnProperty("toolchainGetRequest")) {
|
|
4445
|
+
if (properties.body === 1)
|
|
4446
|
+
return "body: multiple values";
|
|
4447
|
+
properties.body = 1;
|
|
4448
|
+
{
|
|
4449
|
+
var error = $root.replit.goval.api.ToolchainGetRequest.verify(message.toolchainGetRequest);
|
|
4450
|
+
if (error)
|
|
4451
|
+
return "toolchainGetRequest." + error;
|
|
4452
|
+
}
|
|
4453
|
+
}
|
|
4454
|
+
if (message.toolchainGetResponse != null && message.hasOwnProperty("toolchainGetResponse")) {
|
|
4455
|
+
if (properties.body === 1)
|
|
4456
|
+
return "body: multiple values";
|
|
4457
|
+
properties.body = 1;
|
|
4458
|
+
{
|
|
4459
|
+
var error = $root.replit.goval.api.ToolchainGetResponse.verify(message.toolchainGetResponse);
|
|
4460
|
+
if (error)
|
|
4461
|
+
return "toolchainGetResponse." + error;
|
|
4462
|
+
}
|
|
4463
|
+
}
|
|
4464
|
+
if (message.toolchainChanged != null && message.hasOwnProperty("toolchainChanged")) {
|
|
4465
|
+
if (properties.body === 1)
|
|
4466
|
+
return "body: multiple values";
|
|
4467
|
+
properties.body = 1;
|
|
4468
|
+
{
|
|
4469
|
+
var error = $root.replit.goval.api.ToolchainChanged.verify(message.toolchainChanged);
|
|
4470
|
+
if (error)
|
|
4471
|
+
return "toolchainChanged." + error;
|
|
4472
|
+
}
|
|
4473
|
+
}
|
|
4258
4474
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
4259
4475
|
if (!$util.isString(message.ref))
|
|
4260
4476
|
return "ref: string expected";
|
|
@@ -5097,6 +5313,51 @@
|
|
|
5097
5313
|
throw TypeError(".replit.goval.api.Command.focused: object expected");
|
|
5098
5314
|
message.focused = $root.replit.goval.api.Focused.fromObject(object.focused);
|
|
5099
5315
|
}
|
|
5316
|
+
if (object.nixModulesGetRequest != null) {
|
|
5317
|
+
if (typeof object.nixModulesGetRequest !== "object")
|
|
5318
|
+
throw TypeError(".replit.goval.api.Command.nixModulesGetRequest: object expected");
|
|
5319
|
+
message.nixModulesGetRequest = $root.replit.goval.api.NixModulesGetRequest.fromObject(object.nixModulesGetRequest);
|
|
5320
|
+
}
|
|
5321
|
+
if (object.nixModulesGetResponse != null) {
|
|
5322
|
+
if (typeof object.nixModulesGetResponse !== "object")
|
|
5323
|
+
throw TypeError(".replit.goval.api.Command.nixModulesGetResponse: object expected");
|
|
5324
|
+
message.nixModulesGetResponse = $root.replit.goval.api.NixModulesGetResponse.fromObject(object.nixModulesGetResponse);
|
|
5325
|
+
}
|
|
5326
|
+
if (object.nixModulesChanged != null) {
|
|
5327
|
+
if (typeof object.nixModulesChanged !== "object")
|
|
5328
|
+
throw TypeError(".replit.goval.api.Command.nixModulesChanged: object expected");
|
|
5329
|
+
message.nixModulesChanged = $root.replit.goval.api.NixModulesChanged.fromObject(object.nixModulesChanged);
|
|
5330
|
+
}
|
|
5331
|
+
if (object.nixModulesBuildRequest != null) {
|
|
5332
|
+
if (typeof object.nixModulesBuildRequest !== "object")
|
|
5333
|
+
throw TypeError(".replit.goval.api.Command.nixModulesBuildRequest: object expected");
|
|
5334
|
+
message.nixModulesBuildRequest = $root.replit.goval.api.NixModulesBuildRequest.fromObject(object.nixModulesBuildRequest);
|
|
5335
|
+
}
|
|
5336
|
+
if (object.packageSetPackagerRequest != null) {
|
|
5337
|
+
if (typeof object.packageSetPackagerRequest !== "object")
|
|
5338
|
+
throw TypeError(".replit.goval.api.Command.packageSetPackagerRequest: object expected");
|
|
5339
|
+
message.packageSetPackagerRequest = $root.replit.goval.api.PackageSetPackagerRequest.fromObject(object.packageSetPackagerRequest);
|
|
5340
|
+
}
|
|
5341
|
+
if (object.packageSetPackagerResp != null) {
|
|
5342
|
+
if (typeof object.packageSetPackagerResp !== "object")
|
|
5343
|
+
throw TypeError(".replit.goval.api.Command.packageSetPackagerResp: object expected");
|
|
5344
|
+
message.packageSetPackagerResp = $root.replit.goval.api.PackageSetPackagerResponse.fromObject(object.packageSetPackagerResp);
|
|
5345
|
+
}
|
|
5346
|
+
if (object.toolchainGetRequest != null) {
|
|
5347
|
+
if (typeof object.toolchainGetRequest !== "object")
|
|
5348
|
+
throw TypeError(".replit.goval.api.Command.toolchainGetRequest: object expected");
|
|
5349
|
+
message.toolchainGetRequest = $root.replit.goval.api.ToolchainGetRequest.fromObject(object.toolchainGetRequest);
|
|
5350
|
+
}
|
|
5351
|
+
if (object.toolchainGetResponse != null) {
|
|
5352
|
+
if (typeof object.toolchainGetResponse !== "object")
|
|
5353
|
+
throw TypeError(".replit.goval.api.Command.toolchainGetResponse: object expected");
|
|
5354
|
+
message.toolchainGetResponse = $root.replit.goval.api.ToolchainGetResponse.fromObject(object.toolchainGetResponse);
|
|
5355
|
+
}
|
|
5356
|
+
if (object.toolchainChanged != null) {
|
|
5357
|
+
if (typeof object.toolchainChanged !== "object")
|
|
5358
|
+
throw TypeError(".replit.goval.api.Command.toolchainChanged: object expected");
|
|
5359
|
+
message.toolchainChanged = $root.replit.goval.api.ToolchainChanged.fromObject(object.toolchainChanged);
|
|
5360
|
+
}
|
|
5100
5361
|
if (object.ref != null)
|
|
5101
5362
|
message.ref = String(object.ref);
|
|
5102
5363
|
if (object.traceInfo) {
|
|
@@ -5973,6 +6234,51 @@
|
|
|
5973
6234
|
if (options.oneofs)
|
|
5974
6235
|
object.body = "focused";
|
|
5975
6236
|
}
|
|
6237
|
+
if (message.nixModulesGetRequest != null && message.hasOwnProperty("nixModulesGetRequest")) {
|
|
6238
|
+
object.nixModulesGetRequest = $root.replit.goval.api.NixModulesGetRequest.toObject(message.nixModulesGetRequest, options);
|
|
6239
|
+
if (options.oneofs)
|
|
6240
|
+
object.body = "nixModulesGetRequest";
|
|
6241
|
+
}
|
|
6242
|
+
if (message.nixModulesGetResponse != null && message.hasOwnProperty("nixModulesGetResponse")) {
|
|
6243
|
+
object.nixModulesGetResponse = $root.replit.goval.api.NixModulesGetResponse.toObject(message.nixModulesGetResponse, options);
|
|
6244
|
+
if (options.oneofs)
|
|
6245
|
+
object.body = "nixModulesGetResponse";
|
|
6246
|
+
}
|
|
6247
|
+
if (message.nixModulesChanged != null && message.hasOwnProperty("nixModulesChanged")) {
|
|
6248
|
+
object.nixModulesChanged = $root.replit.goval.api.NixModulesChanged.toObject(message.nixModulesChanged, options);
|
|
6249
|
+
if (options.oneofs)
|
|
6250
|
+
object.body = "nixModulesChanged";
|
|
6251
|
+
}
|
|
6252
|
+
if (message.nixModulesBuildRequest != null && message.hasOwnProperty("nixModulesBuildRequest")) {
|
|
6253
|
+
object.nixModulesBuildRequest = $root.replit.goval.api.NixModulesBuildRequest.toObject(message.nixModulesBuildRequest, options);
|
|
6254
|
+
if (options.oneofs)
|
|
6255
|
+
object.body = "nixModulesBuildRequest";
|
|
6256
|
+
}
|
|
6257
|
+
if (message.packageSetPackagerRequest != null && message.hasOwnProperty("packageSetPackagerRequest")) {
|
|
6258
|
+
object.packageSetPackagerRequest = $root.replit.goval.api.PackageSetPackagerRequest.toObject(message.packageSetPackagerRequest, options);
|
|
6259
|
+
if (options.oneofs)
|
|
6260
|
+
object.body = "packageSetPackagerRequest";
|
|
6261
|
+
}
|
|
6262
|
+
if (message.packageSetPackagerResp != null && message.hasOwnProperty("packageSetPackagerResp")) {
|
|
6263
|
+
object.packageSetPackagerResp = $root.replit.goval.api.PackageSetPackagerResponse.toObject(message.packageSetPackagerResp, options);
|
|
6264
|
+
if (options.oneofs)
|
|
6265
|
+
object.body = "packageSetPackagerResp";
|
|
6266
|
+
}
|
|
6267
|
+
if (message.toolchainGetRequest != null && message.hasOwnProperty("toolchainGetRequest")) {
|
|
6268
|
+
object.toolchainGetRequest = $root.replit.goval.api.ToolchainGetRequest.toObject(message.toolchainGetRequest, options);
|
|
6269
|
+
if (options.oneofs)
|
|
6270
|
+
object.body = "toolchainGetRequest";
|
|
6271
|
+
}
|
|
6272
|
+
if (message.toolchainGetResponse != null && message.hasOwnProperty("toolchainGetResponse")) {
|
|
6273
|
+
object.toolchainGetResponse = $root.replit.goval.api.ToolchainGetResponse.toObject(message.toolchainGetResponse, options);
|
|
6274
|
+
if (options.oneofs)
|
|
6275
|
+
object.body = "toolchainGetResponse";
|
|
6276
|
+
}
|
|
6277
|
+
if (message.toolchainChanged != null && message.hasOwnProperty("toolchainChanged")) {
|
|
6278
|
+
object.toolchainChanged = $root.replit.goval.api.ToolchainChanged.toObject(message.toolchainChanged, options);
|
|
6279
|
+
if (options.oneofs)
|
|
6280
|
+
object.body = "toolchainChanged";
|
|
6281
|
+
}
|
|
5976
6282
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5977
6283
|
object.ref = message.ref;
|
|
5978
6284
|
var keys2;
|
|
@@ -8539,6 +8845,7 @@
|
|
|
8539
8845
|
* @memberof replit.goval.api
|
|
8540
8846
|
* @interface IStartLSP
|
|
8541
8847
|
* @property {string|null} [language] StartLSP language
|
|
8848
|
+
* @property {string|null} [languageServerId] StartLSP languageServerId
|
|
8542
8849
|
*/
|
|
8543
8850
|
|
|
8544
8851
|
/**
|
|
@@ -8563,6 +8870,14 @@
|
|
|
8563
8870
|
*/
|
|
8564
8871
|
StartLSP.prototype.language = "";
|
|
8565
8872
|
|
|
8873
|
+
/**
|
|
8874
|
+
* StartLSP languageServerId.
|
|
8875
|
+
* @member {string} languageServerId
|
|
8876
|
+
* @memberof replit.goval.api.StartLSP
|
|
8877
|
+
* @instance
|
|
8878
|
+
*/
|
|
8879
|
+
StartLSP.prototype.languageServerId = "";
|
|
8880
|
+
|
|
8566
8881
|
/**
|
|
8567
8882
|
* Creates a new StartLSP instance using the specified properties.
|
|
8568
8883
|
* @function create
|
|
@@ -8589,6 +8904,8 @@
|
|
|
8589
8904
|
writer = $Writer.create();
|
|
8590
8905
|
if (message.language != null && Object.hasOwnProperty.call(message, "language"))
|
|
8591
8906
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.language);
|
|
8907
|
+
if (message.languageServerId != null && Object.hasOwnProperty.call(message, "languageServerId"))
|
|
8908
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.languageServerId);
|
|
8592
8909
|
return writer;
|
|
8593
8910
|
};
|
|
8594
8911
|
|
|
@@ -8626,6 +8943,9 @@
|
|
|
8626
8943
|
case 1:
|
|
8627
8944
|
message.language = reader.string();
|
|
8628
8945
|
break;
|
|
8946
|
+
case 2:
|
|
8947
|
+
message.languageServerId = reader.string();
|
|
8948
|
+
break;
|
|
8629
8949
|
default:
|
|
8630
8950
|
reader.skipType(tag & 7);
|
|
8631
8951
|
break;
|
|
@@ -8664,6 +8984,9 @@
|
|
|
8664
8984
|
if (message.language != null && message.hasOwnProperty("language"))
|
|
8665
8985
|
if (!$util.isString(message.language))
|
|
8666
8986
|
return "language: string expected";
|
|
8987
|
+
if (message.languageServerId != null && message.hasOwnProperty("languageServerId"))
|
|
8988
|
+
if (!$util.isString(message.languageServerId))
|
|
8989
|
+
return "languageServerId: string expected";
|
|
8667
8990
|
return null;
|
|
8668
8991
|
};
|
|
8669
8992
|
|
|
@@ -8681,6 +9004,8 @@
|
|
|
8681
9004
|
var message = new $root.replit.goval.api.StartLSP();
|
|
8682
9005
|
if (object.language != null)
|
|
8683
9006
|
message.language = String(object.language);
|
|
9007
|
+
if (object.languageServerId != null)
|
|
9008
|
+
message.languageServerId = String(object.languageServerId);
|
|
8684
9009
|
return message;
|
|
8685
9010
|
};
|
|
8686
9011
|
|
|
@@ -8697,10 +9022,14 @@
|
|
|
8697
9022
|
if (!options)
|
|
8698
9023
|
options = {};
|
|
8699
9024
|
var object = {};
|
|
8700
|
-
if (options.defaults)
|
|
9025
|
+
if (options.defaults) {
|
|
8701
9026
|
object.language = "";
|
|
9027
|
+
object.languageServerId = "";
|
|
9028
|
+
}
|
|
8702
9029
|
if (message.language != null && message.hasOwnProperty("language"))
|
|
8703
9030
|
object.language = message.language;
|
|
9031
|
+
if (message.languageServerId != null && message.hasOwnProperty("languageServerId"))
|
|
9032
|
+
object.languageServerId = message.languageServerId;
|
|
8704
9033
|
return object;
|
|
8705
9034
|
};
|
|
8706
9035
|
|
|
@@ -23271,6 +23600,8 @@
|
|
|
23271
23600
|
* @interface IRunMain
|
|
23272
23601
|
* @property {replit.goval.api.RunMain.RunMode|null} [runMode] RunMain runMode
|
|
23273
23602
|
* @property {boolean|null} [idempotent] RunMain idempotent
|
|
23603
|
+
* @property {string|null} [filePath] RunMain filePath
|
|
23604
|
+
* @property {string|null} [runnerId] RunMain runnerId
|
|
23274
23605
|
*/
|
|
23275
23606
|
|
|
23276
23607
|
/**
|
|
@@ -23303,6 +23634,22 @@
|
|
|
23303
23634
|
*/
|
|
23304
23635
|
RunMain.prototype.idempotent = false;
|
|
23305
23636
|
|
|
23637
|
+
/**
|
|
23638
|
+
* RunMain filePath.
|
|
23639
|
+
* @member {string} filePath
|
|
23640
|
+
* @memberof replit.goval.api.RunMain
|
|
23641
|
+
* @instance
|
|
23642
|
+
*/
|
|
23643
|
+
RunMain.prototype.filePath = "";
|
|
23644
|
+
|
|
23645
|
+
/**
|
|
23646
|
+
* RunMain runnerId.
|
|
23647
|
+
* @member {string} runnerId
|
|
23648
|
+
* @memberof replit.goval.api.RunMain
|
|
23649
|
+
* @instance
|
|
23650
|
+
*/
|
|
23651
|
+
RunMain.prototype.runnerId = "";
|
|
23652
|
+
|
|
23306
23653
|
/**
|
|
23307
23654
|
* Creates a new RunMain instance using the specified properties.
|
|
23308
23655
|
* @function create
|
|
@@ -23331,6 +23678,10 @@
|
|
|
23331
23678
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.runMode);
|
|
23332
23679
|
if (message.idempotent != null && Object.hasOwnProperty.call(message, "idempotent"))
|
|
23333
23680
|
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.idempotent);
|
|
23681
|
+
if (message.filePath != null && Object.hasOwnProperty.call(message, "filePath"))
|
|
23682
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.filePath);
|
|
23683
|
+
if (message.runnerId != null && Object.hasOwnProperty.call(message, "runnerId"))
|
|
23684
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.runnerId);
|
|
23334
23685
|
return writer;
|
|
23335
23686
|
};
|
|
23336
23687
|
|
|
@@ -23371,6 +23722,12 @@
|
|
|
23371
23722
|
case 2:
|
|
23372
23723
|
message.idempotent = reader.bool();
|
|
23373
23724
|
break;
|
|
23725
|
+
case 3:
|
|
23726
|
+
message.filePath = reader.string();
|
|
23727
|
+
break;
|
|
23728
|
+
case 4:
|
|
23729
|
+
message.runnerId = reader.string();
|
|
23730
|
+
break;
|
|
23374
23731
|
default:
|
|
23375
23732
|
reader.skipType(tag & 7);
|
|
23376
23733
|
break;
|
|
@@ -23417,6 +23774,12 @@
|
|
|
23417
23774
|
if (message.idempotent != null && message.hasOwnProperty("idempotent"))
|
|
23418
23775
|
if (typeof message.idempotent !== "boolean")
|
|
23419
23776
|
return "idempotent: boolean expected";
|
|
23777
|
+
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
23778
|
+
if (!$util.isString(message.filePath))
|
|
23779
|
+
return "filePath: string expected";
|
|
23780
|
+
if (message.runnerId != null && message.hasOwnProperty("runnerId"))
|
|
23781
|
+
if (!$util.isString(message.runnerId))
|
|
23782
|
+
return "runnerId: string expected";
|
|
23420
23783
|
return null;
|
|
23421
23784
|
};
|
|
23422
23785
|
|
|
@@ -23444,6 +23807,10 @@
|
|
|
23444
23807
|
}
|
|
23445
23808
|
if (object.idempotent != null)
|
|
23446
23809
|
message.idempotent = Boolean(object.idempotent);
|
|
23810
|
+
if (object.filePath != null)
|
|
23811
|
+
message.filePath = String(object.filePath);
|
|
23812
|
+
if (object.runnerId != null)
|
|
23813
|
+
message.runnerId = String(object.runnerId);
|
|
23447
23814
|
return message;
|
|
23448
23815
|
};
|
|
23449
23816
|
|
|
@@ -23463,11 +23830,17 @@
|
|
|
23463
23830
|
if (options.defaults) {
|
|
23464
23831
|
object.runMode = options.enums === String ? "RUN" : 0;
|
|
23465
23832
|
object.idempotent = false;
|
|
23833
|
+
object.filePath = "";
|
|
23834
|
+
object.runnerId = "";
|
|
23466
23835
|
}
|
|
23467
23836
|
if (message.runMode != null && message.hasOwnProperty("runMode"))
|
|
23468
23837
|
object.runMode = options.enums === String ? $root.replit.goval.api.RunMain.RunMode[message.runMode] : message.runMode;
|
|
23469
23838
|
if (message.idempotent != null && message.hasOwnProperty("idempotent"))
|
|
23470
23839
|
object.idempotent = message.idempotent;
|
|
23840
|
+
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
23841
|
+
object.filePath = message.filePath;
|
|
23842
|
+
if (message.runnerId != null && message.hasOwnProperty("runnerId"))
|
|
23843
|
+
object.runnerId = message.runnerId;
|
|
23471
23844
|
return object;
|
|
23472
23845
|
};
|
|
23473
23846
|
|
|
@@ -31389,6 +31762,378 @@
|
|
|
31389
31762
|
return Package;
|
|
31390
31763
|
})();
|
|
31391
31764
|
|
|
31765
|
+
api.PackageSetPackagerRequest = (function() {
|
|
31766
|
+
|
|
31767
|
+
/**
|
|
31768
|
+
* Properties of a PackageSetPackagerRequest.
|
|
31769
|
+
* @memberof replit.goval.api
|
|
31770
|
+
* @interface IPackageSetPackagerRequest
|
|
31771
|
+
* @property {string|null} [packagerId] PackageSetPackagerRequest packagerId
|
|
31772
|
+
*/
|
|
31773
|
+
|
|
31774
|
+
/**
|
|
31775
|
+
* Constructs a new PackageSetPackagerRequest.
|
|
31776
|
+
* @memberof replit.goval.api
|
|
31777
|
+
* @classdesc Represents a PackageSetPackagerRequest.
|
|
31778
|
+
* @constructor
|
|
31779
|
+
* @param {replit.goval.api.IPackageSetPackagerRequest=} [properties] Properties to set
|
|
31780
|
+
*/
|
|
31781
|
+
function PackageSetPackagerRequest(properties) {
|
|
31782
|
+
if (properties)
|
|
31783
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
31784
|
+
if (properties[keys[i]] != null)
|
|
31785
|
+
this[keys[i]] = properties[keys[i]];
|
|
31786
|
+
}
|
|
31787
|
+
|
|
31788
|
+
/**
|
|
31789
|
+
* PackageSetPackagerRequest packagerId.
|
|
31790
|
+
* @member {string} packagerId
|
|
31791
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31792
|
+
* @instance
|
|
31793
|
+
*/
|
|
31794
|
+
PackageSetPackagerRequest.prototype.packagerId = "";
|
|
31795
|
+
|
|
31796
|
+
/**
|
|
31797
|
+
* Creates a new PackageSetPackagerRequest instance using the specified properties.
|
|
31798
|
+
* @function create
|
|
31799
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31800
|
+
* @static
|
|
31801
|
+
* @param {replit.goval.api.IPackageSetPackagerRequest=} [properties] Properties to set
|
|
31802
|
+
* @returns {replit.goval.api.PackageSetPackagerRequest} PackageSetPackagerRequest instance
|
|
31803
|
+
*/
|
|
31804
|
+
PackageSetPackagerRequest.create = function create(properties) {
|
|
31805
|
+
return PackageSetPackagerRequest.fromObject(properties);
|
|
31806
|
+
};
|
|
31807
|
+
|
|
31808
|
+
/**
|
|
31809
|
+
* Encodes the specified PackageSetPackagerRequest message. Does not implicitly {@link replit.goval.api.PackageSetPackagerRequest.verify|verify} messages.
|
|
31810
|
+
* @function encode
|
|
31811
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31812
|
+
* @static
|
|
31813
|
+
* @param {replit.goval.api.PackageSetPackagerRequest} message PackageSetPackagerRequest message or plain object to encode
|
|
31814
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
31815
|
+
* @returns {$protobuf.Writer} Writer
|
|
31816
|
+
*/
|
|
31817
|
+
PackageSetPackagerRequest.encode = function encode(message, writer) {
|
|
31818
|
+
if (!writer)
|
|
31819
|
+
writer = $Writer.create();
|
|
31820
|
+
if (message.packagerId != null && Object.hasOwnProperty.call(message, "packagerId"))
|
|
31821
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.packagerId);
|
|
31822
|
+
return writer;
|
|
31823
|
+
};
|
|
31824
|
+
|
|
31825
|
+
/**
|
|
31826
|
+
* Encodes the specified PackageSetPackagerRequest message, length delimited. Does not implicitly {@link replit.goval.api.PackageSetPackagerRequest.verify|verify} messages.
|
|
31827
|
+
* @function encodeDelimited
|
|
31828
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31829
|
+
* @static
|
|
31830
|
+
* @param {replit.goval.api.PackageSetPackagerRequest} message PackageSetPackagerRequest message or plain object to encode
|
|
31831
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
31832
|
+
* @returns {$protobuf.Writer} Writer
|
|
31833
|
+
*/
|
|
31834
|
+
PackageSetPackagerRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
31835
|
+
return this.encode(message, writer).ldelim();
|
|
31836
|
+
};
|
|
31837
|
+
|
|
31838
|
+
/**
|
|
31839
|
+
* Decodes a PackageSetPackagerRequest message from the specified reader or buffer.
|
|
31840
|
+
* @function decode
|
|
31841
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31842
|
+
* @static
|
|
31843
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
31844
|
+
* @param {number} [length] Message length if known beforehand
|
|
31845
|
+
* @returns {replit.goval.api.PackageSetPackagerRequest} PackageSetPackagerRequest
|
|
31846
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31847
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31848
|
+
*/
|
|
31849
|
+
PackageSetPackagerRequest.decode = function decode(reader, length) {
|
|
31850
|
+
if (!(reader instanceof $Reader))
|
|
31851
|
+
reader = $Reader.create(reader);
|
|
31852
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.PackageSetPackagerRequest();
|
|
31853
|
+
while (reader.pos < end) {
|
|
31854
|
+
var tag = reader.uint32();
|
|
31855
|
+
switch (tag >>> 3) {
|
|
31856
|
+
case 1:
|
|
31857
|
+
message.packagerId = reader.string();
|
|
31858
|
+
break;
|
|
31859
|
+
default:
|
|
31860
|
+
reader.skipType(tag & 7);
|
|
31861
|
+
break;
|
|
31862
|
+
}
|
|
31863
|
+
}
|
|
31864
|
+
return message;
|
|
31865
|
+
};
|
|
31866
|
+
|
|
31867
|
+
/**
|
|
31868
|
+
* Decodes a PackageSetPackagerRequest message from the specified reader or buffer, length delimited.
|
|
31869
|
+
* @function decodeDelimited
|
|
31870
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31871
|
+
* @static
|
|
31872
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
31873
|
+
* @returns {replit.goval.api.PackageSetPackagerRequest} PackageSetPackagerRequest
|
|
31874
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31875
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31876
|
+
*/
|
|
31877
|
+
PackageSetPackagerRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
31878
|
+
if (!(reader instanceof $Reader))
|
|
31879
|
+
reader = new $Reader(reader);
|
|
31880
|
+
return this.decode(reader, reader.uint32());
|
|
31881
|
+
};
|
|
31882
|
+
|
|
31883
|
+
/**
|
|
31884
|
+
* Verifies a PackageSetPackagerRequest message.
|
|
31885
|
+
* @function verify
|
|
31886
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31887
|
+
* @static
|
|
31888
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
31889
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
31890
|
+
*/
|
|
31891
|
+
PackageSetPackagerRequest.verify = function verify(message) {
|
|
31892
|
+
if (typeof message !== "object" || message === null)
|
|
31893
|
+
return "object expected";
|
|
31894
|
+
if (message.packagerId != null && message.hasOwnProperty("packagerId"))
|
|
31895
|
+
if (!$util.isString(message.packagerId))
|
|
31896
|
+
return "packagerId: string expected";
|
|
31897
|
+
return null;
|
|
31898
|
+
};
|
|
31899
|
+
|
|
31900
|
+
/**
|
|
31901
|
+
* Creates a PackageSetPackagerRequest message from a plain object. Also converts values to their respective internal types.
|
|
31902
|
+
* @function fromObject
|
|
31903
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31904
|
+
* @static
|
|
31905
|
+
* @param {Object.<string,*>} object Plain object
|
|
31906
|
+
* @returns {replit.goval.api.PackageSetPackagerRequest} PackageSetPackagerRequest
|
|
31907
|
+
*/
|
|
31908
|
+
PackageSetPackagerRequest.fromObject = function fromObject(object) {
|
|
31909
|
+
if (object instanceof $root.replit.goval.api.PackageSetPackagerRequest)
|
|
31910
|
+
return object;
|
|
31911
|
+
var message = new $root.replit.goval.api.PackageSetPackagerRequest();
|
|
31912
|
+
if (object.packagerId != null)
|
|
31913
|
+
message.packagerId = String(object.packagerId);
|
|
31914
|
+
return message;
|
|
31915
|
+
};
|
|
31916
|
+
|
|
31917
|
+
/**
|
|
31918
|
+
* Creates a plain object from a PackageSetPackagerRequest message. Also converts values to other types if specified.
|
|
31919
|
+
* @function toObject
|
|
31920
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31921
|
+
* @static
|
|
31922
|
+
* @param {replit.goval.api.PackageSetPackagerRequest} message PackageSetPackagerRequest
|
|
31923
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
31924
|
+
* @returns {Object.<string,*>} Plain object
|
|
31925
|
+
*/
|
|
31926
|
+
PackageSetPackagerRequest.toObject = function toObject(message, options) {
|
|
31927
|
+
if (!options)
|
|
31928
|
+
options = {};
|
|
31929
|
+
var object = {};
|
|
31930
|
+
if (options.defaults)
|
|
31931
|
+
object.packagerId = "";
|
|
31932
|
+
if (message.packagerId != null && message.hasOwnProperty("packagerId"))
|
|
31933
|
+
object.packagerId = message.packagerId;
|
|
31934
|
+
return object;
|
|
31935
|
+
};
|
|
31936
|
+
|
|
31937
|
+
/**
|
|
31938
|
+
* Converts this PackageSetPackagerRequest to JSON.
|
|
31939
|
+
* @function toJSON
|
|
31940
|
+
* @memberof replit.goval.api.PackageSetPackagerRequest
|
|
31941
|
+
* @instance
|
|
31942
|
+
* @returns {Object.<string,*>} JSON object
|
|
31943
|
+
*/
|
|
31944
|
+
PackageSetPackagerRequest.prototype.toJSON = function toJSON() {
|
|
31945
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
31946
|
+
};
|
|
31947
|
+
|
|
31948
|
+
return PackageSetPackagerRequest;
|
|
31949
|
+
})();
|
|
31950
|
+
|
|
31951
|
+
api.PackageSetPackagerResponse = (function() {
|
|
31952
|
+
|
|
31953
|
+
/**
|
|
31954
|
+
* Properties of a PackageSetPackagerResponse.
|
|
31955
|
+
* @memberof replit.goval.api
|
|
31956
|
+
* @interface IPackageSetPackagerResponse
|
|
31957
|
+
* @property {string|null} [packagerId] PackageSetPackagerResponse packagerId
|
|
31958
|
+
*/
|
|
31959
|
+
|
|
31960
|
+
/**
|
|
31961
|
+
* Constructs a new PackageSetPackagerResponse.
|
|
31962
|
+
* @memberof replit.goval.api
|
|
31963
|
+
* @classdesc Represents a PackageSetPackagerResponse.
|
|
31964
|
+
* @constructor
|
|
31965
|
+
* @param {replit.goval.api.IPackageSetPackagerResponse=} [properties] Properties to set
|
|
31966
|
+
*/
|
|
31967
|
+
function PackageSetPackagerResponse(properties) {
|
|
31968
|
+
if (properties)
|
|
31969
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
31970
|
+
if (properties[keys[i]] != null)
|
|
31971
|
+
this[keys[i]] = properties[keys[i]];
|
|
31972
|
+
}
|
|
31973
|
+
|
|
31974
|
+
/**
|
|
31975
|
+
* PackageSetPackagerResponse packagerId.
|
|
31976
|
+
* @member {string} packagerId
|
|
31977
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
31978
|
+
* @instance
|
|
31979
|
+
*/
|
|
31980
|
+
PackageSetPackagerResponse.prototype.packagerId = "";
|
|
31981
|
+
|
|
31982
|
+
/**
|
|
31983
|
+
* Creates a new PackageSetPackagerResponse instance using the specified properties.
|
|
31984
|
+
* @function create
|
|
31985
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
31986
|
+
* @static
|
|
31987
|
+
* @param {replit.goval.api.IPackageSetPackagerResponse=} [properties] Properties to set
|
|
31988
|
+
* @returns {replit.goval.api.PackageSetPackagerResponse} PackageSetPackagerResponse instance
|
|
31989
|
+
*/
|
|
31990
|
+
PackageSetPackagerResponse.create = function create(properties) {
|
|
31991
|
+
return PackageSetPackagerResponse.fromObject(properties);
|
|
31992
|
+
};
|
|
31993
|
+
|
|
31994
|
+
/**
|
|
31995
|
+
* Encodes the specified PackageSetPackagerResponse message. Does not implicitly {@link replit.goval.api.PackageSetPackagerResponse.verify|verify} messages.
|
|
31996
|
+
* @function encode
|
|
31997
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
31998
|
+
* @static
|
|
31999
|
+
* @param {replit.goval.api.PackageSetPackagerResponse} message PackageSetPackagerResponse message or plain object to encode
|
|
32000
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32001
|
+
* @returns {$protobuf.Writer} Writer
|
|
32002
|
+
*/
|
|
32003
|
+
PackageSetPackagerResponse.encode = function encode(message, writer) {
|
|
32004
|
+
if (!writer)
|
|
32005
|
+
writer = $Writer.create();
|
|
32006
|
+
if (message.packagerId != null && Object.hasOwnProperty.call(message, "packagerId"))
|
|
32007
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.packagerId);
|
|
32008
|
+
return writer;
|
|
32009
|
+
};
|
|
32010
|
+
|
|
32011
|
+
/**
|
|
32012
|
+
* Encodes the specified PackageSetPackagerResponse message, length delimited. Does not implicitly {@link replit.goval.api.PackageSetPackagerResponse.verify|verify} messages.
|
|
32013
|
+
* @function encodeDelimited
|
|
32014
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
32015
|
+
* @static
|
|
32016
|
+
* @param {replit.goval.api.PackageSetPackagerResponse} message PackageSetPackagerResponse message or plain object to encode
|
|
32017
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32018
|
+
* @returns {$protobuf.Writer} Writer
|
|
32019
|
+
*/
|
|
32020
|
+
PackageSetPackagerResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
32021
|
+
return this.encode(message, writer).ldelim();
|
|
32022
|
+
};
|
|
32023
|
+
|
|
32024
|
+
/**
|
|
32025
|
+
* Decodes a PackageSetPackagerResponse message from the specified reader or buffer.
|
|
32026
|
+
* @function decode
|
|
32027
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
32028
|
+
* @static
|
|
32029
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32030
|
+
* @param {number} [length] Message length if known beforehand
|
|
32031
|
+
* @returns {replit.goval.api.PackageSetPackagerResponse} PackageSetPackagerResponse
|
|
32032
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32033
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32034
|
+
*/
|
|
32035
|
+
PackageSetPackagerResponse.decode = function decode(reader, length) {
|
|
32036
|
+
if (!(reader instanceof $Reader))
|
|
32037
|
+
reader = $Reader.create(reader);
|
|
32038
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.PackageSetPackagerResponse();
|
|
32039
|
+
while (reader.pos < end) {
|
|
32040
|
+
var tag = reader.uint32();
|
|
32041
|
+
switch (tag >>> 3) {
|
|
32042
|
+
case 1:
|
|
32043
|
+
message.packagerId = reader.string();
|
|
32044
|
+
break;
|
|
32045
|
+
default:
|
|
32046
|
+
reader.skipType(tag & 7);
|
|
32047
|
+
break;
|
|
32048
|
+
}
|
|
32049
|
+
}
|
|
32050
|
+
return message;
|
|
32051
|
+
};
|
|
32052
|
+
|
|
32053
|
+
/**
|
|
32054
|
+
* Decodes a PackageSetPackagerResponse message from the specified reader or buffer, length delimited.
|
|
32055
|
+
* @function decodeDelimited
|
|
32056
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
32057
|
+
* @static
|
|
32058
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32059
|
+
* @returns {replit.goval.api.PackageSetPackagerResponse} PackageSetPackagerResponse
|
|
32060
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32061
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32062
|
+
*/
|
|
32063
|
+
PackageSetPackagerResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
32064
|
+
if (!(reader instanceof $Reader))
|
|
32065
|
+
reader = new $Reader(reader);
|
|
32066
|
+
return this.decode(reader, reader.uint32());
|
|
32067
|
+
};
|
|
32068
|
+
|
|
32069
|
+
/**
|
|
32070
|
+
* Verifies a PackageSetPackagerResponse message.
|
|
32071
|
+
* @function verify
|
|
32072
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
32073
|
+
* @static
|
|
32074
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
32075
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
32076
|
+
*/
|
|
32077
|
+
PackageSetPackagerResponse.verify = function verify(message) {
|
|
32078
|
+
if (typeof message !== "object" || message === null)
|
|
32079
|
+
return "object expected";
|
|
32080
|
+
if (message.packagerId != null && message.hasOwnProperty("packagerId"))
|
|
32081
|
+
if (!$util.isString(message.packagerId))
|
|
32082
|
+
return "packagerId: string expected";
|
|
32083
|
+
return null;
|
|
32084
|
+
};
|
|
32085
|
+
|
|
32086
|
+
/**
|
|
32087
|
+
* Creates a PackageSetPackagerResponse message from a plain object. Also converts values to their respective internal types.
|
|
32088
|
+
* @function fromObject
|
|
32089
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
32090
|
+
* @static
|
|
32091
|
+
* @param {Object.<string,*>} object Plain object
|
|
32092
|
+
* @returns {replit.goval.api.PackageSetPackagerResponse} PackageSetPackagerResponse
|
|
32093
|
+
*/
|
|
32094
|
+
PackageSetPackagerResponse.fromObject = function fromObject(object) {
|
|
32095
|
+
if (object instanceof $root.replit.goval.api.PackageSetPackagerResponse)
|
|
32096
|
+
return object;
|
|
32097
|
+
var message = new $root.replit.goval.api.PackageSetPackagerResponse();
|
|
32098
|
+
if (object.packagerId != null)
|
|
32099
|
+
message.packagerId = String(object.packagerId);
|
|
32100
|
+
return message;
|
|
32101
|
+
};
|
|
32102
|
+
|
|
32103
|
+
/**
|
|
32104
|
+
* Creates a plain object from a PackageSetPackagerResponse message. Also converts values to other types if specified.
|
|
32105
|
+
* @function toObject
|
|
32106
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
32107
|
+
* @static
|
|
32108
|
+
* @param {replit.goval.api.PackageSetPackagerResponse} message PackageSetPackagerResponse
|
|
32109
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
32110
|
+
* @returns {Object.<string,*>} Plain object
|
|
32111
|
+
*/
|
|
32112
|
+
PackageSetPackagerResponse.toObject = function toObject(message, options) {
|
|
32113
|
+
if (!options)
|
|
32114
|
+
options = {};
|
|
32115
|
+
var object = {};
|
|
32116
|
+
if (options.defaults)
|
|
32117
|
+
object.packagerId = "";
|
|
32118
|
+
if (message.packagerId != null && message.hasOwnProperty("packagerId"))
|
|
32119
|
+
object.packagerId = message.packagerId;
|
|
32120
|
+
return object;
|
|
32121
|
+
};
|
|
32122
|
+
|
|
32123
|
+
/**
|
|
32124
|
+
* Converts this PackageSetPackagerResponse to JSON.
|
|
32125
|
+
* @function toJSON
|
|
32126
|
+
* @memberof replit.goval.api.PackageSetPackagerResponse
|
|
32127
|
+
* @instance
|
|
32128
|
+
* @returns {Object.<string,*>} JSON object
|
|
32129
|
+
*/
|
|
32130
|
+
PackageSetPackagerResponse.prototype.toJSON = function toJSON() {
|
|
32131
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
32132
|
+
};
|
|
32133
|
+
|
|
32134
|
+
return PackageSetPackagerResponse;
|
|
32135
|
+
})();
|
|
32136
|
+
|
|
31392
32137
|
api.PackageSearch = (function() {
|
|
31393
32138
|
|
|
31394
32139
|
/**
|
|
@@ -35449,6 +36194,8 @@
|
|
|
35449
36194
|
* @interface IDebugMain
|
|
35450
36195
|
* @property {string|null} [session] DebugMain session
|
|
35451
36196
|
* @property {boolean|null} [readOnly] DebugMain readOnly
|
|
36197
|
+
* @property {string|null} [filePath] DebugMain filePath
|
|
36198
|
+
* @property {string|null} [debuggerId] DebugMain debuggerId
|
|
35452
36199
|
*/
|
|
35453
36200
|
|
|
35454
36201
|
/**
|
|
@@ -35481,6 +36228,22 @@
|
|
|
35481
36228
|
*/
|
|
35482
36229
|
DebugMain.prototype.readOnly = false;
|
|
35483
36230
|
|
|
36231
|
+
/**
|
|
36232
|
+
* DebugMain filePath.
|
|
36233
|
+
* @member {string} filePath
|
|
36234
|
+
* @memberof replit.goval.api.DebugMain
|
|
36235
|
+
* @instance
|
|
36236
|
+
*/
|
|
36237
|
+
DebugMain.prototype.filePath = "";
|
|
36238
|
+
|
|
36239
|
+
/**
|
|
36240
|
+
* DebugMain debuggerId.
|
|
36241
|
+
* @member {string} debuggerId
|
|
36242
|
+
* @memberof replit.goval.api.DebugMain
|
|
36243
|
+
* @instance
|
|
36244
|
+
*/
|
|
36245
|
+
DebugMain.prototype.debuggerId = "";
|
|
36246
|
+
|
|
35484
36247
|
/**
|
|
35485
36248
|
* Creates a new DebugMain instance using the specified properties.
|
|
35486
36249
|
* @function create
|
|
@@ -35509,6 +36272,10 @@
|
|
|
35509
36272
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.session);
|
|
35510
36273
|
if (message.readOnly != null && Object.hasOwnProperty.call(message, "readOnly"))
|
|
35511
36274
|
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.readOnly);
|
|
36275
|
+
if (message.filePath != null && Object.hasOwnProperty.call(message, "filePath"))
|
|
36276
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.filePath);
|
|
36277
|
+
if (message.debuggerId != null && Object.hasOwnProperty.call(message, "debuggerId"))
|
|
36278
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.debuggerId);
|
|
35512
36279
|
return writer;
|
|
35513
36280
|
};
|
|
35514
36281
|
|
|
@@ -35549,6 +36316,12 @@
|
|
|
35549
36316
|
case 2:
|
|
35550
36317
|
message.readOnly = reader.bool();
|
|
35551
36318
|
break;
|
|
36319
|
+
case 3:
|
|
36320
|
+
message.filePath = reader.string();
|
|
36321
|
+
break;
|
|
36322
|
+
case 5:
|
|
36323
|
+
message.debuggerId = reader.string();
|
|
36324
|
+
break;
|
|
35552
36325
|
default:
|
|
35553
36326
|
reader.skipType(tag & 7);
|
|
35554
36327
|
break;
|
|
@@ -35590,6 +36363,12 @@
|
|
|
35590
36363
|
if (message.readOnly != null && message.hasOwnProperty("readOnly"))
|
|
35591
36364
|
if (typeof message.readOnly !== "boolean")
|
|
35592
36365
|
return "readOnly: boolean expected";
|
|
36366
|
+
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
36367
|
+
if (!$util.isString(message.filePath))
|
|
36368
|
+
return "filePath: string expected";
|
|
36369
|
+
if (message.debuggerId != null && message.hasOwnProperty("debuggerId"))
|
|
36370
|
+
if (!$util.isString(message.debuggerId))
|
|
36371
|
+
return "debuggerId: string expected";
|
|
35593
36372
|
return null;
|
|
35594
36373
|
};
|
|
35595
36374
|
|
|
@@ -35609,6 +36388,10 @@
|
|
|
35609
36388
|
message.session = String(object.session);
|
|
35610
36389
|
if (object.readOnly != null)
|
|
35611
36390
|
message.readOnly = Boolean(object.readOnly);
|
|
36391
|
+
if (object.filePath != null)
|
|
36392
|
+
message.filePath = String(object.filePath);
|
|
36393
|
+
if (object.debuggerId != null)
|
|
36394
|
+
message.debuggerId = String(object.debuggerId);
|
|
35612
36395
|
return message;
|
|
35613
36396
|
};
|
|
35614
36397
|
|
|
@@ -35628,11 +36411,17 @@
|
|
|
35628
36411
|
if (options.defaults) {
|
|
35629
36412
|
object.session = "";
|
|
35630
36413
|
object.readOnly = false;
|
|
36414
|
+
object.filePath = "";
|
|
36415
|
+
object.debuggerId = "";
|
|
35631
36416
|
}
|
|
35632
36417
|
if (message.session != null && message.hasOwnProperty("session"))
|
|
35633
36418
|
object.session = message.session;
|
|
35634
36419
|
if (message.readOnly != null && message.hasOwnProperty("readOnly"))
|
|
35635
36420
|
object.readOnly = message.readOnly;
|
|
36421
|
+
if (message.filePath != null && message.hasOwnProperty("filePath"))
|
|
36422
|
+
object.filePath = message.filePath;
|
|
36423
|
+
if (message.debuggerId != null && message.hasOwnProperty("debuggerId"))
|
|
36424
|
+
object.debuggerId = message.debuggerId;
|
|
35636
36425
|
return object;
|
|
35637
36426
|
};
|
|
35638
36427
|
|
|
@@ -40057,6 +40846,7 @@
|
|
|
40057
40846
|
* @property {Array.<replit.goval.api.DotReplitEnvVar|replit.goval.api.IDotReplitEnvVar>|null} [orderedEnv] DotReplit orderedEnv
|
|
40058
40847
|
* @property {Array.<string>|null} [refreshWebViewOnFileChange] DotReplit refreshWebViewOnFileChange
|
|
40059
40848
|
* @property {replit.goval.api.DeploymentConfig|replit.goval.api.IDeploymentConfig|null} [deployment] DotReplit deployment
|
|
40849
|
+
* @property {Array.<string>|null} [modules] DotReplit modules
|
|
40060
40850
|
*/
|
|
40061
40851
|
|
|
40062
40852
|
/**
|
|
@@ -40074,6 +40864,7 @@
|
|
|
40074
40864
|
this.ports = [];
|
|
40075
40865
|
this.orderedEnv = [];
|
|
40076
40866
|
this.refreshWebViewOnFileChange = [];
|
|
40867
|
+
this.modules = [];
|
|
40077
40868
|
if (properties)
|
|
40078
40869
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
40079
40870
|
if (properties[keys[i]] != null)
|
|
@@ -40256,6 +41047,14 @@
|
|
|
40256
41047
|
*/
|
|
40257
41048
|
DotReplit.prototype.deployment = null;
|
|
40258
41049
|
|
|
41050
|
+
/**
|
|
41051
|
+
* DotReplit modules.
|
|
41052
|
+
* @member {Array.<string>} modules
|
|
41053
|
+
* @memberof replit.goval.api.DotReplit
|
|
41054
|
+
* @instance
|
|
41055
|
+
*/
|
|
41056
|
+
DotReplit.prototype.modules = $util.emptyArray;
|
|
41057
|
+
|
|
40259
41058
|
/**
|
|
40260
41059
|
* Creates a new DotReplit instance using the specified properties.
|
|
40261
41060
|
* @function create
|
|
@@ -40333,6 +41132,9 @@
|
|
|
40333
41132
|
writer.uint32(/* id 21, wireType 2 =*/170).string(message.refreshWebViewOnFileChange[i]);
|
|
40334
41133
|
if (message.deployment != null && Object.hasOwnProperty.call(message, "deployment"))
|
|
40335
41134
|
$root.replit.goval.api.DeploymentConfig.encode(message.deployment, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
41135
|
+
if (message.modules != null && message.modules.length)
|
|
41136
|
+
for (var i = 0; i < message.modules.length; ++i)
|
|
41137
|
+
writer.uint32(/* id 23, wireType 2 =*/186).string(message.modules[i]);
|
|
40336
41138
|
return writer;
|
|
40337
41139
|
};
|
|
40338
41140
|
|
|
@@ -40481,6 +41283,11 @@
|
|
|
40481
41283
|
case 22:
|
|
40482
41284
|
message.deployment = $root.replit.goval.api.DeploymentConfig.decode(reader, reader.uint32());
|
|
40483
41285
|
break;
|
|
41286
|
+
case 23:
|
|
41287
|
+
if (!(message.modules && message.modules.length))
|
|
41288
|
+
message.modules = [];
|
|
41289
|
+
message.modules.push(reader.string());
|
|
41290
|
+
break;
|
|
40484
41291
|
default:
|
|
40485
41292
|
reader.skipType(tag & 7);
|
|
40486
41293
|
break;
|
|
@@ -40644,6 +41451,13 @@
|
|
|
40644
41451
|
if (error)
|
|
40645
41452
|
return "deployment." + error;
|
|
40646
41453
|
}
|
|
41454
|
+
if (message.modules != null && message.hasOwnProperty("modules")) {
|
|
41455
|
+
if (!Array.isArray(message.modules))
|
|
41456
|
+
return "modules: array expected";
|
|
41457
|
+
for (var i = 0; i < message.modules.length; ++i)
|
|
41458
|
+
if (!$util.isString(message.modules[i]))
|
|
41459
|
+
return "modules: string[] expected";
|
|
41460
|
+
}
|
|
40647
41461
|
return null;
|
|
40648
41462
|
};
|
|
40649
41463
|
|
|
@@ -40786,6 +41600,13 @@
|
|
|
40786
41600
|
throw TypeError(".replit.goval.api.DotReplit.deployment: object expected");
|
|
40787
41601
|
message.deployment = $root.replit.goval.api.DeploymentConfig.fromObject(object.deployment);
|
|
40788
41602
|
}
|
|
41603
|
+
if (object.modules) {
|
|
41604
|
+
if (!Array.isArray(object.modules))
|
|
41605
|
+
throw TypeError(".replit.goval.api.DotReplit.modules: array expected");
|
|
41606
|
+
message.modules = [];
|
|
41607
|
+
for (var i = 0; i < object.modules.length; ++i)
|
|
41608
|
+
message.modules[i] = String(object.modules[i]);
|
|
41609
|
+
}
|
|
40789
41610
|
return message;
|
|
40790
41611
|
};
|
|
40791
41612
|
|
|
@@ -40808,6 +41629,7 @@
|
|
|
40808
41629
|
object.ports = [];
|
|
40809
41630
|
object.orderedEnv = [];
|
|
40810
41631
|
object.refreshWebViewOnFileChange = [];
|
|
41632
|
+
object.modules = [];
|
|
40811
41633
|
}
|
|
40812
41634
|
if (options.objects || options.defaults) {
|
|
40813
41635
|
object.languages = {};
|
|
@@ -40896,6 +41718,11 @@
|
|
|
40896
41718
|
}
|
|
40897
41719
|
if (message.deployment != null && message.hasOwnProperty("deployment"))
|
|
40898
41720
|
object.deployment = $root.replit.goval.api.DeploymentConfig.toObject(message.deployment, options);
|
|
41721
|
+
if (message.modules && message.modules.length) {
|
|
41722
|
+
object.modules = [];
|
|
41723
|
+
for (var j = 0; j < message.modules.length; ++j)
|
|
41724
|
+
object.modules[j] = message.modules[j];
|
|
41725
|
+
}
|
|
40899
41726
|
return object;
|
|
40900
41727
|
};
|
|
40901
41728
|
|
|
@@ -46360,6 +47187,3379 @@
|
|
|
46360
47187
|
return UserEvent;
|
|
46361
47188
|
})();
|
|
46362
47189
|
|
|
47190
|
+
api.NixModulesGetRequest = (function() {
|
|
47191
|
+
|
|
47192
|
+
/**
|
|
47193
|
+
* Properties of a NixModulesGetRequest.
|
|
47194
|
+
* @memberof replit.goval.api
|
|
47195
|
+
* @interface INixModulesGetRequest
|
|
47196
|
+
*/
|
|
47197
|
+
|
|
47198
|
+
/**
|
|
47199
|
+
* Constructs a new NixModulesGetRequest.
|
|
47200
|
+
* @memberof replit.goval.api
|
|
47201
|
+
* @classdesc Represents a NixModulesGetRequest.
|
|
47202
|
+
* @constructor
|
|
47203
|
+
* @param {replit.goval.api.INixModulesGetRequest=} [properties] Properties to set
|
|
47204
|
+
*/
|
|
47205
|
+
function NixModulesGetRequest(properties) {
|
|
47206
|
+
if (properties)
|
|
47207
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
47208
|
+
if (properties[keys[i]] != null)
|
|
47209
|
+
this[keys[i]] = properties[keys[i]];
|
|
47210
|
+
}
|
|
47211
|
+
|
|
47212
|
+
/**
|
|
47213
|
+
* Creates a new NixModulesGetRequest instance using the specified properties.
|
|
47214
|
+
* @function create
|
|
47215
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47216
|
+
* @static
|
|
47217
|
+
* @param {replit.goval.api.INixModulesGetRequest=} [properties] Properties to set
|
|
47218
|
+
* @returns {replit.goval.api.NixModulesGetRequest} NixModulesGetRequest instance
|
|
47219
|
+
*/
|
|
47220
|
+
NixModulesGetRequest.create = function create(properties) {
|
|
47221
|
+
return NixModulesGetRequest.fromObject(properties);
|
|
47222
|
+
};
|
|
47223
|
+
|
|
47224
|
+
/**
|
|
47225
|
+
* Encodes the specified NixModulesGetRequest message. Does not implicitly {@link replit.goval.api.NixModulesGetRequest.verify|verify} messages.
|
|
47226
|
+
* @function encode
|
|
47227
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47228
|
+
* @static
|
|
47229
|
+
* @param {replit.goval.api.NixModulesGetRequest} message NixModulesGetRequest message or plain object to encode
|
|
47230
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47231
|
+
* @returns {$protobuf.Writer} Writer
|
|
47232
|
+
*/
|
|
47233
|
+
NixModulesGetRequest.encode = function encode(message, writer) {
|
|
47234
|
+
if (!writer)
|
|
47235
|
+
writer = $Writer.create();
|
|
47236
|
+
return writer;
|
|
47237
|
+
};
|
|
47238
|
+
|
|
47239
|
+
/**
|
|
47240
|
+
* Encodes the specified NixModulesGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.NixModulesGetRequest.verify|verify} messages.
|
|
47241
|
+
* @function encodeDelimited
|
|
47242
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47243
|
+
* @static
|
|
47244
|
+
* @param {replit.goval.api.NixModulesGetRequest} message NixModulesGetRequest message or plain object to encode
|
|
47245
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47246
|
+
* @returns {$protobuf.Writer} Writer
|
|
47247
|
+
*/
|
|
47248
|
+
NixModulesGetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
47249
|
+
return this.encode(message, writer).ldelim();
|
|
47250
|
+
};
|
|
47251
|
+
|
|
47252
|
+
/**
|
|
47253
|
+
* Decodes a NixModulesGetRequest message from the specified reader or buffer.
|
|
47254
|
+
* @function decode
|
|
47255
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47256
|
+
* @static
|
|
47257
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47258
|
+
* @param {number} [length] Message length if known beforehand
|
|
47259
|
+
* @returns {replit.goval.api.NixModulesGetRequest} NixModulesGetRequest
|
|
47260
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47261
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47262
|
+
*/
|
|
47263
|
+
NixModulesGetRequest.decode = function decode(reader, length) {
|
|
47264
|
+
if (!(reader instanceof $Reader))
|
|
47265
|
+
reader = $Reader.create(reader);
|
|
47266
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixModulesGetRequest();
|
|
47267
|
+
while (reader.pos < end) {
|
|
47268
|
+
var tag = reader.uint32();
|
|
47269
|
+
switch (tag >>> 3) {
|
|
47270
|
+
default:
|
|
47271
|
+
reader.skipType(tag & 7);
|
|
47272
|
+
break;
|
|
47273
|
+
}
|
|
47274
|
+
}
|
|
47275
|
+
return message;
|
|
47276
|
+
};
|
|
47277
|
+
|
|
47278
|
+
/**
|
|
47279
|
+
* Decodes a NixModulesGetRequest message from the specified reader or buffer, length delimited.
|
|
47280
|
+
* @function decodeDelimited
|
|
47281
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47282
|
+
* @static
|
|
47283
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47284
|
+
* @returns {replit.goval.api.NixModulesGetRequest} NixModulesGetRequest
|
|
47285
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47286
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47287
|
+
*/
|
|
47288
|
+
NixModulesGetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
47289
|
+
if (!(reader instanceof $Reader))
|
|
47290
|
+
reader = new $Reader(reader);
|
|
47291
|
+
return this.decode(reader, reader.uint32());
|
|
47292
|
+
};
|
|
47293
|
+
|
|
47294
|
+
/**
|
|
47295
|
+
* Verifies a NixModulesGetRequest message.
|
|
47296
|
+
* @function verify
|
|
47297
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47298
|
+
* @static
|
|
47299
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
47300
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
47301
|
+
*/
|
|
47302
|
+
NixModulesGetRequest.verify = function verify(message) {
|
|
47303
|
+
if (typeof message !== "object" || message === null)
|
|
47304
|
+
return "object expected";
|
|
47305
|
+
return null;
|
|
47306
|
+
};
|
|
47307
|
+
|
|
47308
|
+
/**
|
|
47309
|
+
* Creates a NixModulesGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
47310
|
+
* @function fromObject
|
|
47311
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47312
|
+
* @static
|
|
47313
|
+
* @param {Object.<string,*>} object Plain object
|
|
47314
|
+
* @returns {replit.goval.api.NixModulesGetRequest} NixModulesGetRequest
|
|
47315
|
+
*/
|
|
47316
|
+
NixModulesGetRequest.fromObject = function fromObject(object) {
|
|
47317
|
+
if (object instanceof $root.replit.goval.api.NixModulesGetRequest)
|
|
47318
|
+
return object;
|
|
47319
|
+
return new $root.replit.goval.api.NixModulesGetRequest();
|
|
47320
|
+
};
|
|
47321
|
+
|
|
47322
|
+
/**
|
|
47323
|
+
* Creates a plain object from a NixModulesGetRequest message. Also converts values to other types if specified.
|
|
47324
|
+
* @function toObject
|
|
47325
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47326
|
+
* @static
|
|
47327
|
+
* @param {replit.goval.api.NixModulesGetRequest} message NixModulesGetRequest
|
|
47328
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
47329
|
+
* @returns {Object.<string,*>} Plain object
|
|
47330
|
+
*/
|
|
47331
|
+
NixModulesGetRequest.toObject = function toObject() {
|
|
47332
|
+
return {};
|
|
47333
|
+
};
|
|
47334
|
+
|
|
47335
|
+
/**
|
|
47336
|
+
* Converts this NixModulesGetRequest to JSON.
|
|
47337
|
+
* @function toJSON
|
|
47338
|
+
* @memberof replit.goval.api.NixModulesGetRequest
|
|
47339
|
+
* @instance
|
|
47340
|
+
* @returns {Object.<string,*>} JSON object
|
|
47341
|
+
*/
|
|
47342
|
+
NixModulesGetRequest.prototype.toJSON = function toJSON() {
|
|
47343
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
47344
|
+
};
|
|
47345
|
+
|
|
47346
|
+
return NixModulesGetRequest;
|
|
47347
|
+
})();
|
|
47348
|
+
|
|
47349
|
+
api.NixModulesGetResponse = (function() {
|
|
47350
|
+
|
|
47351
|
+
/**
|
|
47352
|
+
* Properties of a NixModulesGetResponse.
|
|
47353
|
+
* @memberof replit.goval.api
|
|
47354
|
+
* @interface INixModulesGetResponse
|
|
47355
|
+
* @property {Array.<replit.goval.api.NixModule|replit.goval.api.INixModule>|null} [modules] NixModulesGetResponse modules
|
|
47356
|
+
*/
|
|
47357
|
+
|
|
47358
|
+
/**
|
|
47359
|
+
* Constructs a new NixModulesGetResponse.
|
|
47360
|
+
* @memberof replit.goval.api
|
|
47361
|
+
* @classdesc Represents a NixModulesGetResponse.
|
|
47362
|
+
* @constructor
|
|
47363
|
+
* @param {replit.goval.api.INixModulesGetResponse=} [properties] Properties to set
|
|
47364
|
+
*/
|
|
47365
|
+
function NixModulesGetResponse(properties) {
|
|
47366
|
+
this.modules = [];
|
|
47367
|
+
if (properties)
|
|
47368
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
47369
|
+
if (properties[keys[i]] != null)
|
|
47370
|
+
this[keys[i]] = properties[keys[i]];
|
|
47371
|
+
}
|
|
47372
|
+
|
|
47373
|
+
/**
|
|
47374
|
+
* NixModulesGetResponse modules.
|
|
47375
|
+
* @member {Array.<replit.goval.api.NixModule>} modules
|
|
47376
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47377
|
+
* @instance
|
|
47378
|
+
*/
|
|
47379
|
+
NixModulesGetResponse.prototype.modules = $util.emptyArray;
|
|
47380
|
+
|
|
47381
|
+
/**
|
|
47382
|
+
* Creates a new NixModulesGetResponse instance using the specified properties.
|
|
47383
|
+
* @function create
|
|
47384
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47385
|
+
* @static
|
|
47386
|
+
* @param {replit.goval.api.INixModulesGetResponse=} [properties] Properties to set
|
|
47387
|
+
* @returns {replit.goval.api.NixModulesGetResponse} NixModulesGetResponse instance
|
|
47388
|
+
*/
|
|
47389
|
+
NixModulesGetResponse.create = function create(properties) {
|
|
47390
|
+
return NixModulesGetResponse.fromObject(properties);
|
|
47391
|
+
};
|
|
47392
|
+
|
|
47393
|
+
/**
|
|
47394
|
+
* Encodes the specified NixModulesGetResponse message. Does not implicitly {@link replit.goval.api.NixModulesGetResponse.verify|verify} messages.
|
|
47395
|
+
* @function encode
|
|
47396
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47397
|
+
* @static
|
|
47398
|
+
* @param {replit.goval.api.NixModulesGetResponse} message NixModulesGetResponse message or plain object to encode
|
|
47399
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47400
|
+
* @returns {$protobuf.Writer} Writer
|
|
47401
|
+
*/
|
|
47402
|
+
NixModulesGetResponse.encode = function encode(message, writer) {
|
|
47403
|
+
if (!writer)
|
|
47404
|
+
writer = $Writer.create();
|
|
47405
|
+
if (message.modules != null && message.modules.length)
|
|
47406
|
+
for (var i = 0; i < message.modules.length; ++i)
|
|
47407
|
+
$root.replit.goval.api.NixModule.encode(message.modules[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
47408
|
+
return writer;
|
|
47409
|
+
};
|
|
47410
|
+
|
|
47411
|
+
/**
|
|
47412
|
+
* Encodes the specified NixModulesGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.NixModulesGetResponse.verify|verify} messages.
|
|
47413
|
+
* @function encodeDelimited
|
|
47414
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47415
|
+
* @static
|
|
47416
|
+
* @param {replit.goval.api.NixModulesGetResponse} message NixModulesGetResponse message or plain object to encode
|
|
47417
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47418
|
+
* @returns {$protobuf.Writer} Writer
|
|
47419
|
+
*/
|
|
47420
|
+
NixModulesGetResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
47421
|
+
return this.encode(message, writer).ldelim();
|
|
47422
|
+
};
|
|
47423
|
+
|
|
47424
|
+
/**
|
|
47425
|
+
* Decodes a NixModulesGetResponse message from the specified reader or buffer.
|
|
47426
|
+
* @function decode
|
|
47427
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47428
|
+
* @static
|
|
47429
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47430
|
+
* @param {number} [length] Message length if known beforehand
|
|
47431
|
+
* @returns {replit.goval.api.NixModulesGetResponse} NixModulesGetResponse
|
|
47432
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47433
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47434
|
+
*/
|
|
47435
|
+
NixModulesGetResponse.decode = function decode(reader, length) {
|
|
47436
|
+
if (!(reader instanceof $Reader))
|
|
47437
|
+
reader = $Reader.create(reader);
|
|
47438
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixModulesGetResponse();
|
|
47439
|
+
while (reader.pos < end) {
|
|
47440
|
+
var tag = reader.uint32();
|
|
47441
|
+
switch (tag >>> 3) {
|
|
47442
|
+
case 1:
|
|
47443
|
+
if (!(message.modules && message.modules.length))
|
|
47444
|
+
message.modules = [];
|
|
47445
|
+
message.modules.push($root.replit.goval.api.NixModule.decode(reader, reader.uint32()));
|
|
47446
|
+
break;
|
|
47447
|
+
default:
|
|
47448
|
+
reader.skipType(tag & 7);
|
|
47449
|
+
break;
|
|
47450
|
+
}
|
|
47451
|
+
}
|
|
47452
|
+
return message;
|
|
47453
|
+
};
|
|
47454
|
+
|
|
47455
|
+
/**
|
|
47456
|
+
* Decodes a NixModulesGetResponse message from the specified reader or buffer, length delimited.
|
|
47457
|
+
* @function decodeDelimited
|
|
47458
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47459
|
+
* @static
|
|
47460
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47461
|
+
* @returns {replit.goval.api.NixModulesGetResponse} NixModulesGetResponse
|
|
47462
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47463
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47464
|
+
*/
|
|
47465
|
+
NixModulesGetResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
47466
|
+
if (!(reader instanceof $Reader))
|
|
47467
|
+
reader = new $Reader(reader);
|
|
47468
|
+
return this.decode(reader, reader.uint32());
|
|
47469
|
+
};
|
|
47470
|
+
|
|
47471
|
+
/**
|
|
47472
|
+
* Verifies a NixModulesGetResponse message.
|
|
47473
|
+
* @function verify
|
|
47474
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47475
|
+
* @static
|
|
47476
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
47477
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
47478
|
+
*/
|
|
47479
|
+
NixModulesGetResponse.verify = function verify(message) {
|
|
47480
|
+
if (typeof message !== "object" || message === null)
|
|
47481
|
+
return "object expected";
|
|
47482
|
+
if (message.modules != null && message.hasOwnProperty("modules")) {
|
|
47483
|
+
if (!Array.isArray(message.modules))
|
|
47484
|
+
return "modules: array expected";
|
|
47485
|
+
for (var i = 0; i < message.modules.length; ++i) {
|
|
47486
|
+
var error = $root.replit.goval.api.NixModule.verify(message.modules[i]);
|
|
47487
|
+
if (error)
|
|
47488
|
+
return "modules." + error;
|
|
47489
|
+
}
|
|
47490
|
+
}
|
|
47491
|
+
return null;
|
|
47492
|
+
};
|
|
47493
|
+
|
|
47494
|
+
/**
|
|
47495
|
+
* Creates a NixModulesGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
47496
|
+
* @function fromObject
|
|
47497
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47498
|
+
* @static
|
|
47499
|
+
* @param {Object.<string,*>} object Plain object
|
|
47500
|
+
* @returns {replit.goval.api.NixModulesGetResponse} NixModulesGetResponse
|
|
47501
|
+
*/
|
|
47502
|
+
NixModulesGetResponse.fromObject = function fromObject(object) {
|
|
47503
|
+
if (object instanceof $root.replit.goval.api.NixModulesGetResponse)
|
|
47504
|
+
return object;
|
|
47505
|
+
var message = new $root.replit.goval.api.NixModulesGetResponse();
|
|
47506
|
+
if (object.modules) {
|
|
47507
|
+
if (!Array.isArray(object.modules))
|
|
47508
|
+
throw TypeError(".replit.goval.api.NixModulesGetResponse.modules: array expected");
|
|
47509
|
+
message.modules = [];
|
|
47510
|
+
for (var i = 0; i < object.modules.length; ++i) {
|
|
47511
|
+
if (typeof object.modules[i] !== "object")
|
|
47512
|
+
throw TypeError(".replit.goval.api.NixModulesGetResponse.modules: object expected");
|
|
47513
|
+
message.modules[i] = $root.replit.goval.api.NixModule.fromObject(object.modules[i]);
|
|
47514
|
+
}
|
|
47515
|
+
}
|
|
47516
|
+
return message;
|
|
47517
|
+
};
|
|
47518
|
+
|
|
47519
|
+
/**
|
|
47520
|
+
* Creates a plain object from a NixModulesGetResponse message. Also converts values to other types if specified.
|
|
47521
|
+
* @function toObject
|
|
47522
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47523
|
+
* @static
|
|
47524
|
+
* @param {replit.goval.api.NixModulesGetResponse} message NixModulesGetResponse
|
|
47525
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
47526
|
+
* @returns {Object.<string,*>} Plain object
|
|
47527
|
+
*/
|
|
47528
|
+
NixModulesGetResponse.toObject = function toObject(message, options) {
|
|
47529
|
+
if (!options)
|
|
47530
|
+
options = {};
|
|
47531
|
+
var object = {};
|
|
47532
|
+
if (options.arrays || options.defaults)
|
|
47533
|
+
object.modules = [];
|
|
47534
|
+
if (message.modules && message.modules.length) {
|
|
47535
|
+
object.modules = [];
|
|
47536
|
+
for (var j = 0; j < message.modules.length; ++j)
|
|
47537
|
+
object.modules[j] = $root.replit.goval.api.NixModule.toObject(message.modules[j], options);
|
|
47538
|
+
}
|
|
47539
|
+
return object;
|
|
47540
|
+
};
|
|
47541
|
+
|
|
47542
|
+
/**
|
|
47543
|
+
* Converts this NixModulesGetResponse to JSON.
|
|
47544
|
+
* @function toJSON
|
|
47545
|
+
* @memberof replit.goval.api.NixModulesGetResponse
|
|
47546
|
+
* @instance
|
|
47547
|
+
* @returns {Object.<string,*>} JSON object
|
|
47548
|
+
*/
|
|
47549
|
+
NixModulesGetResponse.prototype.toJSON = function toJSON() {
|
|
47550
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
47551
|
+
};
|
|
47552
|
+
|
|
47553
|
+
return NixModulesGetResponse;
|
|
47554
|
+
})();
|
|
47555
|
+
|
|
47556
|
+
api.NixModule = (function() {
|
|
47557
|
+
|
|
47558
|
+
/**
|
|
47559
|
+
* Properties of a NixModule.
|
|
47560
|
+
* @memberof replit.goval.api
|
|
47561
|
+
* @interface INixModule
|
|
47562
|
+
* @property {string|null} [id] NixModule id
|
|
47563
|
+
* @property {string|null} [version] NixModule version
|
|
47564
|
+
* @property {string|null} [name] NixModule name
|
|
47565
|
+
* @property {string|null} [description] NixModule description
|
|
47566
|
+
* @property {Array.<replit.goval.api.RunOption|replit.goval.api.IRunOption>|null} [runners] NixModule runners
|
|
47567
|
+
* @property {Array.<replit.goval.api.DebuggerOption|replit.goval.api.IDebuggerOption>|null} [debuggers] NixModule debuggers
|
|
47568
|
+
* @property {Array.<replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption>|null} [packagers] NixModule packagers
|
|
47569
|
+
* @property {Array.<replit.goval.api.LanguageServerOption|replit.goval.api.ILanguageServerOption>|null} [languageServers] NixModule languageServers
|
|
47570
|
+
*/
|
|
47571
|
+
|
|
47572
|
+
/**
|
|
47573
|
+
* Constructs a new NixModule.
|
|
47574
|
+
* @memberof replit.goval.api
|
|
47575
|
+
* @classdesc Represents a NixModule.
|
|
47576
|
+
* @constructor
|
|
47577
|
+
* @param {replit.goval.api.INixModule=} [properties] Properties to set
|
|
47578
|
+
*/
|
|
47579
|
+
function NixModule(properties) {
|
|
47580
|
+
this.runners = [];
|
|
47581
|
+
this.debuggers = [];
|
|
47582
|
+
this.packagers = [];
|
|
47583
|
+
this.languageServers = [];
|
|
47584
|
+
if (properties)
|
|
47585
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
47586
|
+
if (properties[keys[i]] != null)
|
|
47587
|
+
this[keys[i]] = properties[keys[i]];
|
|
47588
|
+
}
|
|
47589
|
+
|
|
47590
|
+
/**
|
|
47591
|
+
* NixModule id.
|
|
47592
|
+
* @member {string} id
|
|
47593
|
+
* @memberof replit.goval.api.NixModule
|
|
47594
|
+
* @instance
|
|
47595
|
+
*/
|
|
47596
|
+
NixModule.prototype.id = "";
|
|
47597
|
+
|
|
47598
|
+
/**
|
|
47599
|
+
* NixModule version.
|
|
47600
|
+
* @member {string} version
|
|
47601
|
+
* @memberof replit.goval.api.NixModule
|
|
47602
|
+
* @instance
|
|
47603
|
+
*/
|
|
47604
|
+
NixModule.prototype.version = "";
|
|
47605
|
+
|
|
47606
|
+
/**
|
|
47607
|
+
* NixModule name.
|
|
47608
|
+
* @member {string} name
|
|
47609
|
+
* @memberof replit.goval.api.NixModule
|
|
47610
|
+
* @instance
|
|
47611
|
+
*/
|
|
47612
|
+
NixModule.prototype.name = "";
|
|
47613
|
+
|
|
47614
|
+
/**
|
|
47615
|
+
* NixModule description.
|
|
47616
|
+
* @member {string} description
|
|
47617
|
+
* @memberof replit.goval.api.NixModule
|
|
47618
|
+
* @instance
|
|
47619
|
+
*/
|
|
47620
|
+
NixModule.prototype.description = "";
|
|
47621
|
+
|
|
47622
|
+
/**
|
|
47623
|
+
* NixModule runners.
|
|
47624
|
+
* @member {Array.<replit.goval.api.RunOption>} runners
|
|
47625
|
+
* @memberof replit.goval.api.NixModule
|
|
47626
|
+
* @instance
|
|
47627
|
+
*/
|
|
47628
|
+
NixModule.prototype.runners = $util.emptyArray;
|
|
47629
|
+
|
|
47630
|
+
/**
|
|
47631
|
+
* NixModule debuggers.
|
|
47632
|
+
* @member {Array.<replit.goval.api.DebuggerOption>} debuggers
|
|
47633
|
+
* @memberof replit.goval.api.NixModule
|
|
47634
|
+
* @instance
|
|
47635
|
+
*/
|
|
47636
|
+
NixModule.prototype.debuggers = $util.emptyArray;
|
|
47637
|
+
|
|
47638
|
+
/**
|
|
47639
|
+
* NixModule packagers.
|
|
47640
|
+
* @member {Array.<replit.goval.api.PackagerOption>} packagers
|
|
47641
|
+
* @memberof replit.goval.api.NixModule
|
|
47642
|
+
* @instance
|
|
47643
|
+
*/
|
|
47644
|
+
NixModule.prototype.packagers = $util.emptyArray;
|
|
47645
|
+
|
|
47646
|
+
/**
|
|
47647
|
+
* NixModule languageServers.
|
|
47648
|
+
* @member {Array.<replit.goval.api.LanguageServerOption>} languageServers
|
|
47649
|
+
* @memberof replit.goval.api.NixModule
|
|
47650
|
+
* @instance
|
|
47651
|
+
*/
|
|
47652
|
+
NixModule.prototype.languageServers = $util.emptyArray;
|
|
47653
|
+
|
|
47654
|
+
/**
|
|
47655
|
+
* Creates a new NixModule instance using the specified properties.
|
|
47656
|
+
* @function create
|
|
47657
|
+
* @memberof replit.goval.api.NixModule
|
|
47658
|
+
* @static
|
|
47659
|
+
* @param {replit.goval.api.INixModule=} [properties] Properties to set
|
|
47660
|
+
* @returns {replit.goval.api.NixModule} NixModule instance
|
|
47661
|
+
*/
|
|
47662
|
+
NixModule.create = function create(properties) {
|
|
47663
|
+
return NixModule.fromObject(properties);
|
|
47664
|
+
};
|
|
47665
|
+
|
|
47666
|
+
/**
|
|
47667
|
+
* Encodes the specified NixModule message. Does not implicitly {@link replit.goval.api.NixModule.verify|verify} messages.
|
|
47668
|
+
* @function encode
|
|
47669
|
+
* @memberof replit.goval.api.NixModule
|
|
47670
|
+
* @static
|
|
47671
|
+
* @param {replit.goval.api.NixModule} message NixModule message or plain object to encode
|
|
47672
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47673
|
+
* @returns {$protobuf.Writer} Writer
|
|
47674
|
+
*/
|
|
47675
|
+
NixModule.encode = function encode(message, writer) {
|
|
47676
|
+
if (!writer)
|
|
47677
|
+
writer = $Writer.create();
|
|
47678
|
+
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
47679
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
47680
|
+
if (message.version != null && Object.hasOwnProperty.call(message, "version"))
|
|
47681
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.version);
|
|
47682
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
47683
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.name);
|
|
47684
|
+
if (message.description != null && Object.hasOwnProperty.call(message, "description"))
|
|
47685
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.description);
|
|
47686
|
+
if (message.runners != null && message.runners.length)
|
|
47687
|
+
for (var i = 0; i < message.runners.length; ++i)
|
|
47688
|
+
$root.replit.goval.api.RunOption.encode(message.runners[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
47689
|
+
if (message.debuggers != null && message.debuggers.length)
|
|
47690
|
+
for (var i = 0; i < message.debuggers.length; ++i)
|
|
47691
|
+
$root.replit.goval.api.DebuggerOption.encode(message.debuggers[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
47692
|
+
if (message.packagers != null && message.packagers.length)
|
|
47693
|
+
for (var i = 0; i < message.packagers.length; ++i)
|
|
47694
|
+
$root.replit.goval.api.PackagerOption.encode(message.packagers[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
47695
|
+
if (message.languageServers != null && message.languageServers.length)
|
|
47696
|
+
for (var i = 0; i < message.languageServers.length; ++i)
|
|
47697
|
+
$root.replit.goval.api.LanguageServerOption.encode(message.languageServers[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
47698
|
+
return writer;
|
|
47699
|
+
};
|
|
47700
|
+
|
|
47701
|
+
/**
|
|
47702
|
+
* Encodes the specified NixModule message, length delimited. Does not implicitly {@link replit.goval.api.NixModule.verify|verify} messages.
|
|
47703
|
+
* @function encodeDelimited
|
|
47704
|
+
* @memberof replit.goval.api.NixModule
|
|
47705
|
+
* @static
|
|
47706
|
+
* @param {replit.goval.api.NixModule} message NixModule message or plain object to encode
|
|
47707
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47708
|
+
* @returns {$protobuf.Writer} Writer
|
|
47709
|
+
*/
|
|
47710
|
+
NixModule.encodeDelimited = function encodeDelimited(message, writer) {
|
|
47711
|
+
return this.encode(message, writer).ldelim();
|
|
47712
|
+
};
|
|
47713
|
+
|
|
47714
|
+
/**
|
|
47715
|
+
* Decodes a NixModule message from the specified reader or buffer.
|
|
47716
|
+
* @function decode
|
|
47717
|
+
* @memberof replit.goval.api.NixModule
|
|
47718
|
+
* @static
|
|
47719
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47720
|
+
* @param {number} [length] Message length if known beforehand
|
|
47721
|
+
* @returns {replit.goval.api.NixModule} NixModule
|
|
47722
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47723
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47724
|
+
*/
|
|
47725
|
+
NixModule.decode = function decode(reader, length) {
|
|
47726
|
+
if (!(reader instanceof $Reader))
|
|
47727
|
+
reader = $Reader.create(reader);
|
|
47728
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixModule();
|
|
47729
|
+
while (reader.pos < end) {
|
|
47730
|
+
var tag = reader.uint32();
|
|
47731
|
+
switch (tag >>> 3) {
|
|
47732
|
+
case 1:
|
|
47733
|
+
message.id = reader.string();
|
|
47734
|
+
break;
|
|
47735
|
+
case 2:
|
|
47736
|
+
message.version = reader.string();
|
|
47737
|
+
break;
|
|
47738
|
+
case 3:
|
|
47739
|
+
message.name = reader.string();
|
|
47740
|
+
break;
|
|
47741
|
+
case 4:
|
|
47742
|
+
message.description = reader.string();
|
|
47743
|
+
break;
|
|
47744
|
+
case 5:
|
|
47745
|
+
if (!(message.runners && message.runners.length))
|
|
47746
|
+
message.runners = [];
|
|
47747
|
+
message.runners.push($root.replit.goval.api.RunOption.decode(reader, reader.uint32()));
|
|
47748
|
+
break;
|
|
47749
|
+
case 6:
|
|
47750
|
+
if (!(message.debuggers && message.debuggers.length))
|
|
47751
|
+
message.debuggers = [];
|
|
47752
|
+
message.debuggers.push($root.replit.goval.api.DebuggerOption.decode(reader, reader.uint32()));
|
|
47753
|
+
break;
|
|
47754
|
+
case 7:
|
|
47755
|
+
if (!(message.packagers && message.packagers.length))
|
|
47756
|
+
message.packagers = [];
|
|
47757
|
+
message.packagers.push($root.replit.goval.api.PackagerOption.decode(reader, reader.uint32()));
|
|
47758
|
+
break;
|
|
47759
|
+
case 8:
|
|
47760
|
+
if (!(message.languageServers && message.languageServers.length))
|
|
47761
|
+
message.languageServers = [];
|
|
47762
|
+
message.languageServers.push($root.replit.goval.api.LanguageServerOption.decode(reader, reader.uint32()));
|
|
47763
|
+
break;
|
|
47764
|
+
default:
|
|
47765
|
+
reader.skipType(tag & 7);
|
|
47766
|
+
break;
|
|
47767
|
+
}
|
|
47768
|
+
}
|
|
47769
|
+
return message;
|
|
47770
|
+
};
|
|
47771
|
+
|
|
47772
|
+
/**
|
|
47773
|
+
* Decodes a NixModule message from the specified reader or buffer, length delimited.
|
|
47774
|
+
* @function decodeDelimited
|
|
47775
|
+
* @memberof replit.goval.api.NixModule
|
|
47776
|
+
* @static
|
|
47777
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47778
|
+
* @returns {replit.goval.api.NixModule} NixModule
|
|
47779
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47780
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47781
|
+
*/
|
|
47782
|
+
NixModule.decodeDelimited = function decodeDelimited(reader) {
|
|
47783
|
+
if (!(reader instanceof $Reader))
|
|
47784
|
+
reader = new $Reader(reader);
|
|
47785
|
+
return this.decode(reader, reader.uint32());
|
|
47786
|
+
};
|
|
47787
|
+
|
|
47788
|
+
/**
|
|
47789
|
+
* Verifies a NixModule message.
|
|
47790
|
+
* @function verify
|
|
47791
|
+
* @memberof replit.goval.api.NixModule
|
|
47792
|
+
* @static
|
|
47793
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
47794
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
47795
|
+
*/
|
|
47796
|
+
NixModule.verify = function verify(message) {
|
|
47797
|
+
if (typeof message !== "object" || message === null)
|
|
47798
|
+
return "object expected";
|
|
47799
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
47800
|
+
if (!$util.isString(message.id))
|
|
47801
|
+
return "id: string expected";
|
|
47802
|
+
if (message.version != null && message.hasOwnProperty("version"))
|
|
47803
|
+
if (!$util.isString(message.version))
|
|
47804
|
+
return "version: string expected";
|
|
47805
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
47806
|
+
if (!$util.isString(message.name))
|
|
47807
|
+
return "name: string expected";
|
|
47808
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
47809
|
+
if (!$util.isString(message.description))
|
|
47810
|
+
return "description: string expected";
|
|
47811
|
+
if (message.runners != null && message.hasOwnProperty("runners")) {
|
|
47812
|
+
if (!Array.isArray(message.runners))
|
|
47813
|
+
return "runners: array expected";
|
|
47814
|
+
for (var i = 0; i < message.runners.length; ++i) {
|
|
47815
|
+
var error = $root.replit.goval.api.RunOption.verify(message.runners[i]);
|
|
47816
|
+
if (error)
|
|
47817
|
+
return "runners." + error;
|
|
47818
|
+
}
|
|
47819
|
+
}
|
|
47820
|
+
if (message.debuggers != null && message.hasOwnProperty("debuggers")) {
|
|
47821
|
+
if (!Array.isArray(message.debuggers))
|
|
47822
|
+
return "debuggers: array expected";
|
|
47823
|
+
for (var i = 0; i < message.debuggers.length; ++i) {
|
|
47824
|
+
var error = $root.replit.goval.api.DebuggerOption.verify(message.debuggers[i]);
|
|
47825
|
+
if (error)
|
|
47826
|
+
return "debuggers." + error;
|
|
47827
|
+
}
|
|
47828
|
+
}
|
|
47829
|
+
if (message.packagers != null && message.hasOwnProperty("packagers")) {
|
|
47830
|
+
if (!Array.isArray(message.packagers))
|
|
47831
|
+
return "packagers: array expected";
|
|
47832
|
+
for (var i = 0; i < message.packagers.length; ++i) {
|
|
47833
|
+
var error = $root.replit.goval.api.PackagerOption.verify(message.packagers[i]);
|
|
47834
|
+
if (error)
|
|
47835
|
+
return "packagers." + error;
|
|
47836
|
+
}
|
|
47837
|
+
}
|
|
47838
|
+
if (message.languageServers != null && message.hasOwnProperty("languageServers")) {
|
|
47839
|
+
if (!Array.isArray(message.languageServers))
|
|
47840
|
+
return "languageServers: array expected";
|
|
47841
|
+
for (var i = 0; i < message.languageServers.length; ++i) {
|
|
47842
|
+
var error = $root.replit.goval.api.LanguageServerOption.verify(message.languageServers[i]);
|
|
47843
|
+
if (error)
|
|
47844
|
+
return "languageServers." + error;
|
|
47845
|
+
}
|
|
47846
|
+
}
|
|
47847
|
+
return null;
|
|
47848
|
+
};
|
|
47849
|
+
|
|
47850
|
+
/**
|
|
47851
|
+
* Creates a NixModule message from a plain object. Also converts values to their respective internal types.
|
|
47852
|
+
* @function fromObject
|
|
47853
|
+
* @memberof replit.goval.api.NixModule
|
|
47854
|
+
* @static
|
|
47855
|
+
* @param {Object.<string,*>} object Plain object
|
|
47856
|
+
* @returns {replit.goval.api.NixModule} NixModule
|
|
47857
|
+
*/
|
|
47858
|
+
NixModule.fromObject = function fromObject(object) {
|
|
47859
|
+
if (object instanceof $root.replit.goval.api.NixModule)
|
|
47860
|
+
return object;
|
|
47861
|
+
var message = new $root.replit.goval.api.NixModule();
|
|
47862
|
+
if (object.id != null)
|
|
47863
|
+
message.id = String(object.id);
|
|
47864
|
+
if (object.version != null)
|
|
47865
|
+
message.version = String(object.version);
|
|
47866
|
+
if (object.name != null)
|
|
47867
|
+
message.name = String(object.name);
|
|
47868
|
+
if (object.description != null)
|
|
47869
|
+
message.description = String(object.description);
|
|
47870
|
+
if (object.runners) {
|
|
47871
|
+
if (!Array.isArray(object.runners))
|
|
47872
|
+
throw TypeError(".replit.goval.api.NixModule.runners: array expected");
|
|
47873
|
+
message.runners = [];
|
|
47874
|
+
for (var i = 0; i < object.runners.length; ++i) {
|
|
47875
|
+
if (typeof object.runners[i] !== "object")
|
|
47876
|
+
throw TypeError(".replit.goval.api.NixModule.runners: object expected");
|
|
47877
|
+
message.runners[i] = $root.replit.goval.api.RunOption.fromObject(object.runners[i]);
|
|
47878
|
+
}
|
|
47879
|
+
}
|
|
47880
|
+
if (object.debuggers) {
|
|
47881
|
+
if (!Array.isArray(object.debuggers))
|
|
47882
|
+
throw TypeError(".replit.goval.api.NixModule.debuggers: array expected");
|
|
47883
|
+
message.debuggers = [];
|
|
47884
|
+
for (var i = 0; i < object.debuggers.length; ++i) {
|
|
47885
|
+
if (typeof object.debuggers[i] !== "object")
|
|
47886
|
+
throw TypeError(".replit.goval.api.NixModule.debuggers: object expected");
|
|
47887
|
+
message.debuggers[i] = $root.replit.goval.api.DebuggerOption.fromObject(object.debuggers[i]);
|
|
47888
|
+
}
|
|
47889
|
+
}
|
|
47890
|
+
if (object.packagers) {
|
|
47891
|
+
if (!Array.isArray(object.packagers))
|
|
47892
|
+
throw TypeError(".replit.goval.api.NixModule.packagers: array expected");
|
|
47893
|
+
message.packagers = [];
|
|
47894
|
+
for (var i = 0; i < object.packagers.length; ++i) {
|
|
47895
|
+
if (typeof object.packagers[i] !== "object")
|
|
47896
|
+
throw TypeError(".replit.goval.api.NixModule.packagers: object expected");
|
|
47897
|
+
message.packagers[i] = $root.replit.goval.api.PackagerOption.fromObject(object.packagers[i]);
|
|
47898
|
+
}
|
|
47899
|
+
}
|
|
47900
|
+
if (object.languageServers) {
|
|
47901
|
+
if (!Array.isArray(object.languageServers))
|
|
47902
|
+
throw TypeError(".replit.goval.api.NixModule.languageServers: array expected");
|
|
47903
|
+
message.languageServers = [];
|
|
47904
|
+
for (var i = 0; i < object.languageServers.length; ++i) {
|
|
47905
|
+
if (typeof object.languageServers[i] !== "object")
|
|
47906
|
+
throw TypeError(".replit.goval.api.NixModule.languageServers: object expected");
|
|
47907
|
+
message.languageServers[i] = $root.replit.goval.api.LanguageServerOption.fromObject(object.languageServers[i]);
|
|
47908
|
+
}
|
|
47909
|
+
}
|
|
47910
|
+
return message;
|
|
47911
|
+
};
|
|
47912
|
+
|
|
47913
|
+
/**
|
|
47914
|
+
* Creates a plain object from a NixModule message. Also converts values to other types if specified.
|
|
47915
|
+
* @function toObject
|
|
47916
|
+
* @memberof replit.goval.api.NixModule
|
|
47917
|
+
* @static
|
|
47918
|
+
* @param {replit.goval.api.NixModule} message NixModule
|
|
47919
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
47920
|
+
* @returns {Object.<string,*>} Plain object
|
|
47921
|
+
*/
|
|
47922
|
+
NixModule.toObject = function toObject(message, options) {
|
|
47923
|
+
if (!options)
|
|
47924
|
+
options = {};
|
|
47925
|
+
var object = {};
|
|
47926
|
+
if (options.arrays || options.defaults) {
|
|
47927
|
+
object.runners = [];
|
|
47928
|
+
object.debuggers = [];
|
|
47929
|
+
object.packagers = [];
|
|
47930
|
+
object.languageServers = [];
|
|
47931
|
+
}
|
|
47932
|
+
if (options.defaults) {
|
|
47933
|
+
object.id = "";
|
|
47934
|
+
object.version = "";
|
|
47935
|
+
object.name = "";
|
|
47936
|
+
object.description = "";
|
|
47937
|
+
}
|
|
47938
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
47939
|
+
object.id = message.id;
|
|
47940
|
+
if (message.version != null && message.hasOwnProperty("version"))
|
|
47941
|
+
object.version = message.version;
|
|
47942
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
47943
|
+
object.name = message.name;
|
|
47944
|
+
if (message.description != null && message.hasOwnProperty("description"))
|
|
47945
|
+
object.description = message.description;
|
|
47946
|
+
if (message.runners && message.runners.length) {
|
|
47947
|
+
object.runners = [];
|
|
47948
|
+
for (var j = 0; j < message.runners.length; ++j)
|
|
47949
|
+
object.runners[j] = $root.replit.goval.api.RunOption.toObject(message.runners[j], options);
|
|
47950
|
+
}
|
|
47951
|
+
if (message.debuggers && message.debuggers.length) {
|
|
47952
|
+
object.debuggers = [];
|
|
47953
|
+
for (var j = 0; j < message.debuggers.length; ++j)
|
|
47954
|
+
object.debuggers[j] = $root.replit.goval.api.DebuggerOption.toObject(message.debuggers[j], options);
|
|
47955
|
+
}
|
|
47956
|
+
if (message.packagers && message.packagers.length) {
|
|
47957
|
+
object.packagers = [];
|
|
47958
|
+
for (var j = 0; j < message.packagers.length; ++j)
|
|
47959
|
+
object.packagers[j] = $root.replit.goval.api.PackagerOption.toObject(message.packagers[j], options);
|
|
47960
|
+
}
|
|
47961
|
+
if (message.languageServers && message.languageServers.length) {
|
|
47962
|
+
object.languageServers = [];
|
|
47963
|
+
for (var j = 0; j < message.languageServers.length; ++j)
|
|
47964
|
+
object.languageServers[j] = $root.replit.goval.api.LanguageServerOption.toObject(message.languageServers[j], options);
|
|
47965
|
+
}
|
|
47966
|
+
return object;
|
|
47967
|
+
};
|
|
47968
|
+
|
|
47969
|
+
/**
|
|
47970
|
+
* Converts this NixModule to JSON.
|
|
47971
|
+
* @function toJSON
|
|
47972
|
+
* @memberof replit.goval.api.NixModule
|
|
47973
|
+
* @instance
|
|
47974
|
+
* @returns {Object.<string,*>} JSON object
|
|
47975
|
+
*/
|
|
47976
|
+
NixModule.prototype.toJSON = function toJSON() {
|
|
47977
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
47978
|
+
};
|
|
47979
|
+
|
|
47980
|
+
return NixModule;
|
|
47981
|
+
})();
|
|
47982
|
+
|
|
47983
|
+
api.NixModulesChanged = (function() {
|
|
47984
|
+
|
|
47985
|
+
/**
|
|
47986
|
+
* Properties of a NixModulesChanged.
|
|
47987
|
+
* @memberof replit.goval.api
|
|
47988
|
+
* @interface INixModulesChanged
|
|
47989
|
+
* @property {Array.<replit.goval.api.NixModule|replit.goval.api.INixModule>|null} [modules] NixModulesChanged modules
|
|
47990
|
+
*/
|
|
47991
|
+
|
|
47992
|
+
/**
|
|
47993
|
+
* Constructs a new NixModulesChanged.
|
|
47994
|
+
* @memberof replit.goval.api
|
|
47995
|
+
* @classdesc Represents a NixModulesChanged.
|
|
47996
|
+
* @constructor
|
|
47997
|
+
* @param {replit.goval.api.INixModulesChanged=} [properties] Properties to set
|
|
47998
|
+
*/
|
|
47999
|
+
function NixModulesChanged(properties) {
|
|
48000
|
+
this.modules = [];
|
|
48001
|
+
if (properties)
|
|
48002
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
48003
|
+
if (properties[keys[i]] != null)
|
|
48004
|
+
this[keys[i]] = properties[keys[i]];
|
|
48005
|
+
}
|
|
48006
|
+
|
|
48007
|
+
/**
|
|
48008
|
+
* NixModulesChanged modules.
|
|
48009
|
+
* @member {Array.<replit.goval.api.NixModule>} modules
|
|
48010
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48011
|
+
* @instance
|
|
48012
|
+
*/
|
|
48013
|
+
NixModulesChanged.prototype.modules = $util.emptyArray;
|
|
48014
|
+
|
|
48015
|
+
/**
|
|
48016
|
+
* Creates a new NixModulesChanged instance using the specified properties.
|
|
48017
|
+
* @function create
|
|
48018
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48019
|
+
* @static
|
|
48020
|
+
* @param {replit.goval.api.INixModulesChanged=} [properties] Properties to set
|
|
48021
|
+
* @returns {replit.goval.api.NixModulesChanged} NixModulesChanged instance
|
|
48022
|
+
*/
|
|
48023
|
+
NixModulesChanged.create = function create(properties) {
|
|
48024
|
+
return NixModulesChanged.fromObject(properties);
|
|
48025
|
+
};
|
|
48026
|
+
|
|
48027
|
+
/**
|
|
48028
|
+
* Encodes the specified NixModulesChanged message. Does not implicitly {@link replit.goval.api.NixModulesChanged.verify|verify} messages.
|
|
48029
|
+
* @function encode
|
|
48030
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48031
|
+
* @static
|
|
48032
|
+
* @param {replit.goval.api.NixModulesChanged} message NixModulesChanged message or plain object to encode
|
|
48033
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48034
|
+
* @returns {$protobuf.Writer} Writer
|
|
48035
|
+
*/
|
|
48036
|
+
NixModulesChanged.encode = function encode(message, writer) {
|
|
48037
|
+
if (!writer)
|
|
48038
|
+
writer = $Writer.create();
|
|
48039
|
+
if (message.modules != null && message.modules.length)
|
|
48040
|
+
for (var i = 0; i < message.modules.length; ++i)
|
|
48041
|
+
$root.replit.goval.api.NixModule.encode(message.modules[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
48042
|
+
return writer;
|
|
48043
|
+
};
|
|
48044
|
+
|
|
48045
|
+
/**
|
|
48046
|
+
* Encodes the specified NixModulesChanged message, length delimited. Does not implicitly {@link replit.goval.api.NixModulesChanged.verify|verify} messages.
|
|
48047
|
+
* @function encodeDelimited
|
|
48048
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48049
|
+
* @static
|
|
48050
|
+
* @param {replit.goval.api.NixModulesChanged} message NixModulesChanged message or plain object to encode
|
|
48051
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48052
|
+
* @returns {$protobuf.Writer} Writer
|
|
48053
|
+
*/
|
|
48054
|
+
NixModulesChanged.encodeDelimited = function encodeDelimited(message, writer) {
|
|
48055
|
+
return this.encode(message, writer).ldelim();
|
|
48056
|
+
};
|
|
48057
|
+
|
|
48058
|
+
/**
|
|
48059
|
+
* Decodes a NixModulesChanged message from the specified reader or buffer.
|
|
48060
|
+
* @function decode
|
|
48061
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48062
|
+
* @static
|
|
48063
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48064
|
+
* @param {number} [length] Message length if known beforehand
|
|
48065
|
+
* @returns {replit.goval.api.NixModulesChanged} NixModulesChanged
|
|
48066
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48067
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48068
|
+
*/
|
|
48069
|
+
NixModulesChanged.decode = function decode(reader, length) {
|
|
48070
|
+
if (!(reader instanceof $Reader))
|
|
48071
|
+
reader = $Reader.create(reader);
|
|
48072
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixModulesChanged();
|
|
48073
|
+
while (reader.pos < end) {
|
|
48074
|
+
var tag = reader.uint32();
|
|
48075
|
+
switch (tag >>> 3) {
|
|
48076
|
+
case 1:
|
|
48077
|
+
if (!(message.modules && message.modules.length))
|
|
48078
|
+
message.modules = [];
|
|
48079
|
+
message.modules.push($root.replit.goval.api.NixModule.decode(reader, reader.uint32()));
|
|
48080
|
+
break;
|
|
48081
|
+
default:
|
|
48082
|
+
reader.skipType(tag & 7);
|
|
48083
|
+
break;
|
|
48084
|
+
}
|
|
48085
|
+
}
|
|
48086
|
+
return message;
|
|
48087
|
+
};
|
|
48088
|
+
|
|
48089
|
+
/**
|
|
48090
|
+
* Decodes a NixModulesChanged message from the specified reader or buffer, length delimited.
|
|
48091
|
+
* @function decodeDelimited
|
|
48092
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48093
|
+
* @static
|
|
48094
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48095
|
+
* @returns {replit.goval.api.NixModulesChanged} NixModulesChanged
|
|
48096
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48097
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48098
|
+
*/
|
|
48099
|
+
NixModulesChanged.decodeDelimited = function decodeDelimited(reader) {
|
|
48100
|
+
if (!(reader instanceof $Reader))
|
|
48101
|
+
reader = new $Reader(reader);
|
|
48102
|
+
return this.decode(reader, reader.uint32());
|
|
48103
|
+
};
|
|
48104
|
+
|
|
48105
|
+
/**
|
|
48106
|
+
* Verifies a NixModulesChanged message.
|
|
48107
|
+
* @function verify
|
|
48108
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48109
|
+
* @static
|
|
48110
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
48111
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
48112
|
+
*/
|
|
48113
|
+
NixModulesChanged.verify = function verify(message) {
|
|
48114
|
+
if (typeof message !== "object" || message === null)
|
|
48115
|
+
return "object expected";
|
|
48116
|
+
if (message.modules != null && message.hasOwnProperty("modules")) {
|
|
48117
|
+
if (!Array.isArray(message.modules))
|
|
48118
|
+
return "modules: array expected";
|
|
48119
|
+
for (var i = 0; i < message.modules.length; ++i) {
|
|
48120
|
+
var error = $root.replit.goval.api.NixModule.verify(message.modules[i]);
|
|
48121
|
+
if (error)
|
|
48122
|
+
return "modules." + error;
|
|
48123
|
+
}
|
|
48124
|
+
}
|
|
48125
|
+
return null;
|
|
48126
|
+
};
|
|
48127
|
+
|
|
48128
|
+
/**
|
|
48129
|
+
* Creates a NixModulesChanged message from a plain object. Also converts values to their respective internal types.
|
|
48130
|
+
* @function fromObject
|
|
48131
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48132
|
+
* @static
|
|
48133
|
+
* @param {Object.<string,*>} object Plain object
|
|
48134
|
+
* @returns {replit.goval.api.NixModulesChanged} NixModulesChanged
|
|
48135
|
+
*/
|
|
48136
|
+
NixModulesChanged.fromObject = function fromObject(object) {
|
|
48137
|
+
if (object instanceof $root.replit.goval.api.NixModulesChanged)
|
|
48138
|
+
return object;
|
|
48139
|
+
var message = new $root.replit.goval.api.NixModulesChanged();
|
|
48140
|
+
if (object.modules) {
|
|
48141
|
+
if (!Array.isArray(object.modules))
|
|
48142
|
+
throw TypeError(".replit.goval.api.NixModulesChanged.modules: array expected");
|
|
48143
|
+
message.modules = [];
|
|
48144
|
+
for (var i = 0; i < object.modules.length; ++i) {
|
|
48145
|
+
if (typeof object.modules[i] !== "object")
|
|
48146
|
+
throw TypeError(".replit.goval.api.NixModulesChanged.modules: object expected");
|
|
48147
|
+
message.modules[i] = $root.replit.goval.api.NixModule.fromObject(object.modules[i]);
|
|
48148
|
+
}
|
|
48149
|
+
}
|
|
48150
|
+
return message;
|
|
48151
|
+
};
|
|
48152
|
+
|
|
48153
|
+
/**
|
|
48154
|
+
* Creates a plain object from a NixModulesChanged message. Also converts values to other types if specified.
|
|
48155
|
+
* @function toObject
|
|
48156
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48157
|
+
* @static
|
|
48158
|
+
* @param {replit.goval.api.NixModulesChanged} message NixModulesChanged
|
|
48159
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
48160
|
+
* @returns {Object.<string,*>} Plain object
|
|
48161
|
+
*/
|
|
48162
|
+
NixModulesChanged.toObject = function toObject(message, options) {
|
|
48163
|
+
if (!options)
|
|
48164
|
+
options = {};
|
|
48165
|
+
var object = {};
|
|
48166
|
+
if (options.arrays || options.defaults)
|
|
48167
|
+
object.modules = [];
|
|
48168
|
+
if (message.modules && message.modules.length) {
|
|
48169
|
+
object.modules = [];
|
|
48170
|
+
for (var j = 0; j < message.modules.length; ++j)
|
|
48171
|
+
object.modules[j] = $root.replit.goval.api.NixModule.toObject(message.modules[j], options);
|
|
48172
|
+
}
|
|
48173
|
+
return object;
|
|
48174
|
+
};
|
|
48175
|
+
|
|
48176
|
+
/**
|
|
48177
|
+
* Converts this NixModulesChanged to JSON.
|
|
48178
|
+
* @function toJSON
|
|
48179
|
+
* @memberof replit.goval.api.NixModulesChanged
|
|
48180
|
+
* @instance
|
|
48181
|
+
* @returns {Object.<string,*>} JSON object
|
|
48182
|
+
*/
|
|
48183
|
+
NixModulesChanged.prototype.toJSON = function toJSON() {
|
|
48184
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
48185
|
+
};
|
|
48186
|
+
|
|
48187
|
+
return NixModulesChanged;
|
|
48188
|
+
})();
|
|
48189
|
+
|
|
48190
|
+
api.NixModulesBuildRequest = (function() {
|
|
48191
|
+
|
|
48192
|
+
/**
|
|
48193
|
+
* Properties of a NixModulesBuildRequest.
|
|
48194
|
+
* @memberof replit.goval.api
|
|
48195
|
+
* @interface INixModulesBuildRequest
|
|
48196
|
+
*/
|
|
48197
|
+
|
|
48198
|
+
/**
|
|
48199
|
+
* Constructs a new NixModulesBuildRequest.
|
|
48200
|
+
* @memberof replit.goval.api
|
|
48201
|
+
* @classdesc Represents a NixModulesBuildRequest.
|
|
48202
|
+
* @constructor
|
|
48203
|
+
* @param {replit.goval.api.INixModulesBuildRequest=} [properties] Properties to set
|
|
48204
|
+
*/
|
|
48205
|
+
function NixModulesBuildRequest(properties) {
|
|
48206
|
+
if (properties)
|
|
48207
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
48208
|
+
if (properties[keys[i]] != null)
|
|
48209
|
+
this[keys[i]] = properties[keys[i]];
|
|
48210
|
+
}
|
|
48211
|
+
|
|
48212
|
+
/**
|
|
48213
|
+
* Creates a new NixModulesBuildRequest instance using the specified properties.
|
|
48214
|
+
* @function create
|
|
48215
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48216
|
+
* @static
|
|
48217
|
+
* @param {replit.goval.api.INixModulesBuildRequest=} [properties] Properties to set
|
|
48218
|
+
* @returns {replit.goval.api.NixModulesBuildRequest} NixModulesBuildRequest instance
|
|
48219
|
+
*/
|
|
48220
|
+
NixModulesBuildRequest.create = function create(properties) {
|
|
48221
|
+
return NixModulesBuildRequest.fromObject(properties);
|
|
48222
|
+
};
|
|
48223
|
+
|
|
48224
|
+
/**
|
|
48225
|
+
* Encodes the specified NixModulesBuildRequest message. Does not implicitly {@link replit.goval.api.NixModulesBuildRequest.verify|verify} messages.
|
|
48226
|
+
* @function encode
|
|
48227
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48228
|
+
* @static
|
|
48229
|
+
* @param {replit.goval.api.NixModulesBuildRequest} message NixModulesBuildRequest message or plain object to encode
|
|
48230
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48231
|
+
* @returns {$protobuf.Writer} Writer
|
|
48232
|
+
*/
|
|
48233
|
+
NixModulesBuildRequest.encode = function encode(message, writer) {
|
|
48234
|
+
if (!writer)
|
|
48235
|
+
writer = $Writer.create();
|
|
48236
|
+
return writer;
|
|
48237
|
+
};
|
|
48238
|
+
|
|
48239
|
+
/**
|
|
48240
|
+
* Encodes the specified NixModulesBuildRequest message, length delimited. Does not implicitly {@link replit.goval.api.NixModulesBuildRequest.verify|verify} messages.
|
|
48241
|
+
* @function encodeDelimited
|
|
48242
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48243
|
+
* @static
|
|
48244
|
+
* @param {replit.goval.api.NixModulesBuildRequest} message NixModulesBuildRequest message or plain object to encode
|
|
48245
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48246
|
+
* @returns {$protobuf.Writer} Writer
|
|
48247
|
+
*/
|
|
48248
|
+
NixModulesBuildRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
48249
|
+
return this.encode(message, writer).ldelim();
|
|
48250
|
+
};
|
|
48251
|
+
|
|
48252
|
+
/**
|
|
48253
|
+
* Decodes a NixModulesBuildRequest message from the specified reader or buffer.
|
|
48254
|
+
* @function decode
|
|
48255
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48256
|
+
* @static
|
|
48257
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48258
|
+
* @param {number} [length] Message length if known beforehand
|
|
48259
|
+
* @returns {replit.goval.api.NixModulesBuildRequest} NixModulesBuildRequest
|
|
48260
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48261
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48262
|
+
*/
|
|
48263
|
+
NixModulesBuildRequest.decode = function decode(reader, length) {
|
|
48264
|
+
if (!(reader instanceof $Reader))
|
|
48265
|
+
reader = $Reader.create(reader);
|
|
48266
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.NixModulesBuildRequest();
|
|
48267
|
+
while (reader.pos < end) {
|
|
48268
|
+
var tag = reader.uint32();
|
|
48269
|
+
switch (tag >>> 3) {
|
|
48270
|
+
default:
|
|
48271
|
+
reader.skipType(tag & 7);
|
|
48272
|
+
break;
|
|
48273
|
+
}
|
|
48274
|
+
}
|
|
48275
|
+
return message;
|
|
48276
|
+
};
|
|
48277
|
+
|
|
48278
|
+
/**
|
|
48279
|
+
* Decodes a NixModulesBuildRequest message from the specified reader or buffer, length delimited.
|
|
48280
|
+
* @function decodeDelimited
|
|
48281
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48282
|
+
* @static
|
|
48283
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48284
|
+
* @returns {replit.goval.api.NixModulesBuildRequest} NixModulesBuildRequest
|
|
48285
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48286
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48287
|
+
*/
|
|
48288
|
+
NixModulesBuildRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
48289
|
+
if (!(reader instanceof $Reader))
|
|
48290
|
+
reader = new $Reader(reader);
|
|
48291
|
+
return this.decode(reader, reader.uint32());
|
|
48292
|
+
};
|
|
48293
|
+
|
|
48294
|
+
/**
|
|
48295
|
+
* Verifies a NixModulesBuildRequest message.
|
|
48296
|
+
* @function verify
|
|
48297
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48298
|
+
* @static
|
|
48299
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
48300
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
48301
|
+
*/
|
|
48302
|
+
NixModulesBuildRequest.verify = function verify(message) {
|
|
48303
|
+
if (typeof message !== "object" || message === null)
|
|
48304
|
+
return "object expected";
|
|
48305
|
+
return null;
|
|
48306
|
+
};
|
|
48307
|
+
|
|
48308
|
+
/**
|
|
48309
|
+
* Creates a NixModulesBuildRequest message from a plain object. Also converts values to their respective internal types.
|
|
48310
|
+
* @function fromObject
|
|
48311
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48312
|
+
* @static
|
|
48313
|
+
* @param {Object.<string,*>} object Plain object
|
|
48314
|
+
* @returns {replit.goval.api.NixModulesBuildRequest} NixModulesBuildRequest
|
|
48315
|
+
*/
|
|
48316
|
+
NixModulesBuildRequest.fromObject = function fromObject(object) {
|
|
48317
|
+
if (object instanceof $root.replit.goval.api.NixModulesBuildRequest)
|
|
48318
|
+
return object;
|
|
48319
|
+
return new $root.replit.goval.api.NixModulesBuildRequest();
|
|
48320
|
+
};
|
|
48321
|
+
|
|
48322
|
+
/**
|
|
48323
|
+
* Creates a plain object from a NixModulesBuildRequest message. Also converts values to other types if specified.
|
|
48324
|
+
* @function toObject
|
|
48325
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48326
|
+
* @static
|
|
48327
|
+
* @param {replit.goval.api.NixModulesBuildRequest} message NixModulesBuildRequest
|
|
48328
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
48329
|
+
* @returns {Object.<string,*>} Plain object
|
|
48330
|
+
*/
|
|
48331
|
+
NixModulesBuildRequest.toObject = function toObject() {
|
|
48332
|
+
return {};
|
|
48333
|
+
};
|
|
48334
|
+
|
|
48335
|
+
/**
|
|
48336
|
+
* Converts this NixModulesBuildRequest to JSON.
|
|
48337
|
+
* @function toJSON
|
|
48338
|
+
* @memberof replit.goval.api.NixModulesBuildRequest
|
|
48339
|
+
* @instance
|
|
48340
|
+
* @returns {Object.<string,*>} JSON object
|
|
48341
|
+
*/
|
|
48342
|
+
NixModulesBuildRequest.prototype.toJSON = function toJSON() {
|
|
48343
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
48344
|
+
};
|
|
48345
|
+
|
|
48346
|
+
return NixModulesBuildRequest;
|
|
48347
|
+
})();
|
|
48348
|
+
|
|
48349
|
+
api.ToolchainGetRequest = (function() {
|
|
48350
|
+
|
|
48351
|
+
/**
|
|
48352
|
+
* Properties of a ToolchainGetRequest.
|
|
48353
|
+
* @memberof replit.goval.api
|
|
48354
|
+
* @interface IToolchainGetRequest
|
|
48355
|
+
*/
|
|
48356
|
+
|
|
48357
|
+
/**
|
|
48358
|
+
* Constructs a new ToolchainGetRequest.
|
|
48359
|
+
* @memberof replit.goval.api
|
|
48360
|
+
* @classdesc Represents a ToolchainGetRequest.
|
|
48361
|
+
* @constructor
|
|
48362
|
+
* @param {replit.goval.api.IToolchainGetRequest=} [properties] Properties to set
|
|
48363
|
+
*/
|
|
48364
|
+
function ToolchainGetRequest(properties) {
|
|
48365
|
+
if (properties)
|
|
48366
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
48367
|
+
if (properties[keys[i]] != null)
|
|
48368
|
+
this[keys[i]] = properties[keys[i]];
|
|
48369
|
+
}
|
|
48370
|
+
|
|
48371
|
+
/**
|
|
48372
|
+
* Creates a new ToolchainGetRequest instance using the specified properties.
|
|
48373
|
+
* @function create
|
|
48374
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48375
|
+
* @static
|
|
48376
|
+
* @param {replit.goval.api.IToolchainGetRequest=} [properties] Properties to set
|
|
48377
|
+
* @returns {replit.goval.api.ToolchainGetRequest} ToolchainGetRequest instance
|
|
48378
|
+
*/
|
|
48379
|
+
ToolchainGetRequest.create = function create(properties) {
|
|
48380
|
+
return ToolchainGetRequest.fromObject(properties);
|
|
48381
|
+
};
|
|
48382
|
+
|
|
48383
|
+
/**
|
|
48384
|
+
* Encodes the specified ToolchainGetRequest message. Does not implicitly {@link replit.goval.api.ToolchainGetRequest.verify|verify} messages.
|
|
48385
|
+
* @function encode
|
|
48386
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48387
|
+
* @static
|
|
48388
|
+
* @param {replit.goval.api.ToolchainGetRequest} message ToolchainGetRequest message or plain object to encode
|
|
48389
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48390
|
+
* @returns {$protobuf.Writer} Writer
|
|
48391
|
+
*/
|
|
48392
|
+
ToolchainGetRequest.encode = function encode(message, writer) {
|
|
48393
|
+
if (!writer)
|
|
48394
|
+
writer = $Writer.create();
|
|
48395
|
+
return writer;
|
|
48396
|
+
};
|
|
48397
|
+
|
|
48398
|
+
/**
|
|
48399
|
+
* Encodes the specified ToolchainGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ToolchainGetRequest.verify|verify} messages.
|
|
48400
|
+
* @function encodeDelimited
|
|
48401
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48402
|
+
* @static
|
|
48403
|
+
* @param {replit.goval.api.ToolchainGetRequest} message ToolchainGetRequest message or plain object to encode
|
|
48404
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48405
|
+
* @returns {$protobuf.Writer} Writer
|
|
48406
|
+
*/
|
|
48407
|
+
ToolchainGetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
48408
|
+
return this.encode(message, writer).ldelim();
|
|
48409
|
+
};
|
|
48410
|
+
|
|
48411
|
+
/**
|
|
48412
|
+
* Decodes a ToolchainGetRequest message from the specified reader or buffer.
|
|
48413
|
+
* @function decode
|
|
48414
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48415
|
+
* @static
|
|
48416
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48417
|
+
* @param {number} [length] Message length if known beforehand
|
|
48418
|
+
* @returns {replit.goval.api.ToolchainGetRequest} ToolchainGetRequest
|
|
48419
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48420
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48421
|
+
*/
|
|
48422
|
+
ToolchainGetRequest.decode = function decode(reader, length) {
|
|
48423
|
+
if (!(reader instanceof $Reader))
|
|
48424
|
+
reader = $Reader.create(reader);
|
|
48425
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ToolchainGetRequest();
|
|
48426
|
+
while (reader.pos < end) {
|
|
48427
|
+
var tag = reader.uint32();
|
|
48428
|
+
switch (tag >>> 3) {
|
|
48429
|
+
default:
|
|
48430
|
+
reader.skipType(tag & 7);
|
|
48431
|
+
break;
|
|
48432
|
+
}
|
|
48433
|
+
}
|
|
48434
|
+
return message;
|
|
48435
|
+
};
|
|
48436
|
+
|
|
48437
|
+
/**
|
|
48438
|
+
* Decodes a ToolchainGetRequest message from the specified reader or buffer, length delimited.
|
|
48439
|
+
* @function decodeDelimited
|
|
48440
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48441
|
+
* @static
|
|
48442
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48443
|
+
* @returns {replit.goval.api.ToolchainGetRequest} ToolchainGetRequest
|
|
48444
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48445
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48446
|
+
*/
|
|
48447
|
+
ToolchainGetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
48448
|
+
if (!(reader instanceof $Reader))
|
|
48449
|
+
reader = new $Reader(reader);
|
|
48450
|
+
return this.decode(reader, reader.uint32());
|
|
48451
|
+
};
|
|
48452
|
+
|
|
48453
|
+
/**
|
|
48454
|
+
* Verifies a ToolchainGetRequest message.
|
|
48455
|
+
* @function verify
|
|
48456
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48457
|
+
* @static
|
|
48458
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
48459
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
48460
|
+
*/
|
|
48461
|
+
ToolchainGetRequest.verify = function verify(message) {
|
|
48462
|
+
if (typeof message !== "object" || message === null)
|
|
48463
|
+
return "object expected";
|
|
48464
|
+
return null;
|
|
48465
|
+
};
|
|
48466
|
+
|
|
48467
|
+
/**
|
|
48468
|
+
* Creates a ToolchainGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
48469
|
+
* @function fromObject
|
|
48470
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48471
|
+
* @static
|
|
48472
|
+
* @param {Object.<string,*>} object Plain object
|
|
48473
|
+
* @returns {replit.goval.api.ToolchainGetRequest} ToolchainGetRequest
|
|
48474
|
+
*/
|
|
48475
|
+
ToolchainGetRequest.fromObject = function fromObject(object) {
|
|
48476
|
+
if (object instanceof $root.replit.goval.api.ToolchainGetRequest)
|
|
48477
|
+
return object;
|
|
48478
|
+
return new $root.replit.goval.api.ToolchainGetRequest();
|
|
48479
|
+
};
|
|
48480
|
+
|
|
48481
|
+
/**
|
|
48482
|
+
* Creates a plain object from a ToolchainGetRequest message. Also converts values to other types if specified.
|
|
48483
|
+
* @function toObject
|
|
48484
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48485
|
+
* @static
|
|
48486
|
+
* @param {replit.goval.api.ToolchainGetRequest} message ToolchainGetRequest
|
|
48487
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
48488
|
+
* @returns {Object.<string,*>} Plain object
|
|
48489
|
+
*/
|
|
48490
|
+
ToolchainGetRequest.toObject = function toObject() {
|
|
48491
|
+
return {};
|
|
48492
|
+
};
|
|
48493
|
+
|
|
48494
|
+
/**
|
|
48495
|
+
* Converts this ToolchainGetRequest to JSON.
|
|
48496
|
+
* @function toJSON
|
|
48497
|
+
* @memberof replit.goval.api.ToolchainGetRequest
|
|
48498
|
+
* @instance
|
|
48499
|
+
* @returns {Object.<string,*>} JSON object
|
|
48500
|
+
*/
|
|
48501
|
+
ToolchainGetRequest.prototype.toJSON = function toJSON() {
|
|
48502
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
48503
|
+
};
|
|
48504
|
+
|
|
48505
|
+
return ToolchainGetRequest;
|
|
48506
|
+
})();
|
|
48507
|
+
|
|
48508
|
+
api.ToolchainConfigs = (function() {
|
|
48509
|
+
|
|
48510
|
+
/**
|
|
48511
|
+
* Properties of a ToolchainConfigs.
|
|
48512
|
+
* @memberof replit.goval.api
|
|
48513
|
+
* @interface IToolchainConfigs
|
|
48514
|
+
* @property {string|null} [entrypoint] ToolchainConfigs entrypoint
|
|
48515
|
+
* @property {Array.<replit.goval.api.RunOption|replit.goval.api.IRunOption>|null} [runs] ToolchainConfigs runs
|
|
48516
|
+
* @property {Array.<replit.goval.api.DebuggerOption|replit.goval.api.IDebuggerOption>|null} [debuggers] ToolchainConfigs debuggers
|
|
48517
|
+
* @property {Array.<replit.goval.api.LanguageServerOption|replit.goval.api.ILanguageServerOption>|null} [languageServers] ToolchainConfigs languageServers
|
|
48518
|
+
* @property {Array.<replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption>|null} [packagers] ToolchainConfigs packagers
|
|
48519
|
+
*/
|
|
48520
|
+
|
|
48521
|
+
/**
|
|
48522
|
+
* Constructs a new ToolchainConfigs.
|
|
48523
|
+
* @memberof replit.goval.api
|
|
48524
|
+
* @classdesc Represents a ToolchainConfigs.
|
|
48525
|
+
* @constructor
|
|
48526
|
+
* @param {replit.goval.api.IToolchainConfigs=} [properties] Properties to set
|
|
48527
|
+
*/
|
|
48528
|
+
function ToolchainConfigs(properties) {
|
|
48529
|
+
this.runs = [];
|
|
48530
|
+
this.debuggers = [];
|
|
48531
|
+
this.languageServers = [];
|
|
48532
|
+
this.packagers = [];
|
|
48533
|
+
if (properties)
|
|
48534
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
48535
|
+
if (properties[keys[i]] != null)
|
|
48536
|
+
this[keys[i]] = properties[keys[i]];
|
|
48537
|
+
}
|
|
48538
|
+
|
|
48539
|
+
/**
|
|
48540
|
+
* ToolchainConfigs entrypoint.
|
|
48541
|
+
* @member {string} entrypoint
|
|
48542
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48543
|
+
* @instance
|
|
48544
|
+
*/
|
|
48545
|
+
ToolchainConfigs.prototype.entrypoint = "";
|
|
48546
|
+
|
|
48547
|
+
/**
|
|
48548
|
+
* ToolchainConfigs runs.
|
|
48549
|
+
* @member {Array.<replit.goval.api.RunOption>} runs
|
|
48550
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48551
|
+
* @instance
|
|
48552
|
+
*/
|
|
48553
|
+
ToolchainConfigs.prototype.runs = $util.emptyArray;
|
|
48554
|
+
|
|
48555
|
+
/**
|
|
48556
|
+
* ToolchainConfigs debuggers.
|
|
48557
|
+
* @member {Array.<replit.goval.api.DebuggerOption>} debuggers
|
|
48558
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48559
|
+
* @instance
|
|
48560
|
+
*/
|
|
48561
|
+
ToolchainConfigs.prototype.debuggers = $util.emptyArray;
|
|
48562
|
+
|
|
48563
|
+
/**
|
|
48564
|
+
* ToolchainConfigs languageServers.
|
|
48565
|
+
* @member {Array.<replit.goval.api.LanguageServerOption>} languageServers
|
|
48566
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48567
|
+
* @instance
|
|
48568
|
+
*/
|
|
48569
|
+
ToolchainConfigs.prototype.languageServers = $util.emptyArray;
|
|
48570
|
+
|
|
48571
|
+
/**
|
|
48572
|
+
* ToolchainConfigs packagers.
|
|
48573
|
+
* @member {Array.<replit.goval.api.PackagerOption>} packagers
|
|
48574
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48575
|
+
* @instance
|
|
48576
|
+
*/
|
|
48577
|
+
ToolchainConfigs.prototype.packagers = $util.emptyArray;
|
|
48578
|
+
|
|
48579
|
+
/**
|
|
48580
|
+
* Creates a new ToolchainConfigs instance using the specified properties.
|
|
48581
|
+
* @function create
|
|
48582
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48583
|
+
* @static
|
|
48584
|
+
* @param {replit.goval.api.IToolchainConfigs=} [properties] Properties to set
|
|
48585
|
+
* @returns {replit.goval.api.ToolchainConfigs} ToolchainConfigs instance
|
|
48586
|
+
*/
|
|
48587
|
+
ToolchainConfigs.create = function create(properties) {
|
|
48588
|
+
return ToolchainConfigs.fromObject(properties);
|
|
48589
|
+
};
|
|
48590
|
+
|
|
48591
|
+
/**
|
|
48592
|
+
* Encodes the specified ToolchainConfigs message. Does not implicitly {@link replit.goval.api.ToolchainConfigs.verify|verify} messages.
|
|
48593
|
+
* @function encode
|
|
48594
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48595
|
+
* @static
|
|
48596
|
+
* @param {replit.goval.api.ToolchainConfigs} message ToolchainConfigs message or plain object to encode
|
|
48597
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48598
|
+
* @returns {$protobuf.Writer} Writer
|
|
48599
|
+
*/
|
|
48600
|
+
ToolchainConfigs.encode = function encode(message, writer) {
|
|
48601
|
+
if (!writer)
|
|
48602
|
+
writer = $Writer.create();
|
|
48603
|
+
if (message.entrypoint != null && Object.hasOwnProperty.call(message, "entrypoint"))
|
|
48604
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.entrypoint);
|
|
48605
|
+
if (message.runs != null && message.runs.length)
|
|
48606
|
+
for (var i = 0; i < message.runs.length; ++i)
|
|
48607
|
+
$root.replit.goval.api.RunOption.encode(message.runs[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
48608
|
+
if (message.debuggers != null && message.debuggers.length)
|
|
48609
|
+
for (var i = 0; i < message.debuggers.length; ++i)
|
|
48610
|
+
$root.replit.goval.api.DebuggerOption.encode(message.debuggers[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
48611
|
+
if (message.languageServers != null && message.languageServers.length)
|
|
48612
|
+
for (var i = 0; i < message.languageServers.length; ++i)
|
|
48613
|
+
$root.replit.goval.api.LanguageServerOption.encode(message.languageServers[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
48614
|
+
if (message.packagers != null && message.packagers.length)
|
|
48615
|
+
for (var i = 0; i < message.packagers.length; ++i)
|
|
48616
|
+
$root.replit.goval.api.PackagerOption.encode(message.packagers[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
48617
|
+
return writer;
|
|
48618
|
+
};
|
|
48619
|
+
|
|
48620
|
+
/**
|
|
48621
|
+
* Encodes the specified ToolchainConfigs message, length delimited. Does not implicitly {@link replit.goval.api.ToolchainConfigs.verify|verify} messages.
|
|
48622
|
+
* @function encodeDelimited
|
|
48623
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48624
|
+
* @static
|
|
48625
|
+
* @param {replit.goval.api.ToolchainConfigs} message ToolchainConfigs message or plain object to encode
|
|
48626
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48627
|
+
* @returns {$protobuf.Writer} Writer
|
|
48628
|
+
*/
|
|
48629
|
+
ToolchainConfigs.encodeDelimited = function encodeDelimited(message, writer) {
|
|
48630
|
+
return this.encode(message, writer).ldelim();
|
|
48631
|
+
};
|
|
48632
|
+
|
|
48633
|
+
/**
|
|
48634
|
+
* Decodes a ToolchainConfigs message from the specified reader or buffer.
|
|
48635
|
+
* @function decode
|
|
48636
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48637
|
+
* @static
|
|
48638
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48639
|
+
* @param {number} [length] Message length if known beforehand
|
|
48640
|
+
* @returns {replit.goval.api.ToolchainConfigs} ToolchainConfigs
|
|
48641
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48642
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48643
|
+
*/
|
|
48644
|
+
ToolchainConfigs.decode = function decode(reader, length) {
|
|
48645
|
+
if (!(reader instanceof $Reader))
|
|
48646
|
+
reader = $Reader.create(reader);
|
|
48647
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ToolchainConfigs();
|
|
48648
|
+
while (reader.pos < end) {
|
|
48649
|
+
var tag = reader.uint32();
|
|
48650
|
+
switch (tag >>> 3) {
|
|
48651
|
+
case 1:
|
|
48652
|
+
message.entrypoint = reader.string();
|
|
48653
|
+
break;
|
|
48654
|
+
case 2:
|
|
48655
|
+
if (!(message.runs && message.runs.length))
|
|
48656
|
+
message.runs = [];
|
|
48657
|
+
message.runs.push($root.replit.goval.api.RunOption.decode(reader, reader.uint32()));
|
|
48658
|
+
break;
|
|
48659
|
+
case 3:
|
|
48660
|
+
if (!(message.debuggers && message.debuggers.length))
|
|
48661
|
+
message.debuggers = [];
|
|
48662
|
+
message.debuggers.push($root.replit.goval.api.DebuggerOption.decode(reader, reader.uint32()));
|
|
48663
|
+
break;
|
|
48664
|
+
case 4:
|
|
48665
|
+
if (!(message.languageServers && message.languageServers.length))
|
|
48666
|
+
message.languageServers = [];
|
|
48667
|
+
message.languageServers.push($root.replit.goval.api.LanguageServerOption.decode(reader, reader.uint32()));
|
|
48668
|
+
break;
|
|
48669
|
+
case 5:
|
|
48670
|
+
if (!(message.packagers && message.packagers.length))
|
|
48671
|
+
message.packagers = [];
|
|
48672
|
+
message.packagers.push($root.replit.goval.api.PackagerOption.decode(reader, reader.uint32()));
|
|
48673
|
+
break;
|
|
48674
|
+
default:
|
|
48675
|
+
reader.skipType(tag & 7);
|
|
48676
|
+
break;
|
|
48677
|
+
}
|
|
48678
|
+
}
|
|
48679
|
+
return message;
|
|
48680
|
+
};
|
|
48681
|
+
|
|
48682
|
+
/**
|
|
48683
|
+
* Decodes a ToolchainConfigs message from the specified reader or buffer, length delimited.
|
|
48684
|
+
* @function decodeDelimited
|
|
48685
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48686
|
+
* @static
|
|
48687
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48688
|
+
* @returns {replit.goval.api.ToolchainConfigs} ToolchainConfigs
|
|
48689
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48690
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48691
|
+
*/
|
|
48692
|
+
ToolchainConfigs.decodeDelimited = function decodeDelimited(reader) {
|
|
48693
|
+
if (!(reader instanceof $Reader))
|
|
48694
|
+
reader = new $Reader(reader);
|
|
48695
|
+
return this.decode(reader, reader.uint32());
|
|
48696
|
+
};
|
|
48697
|
+
|
|
48698
|
+
/**
|
|
48699
|
+
* Verifies a ToolchainConfigs message.
|
|
48700
|
+
* @function verify
|
|
48701
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48702
|
+
* @static
|
|
48703
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
48704
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
48705
|
+
*/
|
|
48706
|
+
ToolchainConfigs.verify = function verify(message) {
|
|
48707
|
+
if (typeof message !== "object" || message === null)
|
|
48708
|
+
return "object expected";
|
|
48709
|
+
if (message.entrypoint != null && message.hasOwnProperty("entrypoint"))
|
|
48710
|
+
if (!$util.isString(message.entrypoint))
|
|
48711
|
+
return "entrypoint: string expected";
|
|
48712
|
+
if (message.runs != null && message.hasOwnProperty("runs")) {
|
|
48713
|
+
if (!Array.isArray(message.runs))
|
|
48714
|
+
return "runs: array expected";
|
|
48715
|
+
for (var i = 0; i < message.runs.length; ++i) {
|
|
48716
|
+
var error = $root.replit.goval.api.RunOption.verify(message.runs[i]);
|
|
48717
|
+
if (error)
|
|
48718
|
+
return "runs." + error;
|
|
48719
|
+
}
|
|
48720
|
+
}
|
|
48721
|
+
if (message.debuggers != null && message.hasOwnProperty("debuggers")) {
|
|
48722
|
+
if (!Array.isArray(message.debuggers))
|
|
48723
|
+
return "debuggers: array expected";
|
|
48724
|
+
for (var i = 0; i < message.debuggers.length; ++i) {
|
|
48725
|
+
var error = $root.replit.goval.api.DebuggerOption.verify(message.debuggers[i]);
|
|
48726
|
+
if (error)
|
|
48727
|
+
return "debuggers." + error;
|
|
48728
|
+
}
|
|
48729
|
+
}
|
|
48730
|
+
if (message.languageServers != null && message.hasOwnProperty("languageServers")) {
|
|
48731
|
+
if (!Array.isArray(message.languageServers))
|
|
48732
|
+
return "languageServers: array expected";
|
|
48733
|
+
for (var i = 0; i < message.languageServers.length; ++i) {
|
|
48734
|
+
var error = $root.replit.goval.api.LanguageServerOption.verify(message.languageServers[i]);
|
|
48735
|
+
if (error)
|
|
48736
|
+
return "languageServers." + error;
|
|
48737
|
+
}
|
|
48738
|
+
}
|
|
48739
|
+
if (message.packagers != null && message.hasOwnProperty("packagers")) {
|
|
48740
|
+
if (!Array.isArray(message.packagers))
|
|
48741
|
+
return "packagers: array expected";
|
|
48742
|
+
for (var i = 0; i < message.packagers.length; ++i) {
|
|
48743
|
+
var error = $root.replit.goval.api.PackagerOption.verify(message.packagers[i]);
|
|
48744
|
+
if (error)
|
|
48745
|
+
return "packagers." + error;
|
|
48746
|
+
}
|
|
48747
|
+
}
|
|
48748
|
+
return null;
|
|
48749
|
+
};
|
|
48750
|
+
|
|
48751
|
+
/**
|
|
48752
|
+
* Creates a ToolchainConfigs message from a plain object. Also converts values to their respective internal types.
|
|
48753
|
+
* @function fromObject
|
|
48754
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48755
|
+
* @static
|
|
48756
|
+
* @param {Object.<string,*>} object Plain object
|
|
48757
|
+
* @returns {replit.goval.api.ToolchainConfigs} ToolchainConfigs
|
|
48758
|
+
*/
|
|
48759
|
+
ToolchainConfigs.fromObject = function fromObject(object) {
|
|
48760
|
+
if (object instanceof $root.replit.goval.api.ToolchainConfigs)
|
|
48761
|
+
return object;
|
|
48762
|
+
var message = new $root.replit.goval.api.ToolchainConfigs();
|
|
48763
|
+
if (object.entrypoint != null)
|
|
48764
|
+
message.entrypoint = String(object.entrypoint);
|
|
48765
|
+
if (object.runs) {
|
|
48766
|
+
if (!Array.isArray(object.runs))
|
|
48767
|
+
throw TypeError(".replit.goval.api.ToolchainConfigs.runs: array expected");
|
|
48768
|
+
message.runs = [];
|
|
48769
|
+
for (var i = 0; i < object.runs.length; ++i) {
|
|
48770
|
+
if (typeof object.runs[i] !== "object")
|
|
48771
|
+
throw TypeError(".replit.goval.api.ToolchainConfigs.runs: object expected");
|
|
48772
|
+
message.runs[i] = $root.replit.goval.api.RunOption.fromObject(object.runs[i]);
|
|
48773
|
+
}
|
|
48774
|
+
}
|
|
48775
|
+
if (object.debuggers) {
|
|
48776
|
+
if (!Array.isArray(object.debuggers))
|
|
48777
|
+
throw TypeError(".replit.goval.api.ToolchainConfigs.debuggers: array expected");
|
|
48778
|
+
message.debuggers = [];
|
|
48779
|
+
for (var i = 0; i < object.debuggers.length; ++i) {
|
|
48780
|
+
if (typeof object.debuggers[i] !== "object")
|
|
48781
|
+
throw TypeError(".replit.goval.api.ToolchainConfigs.debuggers: object expected");
|
|
48782
|
+
message.debuggers[i] = $root.replit.goval.api.DebuggerOption.fromObject(object.debuggers[i]);
|
|
48783
|
+
}
|
|
48784
|
+
}
|
|
48785
|
+
if (object.languageServers) {
|
|
48786
|
+
if (!Array.isArray(object.languageServers))
|
|
48787
|
+
throw TypeError(".replit.goval.api.ToolchainConfigs.languageServers: array expected");
|
|
48788
|
+
message.languageServers = [];
|
|
48789
|
+
for (var i = 0; i < object.languageServers.length; ++i) {
|
|
48790
|
+
if (typeof object.languageServers[i] !== "object")
|
|
48791
|
+
throw TypeError(".replit.goval.api.ToolchainConfigs.languageServers: object expected");
|
|
48792
|
+
message.languageServers[i] = $root.replit.goval.api.LanguageServerOption.fromObject(object.languageServers[i]);
|
|
48793
|
+
}
|
|
48794
|
+
}
|
|
48795
|
+
if (object.packagers) {
|
|
48796
|
+
if (!Array.isArray(object.packagers))
|
|
48797
|
+
throw TypeError(".replit.goval.api.ToolchainConfigs.packagers: array expected");
|
|
48798
|
+
message.packagers = [];
|
|
48799
|
+
for (var i = 0; i < object.packagers.length; ++i) {
|
|
48800
|
+
if (typeof object.packagers[i] !== "object")
|
|
48801
|
+
throw TypeError(".replit.goval.api.ToolchainConfigs.packagers: object expected");
|
|
48802
|
+
message.packagers[i] = $root.replit.goval.api.PackagerOption.fromObject(object.packagers[i]);
|
|
48803
|
+
}
|
|
48804
|
+
}
|
|
48805
|
+
return message;
|
|
48806
|
+
};
|
|
48807
|
+
|
|
48808
|
+
/**
|
|
48809
|
+
* Creates a plain object from a ToolchainConfigs message. Also converts values to other types if specified.
|
|
48810
|
+
* @function toObject
|
|
48811
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48812
|
+
* @static
|
|
48813
|
+
* @param {replit.goval.api.ToolchainConfigs} message ToolchainConfigs
|
|
48814
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
48815
|
+
* @returns {Object.<string,*>} Plain object
|
|
48816
|
+
*/
|
|
48817
|
+
ToolchainConfigs.toObject = function toObject(message, options) {
|
|
48818
|
+
if (!options)
|
|
48819
|
+
options = {};
|
|
48820
|
+
var object = {};
|
|
48821
|
+
if (options.arrays || options.defaults) {
|
|
48822
|
+
object.runs = [];
|
|
48823
|
+
object.debuggers = [];
|
|
48824
|
+
object.languageServers = [];
|
|
48825
|
+
object.packagers = [];
|
|
48826
|
+
}
|
|
48827
|
+
if (options.defaults)
|
|
48828
|
+
object.entrypoint = "";
|
|
48829
|
+
if (message.entrypoint != null && message.hasOwnProperty("entrypoint"))
|
|
48830
|
+
object.entrypoint = message.entrypoint;
|
|
48831
|
+
if (message.runs && message.runs.length) {
|
|
48832
|
+
object.runs = [];
|
|
48833
|
+
for (var j = 0; j < message.runs.length; ++j)
|
|
48834
|
+
object.runs[j] = $root.replit.goval.api.RunOption.toObject(message.runs[j], options);
|
|
48835
|
+
}
|
|
48836
|
+
if (message.debuggers && message.debuggers.length) {
|
|
48837
|
+
object.debuggers = [];
|
|
48838
|
+
for (var j = 0; j < message.debuggers.length; ++j)
|
|
48839
|
+
object.debuggers[j] = $root.replit.goval.api.DebuggerOption.toObject(message.debuggers[j], options);
|
|
48840
|
+
}
|
|
48841
|
+
if (message.languageServers && message.languageServers.length) {
|
|
48842
|
+
object.languageServers = [];
|
|
48843
|
+
for (var j = 0; j < message.languageServers.length; ++j)
|
|
48844
|
+
object.languageServers[j] = $root.replit.goval.api.LanguageServerOption.toObject(message.languageServers[j], options);
|
|
48845
|
+
}
|
|
48846
|
+
if (message.packagers && message.packagers.length) {
|
|
48847
|
+
object.packagers = [];
|
|
48848
|
+
for (var j = 0; j < message.packagers.length; ++j)
|
|
48849
|
+
object.packagers[j] = $root.replit.goval.api.PackagerOption.toObject(message.packagers[j], options);
|
|
48850
|
+
}
|
|
48851
|
+
return object;
|
|
48852
|
+
};
|
|
48853
|
+
|
|
48854
|
+
/**
|
|
48855
|
+
* Converts this ToolchainConfigs to JSON.
|
|
48856
|
+
* @function toJSON
|
|
48857
|
+
* @memberof replit.goval.api.ToolchainConfigs
|
|
48858
|
+
* @instance
|
|
48859
|
+
* @returns {Object.<string,*>} JSON object
|
|
48860
|
+
*/
|
|
48861
|
+
ToolchainConfigs.prototype.toJSON = function toJSON() {
|
|
48862
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
48863
|
+
};
|
|
48864
|
+
|
|
48865
|
+
return ToolchainConfigs;
|
|
48866
|
+
})();
|
|
48867
|
+
|
|
48868
|
+
api.ToolchainGetResponse = (function() {
|
|
48869
|
+
|
|
48870
|
+
/**
|
|
48871
|
+
* Properties of a ToolchainGetResponse.
|
|
48872
|
+
* @memberof replit.goval.api
|
|
48873
|
+
* @interface IToolchainGetResponse
|
|
48874
|
+
* @property {replit.goval.api.ToolchainConfigs|replit.goval.api.IToolchainConfigs|null} [configs] ToolchainGetResponse configs
|
|
48875
|
+
*/
|
|
48876
|
+
|
|
48877
|
+
/**
|
|
48878
|
+
* Constructs a new ToolchainGetResponse.
|
|
48879
|
+
* @memberof replit.goval.api
|
|
48880
|
+
* @classdesc Represents a ToolchainGetResponse.
|
|
48881
|
+
* @constructor
|
|
48882
|
+
* @param {replit.goval.api.IToolchainGetResponse=} [properties] Properties to set
|
|
48883
|
+
*/
|
|
48884
|
+
function ToolchainGetResponse(properties) {
|
|
48885
|
+
if (properties)
|
|
48886
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
48887
|
+
if (properties[keys[i]] != null)
|
|
48888
|
+
this[keys[i]] = properties[keys[i]];
|
|
48889
|
+
}
|
|
48890
|
+
|
|
48891
|
+
/**
|
|
48892
|
+
* ToolchainGetResponse configs.
|
|
48893
|
+
* @member {replit.goval.api.ToolchainConfigs|null|undefined} configs
|
|
48894
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
48895
|
+
* @instance
|
|
48896
|
+
*/
|
|
48897
|
+
ToolchainGetResponse.prototype.configs = null;
|
|
48898
|
+
|
|
48899
|
+
/**
|
|
48900
|
+
* Creates a new ToolchainGetResponse instance using the specified properties.
|
|
48901
|
+
* @function create
|
|
48902
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
48903
|
+
* @static
|
|
48904
|
+
* @param {replit.goval.api.IToolchainGetResponse=} [properties] Properties to set
|
|
48905
|
+
* @returns {replit.goval.api.ToolchainGetResponse} ToolchainGetResponse instance
|
|
48906
|
+
*/
|
|
48907
|
+
ToolchainGetResponse.create = function create(properties) {
|
|
48908
|
+
return ToolchainGetResponse.fromObject(properties);
|
|
48909
|
+
};
|
|
48910
|
+
|
|
48911
|
+
/**
|
|
48912
|
+
* Encodes the specified ToolchainGetResponse message. Does not implicitly {@link replit.goval.api.ToolchainGetResponse.verify|verify} messages.
|
|
48913
|
+
* @function encode
|
|
48914
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
48915
|
+
* @static
|
|
48916
|
+
* @param {replit.goval.api.ToolchainGetResponse} message ToolchainGetResponse message or plain object to encode
|
|
48917
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48918
|
+
* @returns {$protobuf.Writer} Writer
|
|
48919
|
+
*/
|
|
48920
|
+
ToolchainGetResponse.encode = function encode(message, writer) {
|
|
48921
|
+
if (!writer)
|
|
48922
|
+
writer = $Writer.create();
|
|
48923
|
+
if (message.configs != null && Object.hasOwnProperty.call(message, "configs"))
|
|
48924
|
+
$root.replit.goval.api.ToolchainConfigs.encode(message.configs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
48925
|
+
return writer;
|
|
48926
|
+
};
|
|
48927
|
+
|
|
48928
|
+
/**
|
|
48929
|
+
* Encodes the specified ToolchainGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.ToolchainGetResponse.verify|verify} messages.
|
|
48930
|
+
* @function encodeDelimited
|
|
48931
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
48932
|
+
* @static
|
|
48933
|
+
* @param {replit.goval.api.ToolchainGetResponse} message ToolchainGetResponse message or plain object to encode
|
|
48934
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
48935
|
+
* @returns {$protobuf.Writer} Writer
|
|
48936
|
+
*/
|
|
48937
|
+
ToolchainGetResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
48938
|
+
return this.encode(message, writer).ldelim();
|
|
48939
|
+
};
|
|
48940
|
+
|
|
48941
|
+
/**
|
|
48942
|
+
* Decodes a ToolchainGetResponse message from the specified reader or buffer.
|
|
48943
|
+
* @function decode
|
|
48944
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
48945
|
+
* @static
|
|
48946
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48947
|
+
* @param {number} [length] Message length if known beforehand
|
|
48948
|
+
* @returns {replit.goval.api.ToolchainGetResponse} ToolchainGetResponse
|
|
48949
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48950
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48951
|
+
*/
|
|
48952
|
+
ToolchainGetResponse.decode = function decode(reader, length) {
|
|
48953
|
+
if (!(reader instanceof $Reader))
|
|
48954
|
+
reader = $Reader.create(reader);
|
|
48955
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ToolchainGetResponse();
|
|
48956
|
+
while (reader.pos < end) {
|
|
48957
|
+
var tag = reader.uint32();
|
|
48958
|
+
switch (tag >>> 3) {
|
|
48959
|
+
case 1:
|
|
48960
|
+
message.configs = $root.replit.goval.api.ToolchainConfigs.decode(reader, reader.uint32());
|
|
48961
|
+
break;
|
|
48962
|
+
default:
|
|
48963
|
+
reader.skipType(tag & 7);
|
|
48964
|
+
break;
|
|
48965
|
+
}
|
|
48966
|
+
}
|
|
48967
|
+
return message;
|
|
48968
|
+
};
|
|
48969
|
+
|
|
48970
|
+
/**
|
|
48971
|
+
* Decodes a ToolchainGetResponse message from the specified reader or buffer, length delimited.
|
|
48972
|
+
* @function decodeDelimited
|
|
48973
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
48974
|
+
* @static
|
|
48975
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
48976
|
+
* @returns {replit.goval.api.ToolchainGetResponse} ToolchainGetResponse
|
|
48977
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48978
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48979
|
+
*/
|
|
48980
|
+
ToolchainGetResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
48981
|
+
if (!(reader instanceof $Reader))
|
|
48982
|
+
reader = new $Reader(reader);
|
|
48983
|
+
return this.decode(reader, reader.uint32());
|
|
48984
|
+
};
|
|
48985
|
+
|
|
48986
|
+
/**
|
|
48987
|
+
* Verifies a ToolchainGetResponse message.
|
|
48988
|
+
* @function verify
|
|
48989
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
48990
|
+
* @static
|
|
48991
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
48992
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
48993
|
+
*/
|
|
48994
|
+
ToolchainGetResponse.verify = function verify(message) {
|
|
48995
|
+
if (typeof message !== "object" || message === null)
|
|
48996
|
+
return "object expected";
|
|
48997
|
+
if (message.configs != null && message.hasOwnProperty("configs")) {
|
|
48998
|
+
var error = $root.replit.goval.api.ToolchainConfigs.verify(message.configs);
|
|
48999
|
+
if (error)
|
|
49000
|
+
return "configs." + error;
|
|
49001
|
+
}
|
|
49002
|
+
return null;
|
|
49003
|
+
};
|
|
49004
|
+
|
|
49005
|
+
/**
|
|
49006
|
+
* Creates a ToolchainGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
49007
|
+
* @function fromObject
|
|
49008
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
49009
|
+
* @static
|
|
49010
|
+
* @param {Object.<string,*>} object Plain object
|
|
49011
|
+
* @returns {replit.goval.api.ToolchainGetResponse} ToolchainGetResponse
|
|
49012
|
+
*/
|
|
49013
|
+
ToolchainGetResponse.fromObject = function fromObject(object) {
|
|
49014
|
+
if (object instanceof $root.replit.goval.api.ToolchainGetResponse)
|
|
49015
|
+
return object;
|
|
49016
|
+
var message = new $root.replit.goval.api.ToolchainGetResponse();
|
|
49017
|
+
if (object.configs != null) {
|
|
49018
|
+
if (typeof object.configs !== "object")
|
|
49019
|
+
throw TypeError(".replit.goval.api.ToolchainGetResponse.configs: object expected");
|
|
49020
|
+
message.configs = $root.replit.goval.api.ToolchainConfigs.fromObject(object.configs);
|
|
49021
|
+
}
|
|
49022
|
+
return message;
|
|
49023
|
+
};
|
|
49024
|
+
|
|
49025
|
+
/**
|
|
49026
|
+
* Creates a plain object from a ToolchainGetResponse message. Also converts values to other types if specified.
|
|
49027
|
+
* @function toObject
|
|
49028
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
49029
|
+
* @static
|
|
49030
|
+
* @param {replit.goval.api.ToolchainGetResponse} message ToolchainGetResponse
|
|
49031
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
49032
|
+
* @returns {Object.<string,*>} Plain object
|
|
49033
|
+
*/
|
|
49034
|
+
ToolchainGetResponse.toObject = function toObject(message, options) {
|
|
49035
|
+
if (!options)
|
|
49036
|
+
options = {};
|
|
49037
|
+
var object = {};
|
|
49038
|
+
if (options.defaults)
|
|
49039
|
+
object.configs = null;
|
|
49040
|
+
if (message.configs != null && message.hasOwnProperty("configs"))
|
|
49041
|
+
object.configs = $root.replit.goval.api.ToolchainConfigs.toObject(message.configs, options);
|
|
49042
|
+
return object;
|
|
49043
|
+
};
|
|
49044
|
+
|
|
49045
|
+
/**
|
|
49046
|
+
* Converts this ToolchainGetResponse to JSON.
|
|
49047
|
+
* @function toJSON
|
|
49048
|
+
* @memberof replit.goval.api.ToolchainGetResponse
|
|
49049
|
+
* @instance
|
|
49050
|
+
* @returns {Object.<string,*>} JSON object
|
|
49051
|
+
*/
|
|
49052
|
+
ToolchainGetResponse.prototype.toJSON = function toJSON() {
|
|
49053
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
49054
|
+
};
|
|
49055
|
+
|
|
49056
|
+
return ToolchainGetResponse;
|
|
49057
|
+
})();
|
|
49058
|
+
|
|
49059
|
+
api.ToolchainChanged = (function() {
|
|
49060
|
+
|
|
49061
|
+
/**
|
|
49062
|
+
* Properties of a ToolchainChanged.
|
|
49063
|
+
* @memberof replit.goval.api
|
|
49064
|
+
* @interface IToolchainChanged
|
|
49065
|
+
* @property {replit.goval.api.ToolchainConfigs|replit.goval.api.IToolchainConfigs|null} [configs] ToolchainChanged configs
|
|
49066
|
+
*/
|
|
49067
|
+
|
|
49068
|
+
/**
|
|
49069
|
+
* Constructs a new ToolchainChanged.
|
|
49070
|
+
* @memberof replit.goval.api
|
|
49071
|
+
* @classdesc Represents a ToolchainChanged.
|
|
49072
|
+
* @constructor
|
|
49073
|
+
* @param {replit.goval.api.IToolchainChanged=} [properties] Properties to set
|
|
49074
|
+
*/
|
|
49075
|
+
function ToolchainChanged(properties) {
|
|
49076
|
+
if (properties)
|
|
49077
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
49078
|
+
if (properties[keys[i]] != null)
|
|
49079
|
+
this[keys[i]] = properties[keys[i]];
|
|
49080
|
+
}
|
|
49081
|
+
|
|
49082
|
+
/**
|
|
49083
|
+
* ToolchainChanged configs.
|
|
49084
|
+
* @member {replit.goval.api.ToolchainConfigs|null|undefined} configs
|
|
49085
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49086
|
+
* @instance
|
|
49087
|
+
*/
|
|
49088
|
+
ToolchainChanged.prototype.configs = null;
|
|
49089
|
+
|
|
49090
|
+
/**
|
|
49091
|
+
* Creates a new ToolchainChanged instance using the specified properties.
|
|
49092
|
+
* @function create
|
|
49093
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49094
|
+
* @static
|
|
49095
|
+
* @param {replit.goval.api.IToolchainChanged=} [properties] Properties to set
|
|
49096
|
+
* @returns {replit.goval.api.ToolchainChanged} ToolchainChanged instance
|
|
49097
|
+
*/
|
|
49098
|
+
ToolchainChanged.create = function create(properties) {
|
|
49099
|
+
return ToolchainChanged.fromObject(properties);
|
|
49100
|
+
};
|
|
49101
|
+
|
|
49102
|
+
/**
|
|
49103
|
+
* Encodes the specified ToolchainChanged message. Does not implicitly {@link replit.goval.api.ToolchainChanged.verify|verify} messages.
|
|
49104
|
+
* @function encode
|
|
49105
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49106
|
+
* @static
|
|
49107
|
+
* @param {replit.goval.api.ToolchainChanged} message ToolchainChanged message or plain object to encode
|
|
49108
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49109
|
+
* @returns {$protobuf.Writer} Writer
|
|
49110
|
+
*/
|
|
49111
|
+
ToolchainChanged.encode = function encode(message, writer) {
|
|
49112
|
+
if (!writer)
|
|
49113
|
+
writer = $Writer.create();
|
|
49114
|
+
if (message.configs != null && Object.hasOwnProperty.call(message, "configs"))
|
|
49115
|
+
$root.replit.goval.api.ToolchainConfigs.encode(message.configs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
49116
|
+
return writer;
|
|
49117
|
+
};
|
|
49118
|
+
|
|
49119
|
+
/**
|
|
49120
|
+
* Encodes the specified ToolchainChanged message, length delimited. Does not implicitly {@link replit.goval.api.ToolchainChanged.verify|verify} messages.
|
|
49121
|
+
* @function encodeDelimited
|
|
49122
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49123
|
+
* @static
|
|
49124
|
+
* @param {replit.goval.api.ToolchainChanged} message ToolchainChanged message or plain object to encode
|
|
49125
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49126
|
+
* @returns {$protobuf.Writer} Writer
|
|
49127
|
+
*/
|
|
49128
|
+
ToolchainChanged.encodeDelimited = function encodeDelimited(message, writer) {
|
|
49129
|
+
return this.encode(message, writer).ldelim();
|
|
49130
|
+
};
|
|
49131
|
+
|
|
49132
|
+
/**
|
|
49133
|
+
* Decodes a ToolchainChanged message from the specified reader or buffer.
|
|
49134
|
+
* @function decode
|
|
49135
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49136
|
+
* @static
|
|
49137
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49138
|
+
* @param {number} [length] Message length if known beforehand
|
|
49139
|
+
* @returns {replit.goval.api.ToolchainChanged} ToolchainChanged
|
|
49140
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49141
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49142
|
+
*/
|
|
49143
|
+
ToolchainChanged.decode = function decode(reader, length) {
|
|
49144
|
+
if (!(reader instanceof $Reader))
|
|
49145
|
+
reader = $Reader.create(reader);
|
|
49146
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ToolchainChanged();
|
|
49147
|
+
while (reader.pos < end) {
|
|
49148
|
+
var tag = reader.uint32();
|
|
49149
|
+
switch (tag >>> 3) {
|
|
49150
|
+
case 1:
|
|
49151
|
+
message.configs = $root.replit.goval.api.ToolchainConfigs.decode(reader, reader.uint32());
|
|
49152
|
+
break;
|
|
49153
|
+
default:
|
|
49154
|
+
reader.skipType(tag & 7);
|
|
49155
|
+
break;
|
|
49156
|
+
}
|
|
49157
|
+
}
|
|
49158
|
+
return message;
|
|
49159
|
+
};
|
|
49160
|
+
|
|
49161
|
+
/**
|
|
49162
|
+
* Decodes a ToolchainChanged message from the specified reader or buffer, length delimited.
|
|
49163
|
+
* @function decodeDelimited
|
|
49164
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49165
|
+
* @static
|
|
49166
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49167
|
+
* @returns {replit.goval.api.ToolchainChanged} ToolchainChanged
|
|
49168
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49169
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49170
|
+
*/
|
|
49171
|
+
ToolchainChanged.decodeDelimited = function decodeDelimited(reader) {
|
|
49172
|
+
if (!(reader instanceof $Reader))
|
|
49173
|
+
reader = new $Reader(reader);
|
|
49174
|
+
return this.decode(reader, reader.uint32());
|
|
49175
|
+
};
|
|
49176
|
+
|
|
49177
|
+
/**
|
|
49178
|
+
* Verifies a ToolchainChanged message.
|
|
49179
|
+
* @function verify
|
|
49180
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49181
|
+
* @static
|
|
49182
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
49183
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
49184
|
+
*/
|
|
49185
|
+
ToolchainChanged.verify = function verify(message) {
|
|
49186
|
+
if (typeof message !== "object" || message === null)
|
|
49187
|
+
return "object expected";
|
|
49188
|
+
if (message.configs != null && message.hasOwnProperty("configs")) {
|
|
49189
|
+
var error = $root.replit.goval.api.ToolchainConfigs.verify(message.configs);
|
|
49190
|
+
if (error)
|
|
49191
|
+
return "configs." + error;
|
|
49192
|
+
}
|
|
49193
|
+
return null;
|
|
49194
|
+
};
|
|
49195
|
+
|
|
49196
|
+
/**
|
|
49197
|
+
* Creates a ToolchainChanged message from a plain object. Also converts values to their respective internal types.
|
|
49198
|
+
* @function fromObject
|
|
49199
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49200
|
+
* @static
|
|
49201
|
+
* @param {Object.<string,*>} object Plain object
|
|
49202
|
+
* @returns {replit.goval.api.ToolchainChanged} ToolchainChanged
|
|
49203
|
+
*/
|
|
49204
|
+
ToolchainChanged.fromObject = function fromObject(object) {
|
|
49205
|
+
if (object instanceof $root.replit.goval.api.ToolchainChanged)
|
|
49206
|
+
return object;
|
|
49207
|
+
var message = new $root.replit.goval.api.ToolchainChanged();
|
|
49208
|
+
if (object.configs != null) {
|
|
49209
|
+
if (typeof object.configs !== "object")
|
|
49210
|
+
throw TypeError(".replit.goval.api.ToolchainChanged.configs: object expected");
|
|
49211
|
+
message.configs = $root.replit.goval.api.ToolchainConfigs.fromObject(object.configs);
|
|
49212
|
+
}
|
|
49213
|
+
return message;
|
|
49214
|
+
};
|
|
49215
|
+
|
|
49216
|
+
/**
|
|
49217
|
+
* Creates a plain object from a ToolchainChanged message. Also converts values to other types if specified.
|
|
49218
|
+
* @function toObject
|
|
49219
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49220
|
+
* @static
|
|
49221
|
+
* @param {replit.goval.api.ToolchainChanged} message ToolchainChanged
|
|
49222
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
49223
|
+
* @returns {Object.<string,*>} Plain object
|
|
49224
|
+
*/
|
|
49225
|
+
ToolchainChanged.toObject = function toObject(message, options) {
|
|
49226
|
+
if (!options)
|
|
49227
|
+
options = {};
|
|
49228
|
+
var object = {};
|
|
49229
|
+
if (options.defaults)
|
|
49230
|
+
object.configs = null;
|
|
49231
|
+
if (message.configs != null && message.hasOwnProperty("configs"))
|
|
49232
|
+
object.configs = $root.replit.goval.api.ToolchainConfigs.toObject(message.configs, options);
|
|
49233
|
+
return object;
|
|
49234
|
+
};
|
|
49235
|
+
|
|
49236
|
+
/**
|
|
49237
|
+
* Converts this ToolchainChanged to JSON.
|
|
49238
|
+
* @function toJSON
|
|
49239
|
+
* @memberof replit.goval.api.ToolchainChanged
|
|
49240
|
+
* @instance
|
|
49241
|
+
* @returns {Object.<string,*>} JSON object
|
|
49242
|
+
*/
|
|
49243
|
+
ToolchainChanged.prototype.toJSON = function toJSON() {
|
|
49244
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
49245
|
+
};
|
|
49246
|
+
|
|
49247
|
+
return ToolchainChanged;
|
|
49248
|
+
})();
|
|
49249
|
+
|
|
49250
|
+
api.RunOption = (function() {
|
|
49251
|
+
|
|
49252
|
+
/**
|
|
49253
|
+
* Properties of a RunOption.
|
|
49254
|
+
* @memberof replit.goval.api
|
|
49255
|
+
* @interface IRunOption
|
|
49256
|
+
* @property {string|null} [id] RunOption id
|
|
49257
|
+
* @property {string|null} [name] RunOption name
|
|
49258
|
+
* @property {boolean|null} [fileParam] RunOption fileParam
|
|
49259
|
+
* @property {string|null} [language] RunOption language
|
|
49260
|
+
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] RunOption fileTypeAttrs
|
|
49261
|
+
*/
|
|
49262
|
+
|
|
49263
|
+
/**
|
|
49264
|
+
* Constructs a new RunOption.
|
|
49265
|
+
* @memberof replit.goval.api
|
|
49266
|
+
* @classdesc Represents a RunOption.
|
|
49267
|
+
* @constructor
|
|
49268
|
+
* @param {replit.goval.api.IRunOption=} [properties] Properties to set
|
|
49269
|
+
*/
|
|
49270
|
+
function RunOption(properties) {
|
|
49271
|
+
if (properties)
|
|
49272
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
49273
|
+
if (properties[keys[i]] != null)
|
|
49274
|
+
this[keys[i]] = properties[keys[i]];
|
|
49275
|
+
}
|
|
49276
|
+
|
|
49277
|
+
/**
|
|
49278
|
+
* RunOption id.
|
|
49279
|
+
* @member {string} id
|
|
49280
|
+
* @memberof replit.goval.api.RunOption
|
|
49281
|
+
* @instance
|
|
49282
|
+
*/
|
|
49283
|
+
RunOption.prototype.id = "";
|
|
49284
|
+
|
|
49285
|
+
/**
|
|
49286
|
+
* RunOption name.
|
|
49287
|
+
* @member {string} name
|
|
49288
|
+
* @memberof replit.goval.api.RunOption
|
|
49289
|
+
* @instance
|
|
49290
|
+
*/
|
|
49291
|
+
RunOption.prototype.name = "";
|
|
49292
|
+
|
|
49293
|
+
/**
|
|
49294
|
+
* RunOption fileParam.
|
|
49295
|
+
* @member {boolean} fileParam
|
|
49296
|
+
* @memberof replit.goval.api.RunOption
|
|
49297
|
+
* @instance
|
|
49298
|
+
*/
|
|
49299
|
+
RunOption.prototype.fileParam = false;
|
|
49300
|
+
|
|
49301
|
+
/**
|
|
49302
|
+
* RunOption language.
|
|
49303
|
+
* @member {string} language
|
|
49304
|
+
* @memberof replit.goval.api.RunOption
|
|
49305
|
+
* @instance
|
|
49306
|
+
*/
|
|
49307
|
+
RunOption.prototype.language = "";
|
|
49308
|
+
|
|
49309
|
+
/**
|
|
49310
|
+
* RunOption fileTypeAttrs.
|
|
49311
|
+
* @member {replit.goval.api.FileTypeAttrs|null|undefined} fileTypeAttrs
|
|
49312
|
+
* @memberof replit.goval.api.RunOption
|
|
49313
|
+
* @instance
|
|
49314
|
+
*/
|
|
49315
|
+
RunOption.prototype.fileTypeAttrs = null;
|
|
49316
|
+
|
|
49317
|
+
/**
|
|
49318
|
+
* Creates a new RunOption instance using the specified properties.
|
|
49319
|
+
* @function create
|
|
49320
|
+
* @memberof replit.goval.api.RunOption
|
|
49321
|
+
* @static
|
|
49322
|
+
* @param {replit.goval.api.IRunOption=} [properties] Properties to set
|
|
49323
|
+
* @returns {replit.goval.api.RunOption} RunOption instance
|
|
49324
|
+
*/
|
|
49325
|
+
RunOption.create = function create(properties) {
|
|
49326
|
+
return RunOption.fromObject(properties);
|
|
49327
|
+
};
|
|
49328
|
+
|
|
49329
|
+
/**
|
|
49330
|
+
* Encodes the specified RunOption message. Does not implicitly {@link replit.goval.api.RunOption.verify|verify} messages.
|
|
49331
|
+
* @function encode
|
|
49332
|
+
* @memberof replit.goval.api.RunOption
|
|
49333
|
+
* @static
|
|
49334
|
+
* @param {replit.goval.api.RunOption} message RunOption message or plain object to encode
|
|
49335
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49336
|
+
* @returns {$protobuf.Writer} Writer
|
|
49337
|
+
*/
|
|
49338
|
+
RunOption.encode = function encode(message, writer) {
|
|
49339
|
+
if (!writer)
|
|
49340
|
+
writer = $Writer.create();
|
|
49341
|
+
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
49342
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
49343
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
49344
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
|
|
49345
|
+
if (message.fileParam != null && Object.hasOwnProperty.call(message, "fileParam"))
|
|
49346
|
+
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.fileParam);
|
|
49347
|
+
if (message.language != null && Object.hasOwnProperty.call(message, "language"))
|
|
49348
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.language);
|
|
49349
|
+
if (message.fileTypeAttrs != null && Object.hasOwnProperty.call(message, "fileTypeAttrs"))
|
|
49350
|
+
$root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
49351
|
+
return writer;
|
|
49352
|
+
};
|
|
49353
|
+
|
|
49354
|
+
/**
|
|
49355
|
+
* Encodes the specified RunOption message, length delimited. Does not implicitly {@link replit.goval.api.RunOption.verify|verify} messages.
|
|
49356
|
+
* @function encodeDelimited
|
|
49357
|
+
* @memberof replit.goval.api.RunOption
|
|
49358
|
+
* @static
|
|
49359
|
+
* @param {replit.goval.api.RunOption} message RunOption message or plain object to encode
|
|
49360
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49361
|
+
* @returns {$protobuf.Writer} Writer
|
|
49362
|
+
*/
|
|
49363
|
+
RunOption.encodeDelimited = function encodeDelimited(message, writer) {
|
|
49364
|
+
return this.encode(message, writer).ldelim();
|
|
49365
|
+
};
|
|
49366
|
+
|
|
49367
|
+
/**
|
|
49368
|
+
* Decodes a RunOption message from the specified reader or buffer.
|
|
49369
|
+
* @function decode
|
|
49370
|
+
* @memberof replit.goval.api.RunOption
|
|
49371
|
+
* @static
|
|
49372
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49373
|
+
* @param {number} [length] Message length if known beforehand
|
|
49374
|
+
* @returns {replit.goval.api.RunOption} RunOption
|
|
49375
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49376
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49377
|
+
*/
|
|
49378
|
+
RunOption.decode = function decode(reader, length) {
|
|
49379
|
+
if (!(reader instanceof $Reader))
|
|
49380
|
+
reader = $Reader.create(reader);
|
|
49381
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.RunOption();
|
|
49382
|
+
while (reader.pos < end) {
|
|
49383
|
+
var tag = reader.uint32();
|
|
49384
|
+
switch (tag >>> 3) {
|
|
49385
|
+
case 1:
|
|
49386
|
+
message.id = reader.string();
|
|
49387
|
+
break;
|
|
49388
|
+
case 2:
|
|
49389
|
+
message.name = reader.string();
|
|
49390
|
+
break;
|
|
49391
|
+
case 3:
|
|
49392
|
+
message.fileParam = reader.bool();
|
|
49393
|
+
break;
|
|
49394
|
+
case 4:
|
|
49395
|
+
message.language = reader.string();
|
|
49396
|
+
break;
|
|
49397
|
+
case 5:
|
|
49398
|
+
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.decode(reader, reader.uint32());
|
|
49399
|
+
break;
|
|
49400
|
+
default:
|
|
49401
|
+
reader.skipType(tag & 7);
|
|
49402
|
+
break;
|
|
49403
|
+
}
|
|
49404
|
+
}
|
|
49405
|
+
return message;
|
|
49406
|
+
};
|
|
49407
|
+
|
|
49408
|
+
/**
|
|
49409
|
+
* Decodes a RunOption message from the specified reader or buffer, length delimited.
|
|
49410
|
+
* @function decodeDelimited
|
|
49411
|
+
* @memberof replit.goval.api.RunOption
|
|
49412
|
+
* @static
|
|
49413
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49414
|
+
* @returns {replit.goval.api.RunOption} RunOption
|
|
49415
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49416
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49417
|
+
*/
|
|
49418
|
+
RunOption.decodeDelimited = function decodeDelimited(reader) {
|
|
49419
|
+
if (!(reader instanceof $Reader))
|
|
49420
|
+
reader = new $Reader(reader);
|
|
49421
|
+
return this.decode(reader, reader.uint32());
|
|
49422
|
+
};
|
|
49423
|
+
|
|
49424
|
+
/**
|
|
49425
|
+
* Verifies a RunOption message.
|
|
49426
|
+
* @function verify
|
|
49427
|
+
* @memberof replit.goval.api.RunOption
|
|
49428
|
+
* @static
|
|
49429
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
49430
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
49431
|
+
*/
|
|
49432
|
+
RunOption.verify = function verify(message) {
|
|
49433
|
+
if (typeof message !== "object" || message === null)
|
|
49434
|
+
return "object expected";
|
|
49435
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
49436
|
+
if (!$util.isString(message.id))
|
|
49437
|
+
return "id: string expected";
|
|
49438
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
49439
|
+
if (!$util.isString(message.name))
|
|
49440
|
+
return "name: string expected";
|
|
49441
|
+
if (message.fileParam != null && message.hasOwnProperty("fileParam"))
|
|
49442
|
+
if (typeof message.fileParam !== "boolean")
|
|
49443
|
+
return "fileParam: boolean expected";
|
|
49444
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
49445
|
+
if (!$util.isString(message.language))
|
|
49446
|
+
return "language: string expected";
|
|
49447
|
+
if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs")) {
|
|
49448
|
+
var error = $root.replit.goval.api.FileTypeAttrs.verify(message.fileTypeAttrs);
|
|
49449
|
+
if (error)
|
|
49450
|
+
return "fileTypeAttrs." + error;
|
|
49451
|
+
}
|
|
49452
|
+
return null;
|
|
49453
|
+
};
|
|
49454
|
+
|
|
49455
|
+
/**
|
|
49456
|
+
* Creates a RunOption message from a plain object. Also converts values to their respective internal types.
|
|
49457
|
+
* @function fromObject
|
|
49458
|
+
* @memberof replit.goval.api.RunOption
|
|
49459
|
+
* @static
|
|
49460
|
+
* @param {Object.<string,*>} object Plain object
|
|
49461
|
+
* @returns {replit.goval.api.RunOption} RunOption
|
|
49462
|
+
*/
|
|
49463
|
+
RunOption.fromObject = function fromObject(object) {
|
|
49464
|
+
if (object instanceof $root.replit.goval.api.RunOption)
|
|
49465
|
+
return object;
|
|
49466
|
+
var message = new $root.replit.goval.api.RunOption();
|
|
49467
|
+
if (object.id != null)
|
|
49468
|
+
message.id = String(object.id);
|
|
49469
|
+
if (object.name != null)
|
|
49470
|
+
message.name = String(object.name);
|
|
49471
|
+
if (object.fileParam != null)
|
|
49472
|
+
message.fileParam = Boolean(object.fileParam);
|
|
49473
|
+
if (object.language != null)
|
|
49474
|
+
message.language = String(object.language);
|
|
49475
|
+
if (object.fileTypeAttrs != null) {
|
|
49476
|
+
if (typeof object.fileTypeAttrs !== "object")
|
|
49477
|
+
throw TypeError(".replit.goval.api.RunOption.fileTypeAttrs: object expected");
|
|
49478
|
+
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.fromObject(object.fileTypeAttrs);
|
|
49479
|
+
}
|
|
49480
|
+
return message;
|
|
49481
|
+
};
|
|
49482
|
+
|
|
49483
|
+
/**
|
|
49484
|
+
* Creates a plain object from a RunOption message. Also converts values to other types if specified.
|
|
49485
|
+
* @function toObject
|
|
49486
|
+
* @memberof replit.goval.api.RunOption
|
|
49487
|
+
* @static
|
|
49488
|
+
* @param {replit.goval.api.RunOption} message RunOption
|
|
49489
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
49490
|
+
* @returns {Object.<string,*>} Plain object
|
|
49491
|
+
*/
|
|
49492
|
+
RunOption.toObject = function toObject(message, options) {
|
|
49493
|
+
if (!options)
|
|
49494
|
+
options = {};
|
|
49495
|
+
var object = {};
|
|
49496
|
+
if (options.defaults) {
|
|
49497
|
+
object.id = "";
|
|
49498
|
+
object.name = "";
|
|
49499
|
+
object.fileParam = false;
|
|
49500
|
+
object.language = "";
|
|
49501
|
+
object.fileTypeAttrs = null;
|
|
49502
|
+
}
|
|
49503
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
49504
|
+
object.id = message.id;
|
|
49505
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
49506
|
+
object.name = message.name;
|
|
49507
|
+
if (message.fileParam != null && message.hasOwnProperty("fileParam"))
|
|
49508
|
+
object.fileParam = message.fileParam;
|
|
49509
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
49510
|
+
object.language = message.language;
|
|
49511
|
+
if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs"))
|
|
49512
|
+
object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
|
|
49513
|
+
return object;
|
|
49514
|
+
};
|
|
49515
|
+
|
|
49516
|
+
/**
|
|
49517
|
+
* Converts this RunOption to JSON.
|
|
49518
|
+
* @function toJSON
|
|
49519
|
+
* @memberof replit.goval.api.RunOption
|
|
49520
|
+
* @instance
|
|
49521
|
+
* @returns {Object.<string,*>} JSON object
|
|
49522
|
+
*/
|
|
49523
|
+
RunOption.prototype.toJSON = function toJSON() {
|
|
49524
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
49525
|
+
};
|
|
49526
|
+
|
|
49527
|
+
return RunOption;
|
|
49528
|
+
})();
|
|
49529
|
+
|
|
49530
|
+
api.DebuggerOption = (function() {
|
|
49531
|
+
|
|
49532
|
+
/**
|
|
49533
|
+
* Properties of a DebuggerOption.
|
|
49534
|
+
* @memberof replit.goval.api
|
|
49535
|
+
* @interface IDebuggerOption
|
|
49536
|
+
* @property {string|null} [id] DebuggerOption id
|
|
49537
|
+
* @property {string|null} [name] DebuggerOption name
|
|
49538
|
+
* @property {boolean|null} [fileParam] DebuggerOption fileParam
|
|
49539
|
+
* @property {string|null} [language] DebuggerOption language
|
|
49540
|
+
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] DebuggerOption fileTypeAttrs
|
|
49541
|
+
*/
|
|
49542
|
+
|
|
49543
|
+
/**
|
|
49544
|
+
* Constructs a new DebuggerOption.
|
|
49545
|
+
* @memberof replit.goval.api
|
|
49546
|
+
* @classdesc Represents a DebuggerOption.
|
|
49547
|
+
* @constructor
|
|
49548
|
+
* @param {replit.goval.api.IDebuggerOption=} [properties] Properties to set
|
|
49549
|
+
*/
|
|
49550
|
+
function DebuggerOption(properties) {
|
|
49551
|
+
if (properties)
|
|
49552
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
49553
|
+
if (properties[keys[i]] != null)
|
|
49554
|
+
this[keys[i]] = properties[keys[i]];
|
|
49555
|
+
}
|
|
49556
|
+
|
|
49557
|
+
/**
|
|
49558
|
+
* DebuggerOption id.
|
|
49559
|
+
* @member {string} id
|
|
49560
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49561
|
+
* @instance
|
|
49562
|
+
*/
|
|
49563
|
+
DebuggerOption.prototype.id = "";
|
|
49564
|
+
|
|
49565
|
+
/**
|
|
49566
|
+
* DebuggerOption name.
|
|
49567
|
+
* @member {string} name
|
|
49568
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49569
|
+
* @instance
|
|
49570
|
+
*/
|
|
49571
|
+
DebuggerOption.prototype.name = "";
|
|
49572
|
+
|
|
49573
|
+
/**
|
|
49574
|
+
* DebuggerOption fileParam.
|
|
49575
|
+
* @member {boolean} fileParam
|
|
49576
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49577
|
+
* @instance
|
|
49578
|
+
*/
|
|
49579
|
+
DebuggerOption.prototype.fileParam = false;
|
|
49580
|
+
|
|
49581
|
+
/**
|
|
49582
|
+
* DebuggerOption language.
|
|
49583
|
+
* @member {string} language
|
|
49584
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49585
|
+
* @instance
|
|
49586
|
+
*/
|
|
49587
|
+
DebuggerOption.prototype.language = "";
|
|
49588
|
+
|
|
49589
|
+
/**
|
|
49590
|
+
* DebuggerOption fileTypeAttrs.
|
|
49591
|
+
* @member {replit.goval.api.FileTypeAttrs|null|undefined} fileTypeAttrs
|
|
49592
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49593
|
+
* @instance
|
|
49594
|
+
*/
|
|
49595
|
+
DebuggerOption.prototype.fileTypeAttrs = null;
|
|
49596
|
+
|
|
49597
|
+
/**
|
|
49598
|
+
* Creates a new DebuggerOption instance using the specified properties.
|
|
49599
|
+
* @function create
|
|
49600
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49601
|
+
* @static
|
|
49602
|
+
* @param {replit.goval.api.IDebuggerOption=} [properties] Properties to set
|
|
49603
|
+
* @returns {replit.goval.api.DebuggerOption} DebuggerOption instance
|
|
49604
|
+
*/
|
|
49605
|
+
DebuggerOption.create = function create(properties) {
|
|
49606
|
+
return DebuggerOption.fromObject(properties);
|
|
49607
|
+
};
|
|
49608
|
+
|
|
49609
|
+
/**
|
|
49610
|
+
* Encodes the specified DebuggerOption message. Does not implicitly {@link replit.goval.api.DebuggerOption.verify|verify} messages.
|
|
49611
|
+
* @function encode
|
|
49612
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49613
|
+
* @static
|
|
49614
|
+
* @param {replit.goval.api.DebuggerOption} message DebuggerOption message or plain object to encode
|
|
49615
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49616
|
+
* @returns {$protobuf.Writer} Writer
|
|
49617
|
+
*/
|
|
49618
|
+
DebuggerOption.encode = function encode(message, writer) {
|
|
49619
|
+
if (!writer)
|
|
49620
|
+
writer = $Writer.create();
|
|
49621
|
+
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
49622
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
49623
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
49624
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
|
|
49625
|
+
if (message.fileParam != null && Object.hasOwnProperty.call(message, "fileParam"))
|
|
49626
|
+
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.fileParam);
|
|
49627
|
+
if (message.language != null && Object.hasOwnProperty.call(message, "language"))
|
|
49628
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.language);
|
|
49629
|
+
if (message.fileTypeAttrs != null && Object.hasOwnProperty.call(message, "fileTypeAttrs"))
|
|
49630
|
+
$root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
49631
|
+
return writer;
|
|
49632
|
+
};
|
|
49633
|
+
|
|
49634
|
+
/**
|
|
49635
|
+
* Encodes the specified DebuggerOption message, length delimited. Does not implicitly {@link replit.goval.api.DebuggerOption.verify|verify} messages.
|
|
49636
|
+
* @function encodeDelimited
|
|
49637
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49638
|
+
* @static
|
|
49639
|
+
* @param {replit.goval.api.DebuggerOption} message DebuggerOption message or plain object to encode
|
|
49640
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49641
|
+
* @returns {$protobuf.Writer} Writer
|
|
49642
|
+
*/
|
|
49643
|
+
DebuggerOption.encodeDelimited = function encodeDelimited(message, writer) {
|
|
49644
|
+
return this.encode(message, writer).ldelim();
|
|
49645
|
+
};
|
|
49646
|
+
|
|
49647
|
+
/**
|
|
49648
|
+
* Decodes a DebuggerOption message from the specified reader or buffer.
|
|
49649
|
+
* @function decode
|
|
49650
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49651
|
+
* @static
|
|
49652
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49653
|
+
* @param {number} [length] Message length if known beforehand
|
|
49654
|
+
* @returns {replit.goval.api.DebuggerOption} DebuggerOption
|
|
49655
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49656
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49657
|
+
*/
|
|
49658
|
+
DebuggerOption.decode = function decode(reader, length) {
|
|
49659
|
+
if (!(reader instanceof $Reader))
|
|
49660
|
+
reader = $Reader.create(reader);
|
|
49661
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.DebuggerOption();
|
|
49662
|
+
while (reader.pos < end) {
|
|
49663
|
+
var tag = reader.uint32();
|
|
49664
|
+
switch (tag >>> 3) {
|
|
49665
|
+
case 1:
|
|
49666
|
+
message.id = reader.string();
|
|
49667
|
+
break;
|
|
49668
|
+
case 2:
|
|
49669
|
+
message.name = reader.string();
|
|
49670
|
+
break;
|
|
49671
|
+
case 3:
|
|
49672
|
+
message.fileParam = reader.bool();
|
|
49673
|
+
break;
|
|
49674
|
+
case 4:
|
|
49675
|
+
message.language = reader.string();
|
|
49676
|
+
break;
|
|
49677
|
+
case 5:
|
|
49678
|
+
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.decode(reader, reader.uint32());
|
|
49679
|
+
break;
|
|
49680
|
+
default:
|
|
49681
|
+
reader.skipType(tag & 7);
|
|
49682
|
+
break;
|
|
49683
|
+
}
|
|
49684
|
+
}
|
|
49685
|
+
return message;
|
|
49686
|
+
};
|
|
49687
|
+
|
|
49688
|
+
/**
|
|
49689
|
+
* Decodes a DebuggerOption message from the specified reader or buffer, length delimited.
|
|
49690
|
+
* @function decodeDelimited
|
|
49691
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49692
|
+
* @static
|
|
49693
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49694
|
+
* @returns {replit.goval.api.DebuggerOption} DebuggerOption
|
|
49695
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49696
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49697
|
+
*/
|
|
49698
|
+
DebuggerOption.decodeDelimited = function decodeDelimited(reader) {
|
|
49699
|
+
if (!(reader instanceof $Reader))
|
|
49700
|
+
reader = new $Reader(reader);
|
|
49701
|
+
return this.decode(reader, reader.uint32());
|
|
49702
|
+
};
|
|
49703
|
+
|
|
49704
|
+
/**
|
|
49705
|
+
* Verifies a DebuggerOption message.
|
|
49706
|
+
* @function verify
|
|
49707
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49708
|
+
* @static
|
|
49709
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
49710
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
49711
|
+
*/
|
|
49712
|
+
DebuggerOption.verify = function verify(message) {
|
|
49713
|
+
if (typeof message !== "object" || message === null)
|
|
49714
|
+
return "object expected";
|
|
49715
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
49716
|
+
if (!$util.isString(message.id))
|
|
49717
|
+
return "id: string expected";
|
|
49718
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
49719
|
+
if (!$util.isString(message.name))
|
|
49720
|
+
return "name: string expected";
|
|
49721
|
+
if (message.fileParam != null && message.hasOwnProperty("fileParam"))
|
|
49722
|
+
if (typeof message.fileParam !== "boolean")
|
|
49723
|
+
return "fileParam: boolean expected";
|
|
49724
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
49725
|
+
if (!$util.isString(message.language))
|
|
49726
|
+
return "language: string expected";
|
|
49727
|
+
if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs")) {
|
|
49728
|
+
var error = $root.replit.goval.api.FileTypeAttrs.verify(message.fileTypeAttrs);
|
|
49729
|
+
if (error)
|
|
49730
|
+
return "fileTypeAttrs." + error;
|
|
49731
|
+
}
|
|
49732
|
+
return null;
|
|
49733
|
+
};
|
|
49734
|
+
|
|
49735
|
+
/**
|
|
49736
|
+
* Creates a DebuggerOption message from a plain object. Also converts values to their respective internal types.
|
|
49737
|
+
* @function fromObject
|
|
49738
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49739
|
+
* @static
|
|
49740
|
+
* @param {Object.<string,*>} object Plain object
|
|
49741
|
+
* @returns {replit.goval.api.DebuggerOption} DebuggerOption
|
|
49742
|
+
*/
|
|
49743
|
+
DebuggerOption.fromObject = function fromObject(object) {
|
|
49744
|
+
if (object instanceof $root.replit.goval.api.DebuggerOption)
|
|
49745
|
+
return object;
|
|
49746
|
+
var message = new $root.replit.goval.api.DebuggerOption();
|
|
49747
|
+
if (object.id != null)
|
|
49748
|
+
message.id = String(object.id);
|
|
49749
|
+
if (object.name != null)
|
|
49750
|
+
message.name = String(object.name);
|
|
49751
|
+
if (object.fileParam != null)
|
|
49752
|
+
message.fileParam = Boolean(object.fileParam);
|
|
49753
|
+
if (object.language != null)
|
|
49754
|
+
message.language = String(object.language);
|
|
49755
|
+
if (object.fileTypeAttrs != null) {
|
|
49756
|
+
if (typeof object.fileTypeAttrs !== "object")
|
|
49757
|
+
throw TypeError(".replit.goval.api.DebuggerOption.fileTypeAttrs: object expected");
|
|
49758
|
+
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.fromObject(object.fileTypeAttrs);
|
|
49759
|
+
}
|
|
49760
|
+
return message;
|
|
49761
|
+
};
|
|
49762
|
+
|
|
49763
|
+
/**
|
|
49764
|
+
* Creates a plain object from a DebuggerOption message. Also converts values to other types if specified.
|
|
49765
|
+
* @function toObject
|
|
49766
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49767
|
+
* @static
|
|
49768
|
+
* @param {replit.goval.api.DebuggerOption} message DebuggerOption
|
|
49769
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
49770
|
+
* @returns {Object.<string,*>} Plain object
|
|
49771
|
+
*/
|
|
49772
|
+
DebuggerOption.toObject = function toObject(message, options) {
|
|
49773
|
+
if (!options)
|
|
49774
|
+
options = {};
|
|
49775
|
+
var object = {};
|
|
49776
|
+
if (options.defaults) {
|
|
49777
|
+
object.id = "";
|
|
49778
|
+
object.name = "";
|
|
49779
|
+
object.fileParam = false;
|
|
49780
|
+
object.language = "";
|
|
49781
|
+
object.fileTypeAttrs = null;
|
|
49782
|
+
}
|
|
49783
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
49784
|
+
object.id = message.id;
|
|
49785
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
49786
|
+
object.name = message.name;
|
|
49787
|
+
if (message.fileParam != null && message.hasOwnProperty("fileParam"))
|
|
49788
|
+
object.fileParam = message.fileParam;
|
|
49789
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
49790
|
+
object.language = message.language;
|
|
49791
|
+
if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs"))
|
|
49792
|
+
object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
|
|
49793
|
+
return object;
|
|
49794
|
+
};
|
|
49795
|
+
|
|
49796
|
+
/**
|
|
49797
|
+
* Converts this DebuggerOption to JSON.
|
|
49798
|
+
* @function toJSON
|
|
49799
|
+
* @memberof replit.goval.api.DebuggerOption
|
|
49800
|
+
* @instance
|
|
49801
|
+
* @returns {Object.<string,*>} JSON object
|
|
49802
|
+
*/
|
|
49803
|
+
DebuggerOption.prototype.toJSON = function toJSON() {
|
|
49804
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
49805
|
+
};
|
|
49806
|
+
|
|
49807
|
+
return DebuggerOption;
|
|
49808
|
+
})();
|
|
49809
|
+
|
|
49810
|
+
api.LanguageServerOption = (function() {
|
|
49811
|
+
|
|
49812
|
+
/**
|
|
49813
|
+
* Properties of a LanguageServerOption.
|
|
49814
|
+
* @memberof replit.goval.api
|
|
49815
|
+
* @interface ILanguageServerOption
|
|
49816
|
+
* @property {string|null} [id] LanguageServerOption id
|
|
49817
|
+
* @property {string|null} [name] LanguageServerOption name
|
|
49818
|
+
* @property {string|null} [language] LanguageServerOption language
|
|
49819
|
+
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] LanguageServerOption fileTypeAttrs
|
|
49820
|
+
*/
|
|
49821
|
+
|
|
49822
|
+
/**
|
|
49823
|
+
* Constructs a new LanguageServerOption.
|
|
49824
|
+
* @memberof replit.goval.api
|
|
49825
|
+
* @classdesc Represents a LanguageServerOption.
|
|
49826
|
+
* @constructor
|
|
49827
|
+
* @param {replit.goval.api.ILanguageServerOption=} [properties] Properties to set
|
|
49828
|
+
*/
|
|
49829
|
+
function LanguageServerOption(properties) {
|
|
49830
|
+
if (properties)
|
|
49831
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
49832
|
+
if (properties[keys[i]] != null)
|
|
49833
|
+
this[keys[i]] = properties[keys[i]];
|
|
49834
|
+
}
|
|
49835
|
+
|
|
49836
|
+
/**
|
|
49837
|
+
* LanguageServerOption id.
|
|
49838
|
+
* @member {string} id
|
|
49839
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49840
|
+
* @instance
|
|
49841
|
+
*/
|
|
49842
|
+
LanguageServerOption.prototype.id = "";
|
|
49843
|
+
|
|
49844
|
+
/**
|
|
49845
|
+
* LanguageServerOption name.
|
|
49846
|
+
* @member {string} name
|
|
49847
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49848
|
+
* @instance
|
|
49849
|
+
*/
|
|
49850
|
+
LanguageServerOption.prototype.name = "";
|
|
49851
|
+
|
|
49852
|
+
/**
|
|
49853
|
+
* LanguageServerOption language.
|
|
49854
|
+
* @member {string} language
|
|
49855
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49856
|
+
* @instance
|
|
49857
|
+
*/
|
|
49858
|
+
LanguageServerOption.prototype.language = "";
|
|
49859
|
+
|
|
49860
|
+
/**
|
|
49861
|
+
* LanguageServerOption fileTypeAttrs.
|
|
49862
|
+
* @member {replit.goval.api.FileTypeAttrs|null|undefined} fileTypeAttrs
|
|
49863
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49864
|
+
* @instance
|
|
49865
|
+
*/
|
|
49866
|
+
LanguageServerOption.prototype.fileTypeAttrs = null;
|
|
49867
|
+
|
|
49868
|
+
/**
|
|
49869
|
+
* Creates a new LanguageServerOption instance using the specified properties.
|
|
49870
|
+
* @function create
|
|
49871
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49872
|
+
* @static
|
|
49873
|
+
* @param {replit.goval.api.ILanguageServerOption=} [properties] Properties to set
|
|
49874
|
+
* @returns {replit.goval.api.LanguageServerOption} LanguageServerOption instance
|
|
49875
|
+
*/
|
|
49876
|
+
LanguageServerOption.create = function create(properties) {
|
|
49877
|
+
return LanguageServerOption.fromObject(properties);
|
|
49878
|
+
};
|
|
49879
|
+
|
|
49880
|
+
/**
|
|
49881
|
+
* Encodes the specified LanguageServerOption message. Does not implicitly {@link replit.goval.api.LanguageServerOption.verify|verify} messages.
|
|
49882
|
+
* @function encode
|
|
49883
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49884
|
+
* @static
|
|
49885
|
+
* @param {replit.goval.api.LanguageServerOption} message LanguageServerOption message or plain object to encode
|
|
49886
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49887
|
+
* @returns {$protobuf.Writer} Writer
|
|
49888
|
+
*/
|
|
49889
|
+
LanguageServerOption.encode = function encode(message, writer) {
|
|
49890
|
+
if (!writer)
|
|
49891
|
+
writer = $Writer.create();
|
|
49892
|
+
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
49893
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
49894
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
49895
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
|
|
49896
|
+
if (message.language != null && Object.hasOwnProperty.call(message, "language"))
|
|
49897
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.language);
|
|
49898
|
+
if (message.fileTypeAttrs != null && Object.hasOwnProperty.call(message, "fileTypeAttrs"))
|
|
49899
|
+
$root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
49900
|
+
return writer;
|
|
49901
|
+
};
|
|
49902
|
+
|
|
49903
|
+
/**
|
|
49904
|
+
* Encodes the specified LanguageServerOption message, length delimited. Does not implicitly {@link replit.goval.api.LanguageServerOption.verify|verify} messages.
|
|
49905
|
+
* @function encodeDelimited
|
|
49906
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49907
|
+
* @static
|
|
49908
|
+
* @param {replit.goval.api.LanguageServerOption} message LanguageServerOption message or plain object to encode
|
|
49909
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
49910
|
+
* @returns {$protobuf.Writer} Writer
|
|
49911
|
+
*/
|
|
49912
|
+
LanguageServerOption.encodeDelimited = function encodeDelimited(message, writer) {
|
|
49913
|
+
return this.encode(message, writer).ldelim();
|
|
49914
|
+
};
|
|
49915
|
+
|
|
49916
|
+
/**
|
|
49917
|
+
* Decodes a LanguageServerOption message from the specified reader or buffer.
|
|
49918
|
+
* @function decode
|
|
49919
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49920
|
+
* @static
|
|
49921
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49922
|
+
* @param {number} [length] Message length if known beforehand
|
|
49923
|
+
* @returns {replit.goval.api.LanguageServerOption} LanguageServerOption
|
|
49924
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49925
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49926
|
+
*/
|
|
49927
|
+
LanguageServerOption.decode = function decode(reader, length) {
|
|
49928
|
+
if (!(reader instanceof $Reader))
|
|
49929
|
+
reader = $Reader.create(reader);
|
|
49930
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.LanguageServerOption();
|
|
49931
|
+
while (reader.pos < end) {
|
|
49932
|
+
var tag = reader.uint32();
|
|
49933
|
+
switch (tag >>> 3) {
|
|
49934
|
+
case 1:
|
|
49935
|
+
message.id = reader.string();
|
|
49936
|
+
break;
|
|
49937
|
+
case 2:
|
|
49938
|
+
message.name = reader.string();
|
|
49939
|
+
break;
|
|
49940
|
+
case 3:
|
|
49941
|
+
message.language = reader.string();
|
|
49942
|
+
break;
|
|
49943
|
+
case 5:
|
|
49944
|
+
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.decode(reader, reader.uint32());
|
|
49945
|
+
break;
|
|
49946
|
+
default:
|
|
49947
|
+
reader.skipType(tag & 7);
|
|
49948
|
+
break;
|
|
49949
|
+
}
|
|
49950
|
+
}
|
|
49951
|
+
return message;
|
|
49952
|
+
};
|
|
49953
|
+
|
|
49954
|
+
/**
|
|
49955
|
+
* Decodes a LanguageServerOption message from the specified reader or buffer, length delimited.
|
|
49956
|
+
* @function decodeDelimited
|
|
49957
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49958
|
+
* @static
|
|
49959
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
49960
|
+
* @returns {replit.goval.api.LanguageServerOption} LanguageServerOption
|
|
49961
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
49962
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
49963
|
+
*/
|
|
49964
|
+
LanguageServerOption.decodeDelimited = function decodeDelimited(reader) {
|
|
49965
|
+
if (!(reader instanceof $Reader))
|
|
49966
|
+
reader = new $Reader(reader);
|
|
49967
|
+
return this.decode(reader, reader.uint32());
|
|
49968
|
+
};
|
|
49969
|
+
|
|
49970
|
+
/**
|
|
49971
|
+
* Verifies a LanguageServerOption message.
|
|
49972
|
+
* @function verify
|
|
49973
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
49974
|
+
* @static
|
|
49975
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
49976
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
49977
|
+
*/
|
|
49978
|
+
LanguageServerOption.verify = function verify(message) {
|
|
49979
|
+
if (typeof message !== "object" || message === null)
|
|
49980
|
+
return "object expected";
|
|
49981
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
49982
|
+
if (!$util.isString(message.id))
|
|
49983
|
+
return "id: string expected";
|
|
49984
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
49985
|
+
if (!$util.isString(message.name))
|
|
49986
|
+
return "name: string expected";
|
|
49987
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
49988
|
+
if (!$util.isString(message.language))
|
|
49989
|
+
return "language: string expected";
|
|
49990
|
+
if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs")) {
|
|
49991
|
+
var error = $root.replit.goval.api.FileTypeAttrs.verify(message.fileTypeAttrs);
|
|
49992
|
+
if (error)
|
|
49993
|
+
return "fileTypeAttrs." + error;
|
|
49994
|
+
}
|
|
49995
|
+
return null;
|
|
49996
|
+
};
|
|
49997
|
+
|
|
49998
|
+
/**
|
|
49999
|
+
* Creates a LanguageServerOption message from a plain object. Also converts values to their respective internal types.
|
|
50000
|
+
* @function fromObject
|
|
50001
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
50002
|
+
* @static
|
|
50003
|
+
* @param {Object.<string,*>} object Plain object
|
|
50004
|
+
* @returns {replit.goval.api.LanguageServerOption} LanguageServerOption
|
|
50005
|
+
*/
|
|
50006
|
+
LanguageServerOption.fromObject = function fromObject(object) {
|
|
50007
|
+
if (object instanceof $root.replit.goval.api.LanguageServerOption)
|
|
50008
|
+
return object;
|
|
50009
|
+
var message = new $root.replit.goval.api.LanguageServerOption();
|
|
50010
|
+
if (object.id != null)
|
|
50011
|
+
message.id = String(object.id);
|
|
50012
|
+
if (object.name != null)
|
|
50013
|
+
message.name = String(object.name);
|
|
50014
|
+
if (object.language != null)
|
|
50015
|
+
message.language = String(object.language);
|
|
50016
|
+
if (object.fileTypeAttrs != null) {
|
|
50017
|
+
if (typeof object.fileTypeAttrs !== "object")
|
|
50018
|
+
throw TypeError(".replit.goval.api.LanguageServerOption.fileTypeAttrs: object expected");
|
|
50019
|
+
message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.fromObject(object.fileTypeAttrs);
|
|
50020
|
+
}
|
|
50021
|
+
return message;
|
|
50022
|
+
};
|
|
50023
|
+
|
|
50024
|
+
/**
|
|
50025
|
+
* Creates a plain object from a LanguageServerOption message. Also converts values to other types if specified.
|
|
50026
|
+
* @function toObject
|
|
50027
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
50028
|
+
* @static
|
|
50029
|
+
* @param {replit.goval.api.LanguageServerOption} message LanguageServerOption
|
|
50030
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
50031
|
+
* @returns {Object.<string,*>} Plain object
|
|
50032
|
+
*/
|
|
50033
|
+
LanguageServerOption.toObject = function toObject(message, options) {
|
|
50034
|
+
if (!options)
|
|
50035
|
+
options = {};
|
|
50036
|
+
var object = {};
|
|
50037
|
+
if (options.defaults) {
|
|
50038
|
+
object.id = "";
|
|
50039
|
+
object.name = "";
|
|
50040
|
+
object.language = "";
|
|
50041
|
+
object.fileTypeAttrs = null;
|
|
50042
|
+
}
|
|
50043
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
50044
|
+
object.id = message.id;
|
|
50045
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
50046
|
+
object.name = message.name;
|
|
50047
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
50048
|
+
object.language = message.language;
|
|
50049
|
+
if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs"))
|
|
50050
|
+
object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
|
|
50051
|
+
return object;
|
|
50052
|
+
};
|
|
50053
|
+
|
|
50054
|
+
/**
|
|
50055
|
+
* Converts this LanguageServerOption to JSON.
|
|
50056
|
+
* @function toJSON
|
|
50057
|
+
* @memberof replit.goval.api.LanguageServerOption
|
|
50058
|
+
* @instance
|
|
50059
|
+
* @returns {Object.<string,*>} JSON object
|
|
50060
|
+
*/
|
|
50061
|
+
LanguageServerOption.prototype.toJSON = function toJSON() {
|
|
50062
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
50063
|
+
};
|
|
50064
|
+
|
|
50065
|
+
return LanguageServerOption;
|
|
50066
|
+
})();
|
|
50067
|
+
|
|
50068
|
+
api.FileTypeAttrs = (function() {
|
|
50069
|
+
|
|
50070
|
+
/**
|
|
50071
|
+
* Properties of a FileTypeAttrs.
|
|
50072
|
+
* @memberof replit.goval.api
|
|
50073
|
+
* @interface IFileTypeAttrs
|
|
50074
|
+
* @property {Array.<string>|null} [extensions] FileTypeAttrs extensions
|
|
50075
|
+
* @property {Array.<string>|null} [files] FileTypeAttrs files
|
|
50076
|
+
* @property {string|null} [filePattern] FileTypeAttrs filePattern
|
|
50077
|
+
*/
|
|
50078
|
+
|
|
50079
|
+
/**
|
|
50080
|
+
* Constructs a new FileTypeAttrs.
|
|
50081
|
+
* @memberof replit.goval.api
|
|
50082
|
+
* @classdesc Represents a FileTypeAttrs.
|
|
50083
|
+
* @constructor
|
|
50084
|
+
* @param {replit.goval.api.IFileTypeAttrs=} [properties] Properties to set
|
|
50085
|
+
*/
|
|
50086
|
+
function FileTypeAttrs(properties) {
|
|
50087
|
+
this.extensions = [];
|
|
50088
|
+
this.files = [];
|
|
50089
|
+
if (properties)
|
|
50090
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
50091
|
+
if (properties[keys[i]] != null)
|
|
50092
|
+
this[keys[i]] = properties[keys[i]];
|
|
50093
|
+
}
|
|
50094
|
+
|
|
50095
|
+
/**
|
|
50096
|
+
* FileTypeAttrs extensions.
|
|
50097
|
+
* @member {Array.<string>} extensions
|
|
50098
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50099
|
+
* @instance
|
|
50100
|
+
*/
|
|
50101
|
+
FileTypeAttrs.prototype.extensions = $util.emptyArray;
|
|
50102
|
+
|
|
50103
|
+
/**
|
|
50104
|
+
* FileTypeAttrs files.
|
|
50105
|
+
* @member {Array.<string>} files
|
|
50106
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50107
|
+
* @instance
|
|
50108
|
+
*/
|
|
50109
|
+
FileTypeAttrs.prototype.files = $util.emptyArray;
|
|
50110
|
+
|
|
50111
|
+
/**
|
|
50112
|
+
* FileTypeAttrs filePattern.
|
|
50113
|
+
* @member {string} filePattern
|
|
50114
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50115
|
+
* @instance
|
|
50116
|
+
*/
|
|
50117
|
+
FileTypeAttrs.prototype.filePattern = "";
|
|
50118
|
+
|
|
50119
|
+
/**
|
|
50120
|
+
* Creates a new FileTypeAttrs instance using the specified properties.
|
|
50121
|
+
* @function create
|
|
50122
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50123
|
+
* @static
|
|
50124
|
+
* @param {replit.goval.api.IFileTypeAttrs=} [properties] Properties to set
|
|
50125
|
+
* @returns {replit.goval.api.FileTypeAttrs} FileTypeAttrs instance
|
|
50126
|
+
*/
|
|
50127
|
+
FileTypeAttrs.create = function create(properties) {
|
|
50128
|
+
return FileTypeAttrs.fromObject(properties);
|
|
50129
|
+
};
|
|
50130
|
+
|
|
50131
|
+
/**
|
|
50132
|
+
* Encodes the specified FileTypeAttrs message. Does not implicitly {@link replit.goval.api.FileTypeAttrs.verify|verify} messages.
|
|
50133
|
+
* @function encode
|
|
50134
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50135
|
+
* @static
|
|
50136
|
+
* @param {replit.goval.api.FileTypeAttrs} message FileTypeAttrs message or plain object to encode
|
|
50137
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
50138
|
+
* @returns {$protobuf.Writer} Writer
|
|
50139
|
+
*/
|
|
50140
|
+
FileTypeAttrs.encode = function encode(message, writer) {
|
|
50141
|
+
if (!writer)
|
|
50142
|
+
writer = $Writer.create();
|
|
50143
|
+
if (message.extensions != null && message.extensions.length)
|
|
50144
|
+
for (var i = 0; i < message.extensions.length; ++i)
|
|
50145
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.extensions[i]);
|
|
50146
|
+
if (message.files != null && message.files.length)
|
|
50147
|
+
for (var i = 0; i < message.files.length; ++i)
|
|
50148
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.files[i]);
|
|
50149
|
+
if (message.filePattern != null && Object.hasOwnProperty.call(message, "filePattern"))
|
|
50150
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.filePattern);
|
|
50151
|
+
return writer;
|
|
50152
|
+
};
|
|
50153
|
+
|
|
50154
|
+
/**
|
|
50155
|
+
* Encodes the specified FileTypeAttrs message, length delimited. Does not implicitly {@link replit.goval.api.FileTypeAttrs.verify|verify} messages.
|
|
50156
|
+
* @function encodeDelimited
|
|
50157
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50158
|
+
* @static
|
|
50159
|
+
* @param {replit.goval.api.FileTypeAttrs} message FileTypeAttrs message or plain object to encode
|
|
50160
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
50161
|
+
* @returns {$protobuf.Writer} Writer
|
|
50162
|
+
*/
|
|
50163
|
+
FileTypeAttrs.encodeDelimited = function encodeDelimited(message, writer) {
|
|
50164
|
+
return this.encode(message, writer).ldelim();
|
|
50165
|
+
};
|
|
50166
|
+
|
|
50167
|
+
/**
|
|
50168
|
+
* Decodes a FileTypeAttrs message from the specified reader or buffer.
|
|
50169
|
+
* @function decode
|
|
50170
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50171
|
+
* @static
|
|
50172
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
50173
|
+
* @param {number} [length] Message length if known beforehand
|
|
50174
|
+
* @returns {replit.goval.api.FileTypeAttrs} FileTypeAttrs
|
|
50175
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50176
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50177
|
+
*/
|
|
50178
|
+
FileTypeAttrs.decode = function decode(reader, length) {
|
|
50179
|
+
if (!(reader instanceof $Reader))
|
|
50180
|
+
reader = $Reader.create(reader);
|
|
50181
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.FileTypeAttrs();
|
|
50182
|
+
while (reader.pos < end) {
|
|
50183
|
+
var tag = reader.uint32();
|
|
50184
|
+
switch (tag >>> 3) {
|
|
50185
|
+
case 1:
|
|
50186
|
+
if (!(message.extensions && message.extensions.length))
|
|
50187
|
+
message.extensions = [];
|
|
50188
|
+
message.extensions.push(reader.string());
|
|
50189
|
+
break;
|
|
50190
|
+
case 2:
|
|
50191
|
+
if (!(message.files && message.files.length))
|
|
50192
|
+
message.files = [];
|
|
50193
|
+
message.files.push(reader.string());
|
|
50194
|
+
break;
|
|
50195
|
+
case 3:
|
|
50196
|
+
message.filePattern = reader.string();
|
|
50197
|
+
break;
|
|
50198
|
+
default:
|
|
50199
|
+
reader.skipType(tag & 7);
|
|
50200
|
+
break;
|
|
50201
|
+
}
|
|
50202
|
+
}
|
|
50203
|
+
return message;
|
|
50204
|
+
};
|
|
50205
|
+
|
|
50206
|
+
/**
|
|
50207
|
+
* Decodes a FileTypeAttrs message from the specified reader or buffer, length delimited.
|
|
50208
|
+
* @function decodeDelimited
|
|
50209
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50210
|
+
* @static
|
|
50211
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
50212
|
+
* @returns {replit.goval.api.FileTypeAttrs} FileTypeAttrs
|
|
50213
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50214
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50215
|
+
*/
|
|
50216
|
+
FileTypeAttrs.decodeDelimited = function decodeDelimited(reader) {
|
|
50217
|
+
if (!(reader instanceof $Reader))
|
|
50218
|
+
reader = new $Reader(reader);
|
|
50219
|
+
return this.decode(reader, reader.uint32());
|
|
50220
|
+
};
|
|
50221
|
+
|
|
50222
|
+
/**
|
|
50223
|
+
* Verifies a FileTypeAttrs message.
|
|
50224
|
+
* @function verify
|
|
50225
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50226
|
+
* @static
|
|
50227
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
50228
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
50229
|
+
*/
|
|
50230
|
+
FileTypeAttrs.verify = function verify(message) {
|
|
50231
|
+
if (typeof message !== "object" || message === null)
|
|
50232
|
+
return "object expected";
|
|
50233
|
+
if (message.extensions != null && message.hasOwnProperty("extensions")) {
|
|
50234
|
+
if (!Array.isArray(message.extensions))
|
|
50235
|
+
return "extensions: array expected";
|
|
50236
|
+
for (var i = 0; i < message.extensions.length; ++i)
|
|
50237
|
+
if (!$util.isString(message.extensions[i]))
|
|
50238
|
+
return "extensions: string[] expected";
|
|
50239
|
+
}
|
|
50240
|
+
if (message.files != null && message.hasOwnProperty("files")) {
|
|
50241
|
+
if (!Array.isArray(message.files))
|
|
50242
|
+
return "files: array expected";
|
|
50243
|
+
for (var i = 0; i < message.files.length; ++i)
|
|
50244
|
+
if (!$util.isString(message.files[i]))
|
|
50245
|
+
return "files: string[] expected";
|
|
50246
|
+
}
|
|
50247
|
+
if (message.filePattern != null && message.hasOwnProperty("filePattern"))
|
|
50248
|
+
if (!$util.isString(message.filePattern))
|
|
50249
|
+
return "filePattern: string expected";
|
|
50250
|
+
return null;
|
|
50251
|
+
};
|
|
50252
|
+
|
|
50253
|
+
/**
|
|
50254
|
+
* Creates a FileTypeAttrs message from a plain object. Also converts values to their respective internal types.
|
|
50255
|
+
* @function fromObject
|
|
50256
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50257
|
+
* @static
|
|
50258
|
+
* @param {Object.<string,*>} object Plain object
|
|
50259
|
+
* @returns {replit.goval.api.FileTypeAttrs} FileTypeAttrs
|
|
50260
|
+
*/
|
|
50261
|
+
FileTypeAttrs.fromObject = function fromObject(object) {
|
|
50262
|
+
if (object instanceof $root.replit.goval.api.FileTypeAttrs)
|
|
50263
|
+
return object;
|
|
50264
|
+
var message = new $root.replit.goval.api.FileTypeAttrs();
|
|
50265
|
+
if (object.extensions) {
|
|
50266
|
+
if (!Array.isArray(object.extensions))
|
|
50267
|
+
throw TypeError(".replit.goval.api.FileTypeAttrs.extensions: array expected");
|
|
50268
|
+
message.extensions = [];
|
|
50269
|
+
for (var i = 0; i < object.extensions.length; ++i)
|
|
50270
|
+
message.extensions[i] = String(object.extensions[i]);
|
|
50271
|
+
}
|
|
50272
|
+
if (object.files) {
|
|
50273
|
+
if (!Array.isArray(object.files))
|
|
50274
|
+
throw TypeError(".replit.goval.api.FileTypeAttrs.files: array expected");
|
|
50275
|
+
message.files = [];
|
|
50276
|
+
for (var i = 0; i < object.files.length; ++i)
|
|
50277
|
+
message.files[i] = String(object.files[i]);
|
|
50278
|
+
}
|
|
50279
|
+
if (object.filePattern != null)
|
|
50280
|
+
message.filePattern = String(object.filePattern);
|
|
50281
|
+
return message;
|
|
50282
|
+
};
|
|
50283
|
+
|
|
50284
|
+
/**
|
|
50285
|
+
* Creates a plain object from a FileTypeAttrs message. Also converts values to other types if specified.
|
|
50286
|
+
* @function toObject
|
|
50287
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50288
|
+
* @static
|
|
50289
|
+
* @param {replit.goval.api.FileTypeAttrs} message FileTypeAttrs
|
|
50290
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
50291
|
+
* @returns {Object.<string,*>} Plain object
|
|
50292
|
+
*/
|
|
50293
|
+
FileTypeAttrs.toObject = function toObject(message, options) {
|
|
50294
|
+
if (!options)
|
|
50295
|
+
options = {};
|
|
50296
|
+
var object = {};
|
|
50297
|
+
if (options.arrays || options.defaults) {
|
|
50298
|
+
object.extensions = [];
|
|
50299
|
+
object.files = [];
|
|
50300
|
+
}
|
|
50301
|
+
if (options.defaults)
|
|
50302
|
+
object.filePattern = "";
|
|
50303
|
+
if (message.extensions && message.extensions.length) {
|
|
50304
|
+
object.extensions = [];
|
|
50305
|
+
for (var j = 0; j < message.extensions.length; ++j)
|
|
50306
|
+
object.extensions[j] = message.extensions[j];
|
|
50307
|
+
}
|
|
50308
|
+
if (message.files && message.files.length) {
|
|
50309
|
+
object.files = [];
|
|
50310
|
+
for (var j = 0; j < message.files.length; ++j)
|
|
50311
|
+
object.files[j] = message.files[j];
|
|
50312
|
+
}
|
|
50313
|
+
if (message.filePattern != null && message.hasOwnProperty("filePattern"))
|
|
50314
|
+
object.filePattern = message.filePattern;
|
|
50315
|
+
return object;
|
|
50316
|
+
};
|
|
50317
|
+
|
|
50318
|
+
/**
|
|
50319
|
+
* Converts this FileTypeAttrs to JSON.
|
|
50320
|
+
* @function toJSON
|
|
50321
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50322
|
+
* @instance
|
|
50323
|
+
* @returns {Object.<string,*>} JSON object
|
|
50324
|
+
*/
|
|
50325
|
+
FileTypeAttrs.prototype.toJSON = function toJSON() {
|
|
50326
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
50327
|
+
};
|
|
50328
|
+
|
|
50329
|
+
return FileTypeAttrs;
|
|
50330
|
+
})();
|
|
50331
|
+
|
|
50332
|
+
api.PackagerOption = (function() {
|
|
50333
|
+
|
|
50334
|
+
/**
|
|
50335
|
+
* Properties of a PackagerOption.
|
|
50336
|
+
* @memberof replit.goval.api
|
|
50337
|
+
* @interface IPackagerOption
|
|
50338
|
+
* @property {string|null} [id] PackagerOption id
|
|
50339
|
+
* @property {string|null} [name] PackagerOption name
|
|
50340
|
+
* @property {string|null} [language] PackagerOption language
|
|
50341
|
+
*/
|
|
50342
|
+
|
|
50343
|
+
/**
|
|
50344
|
+
* Constructs a new PackagerOption.
|
|
50345
|
+
* @memberof replit.goval.api
|
|
50346
|
+
* @classdesc Represents a PackagerOption.
|
|
50347
|
+
* @constructor
|
|
50348
|
+
* @param {replit.goval.api.IPackagerOption=} [properties] Properties to set
|
|
50349
|
+
*/
|
|
50350
|
+
function PackagerOption(properties) {
|
|
50351
|
+
if (properties)
|
|
50352
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
50353
|
+
if (properties[keys[i]] != null)
|
|
50354
|
+
this[keys[i]] = properties[keys[i]];
|
|
50355
|
+
}
|
|
50356
|
+
|
|
50357
|
+
/**
|
|
50358
|
+
* PackagerOption id.
|
|
50359
|
+
* @member {string} id
|
|
50360
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50361
|
+
* @instance
|
|
50362
|
+
*/
|
|
50363
|
+
PackagerOption.prototype.id = "";
|
|
50364
|
+
|
|
50365
|
+
/**
|
|
50366
|
+
* PackagerOption name.
|
|
50367
|
+
* @member {string} name
|
|
50368
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50369
|
+
* @instance
|
|
50370
|
+
*/
|
|
50371
|
+
PackagerOption.prototype.name = "";
|
|
50372
|
+
|
|
50373
|
+
/**
|
|
50374
|
+
* PackagerOption language.
|
|
50375
|
+
* @member {string} language
|
|
50376
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50377
|
+
* @instance
|
|
50378
|
+
*/
|
|
50379
|
+
PackagerOption.prototype.language = "";
|
|
50380
|
+
|
|
50381
|
+
/**
|
|
50382
|
+
* Creates a new PackagerOption instance using the specified properties.
|
|
50383
|
+
* @function create
|
|
50384
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50385
|
+
* @static
|
|
50386
|
+
* @param {replit.goval.api.IPackagerOption=} [properties] Properties to set
|
|
50387
|
+
* @returns {replit.goval.api.PackagerOption} PackagerOption instance
|
|
50388
|
+
*/
|
|
50389
|
+
PackagerOption.create = function create(properties) {
|
|
50390
|
+
return PackagerOption.fromObject(properties);
|
|
50391
|
+
};
|
|
50392
|
+
|
|
50393
|
+
/**
|
|
50394
|
+
* Encodes the specified PackagerOption message. Does not implicitly {@link replit.goval.api.PackagerOption.verify|verify} messages.
|
|
50395
|
+
* @function encode
|
|
50396
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50397
|
+
* @static
|
|
50398
|
+
* @param {replit.goval.api.PackagerOption} message PackagerOption message or plain object to encode
|
|
50399
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
50400
|
+
* @returns {$protobuf.Writer} Writer
|
|
50401
|
+
*/
|
|
50402
|
+
PackagerOption.encode = function encode(message, writer) {
|
|
50403
|
+
if (!writer)
|
|
50404
|
+
writer = $Writer.create();
|
|
50405
|
+
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
50406
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
50407
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
50408
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
|
|
50409
|
+
if (message.language != null && Object.hasOwnProperty.call(message, "language"))
|
|
50410
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.language);
|
|
50411
|
+
return writer;
|
|
50412
|
+
};
|
|
50413
|
+
|
|
50414
|
+
/**
|
|
50415
|
+
* Encodes the specified PackagerOption message, length delimited. Does not implicitly {@link replit.goval.api.PackagerOption.verify|verify} messages.
|
|
50416
|
+
* @function encodeDelimited
|
|
50417
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50418
|
+
* @static
|
|
50419
|
+
* @param {replit.goval.api.PackagerOption} message PackagerOption message or plain object to encode
|
|
50420
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
50421
|
+
* @returns {$protobuf.Writer} Writer
|
|
50422
|
+
*/
|
|
50423
|
+
PackagerOption.encodeDelimited = function encodeDelimited(message, writer) {
|
|
50424
|
+
return this.encode(message, writer).ldelim();
|
|
50425
|
+
};
|
|
50426
|
+
|
|
50427
|
+
/**
|
|
50428
|
+
* Decodes a PackagerOption message from the specified reader or buffer.
|
|
50429
|
+
* @function decode
|
|
50430
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50431
|
+
* @static
|
|
50432
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
50433
|
+
* @param {number} [length] Message length if known beforehand
|
|
50434
|
+
* @returns {replit.goval.api.PackagerOption} PackagerOption
|
|
50435
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50436
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50437
|
+
*/
|
|
50438
|
+
PackagerOption.decode = function decode(reader, length) {
|
|
50439
|
+
if (!(reader instanceof $Reader))
|
|
50440
|
+
reader = $Reader.create(reader);
|
|
50441
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.PackagerOption();
|
|
50442
|
+
while (reader.pos < end) {
|
|
50443
|
+
var tag = reader.uint32();
|
|
50444
|
+
switch (tag >>> 3) {
|
|
50445
|
+
case 1:
|
|
50446
|
+
message.id = reader.string();
|
|
50447
|
+
break;
|
|
50448
|
+
case 2:
|
|
50449
|
+
message.name = reader.string();
|
|
50450
|
+
break;
|
|
50451
|
+
case 3:
|
|
50452
|
+
message.language = reader.string();
|
|
50453
|
+
break;
|
|
50454
|
+
default:
|
|
50455
|
+
reader.skipType(tag & 7);
|
|
50456
|
+
break;
|
|
50457
|
+
}
|
|
50458
|
+
}
|
|
50459
|
+
return message;
|
|
50460
|
+
};
|
|
50461
|
+
|
|
50462
|
+
/**
|
|
50463
|
+
* Decodes a PackagerOption message from the specified reader or buffer, length delimited.
|
|
50464
|
+
* @function decodeDelimited
|
|
50465
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50466
|
+
* @static
|
|
50467
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
50468
|
+
* @returns {replit.goval.api.PackagerOption} PackagerOption
|
|
50469
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50470
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50471
|
+
*/
|
|
50472
|
+
PackagerOption.decodeDelimited = function decodeDelimited(reader) {
|
|
50473
|
+
if (!(reader instanceof $Reader))
|
|
50474
|
+
reader = new $Reader(reader);
|
|
50475
|
+
return this.decode(reader, reader.uint32());
|
|
50476
|
+
};
|
|
50477
|
+
|
|
50478
|
+
/**
|
|
50479
|
+
* Verifies a PackagerOption message.
|
|
50480
|
+
* @function verify
|
|
50481
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50482
|
+
* @static
|
|
50483
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
50484
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
50485
|
+
*/
|
|
50486
|
+
PackagerOption.verify = function verify(message) {
|
|
50487
|
+
if (typeof message !== "object" || message === null)
|
|
50488
|
+
return "object expected";
|
|
50489
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
50490
|
+
if (!$util.isString(message.id))
|
|
50491
|
+
return "id: string expected";
|
|
50492
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
50493
|
+
if (!$util.isString(message.name))
|
|
50494
|
+
return "name: string expected";
|
|
50495
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
50496
|
+
if (!$util.isString(message.language))
|
|
50497
|
+
return "language: string expected";
|
|
50498
|
+
return null;
|
|
50499
|
+
};
|
|
50500
|
+
|
|
50501
|
+
/**
|
|
50502
|
+
* Creates a PackagerOption message from a plain object. Also converts values to their respective internal types.
|
|
50503
|
+
* @function fromObject
|
|
50504
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50505
|
+
* @static
|
|
50506
|
+
* @param {Object.<string,*>} object Plain object
|
|
50507
|
+
* @returns {replit.goval.api.PackagerOption} PackagerOption
|
|
50508
|
+
*/
|
|
50509
|
+
PackagerOption.fromObject = function fromObject(object) {
|
|
50510
|
+
if (object instanceof $root.replit.goval.api.PackagerOption)
|
|
50511
|
+
return object;
|
|
50512
|
+
var message = new $root.replit.goval.api.PackagerOption();
|
|
50513
|
+
if (object.id != null)
|
|
50514
|
+
message.id = String(object.id);
|
|
50515
|
+
if (object.name != null)
|
|
50516
|
+
message.name = String(object.name);
|
|
50517
|
+
if (object.language != null)
|
|
50518
|
+
message.language = String(object.language);
|
|
50519
|
+
return message;
|
|
50520
|
+
};
|
|
50521
|
+
|
|
50522
|
+
/**
|
|
50523
|
+
* Creates a plain object from a PackagerOption message. Also converts values to other types if specified.
|
|
50524
|
+
* @function toObject
|
|
50525
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50526
|
+
* @static
|
|
50527
|
+
* @param {replit.goval.api.PackagerOption} message PackagerOption
|
|
50528
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
50529
|
+
* @returns {Object.<string,*>} Plain object
|
|
50530
|
+
*/
|
|
50531
|
+
PackagerOption.toObject = function toObject(message, options) {
|
|
50532
|
+
if (!options)
|
|
50533
|
+
options = {};
|
|
50534
|
+
var object = {};
|
|
50535
|
+
if (options.defaults) {
|
|
50536
|
+
object.id = "";
|
|
50537
|
+
object.name = "";
|
|
50538
|
+
object.language = "";
|
|
50539
|
+
}
|
|
50540
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
50541
|
+
object.id = message.id;
|
|
50542
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
50543
|
+
object.name = message.name;
|
|
50544
|
+
if (message.language != null && message.hasOwnProperty("language"))
|
|
50545
|
+
object.language = message.language;
|
|
50546
|
+
return object;
|
|
50547
|
+
};
|
|
50548
|
+
|
|
50549
|
+
/**
|
|
50550
|
+
* Converts this PackagerOption to JSON.
|
|
50551
|
+
* @function toJSON
|
|
50552
|
+
* @memberof replit.goval.api.PackagerOption
|
|
50553
|
+
* @instance
|
|
50554
|
+
* @returns {Object.<string,*>} JSON object
|
|
50555
|
+
*/
|
|
50556
|
+
PackagerOption.prototype.toJSON = function toJSON() {
|
|
50557
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
50558
|
+
};
|
|
50559
|
+
|
|
50560
|
+
return PackagerOption;
|
|
50561
|
+
})();
|
|
50562
|
+
|
|
46363
50563
|
api.ReplToken = (function() {
|
|
46364
50564
|
|
|
46365
50565
|
/**
|