@replit/protocol 0.3.43 → 0.3.45
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/README.md +1 -1
- package/iotester/index.js.flow +2947 -0
- package/main/index.d.ts +331 -364
- package/main/index.js +711 -935
- package/main/index.js.flow +48599 -0
- package/package.json +1 -1
- package/path.sh +0 -1
package/main/index.js
CHANGED
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
* @property {replit.goval.api.Toast|replit.goval.api.IToast|null} [toast] Command toast
|
|
62
62
|
* @property {replit.goval.api.ProtocolError|replit.goval.api.IProtocolError|null} [protocolError] Command protocolError
|
|
63
63
|
* @property {replit.goval.api.Redirect|replit.goval.api.IRedirect|null} [redirect] Command redirect
|
|
64
|
-
* @property {replit.goval.api.AlwaysOn|replit.goval.api.IAlwaysOn|null} [alwaysOn] Command alwaysOn
|
|
65
64
|
* @property {replit.goval.api.RunMain|replit.goval.api.IRunMain|null} [runMain] Command runMain
|
|
66
65
|
* @property {replit.goval.api.Clear|replit.goval.api.IClear|null} [clear] Command clear
|
|
67
66
|
* @property {string|null} ["eval"] Command eval
|
|
@@ -238,7 +237,6 @@
|
|
|
238
237
|
* @property {replit.goval.api.ReplspaceApiOpenMultipleFiles|replit.goval.api.IReplspaceApiOpenMultipleFiles|null} [replspaceApiOpenMultipleFiles] Command replspaceApiOpenMultipleFiles
|
|
239
238
|
* @property {replit.goval.api.NixModulesGetRegistryRequest|replit.goval.api.INixModulesGetRegistryRequest|null} [nixModulesGetRegistryRequest] Command nixModulesGetRegistryRequest
|
|
240
239
|
* @property {replit.goval.api.NixModulesGetRegistryResponse|replit.goval.api.INixModulesGetRegistryResponse|null} [nixModulesGetRegistryResponse] Command nixModulesGetRegistryResponse
|
|
241
|
-
* @property {replit.goval.api.RiverMessage|replit.goval.api.IRiverMessage|null} [pid2Message] Command pid2Message
|
|
242
240
|
* @property {replit.goval.api.ReplspaceApiShellTracker|replit.goval.api.IReplspaceApiShellTracker|null} [replspaceApiShellTracker] Command replspaceApiShellTracker
|
|
243
241
|
* @property {string|null} [ref] Command ref
|
|
244
242
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
@@ -356,14 +354,6 @@
|
|
|
356
354
|
*/
|
|
357
355
|
Command.prototype.redirect = null;
|
|
358
356
|
|
|
359
|
-
/**
|
|
360
|
-
* Command alwaysOn.
|
|
361
|
-
* @member {replit.goval.api.AlwaysOn|null|undefined} alwaysOn
|
|
362
|
-
* @memberof replit.goval.api.Command
|
|
363
|
-
* @instance
|
|
364
|
-
*/
|
|
365
|
-
Command.prototype.alwaysOn = null;
|
|
366
|
-
|
|
367
357
|
/**
|
|
368
358
|
* Command runMain.
|
|
369
359
|
* @member {replit.goval.api.RunMain|null|undefined} runMain
|
|
@@ -1772,14 +1762,6 @@
|
|
|
1772
1762
|
*/
|
|
1773
1763
|
Command.prototype.nixModulesGetRegistryResponse = null;
|
|
1774
1764
|
|
|
1775
|
-
/**
|
|
1776
|
-
* Command pid2Message.
|
|
1777
|
-
* @member {replit.goval.api.RiverMessage|null|undefined} pid2Message
|
|
1778
|
-
* @memberof replit.goval.api.Command
|
|
1779
|
-
* @instance
|
|
1780
|
-
*/
|
|
1781
|
-
Command.prototype.pid2Message = null;
|
|
1782
|
-
|
|
1783
1765
|
/**
|
|
1784
1766
|
* Command replspaceApiShellTracker.
|
|
1785
1767
|
* @member {replit.goval.api.ReplspaceApiShellTracker|null|undefined} replspaceApiShellTracker
|
|
@@ -1817,12 +1799,12 @@
|
|
|
1817
1799
|
|
|
1818
1800
|
/**
|
|
1819
1801
|
* Command body.
|
|
1820
|
-
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"
|
|
1802
|
+
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"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"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|undefined} body
|
|
1821
1803
|
* @memberof replit.goval.api.Command
|
|
1822
1804
|
* @instance
|
|
1823
1805
|
*/
|
|
1824
1806
|
Object.defineProperty(Command.prototype, "body", {
|
|
1825
|
-
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "
|
|
1807
|
+
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "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", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker"]),
|
|
1826
1808
|
set: $util.oneOfSetter($oneOfFields)
|
|
1827
1809
|
});
|
|
1828
1810
|
|
|
@@ -1870,8 +1852,6 @@
|
|
|
1870
1852
|
$root.replit.goval.api.Toast.encode(message.toast, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
1871
1853
|
if (message.redirect != null && Object.hasOwnProperty.call(message, "redirect"))
|
|
1872
1854
|
$root.replit.goval.api.Redirect.encode(message.redirect, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
|
|
1873
|
-
if (message.alwaysOn != null && Object.hasOwnProperty.call(message, "alwaysOn"))
|
|
1874
|
-
$root.replit.goval.api.AlwaysOn.encode(message.alwaysOn, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
1875
1855
|
if (message.runMain != null && Object.hasOwnProperty.call(message, "runMain"))
|
|
1876
1856
|
$root.replit.goval.api.RunMain.encode(message.runMain, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
1877
1857
|
if (message.clear != null && Object.hasOwnProperty.call(message, "clear"))
|
|
@@ -2216,8 +2196,6 @@
|
|
|
2216
2196
|
$root.replit.goval.api.NixModulesGetRegistryRequest.encode(message.nixModulesGetRegistryRequest, writer.uint32(/* id 439, wireType 2 =*/3514).fork()).ldelim();
|
|
2217
2197
|
if (message.nixModulesGetRegistryResponse != null && Object.hasOwnProperty.call(message, "nixModulesGetRegistryResponse"))
|
|
2218
2198
|
$root.replit.goval.api.NixModulesGetRegistryResponse.encode(message.nixModulesGetRegistryResponse, writer.uint32(/* id 440, wireType 2 =*/3522).fork()).ldelim();
|
|
2219
|
-
if (message.pid2Message != null && Object.hasOwnProperty.call(message, "pid2Message"))
|
|
2220
|
-
$root.replit.goval.api.RiverMessage.encode(message.pid2Message, writer.uint32(/* id 441, wireType 2 =*/3530).fork()).ldelim();
|
|
2221
2199
|
if (message.replspaceApiShellTracker != null && Object.hasOwnProperty.call(message, "replspaceApiShellTracker"))
|
|
2222
2200
|
$root.replit.goval.api.ReplspaceApiShellTracker.encode(message.replspaceApiShellTracker, writer.uint32(/* id 442, wireType 2 =*/3538).fork()).ldelim();
|
|
2223
2201
|
if (message.outputBlockStartEvent != null && Object.hasOwnProperty.call(message, "outputBlockStartEvent"))
|
|
@@ -2321,10 +2299,6 @@
|
|
|
2321
2299
|
message.redirect = $root.replit.goval.api.Redirect.decode(reader, reader.uint32());
|
|
2322
2300
|
break;
|
|
2323
2301
|
}
|
|
2324
|
-
case 13: {
|
|
2325
|
-
message.alwaysOn = $root.replit.goval.api.AlwaysOn.decode(reader, reader.uint32());
|
|
2326
|
-
break;
|
|
2327
|
-
}
|
|
2328
2302
|
case 16: {
|
|
2329
2303
|
message.runMain = $root.replit.goval.api.RunMain.decode(reader, reader.uint32());
|
|
2330
2304
|
break;
|
|
@@ -3029,10 +3003,6 @@
|
|
|
3029
3003
|
message.nixModulesGetRegistryResponse = $root.replit.goval.api.NixModulesGetRegistryResponse.decode(reader, reader.uint32());
|
|
3030
3004
|
break;
|
|
3031
3005
|
}
|
|
3032
|
-
case 441: {
|
|
3033
|
-
message.pid2Message = $root.replit.goval.api.RiverMessage.decode(reader, reader.uint32());
|
|
3034
|
-
break;
|
|
3035
|
-
}
|
|
3036
3006
|
case 442: {
|
|
3037
3007
|
message.replspaceApiShellTracker = $root.replit.goval.api.ReplspaceApiShellTracker.decode(reader, reader.uint32());
|
|
3038
3008
|
break;
|
|
@@ -3208,16 +3178,6 @@
|
|
|
3208
3178
|
return "redirect." + error;
|
|
3209
3179
|
}
|
|
3210
3180
|
}
|
|
3211
|
-
if (message.alwaysOn != null && message.hasOwnProperty("alwaysOn")) {
|
|
3212
|
-
if (properties.body === 1)
|
|
3213
|
-
return "body: multiple values";
|
|
3214
|
-
properties.body = 1;
|
|
3215
|
-
{
|
|
3216
|
-
var error = $root.replit.goval.api.AlwaysOn.verify(message.alwaysOn);
|
|
3217
|
-
if (error)
|
|
3218
|
-
return "alwaysOn." + error;
|
|
3219
|
-
}
|
|
3220
|
-
}
|
|
3221
3181
|
if (message.runMain != null && message.hasOwnProperty("runMain")) {
|
|
3222
3182
|
if (properties.body === 1)
|
|
3223
3183
|
return "body: multiple values";
|
|
@@ -4944,16 +4904,6 @@
|
|
|
4944
4904
|
return "nixModulesGetRegistryResponse." + error;
|
|
4945
4905
|
}
|
|
4946
4906
|
}
|
|
4947
|
-
if (message.pid2Message != null && message.hasOwnProperty("pid2Message")) {
|
|
4948
|
-
if (properties.body === 1)
|
|
4949
|
-
return "body: multiple values";
|
|
4950
|
-
properties.body = 1;
|
|
4951
|
-
{
|
|
4952
|
-
var error = $root.replit.goval.api.RiverMessage.verify(message.pid2Message);
|
|
4953
|
-
if (error)
|
|
4954
|
-
return "pid2Message." + error;
|
|
4955
|
-
}
|
|
4956
|
-
}
|
|
4957
4907
|
if (message.replspaceApiShellTracker != null && message.hasOwnProperty("replspaceApiShellTracker")) {
|
|
4958
4908
|
if (properties.body === 1)
|
|
4959
4909
|
return "body: multiple values";
|
|
@@ -5047,11 +4997,6 @@
|
|
|
5047
4997
|
throw TypeError(".replit.goval.api.Command.redirect: object expected");
|
|
5048
4998
|
message.redirect = $root.replit.goval.api.Redirect.fromObject(object.redirect);
|
|
5049
4999
|
}
|
|
5050
|
-
if (object.alwaysOn != null) {
|
|
5051
|
-
if (typeof object.alwaysOn !== "object")
|
|
5052
|
-
throw TypeError(".replit.goval.api.Command.alwaysOn: object expected");
|
|
5053
|
-
message.alwaysOn = $root.replit.goval.api.AlwaysOn.fromObject(object.alwaysOn);
|
|
5054
|
-
}
|
|
5055
5000
|
if (object.runMain != null) {
|
|
5056
5001
|
if (typeof object.runMain !== "object")
|
|
5057
5002
|
throw TypeError(".replit.goval.api.Command.runMain: object expected");
|
|
@@ -5907,11 +5852,6 @@
|
|
|
5907
5852
|
throw TypeError(".replit.goval.api.Command.nixModulesGetRegistryResponse: object expected");
|
|
5908
5853
|
message.nixModulesGetRegistryResponse = $root.replit.goval.api.NixModulesGetRegistryResponse.fromObject(object.nixModulesGetRegistryResponse);
|
|
5909
5854
|
}
|
|
5910
|
-
if (object.pid2Message != null) {
|
|
5911
|
-
if (typeof object.pid2Message !== "object")
|
|
5912
|
-
throw TypeError(".replit.goval.api.Command.pid2Message: object expected");
|
|
5913
|
-
message.pid2Message = $root.replit.goval.api.RiverMessage.fromObject(object.pid2Message);
|
|
5914
|
-
}
|
|
5915
5855
|
if (object.replspaceApiShellTracker != null) {
|
|
5916
5856
|
if (typeof object.replspaceApiShellTracker !== "object")
|
|
5917
5857
|
throw TypeError(".replit.goval.api.Command.replspaceApiShellTracker: object expected");
|
|
@@ -5996,11 +5936,6 @@
|
|
|
5996
5936
|
if (options.oneofs)
|
|
5997
5937
|
object.body = "redirect";
|
|
5998
5938
|
}
|
|
5999
|
-
if (message.alwaysOn != null && message.hasOwnProperty("alwaysOn")) {
|
|
6000
|
-
object.alwaysOn = $root.replit.goval.api.AlwaysOn.toObject(message.alwaysOn, options);
|
|
6001
|
-
if (options.oneofs)
|
|
6002
|
-
object.body = "alwaysOn";
|
|
6003
|
-
}
|
|
6004
5939
|
if (message.runMain != null && message.hasOwnProperty("runMain")) {
|
|
6005
5940
|
object.runMain = $root.replit.goval.api.RunMain.toObject(message.runMain, options);
|
|
6006
5941
|
if (options.oneofs)
|
|
@@ -6861,11 +6796,6 @@
|
|
|
6861
6796
|
if (options.oneofs)
|
|
6862
6797
|
object.body = "nixModulesGetRegistryResponse";
|
|
6863
6798
|
}
|
|
6864
|
-
if (message.pid2Message != null && message.hasOwnProperty("pid2Message")) {
|
|
6865
|
-
object.pid2Message = $root.replit.goval.api.RiverMessage.toObject(message.pid2Message, options);
|
|
6866
|
-
if (options.oneofs)
|
|
6867
|
-
object.body = "pid2Message";
|
|
6868
|
-
}
|
|
6869
6799
|
if (message.replspaceApiShellTracker != null && message.hasOwnProperty("replspaceApiShellTracker")) {
|
|
6870
6800
|
object.replspaceApiShellTracker = $root.replit.goval.api.ReplspaceApiShellTracker.toObject(message.replspaceApiShellTracker, options);
|
|
6871
6801
|
if (options.oneofs)
|
|
@@ -6943,409 +6873,6 @@
|
|
|
6943
6873
|
return Command;
|
|
6944
6874
|
})();
|
|
6945
6875
|
|
|
6946
|
-
api.RiverMessage = (function() {
|
|
6947
|
-
|
|
6948
|
-
/**
|
|
6949
|
-
* Properties of a RiverMessage.
|
|
6950
|
-
* @memberof replit.goval.api
|
|
6951
|
-
* @interface IRiverMessage
|
|
6952
|
-
* @property {string|null} [id] RiverMessage id
|
|
6953
|
-
* @property {string|null} [replyTo] RiverMessage replyTo
|
|
6954
|
-
* @property {string|null} [from] RiverMessage from
|
|
6955
|
-
* @property {string|null} [to] RiverMessage to
|
|
6956
|
-
* @property {string|null} [serviceName] RiverMessage serviceName
|
|
6957
|
-
* @property {string|null} [procedureName] RiverMessage procedureName
|
|
6958
|
-
* @property {string|null} [ack] RiverMessage ack
|
|
6959
|
-
* @property {google.protobuf.Value|google.protobuf.IValue|null} [payload] RiverMessage payload
|
|
6960
|
-
*/
|
|
6961
|
-
|
|
6962
|
-
/**
|
|
6963
|
-
* Constructs a new RiverMessage.
|
|
6964
|
-
* @memberof replit.goval.api
|
|
6965
|
-
* @classdesc Represents a RiverMessage.
|
|
6966
|
-
* @constructor
|
|
6967
|
-
* @param {replit.goval.api.IRiverMessage=} [properties] Properties to set
|
|
6968
|
-
*/
|
|
6969
|
-
function RiverMessage(properties) {
|
|
6970
|
-
if (properties)
|
|
6971
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
6972
|
-
if (properties[keys[i]] != null)
|
|
6973
|
-
this[keys[i]] = properties[keys[i]];
|
|
6974
|
-
}
|
|
6975
|
-
|
|
6976
|
-
/**
|
|
6977
|
-
* RiverMessage id.
|
|
6978
|
-
* @member {string} id
|
|
6979
|
-
* @memberof replit.goval.api.RiverMessage
|
|
6980
|
-
* @instance
|
|
6981
|
-
*/
|
|
6982
|
-
RiverMessage.prototype.id = "";
|
|
6983
|
-
|
|
6984
|
-
/**
|
|
6985
|
-
* RiverMessage replyTo.
|
|
6986
|
-
* @member {string|null|undefined} replyTo
|
|
6987
|
-
* @memberof replit.goval.api.RiverMessage
|
|
6988
|
-
* @instance
|
|
6989
|
-
*/
|
|
6990
|
-
RiverMessage.prototype.replyTo = null;
|
|
6991
|
-
|
|
6992
|
-
/**
|
|
6993
|
-
* RiverMessage from.
|
|
6994
|
-
* @member {string} from
|
|
6995
|
-
* @memberof replit.goval.api.RiverMessage
|
|
6996
|
-
* @instance
|
|
6997
|
-
*/
|
|
6998
|
-
RiverMessage.prototype.from = "";
|
|
6999
|
-
|
|
7000
|
-
/**
|
|
7001
|
-
* RiverMessage to.
|
|
7002
|
-
* @member {string} to
|
|
7003
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7004
|
-
* @instance
|
|
7005
|
-
*/
|
|
7006
|
-
RiverMessage.prototype.to = "";
|
|
7007
|
-
|
|
7008
|
-
/**
|
|
7009
|
-
* RiverMessage serviceName.
|
|
7010
|
-
* @member {string} serviceName
|
|
7011
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7012
|
-
* @instance
|
|
7013
|
-
*/
|
|
7014
|
-
RiverMessage.prototype.serviceName = "";
|
|
7015
|
-
|
|
7016
|
-
/**
|
|
7017
|
-
* RiverMessage procedureName.
|
|
7018
|
-
* @member {string} procedureName
|
|
7019
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7020
|
-
* @instance
|
|
7021
|
-
*/
|
|
7022
|
-
RiverMessage.prototype.procedureName = "";
|
|
7023
|
-
|
|
7024
|
-
/**
|
|
7025
|
-
* RiverMessage ack.
|
|
7026
|
-
* @member {string|null|undefined} ack
|
|
7027
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7028
|
-
* @instance
|
|
7029
|
-
*/
|
|
7030
|
-
RiverMessage.prototype.ack = null;
|
|
7031
|
-
|
|
7032
|
-
/**
|
|
7033
|
-
* RiverMessage payload.
|
|
7034
|
-
* @member {google.protobuf.Value|null|undefined} payload
|
|
7035
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7036
|
-
* @instance
|
|
7037
|
-
*/
|
|
7038
|
-
RiverMessage.prototype.payload = null;
|
|
7039
|
-
|
|
7040
|
-
// OneOf field names bound to virtual getters and setters
|
|
7041
|
-
var $oneOfFields;
|
|
7042
|
-
|
|
7043
|
-
/**
|
|
7044
|
-
* RiverMessage _replyTo.
|
|
7045
|
-
* @member {"replyTo"|undefined} _replyTo
|
|
7046
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7047
|
-
* @instance
|
|
7048
|
-
*/
|
|
7049
|
-
Object.defineProperty(RiverMessage.prototype, "_replyTo", {
|
|
7050
|
-
get: $util.oneOfGetter($oneOfFields = ["replyTo"]),
|
|
7051
|
-
set: $util.oneOfSetter($oneOfFields)
|
|
7052
|
-
});
|
|
7053
|
-
|
|
7054
|
-
/**
|
|
7055
|
-
* RiverMessage _ack.
|
|
7056
|
-
* @member {"ack"|undefined} _ack
|
|
7057
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7058
|
-
* @instance
|
|
7059
|
-
*/
|
|
7060
|
-
Object.defineProperty(RiverMessage.prototype, "_ack", {
|
|
7061
|
-
get: $util.oneOfGetter($oneOfFields = ["ack"]),
|
|
7062
|
-
set: $util.oneOfSetter($oneOfFields)
|
|
7063
|
-
});
|
|
7064
|
-
|
|
7065
|
-
/**
|
|
7066
|
-
* Creates a new RiverMessage instance using the specified properties.
|
|
7067
|
-
* @function create
|
|
7068
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7069
|
-
* @static
|
|
7070
|
-
* @param {replit.goval.api.IRiverMessage=} [properties] Properties to set
|
|
7071
|
-
* @returns {replit.goval.api.RiverMessage} RiverMessage instance
|
|
7072
|
-
*/
|
|
7073
|
-
RiverMessage.create = function create(properties) {
|
|
7074
|
-
return RiverMessage.fromObject(properties);
|
|
7075
|
-
};
|
|
7076
|
-
|
|
7077
|
-
/**
|
|
7078
|
-
* Encodes the specified RiverMessage message. Does not implicitly {@link replit.goval.api.RiverMessage.verify|verify} messages.
|
|
7079
|
-
* @function encode
|
|
7080
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7081
|
-
* @static
|
|
7082
|
-
* @param {replit.goval.api.RiverMessage} message RiverMessage message or plain object to encode
|
|
7083
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7084
|
-
* @returns {$protobuf.Writer} Writer
|
|
7085
|
-
*/
|
|
7086
|
-
RiverMessage.encode = function encode(message, writer) {
|
|
7087
|
-
if (!writer)
|
|
7088
|
-
writer = $Writer.create();
|
|
7089
|
-
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
7090
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
|
|
7091
|
-
if (message.replyTo != null && Object.hasOwnProperty.call(message, "replyTo"))
|
|
7092
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.replyTo);
|
|
7093
|
-
if (message.from != null && Object.hasOwnProperty.call(message, "from"))
|
|
7094
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.from);
|
|
7095
|
-
if (message.to != null && Object.hasOwnProperty.call(message, "to"))
|
|
7096
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.to);
|
|
7097
|
-
if (message.serviceName != null && Object.hasOwnProperty.call(message, "serviceName"))
|
|
7098
|
-
writer.uint32(/* id 5, wireType 2 =*/42).string(message.serviceName);
|
|
7099
|
-
if (message.procedureName != null && Object.hasOwnProperty.call(message, "procedureName"))
|
|
7100
|
-
writer.uint32(/* id 6, wireType 2 =*/50).string(message.procedureName);
|
|
7101
|
-
if (message.ack != null && Object.hasOwnProperty.call(message, "ack"))
|
|
7102
|
-
writer.uint32(/* id 7, wireType 2 =*/58).string(message.ack);
|
|
7103
|
-
if (message.payload != null && Object.hasOwnProperty.call(message, "payload"))
|
|
7104
|
-
$root.google.protobuf.Value.encode(message.payload, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
7105
|
-
return writer;
|
|
7106
|
-
};
|
|
7107
|
-
|
|
7108
|
-
/**
|
|
7109
|
-
* Encodes the specified RiverMessage message, length delimited. Does not implicitly {@link replit.goval.api.RiverMessage.verify|verify} messages.
|
|
7110
|
-
* @function encodeDelimited
|
|
7111
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7112
|
-
* @static
|
|
7113
|
-
* @param {replit.goval.api.RiverMessage} message RiverMessage message or plain object to encode
|
|
7114
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
7115
|
-
* @returns {$protobuf.Writer} Writer
|
|
7116
|
-
*/
|
|
7117
|
-
RiverMessage.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7118
|
-
return this.encode(message, writer).ldelim();
|
|
7119
|
-
};
|
|
7120
|
-
|
|
7121
|
-
/**
|
|
7122
|
-
* Decodes a RiverMessage message from the specified reader or buffer.
|
|
7123
|
-
* @function decode
|
|
7124
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7125
|
-
* @static
|
|
7126
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7127
|
-
* @param {number} [length] Message length if known beforehand
|
|
7128
|
-
* @returns {replit.goval.api.RiverMessage} RiverMessage
|
|
7129
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7130
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7131
|
-
*/
|
|
7132
|
-
RiverMessage.decode = function decode(reader, length) {
|
|
7133
|
-
if (!(reader instanceof $Reader))
|
|
7134
|
-
reader = $Reader.create(reader);
|
|
7135
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.RiverMessage();
|
|
7136
|
-
while (reader.pos < end) {
|
|
7137
|
-
var tag = reader.uint32();
|
|
7138
|
-
switch (tag >>> 3) {
|
|
7139
|
-
case 1: {
|
|
7140
|
-
message.id = reader.string();
|
|
7141
|
-
break;
|
|
7142
|
-
}
|
|
7143
|
-
case 2: {
|
|
7144
|
-
message.replyTo = reader.string();
|
|
7145
|
-
break;
|
|
7146
|
-
}
|
|
7147
|
-
case 3: {
|
|
7148
|
-
message.from = reader.string();
|
|
7149
|
-
break;
|
|
7150
|
-
}
|
|
7151
|
-
case 4: {
|
|
7152
|
-
message.to = reader.string();
|
|
7153
|
-
break;
|
|
7154
|
-
}
|
|
7155
|
-
case 5: {
|
|
7156
|
-
message.serviceName = reader.string();
|
|
7157
|
-
break;
|
|
7158
|
-
}
|
|
7159
|
-
case 6: {
|
|
7160
|
-
message.procedureName = reader.string();
|
|
7161
|
-
break;
|
|
7162
|
-
}
|
|
7163
|
-
case 7: {
|
|
7164
|
-
message.ack = reader.string();
|
|
7165
|
-
break;
|
|
7166
|
-
}
|
|
7167
|
-
case 10: {
|
|
7168
|
-
message.payload = $root.google.protobuf.Value.decode(reader, reader.uint32());
|
|
7169
|
-
break;
|
|
7170
|
-
}
|
|
7171
|
-
default:
|
|
7172
|
-
reader.skipType(tag & 7);
|
|
7173
|
-
break;
|
|
7174
|
-
}
|
|
7175
|
-
}
|
|
7176
|
-
return message;
|
|
7177
|
-
};
|
|
7178
|
-
|
|
7179
|
-
/**
|
|
7180
|
-
* Decodes a RiverMessage message from the specified reader or buffer, length delimited.
|
|
7181
|
-
* @function decodeDelimited
|
|
7182
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7183
|
-
* @static
|
|
7184
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
7185
|
-
* @returns {replit.goval.api.RiverMessage} RiverMessage
|
|
7186
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7187
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7188
|
-
*/
|
|
7189
|
-
RiverMessage.decodeDelimited = function decodeDelimited(reader) {
|
|
7190
|
-
if (!(reader instanceof $Reader))
|
|
7191
|
-
reader = new $Reader(reader);
|
|
7192
|
-
return this.decode(reader, reader.uint32());
|
|
7193
|
-
};
|
|
7194
|
-
|
|
7195
|
-
/**
|
|
7196
|
-
* Verifies a RiverMessage message.
|
|
7197
|
-
* @function verify
|
|
7198
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7199
|
-
* @static
|
|
7200
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
7201
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
7202
|
-
*/
|
|
7203
|
-
RiverMessage.verify = function verify(message) {
|
|
7204
|
-
if (typeof message !== "object" || message === null)
|
|
7205
|
-
return "object expected";
|
|
7206
|
-
var properties = {};
|
|
7207
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
7208
|
-
if (!$util.isString(message.id))
|
|
7209
|
-
return "id: string expected";
|
|
7210
|
-
if (message.replyTo != null && message.hasOwnProperty("replyTo")) {
|
|
7211
|
-
properties._replyTo = 1;
|
|
7212
|
-
if (!$util.isString(message.replyTo))
|
|
7213
|
-
return "replyTo: string expected";
|
|
7214
|
-
}
|
|
7215
|
-
if (message.from != null && message.hasOwnProperty("from"))
|
|
7216
|
-
if (!$util.isString(message.from))
|
|
7217
|
-
return "from: string expected";
|
|
7218
|
-
if (message.to != null && message.hasOwnProperty("to"))
|
|
7219
|
-
if (!$util.isString(message.to))
|
|
7220
|
-
return "to: string expected";
|
|
7221
|
-
if (message.serviceName != null && message.hasOwnProperty("serviceName"))
|
|
7222
|
-
if (!$util.isString(message.serviceName))
|
|
7223
|
-
return "serviceName: string expected";
|
|
7224
|
-
if (message.procedureName != null && message.hasOwnProperty("procedureName"))
|
|
7225
|
-
if (!$util.isString(message.procedureName))
|
|
7226
|
-
return "procedureName: string expected";
|
|
7227
|
-
if (message.ack != null && message.hasOwnProperty("ack")) {
|
|
7228
|
-
properties._ack = 1;
|
|
7229
|
-
if (!$util.isString(message.ack))
|
|
7230
|
-
return "ack: string expected";
|
|
7231
|
-
}
|
|
7232
|
-
if (message.payload != null && message.hasOwnProperty("payload")) {
|
|
7233
|
-
var error = $root.google.protobuf.Value.verify(message.payload);
|
|
7234
|
-
if (error)
|
|
7235
|
-
return "payload." + error;
|
|
7236
|
-
}
|
|
7237
|
-
return null;
|
|
7238
|
-
};
|
|
7239
|
-
|
|
7240
|
-
/**
|
|
7241
|
-
* Creates a RiverMessage message from a plain object. Also converts values to their respective internal types.
|
|
7242
|
-
* @function fromObject
|
|
7243
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7244
|
-
* @static
|
|
7245
|
-
* @param {Object.<string,*>} object Plain object
|
|
7246
|
-
* @returns {replit.goval.api.RiverMessage} RiverMessage
|
|
7247
|
-
*/
|
|
7248
|
-
RiverMessage.fromObject = function fromObject(object) {
|
|
7249
|
-
if (object instanceof $root.replit.goval.api.RiverMessage)
|
|
7250
|
-
return object;
|
|
7251
|
-
var message = new $root.replit.goval.api.RiverMessage();
|
|
7252
|
-
if (object.id != null)
|
|
7253
|
-
message.id = String(object.id);
|
|
7254
|
-
if (object.replyTo != null)
|
|
7255
|
-
message.replyTo = String(object.replyTo);
|
|
7256
|
-
if (object.from != null)
|
|
7257
|
-
message.from = String(object.from);
|
|
7258
|
-
if (object.to != null)
|
|
7259
|
-
message.to = String(object.to);
|
|
7260
|
-
if (object.serviceName != null)
|
|
7261
|
-
message.serviceName = String(object.serviceName);
|
|
7262
|
-
if (object.procedureName != null)
|
|
7263
|
-
message.procedureName = String(object.procedureName);
|
|
7264
|
-
if (object.ack != null)
|
|
7265
|
-
message.ack = String(object.ack);
|
|
7266
|
-
if (object.payload != null) {
|
|
7267
|
-
if (typeof object.payload !== "object")
|
|
7268
|
-
throw TypeError(".replit.goval.api.RiverMessage.payload: object expected");
|
|
7269
|
-
message.payload = $root.google.protobuf.Value.fromObject(object.payload);
|
|
7270
|
-
}
|
|
7271
|
-
return message;
|
|
7272
|
-
};
|
|
7273
|
-
|
|
7274
|
-
/**
|
|
7275
|
-
* Creates a plain object from a RiverMessage message. Also converts values to other types if specified.
|
|
7276
|
-
* @function toObject
|
|
7277
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7278
|
-
* @static
|
|
7279
|
-
* @param {replit.goval.api.RiverMessage} message RiverMessage
|
|
7280
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
7281
|
-
* @returns {Object.<string,*>} Plain object
|
|
7282
|
-
*/
|
|
7283
|
-
RiverMessage.toObject = function toObject(message, options) {
|
|
7284
|
-
if (!options)
|
|
7285
|
-
options = {};
|
|
7286
|
-
var object = {};
|
|
7287
|
-
if (options.defaults) {
|
|
7288
|
-
object.id = "";
|
|
7289
|
-
object.from = "";
|
|
7290
|
-
object.to = "";
|
|
7291
|
-
object.serviceName = "";
|
|
7292
|
-
object.procedureName = "";
|
|
7293
|
-
object.payload = null;
|
|
7294
|
-
}
|
|
7295
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
7296
|
-
object.id = message.id;
|
|
7297
|
-
if (message.replyTo != null && message.hasOwnProperty("replyTo")) {
|
|
7298
|
-
object.replyTo = message.replyTo;
|
|
7299
|
-
if (options.oneofs)
|
|
7300
|
-
object._replyTo = "replyTo";
|
|
7301
|
-
}
|
|
7302
|
-
if (message.from != null && message.hasOwnProperty("from"))
|
|
7303
|
-
object.from = message.from;
|
|
7304
|
-
if (message.to != null && message.hasOwnProperty("to"))
|
|
7305
|
-
object.to = message.to;
|
|
7306
|
-
if (message.serviceName != null && message.hasOwnProperty("serviceName"))
|
|
7307
|
-
object.serviceName = message.serviceName;
|
|
7308
|
-
if (message.procedureName != null && message.hasOwnProperty("procedureName"))
|
|
7309
|
-
object.procedureName = message.procedureName;
|
|
7310
|
-
if (message.ack != null && message.hasOwnProperty("ack")) {
|
|
7311
|
-
object.ack = message.ack;
|
|
7312
|
-
if (options.oneofs)
|
|
7313
|
-
object._ack = "ack";
|
|
7314
|
-
}
|
|
7315
|
-
if (message.payload != null && message.hasOwnProperty("payload"))
|
|
7316
|
-
object.payload = $root.google.protobuf.Value.toObject(message.payload, options);
|
|
7317
|
-
return object;
|
|
7318
|
-
};
|
|
7319
|
-
|
|
7320
|
-
/**
|
|
7321
|
-
* Converts this RiverMessage to JSON.
|
|
7322
|
-
* @function toJSON
|
|
7323
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7324
|
-
* @instance
|
|
7325
|
-
* @returns {Object.<string,*>} JSON object
|
|
7326
|
-
*/
|
|
7327
|
-
RiverMessage.prototype.toJSON = function toJSON() {
|
|
7328
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7329
|
-
};
|
|
7330
|
-
|
|
7331
|
-
/**
|
|
7332
|
-
* Gets the default type url for RiverMessage
|
|
7333
|
-
* @function getTypeUrl
|
|
7334
|
-
* @memberof replit.goval.api.RiverMessage
|
|
7335
|
-
* @static
|
|
7336
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7337
|
-
* @returns {string} The default type url
|
|
7338
|
-
*/
|
|
7339
|
-
RiverMessage.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
7340
|
-
if (typeUrlPrefix === undefined) {
|
|
7341
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
7342
|
-
}
|
|
7343
|
-
return typeUrlPrefix + "/replit.goval.api.RiverMessage";
|
|
7344
|
-
};
|
|
7345
|
-
|
|
7346
|
-
return RiverMessage;
|
|
7347
|
-
})();
|
|
7348
|
-
|
|
7349
6876
|
api.NixPackageAddRequest = (function() {
|
|
7350
6877
|
|
|
7351
6878
|
/**
|
|
@@ -25838,208 +25365,6 @@
|
|
|
25838
25365
|
return Redirect;
|
|
25839
25366
|
})();
|
|
25840
25367
|
|
|
25841
|
-
api.AlwaysOn = (function() {
|
|
25842
|
-
|
|
25843
|
-
/**
|
|
25844
|
-
* Properties of an AlwaysOn.
|
|
25845
|
-
* @memberof replit.goval.api
|
|
25846
|
-
* @interface IAlwaysOn
|
|
25847
|
-
* @property {boolean|null} [enable] AlwaysOn enable
|
|
25848
|
-
*/
|
|
25849
|
-
|
|
25850
|
-
/**
|
|
25851
|
-
* Constructs a new AlwaysOn.
|
|
25852
|
-
* @memberof replit.goval.api
|
|
25853
|
-
* @classdesc Represents an AlwaysOn.
|
|
25854
|
-
* @constructor
|
|
25855
|
-
* @param {replit.goval.api.IAlwaysOn=} [properties] Properties to set
|
|
25856
|
-
*/
|
|
25857
|
-
function AlwaysOn(properties) {
|
|
25858
|
-
if (properties)
|
|
25859
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
25860
|
-
if (properties[keys[i]] != null)
|
|
25861
|
-
this[keys[i]] = properties[keys[i]];
|
|
25862
|
-
}
|
|
25863
|
-
|
|
25864
|
-
/**
|
|
25865
|
-
* AlwaysOn enable.
|
|
25866
|
-
* @member {boolean} enable
|
|
25867
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25868
|
-
* @instance
|
|
25869
|
-
*/
|
|
25870
|
-
AlwaysOn.prototype.enable = false;
|
|
25871
|
-
|
|
25872
|
-
/**
|
|
25873
|
-
* Creates a new AlwaysOn instance using the specified properties.
|
|
25874
|
-
* @function create
|
|
25875
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25876
|
-
* @static
|
|
25877
|
-
* @param {replit.goval.api.IAlwaysOn=} [properties] Properties to set
|
|
25878
|
-
* @returns {replit.goval.api.AlwaysOn} AlwaysOn instance
|
|
25879
|
-
*/
|
|
25880
|
-
AlwaysOn.create = function create(properties) {
|
|
25881
|
-
return AlwaysOn.fromObject(properties);
|
|
25882
|
-
};
|
|
25883
|
-
|
|
25884
|
-
/**
|
|
25885
|
-
* Encodes the specified AlwaysOn message. Does not implicitly {@link replit.goval.api.AlwaysOn.verify|verify} messages.
|
|
25886
|
-
* @function encode
|
|
25887
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25888
|
-
* @static
|
|
25889
|
-
* @param {replit.goval.api.AlwaysOn} message AlwaysOn message or plain object to encode
|
|
25890
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25891
|
-
* @returns {$protobuf.Writer} Writer
|
|
25892
|
-
*/
|
|
25893
|
-
AlwaysOn.encode = function encode(message, writer) {
|
|
25894
|
-
if (!writer)
|
|
25895
|
-
writer = $Writer.create();
|
|
25896
|
-
if (message.enable != null && Object.hasOwnProperty.call(message, "enable"))
|
|
25897
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.enable);
|
|
25898
|
-
return writer;
|
|
25899
|
-
};
|
|
25900
|
-
|
|
25901
|
-
/**
|
|
25902
|
-
* Encodes the specified AlwaysOn message, length delimited. Does not implicitly {@link replit.goval.api.AlwaysOn.verify|verify} messages.
|
|
25903
|
-
* @function encodeDelimited
|
|
25904
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25905
|
-
* @static
|
|
25906
|
-
* @param {replit.goval.api.AlwaysOn} message AlwaysOn message or plain object to encode
|
|
25907
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25908
|
-
* @returns {$protobuf.Writer} Writer
|
|
25909
|
-
*/
|
|
25910
|
-
AlwaysOn.encodeDelimited = function encodeDelimited(message, writer) {
|
|
25911
|
-
return this.encode(message, writer).ldelim();
|
|
25912
|
-
};
|
|
25913
|
-
|
|
25914
|
-
/**
|
|
25915
|
-
* Decodes an AlwaysOn message from the specified reader or buffer.
|
|
25916
|
-
* @function decode
|
|
25917
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25918
|
-
* @static
|
|
25919
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25920
|
-
* @param {number} [length] Message length if known beforehand
|
|
25921
|
-
* @returns {replit.goval.api.AlwaysOn} AlwaysOn
|
|
25922
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25923
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25924
|
-
*/
|
|
25925
|
-
AlwaysOn.decode = function decode(reader, length) {
|
|
25926
|
-
if (!(reader instanceof $Reader))
|
|
25927
|
-
reader = $Reader.create(reader);
|
|
25928
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.AlwaysOn();
|
|
25929
|
-
while (reader.pos < end) {
|
|
25930
|
-
var tag = reader.uint32();
|
|
25931
|
-
switch (tag >>> 3) {
|
|
25932
|
-
case 1: {
|
|
25933
|
-
message.enable = reader.bool();
|
|
25934
|
-
break;
|
|
25935
|
-
}
|
|
25936
|
-
default:
|
|
25937
|
-
reader.skipType(tag & 7);
|
|
25938
|
-
break;
|
|
25939
|
-
}
|
|
25940
|
-
}
|
|
25941
|
-
return message;
|
|
25942
|
-
};
|
|
25943
|
-
|
|
25944
|
-
/**
|
|
25945
|
-
* Decodes an AlwaysOn message from the specified reader or buffer, length delimited.
|
|
25946
|
-
* @function decodeDelimited
|
|
25947
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25948
|
-
* @static
|
|
25949
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25950
|
-
* @returns {replit.goval.api.AlwaysOn} AlwaysOn
|
|
25951
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25952
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25953
|
-
*/
|
|
25954
|
-
AlwaysOn.decodeDelimited = function decodeDelimited(reader) {
|
|
25955
|
-
if (!(reader instanceof $Reader))
|
|
25956
|
-
reader = new $Reader(reader);
|
|
25957
|
-
return this.decode(reader, reader.uint32());
|
|
25958
|
-
};
|
|
25959
|
-
|
|
25960
|
-
/**
|
|
25961
|
-
* Verifies an AlwaysOn message.
|
|
25962
|
-
* @function verify
|
|
25963
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25964
|
-
* @static
|
|
25965
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
25966
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
25967
|
-
*/
|
|
25968
|
-
AlwaysOn.verify = function verify(message) {
|
|
25969
|
-
if (typeof message !== "object" || message === null)
|
|
25970
|
-
return "object expected";
|
|
25971
|
-
if (message.enable != null && message.hasOwnProperty("enable"))
|
|
25972
|
-
if (typeof message.enable !== "boolean")
|
|
25973
|
-
return "enable: boolean expected";
|
|
25974
|
-
return null;
|
|
25975
|
-
};
|
|
25976
|
-
|
|
25977
|
-
/**
|
|
25978
|
-
* Creates an AlwaysOn message from a plain object. Also converts values to their respective internal types.
|
|
25979
|
-
* @function fromObject
|
|
25980
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25981
|
-
* @static
|
|
25982
|
-
* @param {Object.<string,*>} object Plain object
|
|
25983
|
-
* @returns {replit.goval.api.AlwaysOn} AlwaysOn
|
|
25984
|
-
*/
|
|
25985
|
-
AlwaysOn.fromObject = function fromObject(object) {
|
|
25986
|
-
if (object instanceof $root.replit.goval.api.AlwaysOn)
|
|
25987
|
-
return object;
|
|
25988
|
-
var message = new $root.replit.goval.api.AlwaysOn();
|
|
25989
|
-
if (object.enable != null)
|
|
25990
|
-
message.enable = Boolean(object.enable);
|
|
25991
|
-
return message;
|
|
25992
|
-
};
|
|
25993
|
-
|
|
25994
|
-
/**
|
|
25995
|
-
* Creates a plain object from an AlwaysOn message. Also converts values to other types if specified.
|
|
25996
|
-
* @function toObject
|
|
25997
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
25998
|
-
* @static
|
|
25999
|
-
* @param {replit.goval.api.AlwaysOn} message AlwaysOn
|
|
26000
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
26001
|
-
* @returns {Object.<string,*>} Plain object
|
|
26002
|
-
*/
|
|
26003
|
-
AlwaysOn.toObject = function toObject(message, options) {
|
|
26004
|
-
if (!options)
|
|
26005
|
-
options = {};
|
|
26006
|
-
var object = {};
|
|
26007
|
-
if (options.defaults)
|
|
26008
|
-
object.enable = false;
|
|
26009
|
-
if (message.enable != null && message.hasOwnProperty("enable"))
|
|
26010
|
-
object.enable = message.enable;
|
|
26011
|
-
return object;
|
|
26012
|
-
};
|
|
26013
|
-
|
|
26014
|
-
/**
|
|
26015
|
-
* Converts this AlwaysOn to JSON.
|
|
26016
|
-
* @function toJSON
|
|
26017
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
26018
|
-
* @instance
|
|
26019
|
-
* @returns {Object.<string,*>} JSON object
|
|
26020
|
-
*/
|
|
26021
|
-
AlwaysOn.prototype.toJSON = function toJSON() {
|
|
26022
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
26023
|
-
};
|
|
26024
|
-
|
|
26025
|
-
/**
|
|
26026
|
-
* Gets the default type url for AlwaysOn
|
|
26027
|
-
* @function getTypeUrl
|
|
26028
|
-
* @memberof replit.goval.api.AlwaysOn
|
|
26029
|
-
* @static
|
|
26030
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26031
|
-
* @returns {string} The default type url
|
|
26032
|
-
*/
|
|
26033
|
-
AlwaysOn.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
26034
|
-
if (typeUrlPrefix === undefined) {
|
|
26035
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
26036
|
-
}
|
|
26037
|
-
return typeUrlPrefix + "/replit.goval.api.AlwaysOn";
|
|
26038
|
-
};
|
|
26039
|
-
|
|
26040
|
-
return AlwaysOn;
|
|
26041
|
-
})();
|
|
26042
|
-
|
|
26043
25368
|
api.RunMain = (function() {
|
|
26044
25369
|
|
|
26045
25370
|
/**
|
|
@@ -34687,6 +34012,7 @@
|
|
|
34687
34012
|
* @property {replit.goval.api.Exec.Lifecycle|null} [lifecycle] Exec lifecycle
|
|
34688
34013
|
* @property {boolean|null} [splitStderr] Exec splitStderr
|
|
34689
34014
|
* @property {boolean|null} [splitLogs] Exec splitLogs
|
|
34015
|
+
* @property {boolean|null} [waitForEnv] Exec waitForEnv
|
|
34690
34016
|
*/
|
|
34691
34017
|
|
|
34692
34018
|
/**
|
|
@@ -34753,6 +34079,14 @@
|
|
|
34753
34079
|
*/
|
|
34754
34080
|
Exec.prototype.splitLogs = false;
|
|
34755
34081
|
|
|
34082
|
+
/**
|
|
34083
|
+
* Exec waitForEnv.
|
|
34084
|
+
* @member {boolean} waitForEnv
|
|
34085
|
+
* @memberof replit.goval.api.Exec
|
|
34086
|
+
* @instance
|
|
34087
|
+
*/
|
|
34088
|
+
Exec.prototype.waitForEnv = false;
|
|
34089
|
+
|
|
34756
34090
|
/**
|
|
34757
34091
|
* Creates a new Exec instance using the specified properties.
|
|
34758
34092
|
* @function create
|
|
@@ -34791,6 +34125,8 @@
|
|
|
34791
34125
|
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.splitLogs);
|
|
34792
34126
|
if (message.lifecycle != null && Object.hasOwnProperty.call(message, "lifecycle"))
|
|
34793
34127
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.lifecycle);
|
|
34128
|
+
if (message.waitForEnv != null && Object.hasOwnProperty.call(message, "waitForEnv"))
|
|
34129
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.waitForEnv);
|
|
34794
34130
|
return writer;
|
|
34795
34131
|
};
|
|
34796
34132
|
|
|
@@ -34870,6 +34206,10 @@
|
|
|
34870
34206
|
message.splitLogs = reader.bool();
|
|
34871
34207
|
break;
|
|
34872
34208
|
}
|
|
34209
|
+
case 7: {
|
|
34210
|
+
message.waitForEnv = reader.bool();
|
|
34211
|
+
break;
|
|
34212
|
+
}
|
|
34873
34213
|
default:
|
|
34874
34214
|
reader.skipType(tag & 7);
|
|
34875
34215
|
break;
|
|
@@ -34938,6 +34278,9 @@
|
|
|
34938
34278
|
if (message.splitLogs != null && message.hasOwnProperty("splitLogs"))
|
|
34939
34279
|
if (typeof message.splitLogs !== "boolean")
|
|
34940
34280
|
return "splitLogs: boolean expected";
|
|
34281
|
+
if (message.waitForEnv != null && message.hasOwnProperty("waitForEnv"))
|
|
34282
|
+
if (typeof message.waitForEnv !== "boolean")
|
|
34283
|
+
return "waitForEnv: boolean expected";
|
|
34941
34284
|
return null;
|
|
34942
34285
|
};
|
|
34943
34286
|
|
|
@@ -34993,6 +34336,8 @@
|
|
|
34993
34336
|
message.splitStderr = Boolean(object.splitStderr);
|
|
34994
34337
|
if (object.splitLogs != null)
|
|
34995
34338
|
message.splitLogs = Boolean(object.splitLogs);
|
|
34339
|
+
if (object.waitForEnv != null)
|
|
34340
|
+
message.waitForEnv = Boolean(object.waitForEnv);
|
|
34996
34341
|
return message;
|
|
34997
34342
|
};
|
|
34998
34343
|
|
|
@@ -35018,6 +34363,7 @@
|
|
|
35018
34363
|
object.splitStderr = false;
|
|
35019
34364
|
object.splitLogs = false;
|
|
35020
34365
|
object.lifecycle = options.enums === String ? "NON_BLOCKING" : 0;
|
|
34366
|
+
object.waitForEnv = false;
|
|
35021
34367
|
}
|
|
35022
34368
|
if (message.args && message.args.length) {
|
|
35023
34369
|
object.args = [];
|
|
@@ -35038,6 +34384,8 @@
|
|
|
35038
34384
|
object.splitLogs = message.splitLogs;
|
|
35039
34385
|
if (message.lifecycle != null && message.hasOwnProperty("lifecycle"))
|
|
35040
34386
|
object.lifecycle = options.enums === String ? $root.replit.goval.api.Exec.Lifecycle[message.lifecycle] === undefined ? message.lifecycle : $root.replit.goval.api.Exec.Lifecycle[message.lifecycle] : message.lifecycle;
|
|
34387
|
+
if (message.waitForEnv != null && message.hasOwnProperty("waitForEnv"))
|
|
34388
|
+
object.waitForEnv = message.waitForEnv;
|
|
35041
34389
|
return object;
|
|
35042
34390
|
};
|
|
35043
34391
|
|
|
@@ -46027,6 +45375,7 @@
|
|
|
46027
45375
|
* @property {replit.goval.api.ExtensionConfig|replit.goval.api.IExtensionConfig|null} [extension] DotReplit extension
|
|
46028
45376
|
* @property {replit.goval.api.RulesConfig|replit.goval.api.IRulesConfig|null} [rules] DotReplit rules
|
|
46029
45377
|
* @property {replit.goval.api.SuggestionsConfig|replit.goval.api.ISuggestionsConfig|null} [suggestions] DotReplit suggestions
|
|
45378
|
+
* @property {replit.goval.api.ObjectStorageConfig|replit.goval.api.IObjectStorageConfig|null} [objectStorage] DotReplit objectStorage
|
|
46030
45379
|
*/
|
|
46031
45380
|
|
|
46032
45381
|
/**
|
|
@@ -46259,6 +45608,14 @@
|
|
|
46259
45608
|
*/
|
|
46260
45609
|
DotReplit.prototype.suggestions = null;
|
|
46261
45610
|
|
|
45611
|
+
/**
|
|
45612
|
+
* DotReplit objectStorage.
|
|
45613
|
+
* @member {replit.goval.api.ObjectStorageConfig|null|undefined} objectStorage
|
|
45614
|
+
* @memberof replit.goval.api.DotReplit
|
|
45615
|
+
* @instance
|
|
45616
|
+
*/
|
|
45617
|
+
DotReplit.prototype.objectStorage = null;
|
|
45618
|
+
|
|
46262
45619
|
/**
|
|
46263
45620
|
* Creates a new DotReplit instance using the specified properties.
|
|
46264
45621
|
* @function create
|
|
@@ -46345,6 +45702,8 @@
|
|
|
46345
45702
|
$root.replit.goval.api.RulesConfig.encode(message.rules, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim();
|
|
46346
45703
|
if (message.suggestions != null && Object.hasOwnProperty.call(message, "suggestions"))
|
|
46347
45704
|
$root.replit.goval.api.SuggestionsConfig.encode(message.suggestions, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim();
|
|
45705
|
+
if (message.objectStorage != null && Object.hasOwnProperty.call(message, "objectStorage"))
|
|
45706
|
+
$root.replit.goval.api.ObjectStorageConfig.encode(message.objectStorage, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim();
|
|
46348
45707
|
return writer;
|
|
46349
45708
|
};
|
|
46350
45709
|
|
|
@@ -46533,6 +45892,10 @@
|
|
|
46533
45892
|
message.suggestions = $root.replit.goval.api.SuggestionsConfig.decode(reader, reader.uint32());
|
|
46534
45893
|
break;
|
|
46535
45894
|
}
|
|
45895
|
+
case 27: {
|
|
45896
|
+
message.objectStorage = $root.replit.goval.api.ObjectStorageConfig.decode(reader, reader.uint32());
|
|
45897
|
+
break;
|
|
45898
|
+
}
|
|
46536
45899
|
default:
|
|
46537
45900
|
reader.skipType(tag & 7);
|
|
46538
45901
|
break;
|
|
@@ -46718,6 +46081,11 @@
|
|
|
46718
46081
|
if (error)
|
|
46719
46082
|
return "suggestions." + error;
|
|
46720
46083
|
}
|
|
46084
|
+
if (message.objectStorage != null && message.hasOwnProperty("objectStorage")) {
|
|
46085
|
+
var error = $root.replit.goval.api.ObjectStorageConfig.verify(message.objectStorage);
|
|
46086
|
+
if (error)
|
|
46087
|
+
return "objectStorage." + error;
|
|
46088
|
+
}
|
|
46721
46089
|
return null;
|
|
46722
46090
|
};
|
|
46723
46091
|
|
|
@@ -46882,6 +46250,11 @@
|
|
|
46882
46250
|
throw TypeError(".replit.goval.api.DotReplit.suggestions: object expected");
|
|
46883
46251
|
message.suggestions = $root.replit.goval.api.SuggestionsConfig.fromObject(object.suggestions);
|
|
46884
46252
|
}
|
|
46253
|
+
if (object.objectStorage != null) {
|
|
46254
|
+
if (typeof object.objectStorage !== "object")
|
|
46255
|
+
throw TypeError(".replit.goval.api.DotReplit.objectStorage: object expected");
|
|
46256
|
+
message.objectStorage = $root.replit.goval.api.ObjectStorageConfig.fromObject(object.objectStorage);
|
|
46257
|
+
}
|
|
46885
46258
|
return message;
|
|
46886
46259
|
};
|
|
46887
46260
|
|
|
@@ -46929,6 +46302,7 @@
|
|
|
46929
46302
|
object.extension = null;
|
|
46930
46303
|
object.rules = null;
|
|
46931
46304
|
object.suggestions = null;
|
|
46305
|
+
object.objectStorage = null;
|
|
46932
46306
|
}
|
|
46933
46307
|
if (message.run != null && message.hasOwnProperty("run"))
|
|
46934
46308
|
object.run = $root.replit.goval.api.Exec.toObject(message.run, options);
|
|
@@ -47007,6 +46381,8 @@
|
|
|
47007
46381
|
object.rules = $root.replit.goval.api.RulesConfig.toObject(message.rules, options);
|
|
47008
46382
|
if (message.suggestions != null && message.hasOwnProperty("suggestions"))
|
|
47009
46383
|
object.suggestions = $root.replit.goval.api.SuggestionsConfig.toObject(message.suggestions, options);
|
|
46384
|
+
if (message.objectStorage != null && message.hasOwnProperty("objectStorage"))
|
|
46385
|
+
object.objectStorage = $root.replit.goval.api.ObjectStorageConfig.toObject(message.objectStorage, options);
|
|
47010
46386
|
return object;
|
|
47011
46387
|
};
|
|
47012
46388
|
|
|
@@ -47273,6 +46649,7 @@
|
|
|
47273
46649
|
* @interface IDotReplitPort
|
|
47274
46650
|
* @property {number|null} [localPort] DotReplitPort localPort
|
|
47275
46651
|
* @property {number|null} [externalPort] DotReplitPort externalPort
|
|
46652
|
+
* @property {boolean|null} [exposeLocalhost] DotReplitPort exposeLocalhost
|
|
47276
46653
|
*/
|
|
47277
46654
|
|
|
47278
46655
|
/**
|
|
@@ -47305,6 +46682,14 @@
|
|
|
47305
46682
|
*/
|
|
47306
46683
|
DotReplitPort.prototype.externalPort = 0;
|
|
47307
46684
|
|
|
46685
|
+
/**
|
|
46686
|
+
* DotReplitPort exposeLocalhost.
|
|
46687
|
+
* @member {boolean} exposeLocalhost
|
|
46688
|
+
* @memberof replit.goval.api.DotReplitPort
|
|
46689
|
+
* @instance
|
|
46690
|
+
*/
|
|
46691
|
+
DotReplitPort.prototype.exposeLocalhost = false;
|
|
46692
|
+
|
|
47308
46693
|
/**
|
|
47309
46694
|
* Creates a new DotReplitPort instance using the specified properties.
|
|
47310
46695
|
* @function create
|
|
@@ -47333,6 +46718,8 @@
|
|
|
47333
46718
|
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.localPort);
|
|
47334
46719
|
if (message.externalPort != null && Object.hasOwnProperty.call(message, "externalPort"))
|
|
47335
46720
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.externalPort);
|
|
46721
|
+
if (message.exposeLocalhost != null && Object.hasOwnProperty.call(message, "exposeLocalhost"))
|
|
46722
|
+
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.exposeLocalhost);
|
|
47336
46723
|
return writer;
|
|
47337
46724
|
};
|
|
47338
46725
|
|
|
@@ -47375,6 +46762,10 @@
|
|
|
47375
46762
|
message.externalPort = reader.uint32();
|
|
47376
46763
|
break;
|
|
47377
46764
|
}
|
|
46765
|
+
case 3: {
|
|
46766
|
+
message.exposeLocalhost = reader.bool();
|
|
46767
|
+
break;
|
|
46768
|
+
}
|
|
47378
46769
|
default:
|
|
47379
46770
|
reader.skipType(tag & 7);
|
|
47380
46771
|
break;
|
|
@@ -47416,6 +46807,9 @@
|
|
|
47416
46807
|
if (message.externalPort != null && message.hasOwnProperty("externalPort"))
|
|
47417
46808
|
if (!$util.isInteger(message.externalPort))
|
|
47418
46809
|
return "externalPort: integer expected";
|
|
46810
|
+
if (message.exposeLocalhost != null && message.hasOwnProperty("exposeLocalhost"))
|
|
46811
|
+
if (typeof message.exposeLocalhost !== "boolean")
|
|
46812
|
+
return "exposeLocalhost: boolean expected";
|
|
47419
46813
|
return null;
|
|
47420
46814
|
};
|
|
47421
46815
|
|
|
@@ -47435,6 +46829,8 @@
|
|
|
47435
46829
|
message.localPort = object.localPort >>> 0;
|
|
47436
46830
|
if (object.externalPort != null)
|
|
47437
46831
|
message.externalPort = object.externalPort >>> 0;
|
|
46832
|
+
if (object.exposeLocalhost != null)
|
|
46833
|
+
message.exposeLocalhost = Boolean(object.exposeLocalhost);
|
|
47438
46834
|
return message;
|
|
47439
46835
|
};
|
|
47440
46836
|
|
|
@@ -47454,11 +46850,14 @@
|
|
|
47454
46850
|
if (options.defaults) {
|
|
47455
46851
|
object.localPort = 0;
|
|
47456
46852
|
object.externalPort = 0;
|
|
46853
|
+
object.exposeLocalhost = false;
|
|
47457
46854
|
}
|
|
47458
46855
|
if (message.localPort != null && message.hasOwnProperty("localPort"))
|
|
47459
46856
|
object.localPort = message.localPort;
|
|
47460
46857
|
if (message.externalPort != null && message.hasOwnProperty("externalPort"))
|
|
47461
46858
|
object.externalPort = message.externalPort;
|
|
46859
|
+
if (message.exposeLocalhost != null && message.hasOwnProperty("exposeLocalhost"))
|
|
46860
|
+
object.exposeLocalhost = message.exposeLocalhost;
|
|
47462
46861
|
return object;
|
|
47463
46862
|
};
|
|
47464
46863
|
|
|
@@ -56614,6 +56013,208 @@
|
|
|
56614
56013
|
return NixModulesUpgradeMapEntry;
|
|
56615
56014
|
})();
|
|
56616
56015
|
|
|
56016
|
+
api.ObjectStorageConfig = (function() {
|
|
56017
|
+
|
|
56018
|
+
/**
|
|
56019
|
+
* Properties of an ObjectStorageConfig.
|
|
56020
|
+
* @memberof replit.goval.api
|
|
56021
|
+
* @interface IObjectStorageConfig
|
|
56022
|
+
* @property {string|null} [defaultBucketID] ObjectStorageConfig defaultBucketID
|
|
56023
|
+
*/
|
|
56024
|
+
|
|
56025
|
+
/**
|
|
56026
|
+
* Constructs a new ObjectStorageConfig.
|
|
56027
|
+
* @memberof replit.goval.api
|
|
56028
|
+
* @classdesc Represents an ObjectStorageConfig.
|
|
56029
|
+
* @constructor
|
|
56030
|
+
* @param {replit.goval.api.IObjectStorageConfig=} [properties] Properties to set
|
|
56031
|
+
*/
|
|
56032
|
+
function ObjectStorageConfig(properties) {
|
|
56033
|
+
if (properties)
|
|
56034
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
56035
|
+
if (properties[keys[i]] != null)
|
|
56036
|
+
this[keys[i]] = properties[keys[i]];
|
|
56037
|
+
}
|
|
56038
|
+
|
|
56039
|
+
/**
|
|
56040
|
+
* ObjectStorageConfig defaultBucketID.
|
|
56041
|
+
* @member {string} defaultBucketID
|
|
56042
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56043
|
+
* @instance
|
|
56044
|
+
*/
|
|
56045
|
+
ObjectStorageConfig.prototype.defaultBucketID = "";
|
|
56046
|
+
|
|
56047
|
+
/**
|
|
56048
|
+
* Creates a new ObjectStorageConfig instance using the specified properties.
|
|
56049
|
+
* @function create
|
|
56050
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56051
|
+
* @static
|
|
56052
|
+
* @param {replit.goval.api.IObjectStorageConfig=} [properties] Properties to set
|
|
56053
|
+
* @returns {replit.goval.api.ObjectStorageConfig} ObjectStorageConfig instance
|
|
56054
|
+
*/
|
|
56055
|
+
ObjectStorageConfig.create = function create(properties) {
|
|
56056
|
+
return ObjectStorageConfig.fromObject(properties);
|
|
56057
|
+
};
|
|
56058
|
+
|
|
56059
|
+
/**
|
|
56060
|
+
* Encodes the specified ObjectStorageConfig message. Does not implicitly {@link replit.goval.api.ObjectStorageConfig.verify|verify} messages.
|
|
56061
|
+
* @function encode
|
|
56062
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56063
|
+
* @static
|
|
56064
|
+
* @param {replit.goval.api.ObjectStorageConfig} message ObjectStorageConfig message or plain object to encode
|
|
56065
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
56066
|
+
* @returns {$protobuf.Writer} Writer
|
|
56067
|
+
*/
|
|
56068
|
+
ObjectStorageConfig.encode = function encode(message, writer) {
|
|
56069
|
+
if (!writer)
|
|
56070
|
+
writer = $Writer.create();
|
|
56071
|
+
if (message.defaultBucketID != null && Object.hasOwnProperty.call(message, "defaultBucketID"))
|
|
56072
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.defaultBucketID);
|
|
56073
|
+
return writer;
|
|
56074
|
+
};
|
|
56075
|
+
|
|
56076
|
+
/**
|
|
56077
|
+
* Encodes the specified ObjectStorageConfig message, length delimited. Does not implicitly {@link replit.goval.api.ObjectStorageConfig.verify|verify} messages.
|
|
56078
|
+
* @function encodeDelimited
|
|
56079
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56080
|
+
* @static
|
|
56081
|
+
* @param {replit.goval.api.ObjectStorageConfig} message ObjectStorageConfig message or plain object to encode
|
|
56082
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
56083
|
+
* @returns {$protobuf.Writer} Writer
|
|
56084
|
+
*/
|
|
56085
|
+
ObjectStorageConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
56086
|
+
return this.encode(message, writer).ldelim();
|
|
56087
|
+
};
|
|
56088
|
+
|
|
56089
|
+
/**
|
|
56090
|
+
* Decodes an ObjectStorageConfig message from the specified reader or buffer.
|
|
56091
|
+
* @function decode
|
|
56092
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56093
|
+
* @static
|
|
56094
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
56095
|
+
* @param {number} [length] Message length if known beforehand
|
|
56096
|
+
* @returns {replit.goval.api.ObjectStorageConfig} ObjectStorageConfig
|
|
56097
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
56098
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
56099
|
+
*/
|
|
56100
|
+
ObjectStorageConfig.decode = function decode(reader, length) {
|
|
56101
|
+
if (!(reader instanceof $Reader))
|
|
56102
|
+
reader = $Reader.create(reader);
|
|
56103
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ObjectStorageConfig();
|
|
56104
|
+
while (reader.pos < end) {
|
|
56105
|
+
var tag = reader.uint32();
|
|
56106
|
+
switch (tag >>> 3) {
|
|
56107
|
+
case 1: {
|
|
56108
|
+
message.defaultBucketID = reader.string();
|
|
56109
|
+
break;
|
|
56110
|
+
}
|
|
56111
|
+
default:
|
|
56112
|
+
reader.skipType(tag & 7);
|
|
56113
|
+
break;
|
|
56114
|
+
}
|
|
56115
|
+
}
|
|
56116
|
+
return message;
|
|
56117
|
+
};
|
|
56118
|
+
|
|
56119
|
+
/**
|
|
56120
|
+
* Decodes an ObjectStorageConfig message from the specified reader or buffer, length delimited.
|
|
56121
|
+
* @function decodeDelimited
|
|
56122
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56123
|
+
* @static
|
|
56124
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
56125
|
+
* @returns {replit.goval.api.ObjectStorageConfig} ObjectStorageConfig
|
|
56126
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
56127
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
56128
|
+
*/
|
|
56129
|
+
ObjectStorageConfig.decodeDelimited = function decodeDelimited(reader) {
|
|
56130
|
+
if (!(reader instanceof $Reader))
|
|
56131
|
+
reader = new $Reader(reader);
|
|
56132
|
+
return this.decode(reader, reader.uint32());
|
|
56133
|
+
};
|
|
56134
|
+
|
|
56135
|
+
/**
|
|
56136
|
+
* Verifies an ObjectStorageConfig message.
|
|
56137
|
+
* @function verify
|
|
56138
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56139
|
+
* @static
|
|
56140
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
56141
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
56142
|
+
*/
|
|
56143
|
+
ObjectStorageConfig.verify = function verify(message) {
|
|
56144
|
+
if (typeof message !== "object" || message === null)
|
|
56145
|
+
return "object expected";
|
|
56146
|
+
if (message.defaultBucketID != null && message.hasOwnProperty("defaultBucketID"))
|
|
56147
|
+
if (!$util.isString(message.defaultBucketID))
|
|
56148
|
+
return "defaultBucketID: string expected";
|
|
56149
|
+
return null;
|
|
56150
|
+
};
|
|
56151
|
+
|
|
56152
|
+
/**
|
|
56153
|
+
* Creates an ObjectStorageConfig message from a plain object. Also converts values to their respective internal types.
|
|
56154
|
+
* @function fromObject
|
|
56155
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56156
|
+
* @static
|
|
56157
|
+
* @param {Object.<string,*>} object Plain object
|
|
56158
|
+
* @returns {replit.goval.api.ObjectStorageConfig} ObjectStorageConfig
|
|
56159
|
+
*/
|
|
56160
|
+
ObjectStorageConfig.fromObject = function fromObject(object) {
|
|
56161
|
+
if (object instanceof $root.replit.goval.api.ObjectStorageConfig)
|
|
56162
|
+
return object;
|
|
56163
|
+
var message = new $root.replit.goval.api.ObjectStorageConfig();
|
|
56164
|
+
if (object.defaultBucketID != null)
|
|
56165
|
+
message.defaultBucketID = String(object.defaultBucketID);
|
|
56166
|
+
return message;
|
|
56167
|
+
};
|
|
56168
|
+
|
|
56169
|
+
/**
|
|
56170
|
+
* Creates a plain object from an ObjectStorageConfig message. Also converts values to other types if specified.
|
|
56171
|
+
* @function toObject
|
|
56172
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56173
|
+
* @static
|
|
56174
|
+
* @param {replit.goval.api.ObjectStorageConfig} message ObjectStorageConfig
|
|
56175
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
56176
|
+
* @returns {Object.<string,*>} Plain object
|
|
56177
|
+
*/
|
|
56178
|
+
ObjectStorageConfig.toObject = function toObject(message, options) {
|
|
56179
|
+
if (!options)
|
|
56180
|
+
options = {};
|
|
56181
|
+
var object = {};
|
|
56182
|
+
if (options.defaults)
|
|
56183
|
+
object.defaultBucketID = "";
|
|
56184
|
+
if (message.defaultBucketID != null && message.hasOwnProperty("defaultBucketID"))
|
|
56185
|
+
object.defaultBucketID = message.defaultBucketID;
|
|
56186
|
+
return object;
|
|
56187
|
+
};
|
|
56188
|
+
|
|
56189
|
+
/**
|
|
56190
|
+
* Converts this ObjectStorageConfig to JSON.
|
|
56191
|
+
* @function toJSON
|
|
56192
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56193
|
+
* @instance
|
|
56194
|
+
* @returns {Object.<string,*>} JSON object
|
|
56195
|
+
*/
|
|
56196
|
+
ObjectStorageConfig.prototype.toJSON = function toJSON() {
|
|
56197
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
56198
|
+
};
|
|
56199
|
+
|
|
56200
|
+
/**
|
|
56201
|
+
* Gets the default type url for ObjectStorageConfig
|
|
56202
|
+
* @function getTypeUrl
|
|
56203
|
+
* @memberof replit.goval.api.ObjectStorageConfig
|
|
56204
|
+
* @static
|
|
56205
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
56206
|
+
* @returns {string} The default type url
|
|
56207
|
+
*/
|
|
56208
|
+
ObjectStorageConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
56209
|
+
if (typeUrlPrefix === undefined) {
|
|
56210
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
56211
|
+
}
|
|
56212
|
+
return typeUrlPrefix + "/replit.goval.api.ObjectStorageConfig";
|
|
56213
|
+
};
|
|
56214
|
+
|
|
56215
|
+
return ObjectStorageConfig;
|
|
56216
|
+
})();
|
|
56217
|
+
|
|
56617
56218
|
api.ToolchainGetRequest = (function() {
|
|
56618
56219
|
|
|
56619
56220
|
/**
|
|
@@ -62914,7 +62515,6 @@
|
|
|
62914
62515
|
* @property {replit.goval.api.ReplToken.WireFormat|null} [format] ReplToken format
|
|
62915
62516
|
* @property {replit.goval.api.ReplToken.Presenced|replit.goval.api.ReplToken.IPresenced|null} [presenced] ReplToken presenced
|
|
62916
62517
|
* @property {Array.<string>|null} [flags] ReplToken flags
|
|
62917
|
-
* @property {replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null} [permissions] ReplToken permissions
|
|
62918
62518
|
* @property {Array.<replit.goval.api.features.Feature|replit.goval.api.features.IFeature>|null} [features] ReplToken features
|
|
62919
62519
|
* @property {replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null} [buildInfo] ReplToken buildInfo
|
|
62920
62520
|
* @property {replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null} [pid2Info] ReplToken pid2Info
|
|
@@ -63041,14 +62641,6 @@
|
|
|
63041
62641
|
*/
|
|
63042
62642
|
ReplToken.prototype.flags = $util.emptyArray;
|
|
63043
62643
|
|
|
63044
|
-
/**
|
|
63045
|
-
* ReplToken permissions.
|
|
63046
|
-
* @member {replit.goval.api.repl.Permissions|null|undefined} permissions
|
|
63047
|
-
* @memberof replit.goval.api.ReplToken
|
|
63048
|
-
* @instance
|
|
63049
|
-
*/
|
|
63050
|
-
ReplToken.prototype.permissions = null;
|
|
63051
|
-
|
|
63052
62644
|
/**
|
|
63053
62645
|
* ReplToken features.
|
|
63054
62646
|
* @member {Array.<replit.goval.api.features.Feature>} features
|
|
@@ -63144,8 +62736,6 @@
|
|
|
63144
62736
|
if (message.flags != null && message.flags.length)
|
|
63145
62737
|
for (var i = 0; i < message.flags.length; ++i)
|
|
63146
62738
|
writer.uint32(/* id 14, wireType 2 =*/114).string(message.flags[i]);
|
|
63147
|
-
if (message.permissions != null && Object.hasOwnProperty.call(message, "permissions"))
|
|
63148
|
-
$root.replit.goval.api.repl.Permissions.encode(message.permissions, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
63149
62739
|
if (message.features != null && message.features.length)
|
|
63150
62740
|
for (var i = 0; i < message.features.length; ++i)
|
|
63151
62741
|
$root.replit.goval.api.features.Feature.encode(message.features[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
@@ -63245,10 +62835,6 @@
|
|
|
63245
62835
|
message.flags.push(reader.string());
|
|
63246
62836
|
break;
|
|
63247
62837
|
}
|
|
63248
|
-
case 15: {
|
|
63249
|
-
message.permissions = $root.replit.goval.api.repl.Permissions.decode(reader, reader.uint32());
|
|
63250
|
-
break;
|
|
63251
|
-
}
|
|
63252
62838
|
case 16: {
|
|
63253
62839
|
if (!(message.features && message.features.length))
|
|
63254
62840
|
message.features = [];
|
|
@@ -63388,11 +62974,6 @@
|
|
|
63388
62974
|
if (!$util.isString(message.flags[i]))
|
|
63389
62975
|
return "flags: string[] expected";
|
|
63390
62976
|
}
|
|
63391
|
-
if (message.permissions != null && message.hasOwnProperty("permissions")) {
|
|
63392
|
-
var error = $root.replit.goval.api.repl.Permissions.verify(message.permissions);
|
|
63393
|
-
if (error)
|
|
63394
|
-
return "permissions." + error;
|
|
63395
|
-
}
|
|
63396
62977
|
if (message.features != null && message.hasOwnProperty("features")) {
|
|
63397
62978
|
if (!Array.isArray(message.features))
|
|
63398
62979
|
return "features: array expected";
|
|
@@ -63525,11 +63106,6 @@
|
|
|
63525
63106
|
for (var i = 0; i < object.flags.length; ++i)
|
|
63526
63107
|
message.flags[i] = String(object.flags[i]);
|
|
63527
63108
|
}
|
|
63528
|
-
if (object.permissions != null) {
|
|
63529
|
-
if (typeof object.permissions !== "object")
|
|
63530
|
-
throw TypeError(".replit.goval.api.ReplToken.permissions: object expected");
|
|
63531
|
-
message.permissions = $root.replit.goval.api.repl.Permissions.fromObject(object.permissions);
|
|
63532
|
-
}
|
|
63533
63109
|
if (object.features) {
|
|
63534
63110
|
if (!Array.isArray(object.features))
|
|
63535
63111
|
throw TypeError(".replit.goval.api.ReplToken.features: array expected");
|
|
@@ -63581,7 +63157,6 @@
|
|
|
63581
63157
|
object.resourceLimits = null;
|
|
63582
63158
|
object.format = options.enums === String ? "PROTOBUF" : 0;
|
|
63583
63159
|
object.presenced = null;
|
|
63584
|
-
object.permissions = null;
|
|
63585
63160
|
object.interactiveResourceLimits = null;
|
|
63586
63161
|
object.buildInfo = null;
|
|
63587
63162
|
object.pid2Info = null;
|
|
@@ -63623,8 +63198,6 @@
|
|
|
63623
63198
|
for (var j = 0; j < message.flags.length; ++j)
|
|
63624
63199
|
object.flags[j] = message.flags[j];
|
|
63625
63200
|
}
|
|
63626
|
-
if (message.permissions != null && message.hasOwnProperty("permissions"))
|
|
63627
|
-
object.permissions = $root.replit.goval.api.repl.Permissions.toObject(message.permissions, options);
|
|
63628
63201
|
if (message.features && message.features.length) {
|
|
63629
63202
|
object.features = [];
|
|
63630
63203
|
for (var j = 0; j < message.features.length; ++j)
|
|
@@ -76558,6 +76131,406 @@
|
|
|
76558
76131
|
return TransferReplsResponse;
|
|
76559
76132
|
})();
|
|
76560
76133
|
|
|
76134
|
+
lore.TransferReplFromOfflineClusterRequest = (function() {
|
|
76135
|
+
|
|
76136
|
+
/**
|
|
76137
|
+
* Properties of a TransferReplFromOfflineClusterRequest.
|
|
76138
|
+
* @memberof replit.goval.api.lore
|
|
76139
|
+
* @interface ITransferReplFromOfflineClusterRequest
|
|
76140
|
+
* @property {string|null} [newCluster] TransferReplFromOfflineClusterRequest newCluster
|
|
76141
|
+
* @property {string|null} [replId] TransferReplFromOfflineClusterRequest replId
|
|
76142
|
+
*/
|
|
76143
|
+
|
|
76144
|
+
/**
|
|
76145
|
+
* Constructs a new TransferReplFromOfflineClusterRequest.
|
|
76146
|
+
* @memberof replit.goval.api.lore
|
|
76147
|
+
* @classdesc Represents a TransferReplFromOfflineClusterRequest.
|
|
76148
|
+
* @constructor
|
|
76149
|
+
* @param {replit.goval.api.lore.ITransferReplFromOfflineClusterRequest=} [properties] Properties to set
|
|
76150
|
+
*/
|
|
76151
|
+
function TransferReplFromOfflineClusterRequest(properties) {
|
|
76152
|
+
if (properties)
|
|
76153
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
76154
|
+
if (properties[keys[i]] != null)
|
|
76155
|
+
this[keys[i]] = properties[keys[i]];
|
|
76156
|
+
}
|
|
76157
|
+
|
|
76158
|
+
/**
|
|
76159
|
+
* TransferReplFromOfflineClusterRequest newCluster.
|
|
76160
|
+
* @member {string} newCluster
|
|
76161
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76162
|
+
* @instance
|
|
76163
|
+
*/
|
|
76164
|
+
TransferReplFromOfflineClusterRequest.prototype.newCluster = "";
|
|
76165
|
+
|
|
76166
|
+
/**
|
|
76167
|
+
* TransferReplFromOfflineClusterRequest replId.
|
|
76168
|
+
* @member {string} replId
|
|
76169
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76170
|
+
* @instance
|
|
76171
|
+
*/
|
|
76172
|
+
TransferReplFromOfflineClusterRequest.prototype.replId = "";
|
|
76173
|
+
|
|
76174
|
+
/**
|
|
76175
|
+
* Creates a new TransferReplFromOfflineClusterRequest instance using the specified properties.
|
|
76176
|
+
* @function create
|
|
76177
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76178
|
+
* @static
|
|
76179
|
+
* @param {replit.goval.api.lore.ITransferReplFromOfflineClusterRequest=} [properties] Properties to set
|
|
76180
|
+
* @returns {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} TransferReplFromOfflineClusterRequest instance
|
|
76181
|
+
*/
|
|
76182
|
+
TransferReplFromOfflineClusterRequest.create = function create(properties) {
|
|
76183
|
+
return TransferReplFromOfflineClusterRequest.fromObject(properties);
|
|
76184
|
+
};
|
|
76185
|
+
|
|
76186
|
+
/**
|
|
76187
|
+
* Encodes the specified TransferReplFromOfflineClusterRequest message. Does not implicitly {@link replit.goval.api.lore.TransferReplFromOfflineClusterRequest.verify|verify} messages.
|
|
76188
|
+
* @function encode
|
|
76189
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76190
|
+
* @static
|
|
76191
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} message TransferReplFromOfflineClusterRequest message or plain object to encode
|
|
76192
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76193
|
+
* @returns {$protobuf.Writer} Writer
|
|
76194
|
+
*/
|
|
76195
|
+
TransferReplFromOfflineClusterRequest.encode = function encode(message, writer) {
|
|
76196
|
+
if (!writer)
|
|
76197
|
+
writer = $Writer.create();
|
|
76198
|
+
if (message.newCluster != null && Object.hasOwnProperty.call(message, "newCluster"))
|
|
76199
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.newCluster);
|
|
76200
|
+
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
76201
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.replId);
|
|
76202
|
+
return writer;
|
|
76203
|
+
};
|
|
76204
|
+
|
|
76205
|
+
/**
|
|
76206
|
+
* Encodes the specified TransferReplFromOfflineClusterRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.TransferReplFromOfflineClusterRequest.verify|verify} messages.
|
|
76207
|
+
* @function encodeDelimited
|
|
76208
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76209
|
+
* @static
|
|
76210
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} message TransferReplFromOfflineClusterRequest message or plain object to encode
|
|
76211
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76212
|
+
* @returns {$protobuf.Writer} Writer
|
|
76213
|
+
*/
|
|
76214
|
+
TransferReplFromOfflineClusterRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
76215
|
+
return this.encode(message, writer).ldelim();
|
|
76216
|
+
};
|
|
76217
|
+
|
|
76218
|
+
/**
|
|
76219
|
+
* Decodes a TransferReplFromOfflineClusterRequest message from the specified reader or buffer.
|
|
76220
|
+
* @function decode
|
|
76221
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76222
|
+
* @static
|
|
76223
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76224
|
+
* @param {number} [length] Message length if known beforehand
|
|
76225
|
+
* @returns {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} TransferReplFromOfflineClusterRequest
|
|
76226
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76227
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76228
|
+
*/
|
|
76229
|
+
TransferReplFromOfflineClusterRequest.decode = function decode(reader, length) {
|
|
76230
|
+
if (!(reader instanceof $Reader))
|
|
76231
|
+
reader = $Reader.create(reader);
|
|
76232
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.TransferReplFromOfflineClusterRequest();
|
|
76233
|
+
while (reader.pos < end) {
|
|
76234
|
+
var tag = reader.uint32();
|
|
76235
|
+
switch (tag >>> 3) {
|
|
76236
|
+
case 1: {
|
|
76237
|
+
message.newCluster = reader.string();
|
|
76238
|
+
break;
|
|
76239
|
+
}
|
|
76240
|
+
case 2: {
|
|
76241
|
+
message.replId = reader.string();
|
|
76242
|
+
break;
|
|
76243
|
+
}
|
|
76244
|
+
default:
|
|
76245
|
+
reader.skipType(tag & 7);
|
|
76246
|
+
break;
|
|
76247
|
+
}
|
|
76248
|
+
}
|
|
76249
|
+
return message;
|
|
76250
|
+
};
|
|
76251
|
+
|
|
76252
|
+
/**
|
|
76253
|
+
* Decodes a TransferReplFromOfflineClusterRequest message from the specified reader or buffer, length delimited.
|
|
76254
|
+
* @function decodeDelimited
|
|
76255
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76256
|
+
* @static
|
|
76257
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76258
|
+
* @returns {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} TransferReplFromOfflineClusterRequest
|
|
76259
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76260
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76261
|
+
*/
|
|
76262
|
+
TransferReplFromOfflineClusterRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
76263
|
+
if (!(reader instanceof $Reader))
|
|
76264
|
+
reader = new $Reader(reader);
|
|
76265
|
+
return this.decode(reader, reader.uint32());
|
|
76266
|
+
};
|
|
76267
|
+
|
|
76268
|
+
/**
|
|
76269
|
+
* Verifies a TransferReplFromOfflineClusterRequest message.
|
|
76270
|
+
* @function verify
|
|
76271
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76272
|
+
* @static
|
|
76273
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
76274
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
76275
|
+
*/
|
|
76276
|
+
TransferReplFromOfflineClusterRequest.verify = function verify(message) {
|
|
76277
|
+
if (typeof message !== "object" || message === null)
|
|
76278
|
+
return "object expected";
|
|
76279
|
+
if (message.newCluster != null && message.hasOwnProperty("newCluster"))
|
|
76280
|
+
if (!$util.isString(message.newCluster))
|
|
76281
|
+
return "newCluster: string expected";
|
|
76282
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
76283
|
+
if (!$util.isString(message.replId))
|
|
76284
|
+
return "replId: string expected";
|
|
76285
|
+
return null;
|
|
76286
|
+
};
|
|
76287
|
+
|
|
76288
|
+
/**
|
|
76289
|
+
* Creates a TransferReplFromOfflineClusterRequest message from a plain object. Also converts values to their respective internal types.
|
|
76290
|
+
* @function fromObject
|
|
76291
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76292
|
+
* @static
|
|
76293
|
+
* @param {Object.<string,*>} object Plain object
|
|
76294
|
+
* @returns {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} TransferReplFromOfflineClusterRequest
|
|
76295
|
+
*/
|
|
76296
|
+
TransferReplFromOfflineClusterRequest.fromObject = function fromObject(object) {
|
|
76297
|
+
if (object instanceof $root.replit.goval.api.lore.TransferReplFromOfflineClusterRequest)
|
|
76298
|
+
return object;
|
|
76299
|
+
var message = new $root.replit.goval.api.lore.TransferReplFromOfflineClusterRequest();
|
|
76300
|
+
if (object.newCluster != null)
|
|
76301
|
+
message.newCluster = String(object.newCluster);
|
|
76302
|
+
if (object.replId != null)
|
|
76303
|
+
message.replId = String(object.replId);
|
|
76304
|
+
return message;
|
|
76305
|
+
};
|
|
76306
|
+
|
|
76307
|
+
/**
|
|
76308
|
+
* Creates a plain object from a TransferReplFromOfflineClusterRequest message. Also converts values to other types if specified.
|
|
76309
|
+
* @function toObject
|
|
76310
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76311
|
+
* @static
|
|
76312
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} message TransferReplFromOfflineClusterRequest
|
|
76313
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
76314
|
+
* @returns {Object.<string,*>} Plain object
|
|
76315
|
+
*/
|
|
76316
|
+
TransferReplFromOfflineClusterRequest.toObject = function toObject(message, options) {
|
|
76317
|
+
if (!options)
|
|
76318
|
+
options = {};
|
|
76319
|
+
var object = {};
|
|
76320
|
+
if (options.defaults) {
|
|
76321
|
+
object.newCluster = "";
|
|
76322
|
+
object.replId = "";
|
|
76323
|
+
}
|
|
76324
|
+
if (message.newCluster != null && message.hasOwnProperty("newCluster"))
|
|
76325
|
+
object.newCluster = message.newCluster;
|
|
76326
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
76327
|
+
object.replId = message.replId;
|
|
76328
|
+
return object;
|
|
76329
|
+
};
|
|
76330
|
+
|
|
76331
|
+
/**
|
|
76332
|
+
* Converts this TransferReplFromOfflineClusterRequest to JSON.
|
|
76333
|
+
* @function toJSON
|
|
76334
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76335
|
+
* @instance
|
|
76336
|
+
* @returns {Object.<string,*>} JSON object
|
|
76337
|
+
*/
|
|
76338
|
+
TransferReplFromOfflineClusterRequest.prototype.toJSON = function toJSON() {
|
|
76339
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
76340
|
+
};
|
|
76341
|
+
|
|
76342
|
+
/**
|
|
76343
|
+
* Gets the default type url for TransferReplFromOfflineClusterRequest
|
|
76344
|
+
* @function getTypeUrl
|
|
76345
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterRequest
|
|
76346
|
+
* @static
|
|
76347
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
76348
|
+
* @returns {string} The default type url
|
|
76349
|
+
*/
|
|
76350
|
+
TransferReplFromOfflineClusterRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
76351
|
+
if (typeUrlPrefix === undefined) {
|
|
76352
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
76353
|
+
}
|
|
76354
|
+
return typeUrlPrefix + "/replit.goval.api.lore.TransferReplFromOfflineClusterRequest";
|
|
76355
|
+
};
|
|
76356
|
+
|
|
76357
|
+
return TransferReplFromOfflineClusterRequest;
|
|
76358
|
+
})();
|
|
76359
|
+
|
|
76360
|
+
lore.TransferReplFromOfflineClusterResponse = (function() {
|
|
76361
|
+
|
|
76362
|
+
/**
|
|
76363
|
+
* Properties of a TransferReplFromOfflineClusterResponse.
|
|
76364
|
+
* @memberof replit.goval.api.lore
|
|
76365
|
+
* @interface ITransferReplFromOfflineClusterResponse
|
|
76366
|
+
*/
|
|
76367
|
+
|
|
76368
|
+
/**
|
|
76369
|
+
* Constructs a new TransferReplFromOfflineClusterResponse.
|
|
76370
|
+
* @memberof replit.goval.api.lore
|
|
76371
|
+
* @classdesc Represents a TransferReplFromOfflineClusterResponse.
|
|
76372
|
+
* @constructor
|
|
76373
|
+
* @param {replit.goval.api.lore.ITransferReplFromOfflineClusterResponse=} [properties] Properties to set
|
|
76374
|
+
*/
|
|
76375
|
+
function TransferReplFromOfflineClusterResponse(properties) {
|
|
76376
|
+
if (properties)
|
|
76377
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
76378
|
+
if (properties[keys[i]] != null)
|
|
76379
|
+
this[keys[i]] = properties[keys[i]];
|
|
76380
|
+
}
|
|
76381
|
+
|
|
76382
|
+
/**
|
|
76383
|
+
* Creates a new TransferReplFromOfflineClusterResponse instance using the specified properties.
|
|
76384
|
+
* @function create
|
|
76385
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76386
|
+
* @static
|
|
76387
|
+
* @param {replit.goval.api.lore.ITransferReplFromOfflineClusterResponse=} [properties] Properties to set
|
|
76388
|
+
* @returns {replit.goval.api.lore.TransferReplFromOfflineClusterResponse} TransferReplFromOfflineClusterResponse instance
|
|
76389
|
+
*/
|
|
76390
|
+
TransferReplFromOfflineClusterResponse.create = function create(properties) {
|
|
76391
|
+
return TransferReplFromOfflineClusterResponse.fromObject(properties);
|
|
76392
|
+
};
|
|
76393
|
+
|
|
76394
|
+
/**
|
|
76395
|
+
* Encodes the specified TransferReplFromOfflineClusterResponse message. Does not implicitly {@link replit.goval.api.lore.TransferReplFromOfflineClusterResponse.verify|verify} messages.
|
|
76396
|
+
* @function encode
|
|
76397
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76398
|
+
* @static
|
|
76399
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterResponse} message TransferReplFromOfflineClusterResponse message or plain object to encode
|
|
76400
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76401
|
+
* @returns {$protobuf.Writer} Writer
|
|
76402
|
+
*/
|
|
76403
|
+
TransferReplFromOfflineClusterResponse.encode = function encode(message, writer) {
|
|
76404
|
+
if (!writer)
|
|
76405
|
+
writer = $Writer.create();
|
|
76406
|
+
return writer;
|
|
76407
|
+
};
|
|
76408
|
+
|
|
76409
|
+
/**
|
|
76410
|
+
* Encodes the specified TransferReplFromOfflineClusterResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.TransferReplFromOfflineClusterResponse.verify|verify} messages.
|
|
76411
|
+
* @function encodeDelimited
|
|
76412
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76413
|
+
* @static
|
|
76414
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterResponse} message TransferReplFromOfflineClusterResponse message or plain object to encode
|
|
76415
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76416
|
+
* @returns {$protobuf.Writer} Writer
|
|
76417
|
+
*/
|
|
76418
|
+
TransferReplFromOfflineClusterResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
76419
|
+
return this.encode(message, writer).ldelim();
|
|
76420
|
+
};
|
|
76421
|
+
|
|
76422
|
+
/**
|
|
76423
|
+
* Decodes a TransferReplFromOfflineClusterResponse message from the specified reader or buffer.
|
|
76424
|
+
* @function decode
|
|
76425
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76426
|
+
* @static
|
|
76427
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76428
|
+
* @param {number} [length] Message length if known beforehand
|
|
76429
|
+
* @returns {replit.goval.api.lore.TransferReplFromOfflineClusterResponse} TransferReplFromOfflineClusterResponse
|
|
76430
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76431
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76432
|
+
*/
|
|
76433
|
+
TransferReplFromOfflineClusterResponse.decode = function decode(reader, length) {
|
|
76434
|
+
if (!(reader instanceof $Reader))
|
|
76435
|
+
reader = $Reader.create(reader);
|
|
76436
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.TransferReplFromOfflineClusterResponse();
|
|
76437
|
+
while (reader.pos < end) {
|
|
76438
|
+
var tag = reader.uint32();
|
|
76439
|
+
switch (tag >>> 3) {
|
|
76440
|
+
default:
|
|
76441
|
+
reader.skipType(tag & 7);
|
|
76442
|
+
break;
|
|
76443
|
+
}
|
|
76444
|
+
}
|
|
76445
|
+
return message;
|
|
76446
|
+
};
|
|
76447
|
+
|
|
76448
|
+
/**
|
|
76449
|
+
* Decodes a TransferReplFromOfflineClusterResponse message from the specified reader or buffer, length delimited.
|
|
76450
|
+
* @function decodeDelimited
|
|
76451
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76452
|
+
* @static
|
|
76453
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76454
|
+
* @returns {replit.goval.api.lore.TransferReplFromOfflineClusterResponse} TransferReplFromOfflineClusterResponse
|
|
76455
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76456
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76457
|
+
*/
|
|
76458
|
+
TransferReplFromOfflineClusterResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
76459
|
+
if (!(reader instanceof $Reader))
|
|
76460
|
+
reader = new $Reader(reader);
|
|
76461
|
+
return this.decode(reader, reader.uint32());
|
|
76462
|
+
};
|
|
76463
|
+
|
|
76464
|
+
/**
|
|
76465
|
+
* Verifies a TransferReplFromOfflineClusterResponse message.
|
|
76466
|
+
* @function verify
|
|
76467
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76468
|
+
* @static
|
|
76469
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
76470
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
76471
|
+
*/
|
|
76472
|
+
TransferReplFromOfflineClusterResponse.verify = function verify(message) {
|
|
76473
|
+
if (typeof message !== "object" || message === null)
|
|
76474
|
+
return "object expected";
|
|
76475
|
+
return null;
|
|
76476
|
+
};
|
|
76477
|
+
|
|
76478
|
+
/**
|
|
76479
|
+
* Creates a TransferReplFromOfflineClusterResponse message from a plain object. Also converts values to their respective internal types.
|
|
76480
|
+
* @function fromObject
|
|
76481
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76482
|
+
* @static
|
|
76483
|
+
* @param {Object.<string,*>} object Plain object
|
|
76484
|
+
* @returns {replit.goval.api.lore.TransferReplFromOfflineClusterResponse} TransferReplFromOfflineClusterResponse
|
|
76485
|
+
*/
|
|
76486
|
+
TransferReplFromOfflineClusterResponse.fromObject = function fromObject(object) {
|
|
76487
|
+
if (object instanceof $root.replit.goval.api.lore.TransferReplFromOfflineClusterResponse)
|
|
76488
|
+
return object;
|
|
76489
|
+
return new $root.replit.goval.api.lore.TransferReplFromOfflineClusterResponse();
|
|
76490
|
+
};
|
|
76491
|
+
|
|
76492
|
+
/**
|
|
76493
|
+
* Creates a plain object from a TransferReplFromOfflineClusterResponse message. Also converts values to other types if specified.
|
|
76494
|
+
* @function toObject
|
|
76495
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76496
|
+
* @static
|
|
76497
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterResponse} message TransferReplFromOfflineClusterResponse
|
|
76498
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
76499
|
+
* @returns {Object.<string,*>} Plain object
|
|
76500
|
+
*/
|
|
76501
|
+
TransferReplFromOfflineClusterResponse.toObject = function toObject() {
|
|
76502
|
+
return {};
|
|
76503
|
+
};
|
|
76504
|
+
|
|
76505
|
+
/**
|
|
76506
|
+
* Converts this TransferReplFromOfflineClusterResponse to JSON.
|
|
76507
|
+
* @function toJSON
|
|
76508
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76509
|
+
* @instance
|
|
76510
|
+
* @returns {Object.<string,*>} JSON object
|
|
76511
|
+
*/
|
|
76512
|
+
TransferReplFromOfflineClusterResponse.prototype.toJSON = function toJSON() {
|
|
76513
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
76514
|
+
};
|
|
76515
|
+
|
|
76516
|
+
/**
|
|
76517
|
+
* Gets the default type url for TransferReplFromOfflineClusterResponse
|
|
76518
|
+
* @function getTypeUrl
|
|
76519
|
+
* @memberof replit.goval.api.lore.TransferReplFromOfflineClusterResponse
|
|
76520
|
+
* @static
|
|
76521
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
76522
|
+
* @returns {string} The default type url
|
|
76523
|
+
*/
|
|
76524
|
+
TransferReplFromOfflineClusterResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
76525
|
+
if (typeUrlPrefix === undefined) {
|
|
76526
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
76527
|
+
}
|
|
76528
|
+
return typeUrlPrefix + "/replit.goval.api.lore.TransferReplFromOfflineClusterResponse";
|
|
76529
|
+
};
|
|
76530
|
+
|
|
76531
|
+
return TransferReplFromOfflineClusterResponse;
|
|
76532
|
+
})();
|
|
76533
|
+
|
|
76561
76534
|
lore.TransferUserRequest = (function() {
|
|
76562
76535
|
|
|
76563
76536
|
/**
|
|
@@ -80476,6 +80449,39 @@
|
|
|
80476
80449
|
* @variation 2
|
|
80477
80450
|
*/
|
|
80478
80451
|
|
|
80452
|
+
/**
|
|
80453
|
+
* Callback as used by {@link replit.goval.api.lore.Lore#transferReplFromOfflineCluster}.
|
|
80454
|
+
* @memberof replit.goval.api.lore.Lore
|
|
80455
|
+
* @typedef TransferReplFromOfflineClusterCallback
|
|
80456
|
+
* @type {function}
|
|
80457
|
+
* @param {Error|null} error Error, if any
|
|
80458
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterResponse} [response] TransferReplFromOfflineClusterResponse
|
|
80459
|
+
*/
|
|
80460
|
+
|
|
80461
|
+
/**
|
|
80462
|
+
* Calls TransferReplFromOfflineCluster.
|
|
80463
|
+
* @function transferReplFromOfflineCluster
|
|
80464
|
+
* @memberof replit.goval.api.lore.Lore
|
|
80465
|
+
* @instance
|
|
80466
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} request TransferReplFromOfflineClusterRequest message or plain object
|
|
80467
|
+
* @param {replit.goval.api.lore.Lore.TransferReplFromOfflineClusterCallback} callback Node-style callback called with the error, if any, and TransferReplFromOfflineClusterResponse
|
|
80468
|
+
* @returns {undefined}
|
|
80469
|
+
* @variation 1
|
|
80470
|
+
*/
|
|
80471
|
+
Object.defineProperty(Lore.prototype.transferReplFromOfflineCluster = function transferReplFromOfflineCluster(request, callback) {
|
|
80472
|
+
return this.rpcCall(transferReplFromOfflineCluster, $root.replit.goval.api.lore.TransferReplFromOfflineClusterRequest, $root.replit.goval.api.lore.TransferReplFromOfflineClusterResponse, request, callback);
|
|
80473
|
+
}, "name", { value: "TransferReplFromOfflineCluster" });
|
|
80474
|
+
|
|
80475
|
+
/**
|
|
80476
|
+
* Calls TransferReplFromOfflineCluster.
|
|
80477
|
+
* @function transferReplFromOfflineCluster
|
|
80478
|
+
* @memberof replit.goval.api.lore.Lore
|
|
80479
|
+
* @instance
|
|
80480
|
+
* @param {replit.goval.api.lore.TransferReplFromOfflineClusterRequest} request TransferReplFromOfflineClusterRequest message or plain object
|
|
80481
|
+
* @returns {Promise<replit.goval.api.lore.TransferReplFromOfflineClusterResponse>} Promise
|
|
80482
|
+
* @variation 2
|
|
80483
|
+
*/
|
|
80484
|
+
|
|
80479
80485
|
return Lore;
|
|
80480
80486
|
})();
|
|
80481
80487
|
|
|
@@ -82856,208 +82862,6 @@
|
|
|
82856
82862
|
return ResourceLimits;
|
|
82857
82863
|
})();
|
|
82858
82864
|
|
|
82859
|
-
repl.Permissions = (function() {
|
|
82860
|
-
|
|
82861
|
-
/**
|
|
82862
|
-
* Properties of a Permissions.
|
|
82863
|
-
* @memberof replit.goval.api.repl
|
|
82864
|
-
* @interface IPermissions
|
|
82865
|
-
* @property {boolean|null} [toggleAlwaysOn] Permissions toggleAlwaysOn
|
|
82866
|
-
*/
|
|
82867
|
-
|
|
82868
|
-
/**
|
|
82869
|
-
* Constructs a new Permissions.
|
|
82870
|
-
* @memberof replit.goval.api.repl
|
|
82871
|
-
* @classdesc Represents a Permissions.
|
|
82872
|
-
* @constructor
|
|
82873
|
-
* @param {replit.goval.api.repl.IPermissions=} [properties] Properties to set
|
|
82874
|
-
*/
|
|
82875
|
-
function Permissions(properties) {
|
|
82876
|
-
if (properties)
|
|
82877
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
82878
|
-
if (properties[keys[i]] != null)
|
|
82879
|
-
this[keys[i]] = properties[keys[i]];
|
|
82880
|
-
}
|
|
82881
|
-
|
|
82882
|
-
/**
|
|
82883
|
-
* Permissions toggleAlwaysOn.
|
|
82884
|
-
* @member {boolean} toggleAlwaysOn
|
|
82885
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
82886
|
-
* @instance
|
|
82887
|
-
*/
|
|
82888
|
-
Permissions.prototype.toggleAlwaysOn = false;
|
|
82889
|
-
|
|
82890
|
-
/**
|
|
82891
|
-
* Creates a new Permissions instance using the specified properties.
|
|
82892
|
-
* @function create
|
|
82893
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
82894
|
-
* @static
|
|
82895
|
-
* @param {replit.goval.api.repl.IPermissions=} [properties] Properties to set
|
|
82896
|
-
* @returns {replit.goval.api.repl.Permissions} Permissions instance
|
|
82897
|
-
*/
|
|
82898
|
-
Permissions.create = function create(properties) {
|
|
82899
|
-
return Permissions.fromObject(properties);
|
|
82900
|
-
};
|
|
82901
|
-
|
|
82902
|
-
/**
|
|
82903
|
-
* Encodes the specified Permissions message. Does not implicitly {@link replit.goval.api.repl.Permissions.verify|verify} messages.
|
|
82904
|
-
* @function encode
|
|
82905
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
82906
|
-
* @static
|
|
82907
|
-
* @param {replit.goval.api.repl.Permissions} message Permissions message or plain object to encode
|
|
82908
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
82909
|
-
* @returns {$protobuf.Writer} Writer
|
|
82910
|
-
*/
|
|
82911
|
-
Permissions.encode = function encode(message, writer) {
|
|
82912
|
-
if (!writer)
|
|
82913
|
-
writer = $Writer.create();
|
|
82914
|
-
if (message.toggleAlwaysOn != null && Object.hasOwnProperty.call(message, "toggleAlwaysOn"))
|
|
82915
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.toggleAlwaysOn);
|
|
82916
|
-
return writer;
|
|
82917
|
-
};
|
|
82918
|
-
|
|
82919
|
-
/**
|
|
82920
|
-
* Encodes the specified Permissions message, length delimited. Does not implicitly {@link replit.goval.api.repl.Permissions.verify|verify} messages.
|
|
82921
|
-
* @function encodeDelimited
|
|
82922
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
82923
|
-
* @static
|
|
82924
|
-
* @param {replit.goval.api.repl.Permissions} message Permissions message or plain object to encode
|
|
82925
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
82926
|
-
* @returns {$protobuf.Writer} Writer
|
|
82927
|
-
*/
|
|
82928
|
-
Permissions.encodeDelimited = function encodeDelimited(message, writer) {
|
|
82929
|
-
return this.encode(message, writer).ldelim();
|
|
82930
|
-
};
|
|
82931
|
-
|
|
82932
|
-
/**
|
|
82933
|
-
* Decodes a Permissions message from the specified reader or buffer.
|
|
82934
|
-
* @function decode
|
|
82935
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
82936
|
-
* @static
|
|
82937
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
82938
|
-
* @param {number} [length] Message length if known beforehand
|
|
82939
|
-
* @returns {replit.goval.api.repl.Permissions} Permissions
|
|
82940
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82941
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82942
|
-
*/
|
|
82943
|
-
Permissions.decode = function decode(reader, length) {
|
|
82944
|
-
if (!(reader instanceof $Reader))
|
|
82945
|
-
reader = $Reader.create(reader);
|
|
82946
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.repl.Permissions();
|
|
82947
|
-
while (reader.pos < end) {
|
|
82948
|
-
var tag = reader.uint32();
|
|
82949
|
-
switch (tag >>> 3) {
|
|
82950
|
-
case 1: {
|
|
82951
|
-
message.toggleAlwaysOn = reader.bool();
|
|
82952
|
-
break;
|
|
82953
|
-
}
|
|
82954
|
-
default:
|
|
82955
|
-
reader.skipType(tag & 7);
|
|
82956
|
-
break;
|
|
82957
|
-
}
|
|
82958
|
-
}
|
|
82959
|
-
return message;
|
|
82960
|
-
};
|
|
82961
|
-
|
|
82962
|
-
/**
|
|
82963
|
-
* Decodes a Permissions message from the specified reader or buffer, length delimited.
|
|
82964
|
-
* @function decodeDelimited
|
|
82965
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
82966
|
-
* @static
|
|
82967
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
82968
|
-
* @returns {replit.goval.api.repl.Permissions} Permissions
|
|
82969
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
82970
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
82971
|
-
*/
|
|
82972
|
-
Permissions.decodeDelimited = function decodeDelimited(reader) {
|
|
82973
|
-
if (!(reader instanceof $Reader))
|
|
82974
|
-
reader = new $Reader(reader);
|
|
82975
|
-
return this.decode(reader, reader.uint32());
|
|
82976
|
-
};
|
|
82977
|
-
|
|
82978
|
-
/**
|
|
82979
|
-
* Verifies a Permissions message.
|
|
82980
|
-
* @function verify
|
|
82981
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
82982
|
-
* @static
|
|
82983
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
82984
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
82985
|
-
*/
|
|
82986
|
-
Permissions.verify = function verify(message) {
|
|
82987
|
-
if (typeof message !== "object" || message === null)
|
|
82988
|
-
return "object expected";
|
|
82989
|
-
if (message.toggleAlwaysOn != null && message.hasOwnProperty("toggleAlwaysOn"))
|
|
82990
|
-
if (typeof message.toggleAlwaysOn !== "boolean")
|
|
82991
|
-
return "toggleAlwaysOn: boolean expected";
|
|
82992
|
-
return null;
|
|
82993
|
-
};
|
|
82994
|
-
|
|
82995
|
-
/**
|
|
82996
|
-
* Creates a Permissions message from a plain object. Also converts values to their respective internal types.
|
|
82997
|
-
* @function fromObject
|
|
82998
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
82999
|
-
* @static
|
|
83000
|
-
* @param {Object.<string,*>} object Plain object
|
|
83001
|
-
* @returns {replit.goval.api.repl.Permissions} Permissions
|
|
83002
|
-
*/
|
|
83003
|
-
Permissions.fromObject = function fromObject(object) {
|
|
83004
|
-
if (object instanceof $root.replit.goval.api.repl.Permissions)
|
|
83005
|
-
return object;
|
|
83006
|
-
var message = new $root.replit.goval.api.repl.Permissions();
|
|
83007
|
-
if (object.toggleAlwaysOn != null)
|
|
83008
|
-
message.toggleAlwaysOn = Boolean(object.toggleAlwaysOn);
|
|
83009
|
-
return message;
|
|
83010
|
-
};
|
|
83011
|
-
|
|
83012
|
-
/**
|
|
83013
|
-
* Creates a plain object from a Permissions message. Also converts values to other types if specified.
|
|
83014
|
-
* @function toObject
|
|
83015
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
83016
|
-
* @static
|
|
83017
|
-
* @param {replit.goval.api.repl.Permissions} message Permissions
|
|
83018
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
83019
|
-
* @returns {Object.<string,*>} Plain object
|
|
83020
|
-
*/
|
|
83021
|
-
Permissions.toObject = function toObject(message, options) {
|
|
83022
|
-
if (!options)
|
|
83023
|
-
options = {};
|
|
83024
|
-
var object = {};
|
|
83025
|
-
if (options.defaults)
|
|
83026
|
-
object.toggleAlwaysOn = false;
|
|
83027
|
-
if (message.toggleAlwaysOn != null && message.hasOwnProperty("toggleAlwaysOn"))
|
|
83028
|
-
object.toggleAlwaysOn = message.toggleAlwaysOn;
|
|
83029
|
-
return object;
|
|
83030
|
-
};
|
|
83031
|
-
|
|
83032
|
-
/**
|
|
83033
|
-
* Converts this Permissions to JSON.
|
|
83034
|
-
* @function toJSON
|
|
83035
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
83036
|
-
* @instance
|
|
83037
|
-
* @returns {Object.<string,*>} JSON object
|
|
83038
|
-
*/
|
|
83039
|
-
Permissions.prototype.toJSON = function toJSON() {
|
|
83040
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
83041
|
-
};
|
|
83042
|
-
|
|
83043
|
-
/**
|
|
83044
|
-
* Gets the default type url for Permissions
|
|
83045
|
-
* @function getTypeUrl
|
|
83046
|
-
* @memberof replit.goval.api.repl.Permissions
|
|
83047
|
-
* @static
|
|
83048
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
83049
|
-
* @returns {string} The default type url
|
|
83050
|
-
*/
|
|
83051
|
-
Permissions.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
83052
|
-
if (typeUrlPrefix === undefined) {
|
|
83053
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
83054
|
-
}
|
|
83055
|
-
return typeUrlPrefix + "/replit.goval.api.repl.Permissions";
|
|
83056
|
-
};
|
|
83057
|
-
|
|
83058
|
-
return Permissions;
|
|
83059
|
-
})();
|
|
83060
|
-
|
|
83061
82865
|
/**
|
|
83062
82866
|
* Persistence enum.
|
|
83063
82867
|
* @name replit.goval.api.repl.Persistence
|
|
@@ -83087,7 +82891,6 @@
|
|
|
83087
82891
|
* @property {replit.goval.api.repl.ResourceLimits|replit.goval.api.repl.IResourceLimits|null} [interactiveResourceLimits] Metadata interactiveResourceLimits
|
|
83088
82892
|
* @property {replit.goval.api.repl.Persistence|null} [persistence] Metadata persistence
|
|
83089
82893
|
* @property {Array.<string>|null} [flags] Metadata flags
|
|
83090
|
-
* @property {replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null} [permissions] Metadata permissions
|
|
83091
82894
|
* @property {Array.<replit.goval.api.features.Feature|replit.goval.api.features.IFeature>|null} [features] Metadata features
|
|
83092
82895
|
* @property {replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null} [buildInfo] Metadata buildInfo
|
|
83093
82896
|
*/
|
|
@@ -83148,14 +82951,6 @@
|
|
|
83148
82951
|
*/
|
|
83149
82952
|
Metadata.prototype.flags = $util.emptyArray;
|
|
83150
82953
|
|
|
83151
|
-
/**
|
|
83152
|
-
* Metadata permissions.
|
|
83153
|
-
* @member {replit.goval.api.repl.Permissions|null|undefined} permissions
|
|
83154
|
-
* @memberof replit.goval.api.repl.Metadata
|
|
83155
|
-
* @instance
|
|
83156
|
-
*/
|
|
83157
|
-
Metadata.prototype.permissions = null;
|
|
83158
|
-
|
|
83159
82954
|
/**
|
|
83160
82955
|
* Metadata features.
|
|
83161
82956
|
* @member {Array.<replit.goval.api.features.Feature>} features
|
|
@@ -83205,8 +83000,6 @@
|
|
|
83205
83000
|
if (message.flags != null && message.flags.length)
|
|
83206
83001
|
for (var i = 0; i < message.flags.length; ++i)
|
|
83207
83002
|
writer.uint32(/* id 14, wireType 2 =*/114).string(message.flags[i]);
|
|
83208
|
-
if (message.permissions != null && Object.hasOwnProperty.call(message, "permissions"))
|
|
83209
|
-
$root.replit.goval.api.repl.Permissions.encode(message.permissions, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
83210
83003
|
if (message.features != null && message.features.length)
|
|
83211
83004
|
for (var i = 0; i < message.features.length; ++i)
|
|
83212
83005
|
$root.replit.goval.api.features.Feature.encode(message.features[i], writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
@@ -83270,10 +83063,6 @@
|
|
|
83270
83063
|
message.flags.push(reader.string());
|
|
83271
83064
|
break;
|
|
83272
83065
|
}
|
|
83273
|
-
case 15: {
|
|
83274
|
-
message.permissions = $root.replit.goval.api.repl.Permissions.decode(reader, reader.uint32());
|
|
83275
|
-
break;
|
|
83276
|
-
}
|
|
83277
83066
|
case 16: {
|
|
83278
83067
|
if (!(message.features && message.features.length))
|
|
83279
83068
|
message.features = [];
|
|
@@ -83351,11 +83140,6 @@
|
|
|
83351
83140
|
if (!$util.isString(message.flags[i]))
|
|
83352
83141
|
return "flags: string[] expected";
|
|
83353
83142
|
}
|
|
83354
|
-
if (message.permissions != null && message.hasOwnProperty("permissions")) {
|
|
83355
|
-
var error = $root.replit.goval.api.repl.Permissions.verify(message.permissions);
|
|
83356
|
-
if (error)
|
|
83357
|
-
return "permissions." + error;
|
|
83358
|
-
}
|
|
83359
83143
|
if (message.features != null && message.hasOwnProperty("features")) {
|
|
83360
83144
|
if (!Array.isArray(message.features))
|
|
83361
83145
|
return "features: array expected";
|
|
@@ -83431,11 +83215,6 @@
|
|
|
83431
83215
|
for (var i = 0; i < object.flags.length; ++i)
|
|
83432
83216
|
message.flags[i] = String(object.flags[i]);
|
|
83433
83217
|
}
|
|
83434
|
-
if (object.permissions != null) {
|
|
83435
|
-
if (typeof object.permissions !== "object")
|
|
83436
|
-
throw TypeError(".replit.goval.api.repl.Metadata.permissions: object expected");
|
|
83437
|
-
message.permissions = $root.replit.goval.api.repl.Permissions.fromObject(object.permissions);
|
|
83438
|
-
}
|
|
83439
83218
|
if (object.features) {
|
|
83440
83219
|
if (!Array.isArray(object.features))
|
|
83441
83220
|
throw TypeError(".replit.goval.api.repl.Metadata.features: array expected");
|
|
@@ -83475,7 +83254,6 @@
|
|
|
83475
83254
|
object.persistence = options.enums === String ? "PERSISTENT" : 0;
|
|
83476
83255
|
object.repl = null;
|
|
83477
83256
|
object.resourceLimits = null;
|
|
83478
|
-
object.permissions = null;
|
|
83479
83257
|
object.interactiveResourceLimits = null;
|
|
83480
83258
|
object.buildInfo = null;
|
|
83481
83259
|
}
|
|
@@ -83490,8 +83268,6 @@
|
|
|
83490
83268
|
for (var j = 0; j < message.flags.length; ++j)
|
|
83491
83269
|
object.flags[j] = message.flags[j];
|
|
83492
83270
|
}
|
|
83493
|
-
if (message.permissions != null && message.hasOwnProperty("permissions"))
|
|
83494
|
-
object.permissions = $root.replit.goval.api.repl.Permissions.toObject(message.permissions, options);
|
|
83495
83271
|
if (message.features && message.features.length) {
|
|
83496
83272
|
object.features = [];
|
|
83497
83273
|
for (var j = 0; j < message.features.length; ++j)
|