@replit/protocol 0.3.60 → 0.3.62

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.
Files changed (3) hide show
  1. package/main/index.d.ts +1006 -1
  2. package/main/index.js +2527 -164
  3. package/package.json +1 -1
package/main/index.js CHANGED
@@ -134,6 +134,7 @@
134
134
  * @property {replit.goval.api.OTTransformSelectionRequest|replit.goval.api.IOTTransformSelectionRequest|null} [otTransformSelectionRequest] Command otTransformSelectionRequest
135
135
  * @property {replit.goval.api.OTTransformSelectionResponse|replit.goval.api.IOTTransformSelectionResponse|null} [otTransformSelectionResponse] Command otTransformSelectionResponse
136
136
  * @property {replit.goval.api.Flush|replit.goval.api.IFlush|null} [flush] Command flush
137
+ * @property {replit.goval.api.OTFlushNotification|replit.goval.api.IOTFlushNotification|null} [otFlushNotification] Command otFlushNotification
137
138
  * @property {replit.goval.api.Debug|replit.goval.api.IDebug|null} [debug] Command debug
138
139
  * @property {replit.goval.api.StartVCR|replit.goval.api.IStartVCR|null} [startVCR] Command startVCR
139
140
  * @property {replit.goval.api.ReadVCR|replit.goval.api.IReadVCR|null} [readVCR] Command readVCR
@@ -950,6 +951,14 @@
950
951
  */
951
952
  Command.prototype.flush = null;
952
953
 
954
+ /**
955
+ * Command otFlushNotification.
956
+ * @member {replit.goval.api.OTFlushNotification|null|undefined} otFlushNotification
957
+ * @memberof replit.goval.api.Command
958
+ * @instance
959
+ */
960
+ Command.prototype.otFlushNotification = null;
961
+
953
962
  /**
954
963
  * Command debug.
955
964
  * @member {replit.goval.api.Debug|null|undefined} debug
@@ -1907,12 +1916,12 @@
1907
1916
 
1908
1917
  /**
1909
1918
  * Command body.
1910
- * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|undefined} body
1919
+ * @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|undefined} body
1911
1920
  * @memberof replit.goval.api.Command
1912
1921
  * @instance
1913
1922
  */
1914
1923
  Object.defineProperty(Command.prototype, "body", {
1915
- get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "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", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest"]),
1924
+ get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "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", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest"]),
1916
1925
  set: $util.oneOfSetter($oneOfFields)
1917
1926
  });
1918
1927
 
@@ -2324,6 +2333,8 @@
2324
2333
  $root.replit.goval.api.NixPackageInfoRequest.encode(message.nixPackageInfoRequest, writer.uint32(/* id 450, wireType 2 =*/3602).fork()).ldelim();
2325
2334
  if (message.nixPackageInfoResponse != null && Object.hasOwnProperty.call(message, "nixPackageInfoResponse"))
2326
2335
  $root.replit.goval.api.NixPackageInfoResponse.encode(message.nixPackageInfoResponse, writer.uint32(/* id 451, wireType 2 =*/3610).fork()).ldelim();
2336
+ if (message.otFlushNotification != null && Object.hasOwnProperty.call(message, "otFlushNotification"))
2337
+ $root.replit.goval.api.OTFlushNotification.encode(message.otFlushNotification, writer.uint32(/* id 452, wireType 2 =*/3618).fork()).ldelim();
2327
2338
  if (message.nixModuleConfigGetRequest != null && Object.hasOwnProperty.call(message, "nixModuleConfigGetRequest"))
2328
2339
  $root.replit.goval.api.NixModuleConfigGetRequest.encode(message.nixModuleConfigGetRequest, writer.uint32(/* id 460, wireType 2 =*/3682).fork()).ldelim();
2329
2340
  if (message.nixModuleConfigGetResponse != null && Object.hasOwnProperty.call(message, "nixModuleConfigGetResponse"))
@@ -2723,6 +2734,10 @@
2723
2734
  message.flush = $root.replit.goval.api.Flush.decode(reader, reader.uint32());
2724
2735
  break;
2725
2736
  }
2737
+ case 452: {
2738
+ message.otFlushNotification = $root.replit.goval.api.OTFlushNotification.decode(reader, reader.uint32());
2739
+ break;
2740
+ }
2726
2741
  case 230: {
2727
2742
  message.debug = $root.replit.goval.api.Debug.decode(reader, reader.uint32());
2728
2743
  break;
@@ -4060,6 +4075,16 @@
4060
4075
  return "flush." + error;
4061
4076
  }
4062
4077
  }
4078
+ if (message.otFlushNotification != null && message.hasOwnProperty("otFlushNotification")) {
4079
+ if (properties.body === 1)
4080
+ return "body: multiple values";
4081
+ properties.body = 1;
4082
+ {
4083
+ var error = $root.replit.goval.api.OTFlushNotification.verify(message.otFlushNotification);
4084
+ if (error)
4085
+ return "otFlushNotification." + error;
4086
+ }
4087
+ }
4063
4088
  if (message.debug != null && message.hasOwnProperty("debug")) {
4064
4089
  if (properties.body === 1)
4065
4090
  return "body: multiple values";
@@ -5643,6 +5668,11 @@
5643
5668
  throw TypeError(".replit.goval.api.Command.flush: object expected");
5644
5669
  message.flush = $root.replit.goval.api.Flush.fromObject(object.flush);
5645
5670
  }
5671
+ if (object.otFlushNotification != null) {
5672
+ if (typeof object.otFlushNotification !== "object")
5673
+ throw TypeError(".replit.goval.api.Command.otFlushNotification: object expected");
5674
+ message.otFlushNotification = $root.replit.goval.api.OTFlushNotification.fromObject(object.otFlushNotification);
5675
+ }
5646
5676
  if (object.debug != null) {
5647
5677
  if (typeof object.debug !== "object")
5648
5678
  throw TypeError(".replit.goval.api.Command.debug: object expected");
@@ -7206,6 +7236,11 @@
7206
7236
  if (options.oneofs)
7207
7237
  object.body = "nixPackageInfoResponse";
7208
7238
  }
7239
+ if (message.otFlushNotification != null && message.hasOwnProperty("otFlushNotification")) {
7240
+ object.otFlushNotification = $root.replit.goval.api.OTFlushNotification.toObject(message.otFlushNotification, options);
7241
+ if (options.oneofs)
7242
+ object.body = "otFlushNotification";
7243
+ }
7209
7244
  if (message.nixModuleConfigGetRequest != null && message.hasOwnProperty("nixModuleConfigGetRequest")) {
7210
7245
  object.nixModuleConfigGetRequest = $root.replit.goval.api.NixModuleConfigGetRequest.toObject(message.nixModuleConfigGetRequest, options);
7211
7246
  if (options.oneofs)
@@ -13457,6 +13492,7 @@
13457
13492
  * @property {Object.<string,string>|null} [env] Pid1Config env
13458
13493
  * @property {boolean|null} [noStore] Pid1Config noStore
13459
13494
  * @property {boolean|null} [noninteractiveFSChange] Pid1Config noninteractiveFSChange
13495
+ * @property {replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null} [pid2Info] Pid1Config pid2Info
13460
13496
  */
13461
13497
 
13462
13498
  /**
@@ -13514,6 +13550,14 @@
13514
13550
  */
13515
13551
  Pid1Config.prototype.noninteractiveFSChange = false;
13516
13552
 
13553
+ /**
13554
+ * Pid1Config pid2Info.
13555
+ * @member {replit.goval.api.repl.Pid2Binary|null|undefined} pid2Info
13556
+ * @memberof replit.goval.api.Pid1Config
13557
+ * @instance
13558
+ */
13559
+ Pid1Config.prototype.pid2Info = null;
13560
+
13517
13561
  /**
13518
13562
  * Creates a new Pid1Config instance using the specified properties.
13519
13563
  * @function create
@@ -13549,6 +13593,8 @@
13549
13593
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.noStore);
13550
13594
  if (message.noninteractiveFSChange != null && Object.hasOwnProperty.call(message, "noninteractiveFSChange"))
13551
13595
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.noninteractiveFSChange);
13596
+ if (message.pid2Info != null && Object.hasOwnProperty.call(message, "pid2Info"))
13597
+ $root.replit.goval.api.repl.Pid2Binary.encode(message.pid2Info, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
13552
13598
  return writer;
13553
13599
  };
13554
13600
 
@@ -13622,6 +13668,10 @@
13622
13668
  message.noninteractiveFSChange = reader.bool();
13623
13669
  break;
13624
13670
  }
13671
+ case 6: {
13672
+ message.pid2Info = $root.replit.goval.api.repl.Pid2Binary.decode(reader, reader.uint32());
13673
+ break;
13674
+ }
13625
13675
  default:
13626
13676
  reader.skipType(tag & 7);
13627
13677
  break;
@@ -13677,6 +13727,11 @@
13677
13727
  if (message.noninteractiveFSChange != null && message.hasOwnProperty("noninteractiveFSChange"))
13678
13728
  if (typeof message.noninteractiveFSChange !== "boolean")
13679
13729
  return "noninteractiveFSChange: boolean expected";
13730
+ if (message.pid2Info != null && message.hasOwnProperty("pid2Info")) {
13731
+ var error = $root.replit.goval.api.repl.Pid2Binary.verify(message.pid2Info);
13732
+ if (error)
13733
+ return "pid2Info." + error;
13734
+ }
13680
13735
  return null;
13681
13736
  };
13682
13737
 
@@ -13707,6 +13762,11 @@
13707
13762
  message.noStore = Boolean(object.noStore);
13708
13763
  if (object.noninteractiveFSChange != null)
13709
13764
  message.noninteractiveFSChange = Boolean(object.noninteractiveFSChange);
13765
+ if (object.pid2Info != null) {
13766
+ if (typeof object.pid2Info !== "object")
13767
+ throw TypeError(".replit.goval.api.Pid1Config.pid2Info: object expected");
13768
+ message.pid2Info = $root.replit.goval.api.repl.Pid2Binary.fromObject(object.pid2Info);
13769
+ }
13710
13770
  return message;
13711
13771
  };
13712
13772
 
@@ -13730,6 +13790,7 @@
13730
13790
  object.language = "";
13731
13791
  object.noStore = false;
13732
13792
  object.noninteractiveFSChange = false;
13793
+ object.pid2Info = null;
13733
13794
  }
13734
13795
  if (message.cwd != null && message.hasOwnProperty("cwd"))
13735
13796
  object.cwd = message.cwd;
@@ -13745,6 +13806,8 @@
13745
13806
  object.noStore = message.noStore;
13746
13807
  if (message.noninteractiveFSChange != null && message.hasOwnProperty("noninteractiveFSChange"))
13747
13808
  object.noninteractiveFSChange = message.noninteractiveFSChange;
13809
+ if (message.pid2Info != null && message.hasOwnProperty("pid2Info"))
13810
+ object.pid2Info = $root.replit.goval.api.repl.Pid2Binary.toObject(message.pid2Info, options);
13748
13811
  return object;
13749
13812
  };
13750
13813
 
@@ -15845,6 +15908,208 @@
15845
15908
  return OTLinkFileResponse;
15846
15909
  })();
15847
15910
 
15911
+ api.OTFlushNotification = (function() {
15912
+
15913
+ /**
15914
+ * Properties of a OTFlushNotification.
15915
+ * @memberof replit.goval.api
15916
+ * @interface IOTFlushNotification
15917
+ * @property {number|null} [diskVersion] OTFlushNotification diskVersion
15918
+ */
15919
+
15920
+ /**
15921
+ * Constructs a new OTFlushNotification.
15922
+ * @memberof replit.goval.api
15923
+ * @classdesc Represents a OTFlushNotification.
15924
+ * @constructor
15925
+ * @param {replit.goval.api.IOTFlushNotification=} [properties] Properties to set
15926
+ */
15927
+ function OTFlushNotification(properties) {
15928
+ if (properties)
15929
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
15930
+ if (properties[keys[i]] != null)
15931
+ this[keys[i]] = properties[keys[i]];
15932
+ }
15933
+
15934
+ /**
15935
+ * OTFlushNotification diskVersion.
15936
+ * @member {number} diskVersion
15937
+ * @memberof replit.goval.api.OTFlushNotification
15938
+ * @instance
15939
+ */
15940
+ OTFlushNotification.prototype.diskVersion = 0;
15941
+
15942
+ /**
15943
+ * Creates a new OTFlushNotification instance using the specified properties.
15944
+ * @function create
15945
+ * @memberof replit.goval.api.OTFlushNotification
15946
+ * @static
15947
+ * @param {replit.goval.api.IOTFlushNotification=} [properties] Properties to set
15948
+ * @returns {replit.goval.api.OTFlushNotification} OTFlushNotification instance
15949
+ */
15950
+ OTFlushNotification.create = function create(properties) {
15951
+ return OTFlushNotification.fromObject(properties);
15952
+ };
15953
+
15954
+ /**
15955
+ * Encodes the specified OTFlushNotification message. Does not implicitly {@link replit.goval.api.OTFlushNotification.verify|verify} messages.
15956
+ * @function encode
15957
+ * @memberof replit.goval.api.OTFlushNotification
15958
+ * @static
15959
+ * @param {replit.goval.api.OTFlushNotification} message OTFlushNotification message or plain object to encode
15960
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15961
+ * @returns {$protobuf.Writer} Writer
15962
+ */
15963
+ OTFlushNotification.encode = function encode(message, writer) {
15964
+ if (!writer)
15965
+ writer = $Writer.create();
15966
+ if (message.diskVersion != null && Object.hasOwnProperty.call(message, "diskVersion"))
15967
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.diskVersion);
15968
+ return writer;
15969
+ };
15970
+
15971
+ /**
15972
+ * Encodes the specified OTFlushNotification message, length delimited. Does not implicitly {@link replit.goval.api.OTFlushNotification.verify|verify} messages.
15973
+ * @function encodeDelimited
15974
+ * @memberof replit.goval.api.OTFlushNotification
15975
+ * @static
15976
+ * @param {replit.goval.api.OTFlushNotification} message OTFlushNotification message or plain object to encode
15977
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15978
+ * @returns {$protobuf.Writer} Writer
15979
+ */
15980
+ OTFlushNotification.encodeDelimited = function encodeDelimited(message, writer) {
15981
+ return this.encode(message, writer).ldelim();
15982
+ };
15983
+
15984
+ /**
15985
+ * Decodes a OTFlushNotification message from the specified reader or buffer.
15986
+ * @function decode
15987
+ * @memberof replit.goval.api.OTFlushNotification
15988
+ * @static
15989
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15990
+ * @param {number} [length] Message length if known beforehand
15991
+ * @returns {replit.goval.api.OTFlushNotification} OTFlushNotification
15992
+ * @throws {Error} If the payload is not a reader or valid buffer
15993
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15994
+ */
15995
+ OTFlushNotification.decode = function decode(reader, length) {
15996
+ if (!(reader instanceof $Reader))
15997
+ reader = $Reader.create(reader);
15998
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.OTFlushNotification();
15999
+ while (reader.pos < end) {
16000
+ var tag = reader.uint32();
16001
+ switch (tag >>> 3) {
16002
+ case 1: {
16003
+ message.diskVersion = reader.uint32();
16004
+ break;
16005
+ }
16006
+ default:
16007
+ reader.skipType(tag & 7);
16008
+ break;
16009
+ }
16010
+ }
16011
+ return message;
16012
+ };
16013
+
16014
+ /**
16015
+ * Decodes a OTFlushNotification message from the specified reader or buffer, length delimited.
16016
+ * @function decodeDelimited
16017
+ * @memberof replit.goval.api.OTFlushNotification
16018
+ * @static
16019
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
16020
+ * @returns {replit.goval.api.OTFlushNotification} OTFlushNotification
16021
+ * @throws {Error} If the payload is not a reader or valid buffer
16022
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16023
+ */
16024
+ OTFlushNotification.decodeDelimited = function decodeDelimited(reader) {
16025
+ if (!(reader instanceof $Reader))
16026
+ reader = new $Reader(reader);
16027
+ return this.decode(reader, reader.uint32());
16028
+ };
16029
+
16030
+ /**
16031
+ * Verifies a OTFlushNotification message.
16032
+ * @function verify
16033
+ * @memberof replit.goval.api.OTFlushNotification
16034
+ * @static
16035
+ * @param {Object.<string,*>} message Plain object to verify
16036
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
16037
+ */
16038
+ OTFlushNotification.verify = function verify(message) {
16039
+ if (typeof message !== "object" || message === null)
16040
+ return "object expected";
16041
+ if (message.diskVersion != null && message.hasOwnProperty("diskVersion"))
16042
+ if (!$util.isInteger(message.diskVersion))
16043
+ return "diskVersion: integer expected";
16044
+ return null;
16045
+ };
16046
+
16047
+ /**
16048
+ * Creates a OTFlushNotification message from a plain object. Also converts values to their respective internal types.
16049
+ * @function fromObject
16050
+ * @memberof replit.goval.api.OTFlushNotification
16051
+ * @static
16052
+ * @param {Object.<string,*>} object Plain object
16053
+ * @returns {replit.goval.api.OTFlushNotification} OTFlushNotification
16054
+ */
16055
+ OTFlushNotification.fromObject = function fromObject(object) {
16056
+ if (object instanceof $root.replit.goval.api.OTFlushNotification)
16057
+ return object;
16058
+ var message = new $root.replit.goval.api.OTFlushNotification();
16059
+ if (object.diskVersion != null)
16060
+ message.diskVersion = object.diskVersion >>> 0;
16061
+ return message;
16062
+ };
16063
+
16064
+ /**
16065
+ * Creates a plain object from a OTFlushNotification message. Also converts values to other types if specified.
16066
+ * @function toObject
16067
+ * @memberof replit.goval.api.OTFlushNotification
16068
+ * @static
16069
+ * @param {replit.goval.api.OTFlushNotification} message OTFlushNotification
16070
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
16071
+ * @returns {Object.<string,*>} Plain object
16072
+ */
16073
+ OTFlushNotification.toObject = function toObject(message, options) {
16074
+ if (!options)
16075
+ options = {};
16076
+ var object = {};
16077
+ if (options.defaults)
16078
+ object.diskVersion = 0;
16079
+ if (message.diskVersion != null && message.hasOwnProperty("diskVersion"))
16080
+ object.diskVersion = message.diskVersion;
16081
+ return object;
16082
+ };
16083
+
16084
+ /**
16085
+ * Converts this OTFlushNotification to JSON.
16086
+ * @function toJSON
16087
+ * @memberof replit.goval.api.OTFlushNotification
16088
+ * @instance
16089
+ * @returns {Object.<string,*>} JSON object
16090
+ */
16091
+ OTFlushNotification.prototype.toJSON = function toJSON() {
16092
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
16093
+ };
16094
+
16095
+ /**
16096
+ * Gets the default type url for OTFlushNotification
16097
+ * @function getTypeUrl
16098
+ * @memberof replit.goval.api.OTFlushNotification
16099
+ * @static
16100
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16101
+ * @returns {string} The default type url
16102
+ */
16103
+ OTFlushNotification.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
16104
+ if (typeUrlPrefix === undefined) {
16105
+ typeUrlPrefix = "type.googleapis.com";
16106
+ }
16107
+ return typeUrlPrefix + "/replit.goval.api.OTFlushNotification";
16108
+ };
16109
+
16110
+ return OTFlushNotification;
16111
+ })();
16112
+
15848
16113
  api.Auth = (function() {
15849
16114
 
15850
16115
  /**
@@ -56154,6 +56419,7 @@
56154
56419
  * @property {Array.<replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption>|null} [formatters] NixModulesGetRegistryResponse formatters
56155
56420
  * @property {Array.<replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption>|null} [packagers] NixModulesGetRegistryResponse packagers
56156
56421
  * @property {Array.<replit.goval.api.NixModulesV2RegistryEntry|replit.goval.api.INixModulesV2RegistryEntry>|null} [modulesV2] NixModulesGetRegistryResponse modulesV2
56422
+ * @property {Array.<replit.goval.api.NixModule|replit.goval.api.INixModule>|null} [fullModules] NixModulesGetRegistryResponse fullModules
56157
56423
  */
56158
56424
 
56159
56425
  /**
@@ -56171,6 +56437,7 @@
56171
56437
  this.formatters = [];
56172
56438
  this.packagers = [];
56173
56439
  this.modulesV2 = [];
56440
+ this.fullModules = [];
56174
56441
  if (properties)
56175
56442
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
56176
56443
  if (properties[keys[i]] != null)
@@ -56233,6 +56500,14 @@
56233
56500
  */
56234
56501
  NixModulesGetRegistryResponse.prototype.modulesV2 = $util.emptyArray;
56235
56502
 
56503
+ /**
56504
+ * NixModulesGetRegistryResponse fullModules.
56505
+ * @member {Array.<replit.goval.api.NixModule>} fullModules
56506
+ * @memberof replit.goval.api.NixModulesGetRegistryResponse
56507
+ * @instance
56508
+ */
56509
+ NixModulesGetRegistryResponse.prototype.fullModules = $util.emptyArray;
56510
+
56236
56511
  /**
56237
56512
  * Creates a new NixModulesGetRegistryResponse instance using the specified properties.
56238
56513
  * @function create
@@ -56282,6 +56557,9 @@
56282
56557
  if (message.modulesV2 != null && message.modulesV2.length)
56283
56558
  for (var i = 0; i < message.modulesV2.length; ++i)
56284
56559
  $root.replit.goval.api.NixModulesV2RegistryEntry.encode(message.modulesV2[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
56560
+ if (message.fullModules != null && message.fullModules.length)
56561
+ for (var i = 0; i < message.fullModules.length; ++i)
56562
+ $root.replit.goval.api.NixModule.encode(message.fullModules[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
56285
56563
  return writer;
56286
56564
  };
56287
56565
 
@@ -56392,6 +56670,12 @@
56392
56670
  message.modulesV2.push($root.replit.goval.api.NixModulesV2RegistryEntry.decode(reader, reader.uint32()));
56393
56671
  break;
56394
56672
  }
56673
+ case 8: {
56674
+ if (!(message.fullModules && message.fullModules.length))
56675
+ message.fullModules = [];
56676
+ message.fullModules.push($root.replit.goval.api.NixModule.decode(reader, reader.uint32()));
56677
+ break;
56678
+ }
56395
56679
  default:
56396
56680
  reader.skipType(tag & 7);
56397
56681
  break;
@@ -56492,6 +56776,15 @@
56492
56776
  return "modulesV2." + error;
56493
56777
  }
56494
56778
  }
56779
+ if (message.fullModules != null && message.hasOwnProperty("fullModules")) {
56780
+ if (!Array.isArray(message.fullModules))
56781
+ return "fullModules: array expected";
56782
+ for (var i = 0; i < message.fullModules.length; ++i) {
56783
+ var error = $root.replit.goval.api.NixModule.verify(message.fullModules[i]);
56784
+ if (error)
56785
+ return "fullModules." + error;
56786
+ }
56787
+ }
56495
56788
  return null;
56496
56789
  };
56497
56790
 
@@ -56577,6 +56870,16 @@
56577
56870
  message.modulesV2[i] = $root.replit.goval.api.NixModulesV2RegistryEntry.fromObject(object.modulesV2[i]);
56578
56871
  }
56579
56872
  }
56873
+ if (object.fullModules) {
56874
+ if (!Array.isArray(object.fullModules))
56875
+ throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.fullModules: array expected");
56876
+ message.fullModules = [];
56877
+ for (var i = 0; i < object.fullModules.length; ++i) {
56878
+ if (typeof object.fullModules[i] !== "object")
56879
+ throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.fullModules: object expected");
56880
+ message.fullModules[i] = $root.replit.goval.api.NixModule.fromObject(object.fullModules[i]);
56881
+ }
56882
+ }
56580
56883
  return message;
56581
56884
  };
56582
56885
 
@@ -56599,6 +56902,7 @@
56599
56902
  object.formatters = [];
56600
56903
  object.packagers = [];
56601
56904
  object.modulesV2 = [];
56905
+ object.fullModules = [];
56602
56906
  }
56603
56907
  if (options.objects || options.defaults) {
56604
56908
  object.autoUpgrade = {};
@@ -56640,6 +56944,11 @@
56640
56944
  for (var j = 0; j < message.modulesV2.length; ++j)
56641
56945
  object.modulesV2[j] = $root.replit.goval.api.NixModulesV2RegistryEntry.toObject(message.modulesV2[j], options);
56642
56946
  }
56947
+ if (message.fullModules && message.fullModules.length) {
56948
+ object.fullModules = [];
56949
+ for (var j = 0; j < message.fullModules.length; ++j)
56950
+ object.fullModules[j] = $root.replit.goval.api.NixModule.toObject(message.fullModules[j], options);
56951
+ }
56643
56952
  return object;
56644
56953
  };
56645
56954
 
@@ -62845,6 +63154,7 @@
62845
63154
  * @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] RunOption fileTypeAttrs
62846
63155
  * @property {boolean|null} [interpreter] RunOption interpreter
62847
63156
  * @property {boolean|null} [optionalFileParam] RunOption optionalFileParam
63157
+ * @property {string|null} [displayVersion] RunOption displayVersion
62848
63158
  */
62849
63159
 
62850
63160
  /**
@@ -62917,6 +63227,14 @@
62917
63227
  */
62918
63228
  RunOption.prototype.optionalFileParam = false;
62919
63229
 
63230
+ /**
63231
+ * RunOption displayVersion.
63232
+ * @member {string} displayVersion
63233
+ * @memberof replit.goval.api.RunOption
63234
+ * @instance
63235
+ */
63236
+ RunOption.prototype.displayVersion = "";
63237
+
62920
63238
  /**
62921
63239
  * Creates a new RunOption instance using the specified properties.
62922
63240
  * @function create
@@ -62955,6 +63273,8 @@
62955
63273
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.interpreter);
62956
63274
  if (message.optionalFileParam != null && Object.hasOwnProperty.call(message, "optionalFileParam"))
62957
63275
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.optionalFileParam);
63276
+ if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
63277
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.displayVersion);
62958
63278
  return writer;
62959
63279
  };
62960
63280
 
@@ -63017,6 +63337,10 @@
63017
63337
  message.optionalFileParam = reader.bool();
63018
63338
  break;
63019
63339
  }
63340
+ case 8: {
63341
+ message.displayVersion = reader.string();
63342
+ break;
63343
+ }
63020
63344
  default:
63021
63345
  reader.skipType(tag & 7);
63022
63346
  break;
@@ -63075,6 +63399,9 @@
63075
63399
  if (message.optionalFileParam != null && message.hasOwnProperty("optionalFileParam"))
63076
63400
  if (typeof message.optionalFileParam !== "boolean")
63077
63401
  return "optionalFileParam: boolean expected";
63402
+ if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
63403
+ if (!$util.isString(message.displayVersion))
63404
+ return "displayVersion: string expected";
63078
63405
  return null;
63079
63406
  };
63080
63407
 
@@ -63107,6 +63434,8 @@
63107
63434
  message.interpreter = Boolean(object.interpreter);
63108
63435
  if (object.optionalFileParam != null)
63109
63436
  message.optionalFileParam = Boolean(object.optionalFileParam);
63437
+ if (object.displayVersion != null)
63438
+ message.displayVersion = String(object.displayVersion);
63110
63439
  return message;
63111
63440
  };
63112
63441
 
@@ -63131,6 +63460,7 @@
63131
63460
  object.fileTypeAttrs = null;
63132
63461
  object.interpreter = false;
63133
63462
  object.optionalFileParam = false;
63463
+ object.displayVersion = "";
63134
63464
  }
63135
63465
  if (message.id != null && message.hasOwnProperty("id"))
63136
63466
  object.id = message.id;
@@ -63146,6 +63476,8 @@
63146
63476
  object.interpreter = message.interpreter;
63147
63477
  if (message.optionalFileParam != null && message.hasOwnProperty("optionalFileParam"))
63148
63478
  object.optionalFileParam = message.optionalFileParam;
63479
+ if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
63480
+ object.displayVersion = message.displayVersion;
63149
63481
  return object;
63150
63482
  };
63151
63483
 
@@ -63189,6 +63521,7 @@
63189
63521
  * @property {boolean|null} [fileParam] DebuggerOption fileParam
63190
63522
  * @property {string|null} [language] DebuggerOption language
63191
63523
  * @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] DebuggerOption fileTypeAttrs
63524
+ * @property {string|null} [displayVersion] DebuggerOption displayVersion
63192
63525
  */
63193
63526
 
63194
63527
  /**
@@ -63245,6 +63578,14 @@
63245
63578
  */
63246
63579
  DebuggerOption.prototype.fileTypeAttrs = null;
63247
63580
 
63581
+ /**
63582
+ * DebuggerOption displayVersion.
63583
+ * @member {string} displayVersion
63584
+ * @memberof replit.goval.api.DebuggerOption
63585
+ * @instance
63586
+ */
63587
+ DebuggerOption.prototype.displayVersion = "";
63588
+
63248
63589
  /**
63249
63590
  * Creates a new DebuggerOption instance using the specified properties.
63250
63591
  * @function create
@@ -63279,6 +63620,8 @@
63279
63620
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.language);
63280
63621
  if (message.fileTypeAttrs != null && Object.hasOwnProperty.call(message, "fileTypeAttrs"))
63281
63622
  $root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
63623
+ if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
63624
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.displayVersion);
63282
63625
  return writer;
63283
63626
  };
63284
63627
 
@@ -63333,6 +63676,10 @@
63333
63676
  message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.decode(reader, reader.uint32());
63334
63677
  break;
63335
63678
  }
63679
+ case 6: {
63680
+ message.displayVersion = reader.string();
63681
+ break;
63682
+ }
63336
63683
  default:
63337
63684
  reader.skipType(tag & 7);
63338
63685
  break;
@@ -63385,6 +63732,9 @@
63385
63732
  if (error)
63386
63733
  return "fileTypeAttrs." + error;
63387
63734
  }
63735
+ if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
63736
+ if (!$util.isString(message.displayVersion))
63737
+ return "displayVersion: string expected";
63388
63738
  return null;
63389
63739
  };
63390
63740
 
@@ -63413,6 +63763,8 @@
63413
63763
  throw TypeError(".replit.goval.api.DebuggerOption.fileTypeAttrs: object expected");
63414
63764
  message.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.fromObject(object.fileTypeAttrs);
63415
63765
  }
63766
+ if (object.displayVersion != null)
63767
+ message.displayVersion = String(object.displayVersion);
63416
63768
  return message;
63417
63769
  };
63418
63770
 
@@ -63435,6 +63787,7 @@
63435
63787
  object.fileParam = false;
63436
63788
  object.language = "";
63437
63789
  object.fileTypeAttrs = null;
63790
+ object.displayVersion = "";
63438
63791
  }
63439
63792
  if (message.id != null && message.hasOwnProperty("id"))
63440
63793
  object.id = message.id;
@@ -63446,6 +63799,8 @@
63446
63799
  object.language = message.language;
63447
63800
  if (message.fileTypeAttrs != null && message.hasOwnProperty("fileTypeAttrs"))
63448
63801
  object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
63802
+ if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
63803
+ object.displayVersion = message.displayVersion;
63449
63804
  return object;
63450
63805
  };
63451
63806
 
@@ -86344,238 +86699,2180 @@
86344
86699
  return UnlinkDomainResponse;
86345
86700
  })();
86346
86701
 
86347
- lore.Lore = (function() {
86702
+ lore.ExportReplRequest = (function() {
86348
86703
 
86349
86704
  /**
86350
- * Constructs a new Lore service.
86705
+ * Properties of an ExportReplRequest.
86351
86706
  * @memberof replit.goval.api.lore
86352
- * @classdesc Represents a Lore
86353
- * @extends $protobuf.rpc.Service
86707
+ * @interface IExportReplRequest
86708
+ * @property {string|null} [replId] ExportReplRequest replId
86709
+ */
86710
+
86711
+ /**
86712
+ * Constructs a new ExportReplRequest.
86713
+ * @memberof replit.goval.api.lore
86714
+ * @classdesc Represents an ExportReplRequest.
86354
86715
  * @constructor
86355
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
86356
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
86357
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
86716
+ * @param {replit.goval.api.lore.IExportReplRequest=} [properties] Properties to set
86358
86717
  */
86359
- function Lore(rpcImpl, requestDelimited, responseDelimited) {
86360
- $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
86718
+ function ExportReplRequest(properties) {
86719
+ if (properties)
86720
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
86721
+ if (properties[keys[i]] != null)
86722
+ this[keys[i]] = properties[keys[i]];
86361
86723
  }
86362
86724
 
86363
- (Lore.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = Lore;
86725
+ /**
86726
+ * ExportReplRequest replId.
86727
+ * @member {string} replId
86728
+ * @memberof replit.goval.api.lore.ExportReplRequest
86729
+ * @instance
86730
+ */
86731
+ ExportReplRequest.prototype.replId = "";
86364
86732
 
86365
86733
  /**
86366
- * Creates new Lore service using the specified rpc implementation.
86734
+ * Creates a new ExportReplRequest instance using the specified properties.
86367
86735
  * @function create
86368
- * @memberof replit.goval.api.lore.Lore
86736
+ * @memberof replit.goval.api.lore.ExportReplRequest
86369
86737
  * @static
86370
- * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
86371
- * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
86372
- * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
86373
- * @returns {Lore} RPC service. Useful where requests and/or responses are streamed.
86738
+ * @param {replit.goval.api.lore.IExportReplRequest=} [properties] Properties to set
86739
+ * @returns {replit.goval.api.lore.ExportReplRequest} ExportReplRequest instance
86374
86740
  */
86375
- Lore.create = function create(rpcImpl, requestDelimited, responseDelimited) {
86376
- return new this(rpcImpl, requestDelimited, responseDelimited);
86741
+ ExportReplRequest.create = function create(properties) {
86742
+ return ExportReplRequest.fromObject(properties);
86377
86743
  };
86378
86744
 
86379
86745
  /**
86380
- * Callback as used by {@link replit.goval.api.lore.Lore#createRepl}.
86381
- * @memberof replit.goval.api.lore.Lore
86382
- * @typedef CreateReplCallback
86383
- * @type {function}
86384
- * @param {Error|null} error Error, if any
86385
- * @param {replit.goval.api.lore.CreateReplResponse} [response] CreateReplResponse
86746
+ * Encodes the specified ExportReplRequest message. Does not implicitly {@link replit.goval.api.lore.ExportReplRequest.verify|verify} messages.
86747
+ * @function encode
86748
+ * @memberof replit.goval.api.lore.ExportReplRequest
86749
+ * @static
86750
+ * @param {replit.goval.api.lore.ExportReplRequest} message ExportReplRequest message or plain object to encode
86751
+ * @param {$protobuf.Writer} [writer] Writer to encode to
86752
+ * @returns {$protobuf.Writer} Writer
86386
86753
  */
86754
+ ExportReplRequest.encode = function encode(message, writer) {
86755
+ if (!writer)
86756
+ writer = $Writer.create();
86757
+ if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
86758
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
86759
+ return writer;
86760
+ };
86387
86761
 
86388
86762
  /**
86389
- * Calls CreateRepl.
86390
- * @function createRepl
86391
- * @memberof replit.goval.api.lore.Lore
86392
- * @instance
86393
- * @param {replit.goval.api.lore.CreateReplRequest} request CreateReplRequest message or plain object
86394
- * @param {replit.goval.api.lore.Lore.CreateReplCallback} callback Node-style callback called with the error, if any, and CreateReplResponse
86395
- * @returns {undefined}
86396
- * @variation 1
86763
+ * Encodes the specified ExportReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.ExportReplRequest.verify|verify} messages.
86764
+ * @function encodeDelimited
86765
+ * @memberof replit.goval.api.lore.ExportReplRequest
86766
+ * @static
86767
+ * @param {replit.goval.api.lore.ExportReplRequest} message ExportReplRequest message or plain object to encode
86768
+ * @param {$protobuf.Writer} [writer] Writer to encode to
86769
+ * @returns {$protobuf.Writer} Writer
86397
86770
  */
86398
- Object.defineProperty(Lore.prototype.createRepl = function createRepl(request, callback) {
86399
- return this.rpcCall(createRepl, $root.replit.goval.api.lore.CreateReplRequest, $root.replit.goval.api.lore.CreateReplResponse, request, callback);
86400
- }, "name", { value: "CreateRepl" });
86771
+ ExportReplRequest.encodeDelimited = function encodeDelimited(message, writer) {
86772
+ return this.encode(message, writer).ldelim();
86773
+ };
86401
86774
 
86402
86775
  /**
86403
- * Calls CreateRepl.
86404
- * @function createRepl
86405
- * @memberof replit.goval.api.lore.Lore
86406
- * @instance
86407
- * @param {replit.goval.api.lore.CreateReplRequest} request CreateReplRequest message or plain object
86408
- * @returns {Promise<replit.goval.api.lore.CreateReplResponse>} Promise
86409
- * @variation 2
86776
+ * Decodes an ExportReplRequest message from the specified reader or buffer.
86777
+ * @function decode
86778
+ * @memberof replit.goval.api.lore.ExportReplRequest
86779
+ * @static
86780
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
86781
+ * @param {number} [length] Message length if known beforehand
86782
+ * @returns {replit.goval.api.lore.ExportReplRequest} ExportReplRequest
86783
+ * @throws {Error} If the payload is not a reader or valid buffer
86784
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
86410
86785
  */
86786
+ ExportReplRequest.decode = function decode(reader, length) {
86787
+ if (!(reader instanceof $Reader))
86788
+ reader = $Reader.create(reader);
86789
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.ExportReplRequest();
86790
+ while (reader.pos < end) {
86791
+ var tag = reader.uint32();
86792
+ switch (tag >>> 3) {
86793
+ case 1: {
86794
+ message.replId = reader.string();
86795
+ break;
86796
+ }
86797
+ default:
86798
+ reader.skipType(tag & 7);
86799
+ break;
86800
+ }
86801
+ }
86802
+ return message;
86803
+ };
86411
86804
 
86412
86805
  /**
86413
- * Callback as used by {@link replit.goval.api.lore.Lore#getRepl}.
86414
- * @memberof replit.goval.api.lore.Lore
86415
- * @typedef GetReplCallback
86416
- * @type {function}
86417
- * @param {Error|null} error Error, if any
86418
- * @param {replit.goval.api.lore.GetReplResponse} [response] GetReplResponse
86806
+ * Decodes an ExportReplRequest message from the specified reader or buffer, length delimited.
86807
+ * @function decodeDelimited
86808
+ * @memberof replit.goval.api.lore.ExportReplRequest
86809
+ * @static
86810
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
86811
+ * @returns {replit.goval.api.lore.ExportReplRequest} ExportReplRequest
86812
+ * @throws {Error} If the payload is not a reader or valid buffer
86813
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
86419
86814
  */
86815
+ ExportReplRequest.decodeDelimited = function decodeDelimited(reader) {
86816
+ if (!(reader instanceof $Reader))
86817
+ reader = new $Reader(reader);
86818
+ return this.decode(reader, reader.uint32());
86819
+ };
86420
86820
 
86421
86821
  /**
86422
- * Calls GetRepl.
86423
- * @function getRepl
86424
- * @memberof replit.goval.api.lore.Lore
86425
- * @instance
86426
- * @param {replit.goval.api.lore.GetReplRequest} request GetReplRequest message or plain object
86427
- * @param {replit.goval.api.lore.Lore.GetReplCallback} callback Node-style callback called with the error, if any, and GetReplResponse
86428
- * @returns {undefined}
86429
- * @variation 1
86822
+ * Verifies an ExportReplRequest message.
86823
+ * @function verify
86824
+ * @memberof replit.goval.api.lore.ExportReplRequest
86825
+ * @static
86826
+ * @param {Object.<string,*>} message Plain object to verify
86827
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
86430
86828
  */
86431
- Object.defineProperty(Lore.prototype.getRepl = function getRepl(request, callback) {
86432
- return this.rpcCall(getRepl, $root.replit.goval.api.lore.GetReplRequest, $root.replit.goval.api.lore.GetReplResponse, request, callback);
86433
- }, "name", { value: "GetRepl" });
86829
+ ExportReplRequest.verify = function verify(message) {
86830
+ if (typeof message !== "object" || message === null)
86831
+ return "object expected";
86832
+ if (message.replId != null && message.hasOwnProperty("replId"))
86833
+ if (!$util.isString(message.replId))
86834
+ return "replId: string expected";
86835
+ return null;
86836
+ };
86434
86837
 
86435
86838
  /**
86436
- * Calls GetRepl.
86437
- * @function getRepl
86438
- * @memberof replit.goval.api.lore.Lore
86439
- * @instance
86440
- * @param {replit.goval.api.lore.GetReplRequest} request GetReplRequest message or plain object
86441
- * @returns {Promise<replit.goval.api.lore.GetReplResponse>} Promise
86442
- * @variation 2
86839
+ * Creates an ExportReplRequest message from a plain object. Also converts values to their respective internal types.
86840
+ * @function fromObject
86841
+ * @memberof replit.goval.api.lore.ExportReplRequest
86842
+ * @static
86843
+ * @param {Object.<string,*>} object Plain object
86844
+ * @returns {replit.goval.api.lore.ExportReplRequest} ExportReplRequest
86443
86845
  */
86846
+ ExportReplRequest.fromObject = function fromObject(object) {
86847
+ if (object instanceof $root.replit.goval.api.lore.ExportReplRequest)
86848
+ return object;
86849
+ var message = new $root.replit.goval.api.lore.ExportReplRequest();
86850
+ if (object.replId != null)
86851
+ message.replId = String(object.replId);
86852
+ return message;
86853
+ };
86444
86854
 
86445
86855
  /**
86446
- * Callback as used by {@link replit.goval.api.lore.Lore#getReplConnectionInfo}.
86447
- * @memberof replit.goval.api.lore.Lore
86448
- * @typedef GetReplConnectionInfoCallback
86449
- * @type {function}
86450
- * @param {Error|null} error Error, if any
86451
- * @param {replit.goval.api.lore.GetReplConnectionInfoResponse} [response] GetReplConnectionInfoResponse
86856
+ * Creates a plain object from an ExportReplRequest message. Also converts values to other types if specified.
86857
+ * @function toObject
86858
+ * @memberof replit.goval.api.lore.ExportReplRequest
86859
+ * @static
86860
+ * @param {replit.goval.api.lore.ExportReplRequest} message ExportReplRequest
86861
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
86862
+ * @returns {Object.<string,*>} Plain object
86452
86863
  */
86864
+ ExportReplRequest.toObject = function toObject(message, options) {
86865
+ if (!options)
86866
+ options = {};
86867
+ var object = {};
86868
+ if (options.defaults)
86869
+ object.replId = "";
86870
+ if (message.replId != null && message.hasOwnProperty("replId"))
86871
+ object.replId = message.replId;
86872
+ return object;
86873
+ };
86453
86874
 
86454
86875
  /**
86455
- * Calls GetReplConnectionInfo.
86456
- * @function getReplConnectionInfo
86457
- * @memberof replit.goval.api.lore.Lore
86876
+ * Converts this ExportReplRequest to JSON.
86877
+ * @function toJSON
86878
+ * @memberof replit.goval.api.lore.ExportReplRequest
86458
86879
  * @instance
86459
- * @param {replit.goval.api.lore.GetReplConnectionInfoRequest} request GetReplConnectionInfoRequest message or plain object
86460
- * @param {replit.goval.api.lore.Lore.GetReplConnectionInfoCallback} callback Node-style callback called with the error, if any, and GetReplConnectionInfoResponse
86461
- * @returns {undefined}
86462
- * @variation 1
86880
+ * @returns {Object.<string,*>} JSON object
86463
86881
  */
86464
- Object.defineProperty(Lore.prototype.getReplConnectionInfo = function getReplConnectionInfo(request, callback) {
86465
- return this.rpcCall(getReplConnectionInfo, $root.replit.goval.api.lore.GetReplConnectionInfoRequest, $root.replit.goval.api.lore.GetReplConnectionInfoResponse, request, callback);
86466
- }, "name", { value: "GetReplConnectionInfo" });
86882
+ ExportReplRequest.prototype.toJSON = function toJSON() {
86883
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
86884
+ };
86467
86885
 
86468
86886
  /**
86469
- * Calls GetReplConnectionInfo.
86470
- * @function getReplConnectionInfo
86471
- * @memberof replit.goval.api.lore.Lore
86472
- * @instance
86473
- * @param {replit.goval.api.lore.GetReplConnectionInfoRequest} request GetReplConnectionInfoRequest message or plain object
86474
- * @returns {Promise<replit.goval.api.lore.GetReplConnectionInfoResponse>} Promise
86475
- * @variation 2
86887
+ * Gets the default type url for ExportReplRequest
86888
+ * @function getTypeUrl
86889
+ * @memberof replit.goval.api.lore.ExportReplRequest
86890
+ * @static
86891
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
86892
+ * @returns {string} The default type url
86476
86893
  */
86894
+ ExportReplRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
86895
+ if (typeUrlPrefix === undefined) {
86896
+ typeUrlPrefix = "type.googleapis.com";
86897
+ }
86898
+ return typeUrlPrefix + "/replit.goval.api.lore.ExportReplRequest";
86899
+ };
86477
86900
 
86478
- /**
86479
- * Callback as used by {@link replit.goval.api.lore.Lore#getTransferStatus}.
86480
- * @memberof replit.goval.api.lore.Lore
86481
- * @typedef GetTransferStatusCallback
86482
- * @type {function}
86483
- * @param {Error|null} error Error, if any
86484
- * @param {replit.goval.api.lore.GetTransferStatusResponse} [response] GetTransferStatusResponse
86485
- */
86901
+ return ExportReplRequest;
86902
+ })();
86903
+
86904
+ lore.MargarineBlock = (function() {
86486
86905
 
86487
86906
  /**
86488
- * Calls GetTransferStatus.
86489
- * @function getTransferStatus
86490
- * @memberof replit.goval.api.lore.Lore
86491
- * @instance
86492
- * @param {replit.goval.api.lore.GetTransferStatusRequest} request GetTransferStatusRequest message or plain object
86493
- * @param {replit.goval.api.lore.Lore.GetTransferStatusCallback} callback Node-style callback called with the error, if any, and GetTransferStatusResponse
86494
- * @returns {undefined}
86495
- * @variation 1
86907
+ * Properties of a MargarineBlock.
86908
+ * @memberof replit.goval.api.lore
86909
+ * @interface IMargarineBlock
86910
+ * @property {string|null} [name] MargarineBlock name
86911
+ * @property {number|null} [offset] MargarineBlock offset
86912
+ * @property {string|null} [signedUrl] MargarineBlock signedUrl
86496
86913
  */
86497
- Object.defineProperty(Lore.prototype.getTransferStatus = function getTransferStatus(request, callback) {
86498
- return this.rpcCall(getTransferStatus, $root.replit.goval.api.lore.GetTransferStatusRequest, $root.replit.goval.api.lore.GetTransferStatusResponse, request, callback);
86499
- }, "name", { value: "GetTransferStatus" });
86500
86914
 
86501
86915
  /**
86502
- * Calls GetTransferStatus.
86503
- * @function getTransferStatus
86504
- * @memberof replit.goval.api.lore.Lore
86505
- * @instance
86506
- * @param {replit.goval.api.lore.GetTransferStatusRequest} request GetTransferStatusRequest message or plain object
86507
- * @returns {Promise<replit.goval.api.lore.GetTransferStatusResponse>} Promise
86508
- * @variation 2
86916
+ * Constructs a new MargarineBlock.
86917
+ * @memberof replit.goval.api.lore
86918
+ * @classdesc Represents a MargarineBlock.
86919
+ * @constructor
86920
+ * @param {replit.goval.api.lore.IMargarineBlock=} [properties] Properties to set
86509
86921
  */
86922
+ function MargarineBlock(properties) {
86923
+ if (properties)
86924
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
86925
+ if (properties[keys[i]] != null)
86926
+ this[keys[i]] = properties[keys[i]];
86927
+ }
86510
86928
 
86511
86929
  /**
86512
- * Callback as used by {@link replit.goval.api.lore.Lore#transferRepls}.
86513
- * @memberof replit.goval.api.lore.Lore
86514
- * @typedef TransferReplsCallback
86515
- * @type {function}
86516
- * @param {Error|null} error Error, if any
86517
- * @param {replit.goval.api.lore.TransferReplsResponse} [response] TransferReplsResponse
86930
+ * MargarineBlock name.
86931
+ * @member {string} name
86932
+ * @memberof replit.goval.api.lore.MargarineBlock
86933
+ * @instance
86518
86934
  */
86935
+ MargarineBlock.prototype.name = "";
86519
86936
 
86520
86937
  /**
86521
- * Calls TransferRepls.
86522
- * @function transferRepls
86523
- * @memberof replit.goval.api.lore.Lore
86938
+ * MargarineBlock offset.
86939
+ * @member {number} offset
86940
+ * @memberof replit.goval.api.lore.MargarineBlock
86524
86941
  * @instance
86525
- * @param {replit.goval.api.lore.TransferReplsRequest} request TransferReplsRequest message or plain object
86526
- * @param {replit.goval.api.lore.Lore.TransferReplsCallback} callback Node-style callback called with the error, if any, and TransferReplsResponse
86527
- * @returns {undefined}
86528
- * @variation 1
86529
86942
  */
86530
- Object.defineProperty(Lore.prototype.transferRepls = function transferRepls(request, callback) {
86531
- return this.rpcCall(transferRepls, $root.replit.goval.api.lore.TransferReplsRequest, $root.replit.goval.api.lore.TransferReplsResponse, request, callback);
86532
- }, "name", { value: "TransferRepls" });
86943
+ MargarineBlock.prototype.offset = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
86533
86944
 
86534
86945
  /**
86535
- * Calls TransferRepls.
86536
- * @function transferRepls
86537
- * @memberof replit.goval.api.lore.Lore
86946
+ * MargarineBlock signedUrl.
86947
+ * @member {string} signedUrl
86948
+ * @memberof replit.goval.api.lore.MargarineBlock
86538
86949
  * @instance
86539
- * @param {replit.goval.api.lore.TransferReplsRequest} request TransferReplsRequest message or plain object
86540
- * @returns {Promise<replit.goval.api.lore.TransferReplsResponse>} Promise
86541
- * @variation 2
86542
86950
  */
86951
+ MargarineBlock.prototype.signedUrl = "";
86543
86952
 
86544
86953
  /**
86545
- * Callback as used by {@link replit.goval.api.lore.Lore#transferUser}.
86546
- * @memberof replit.goval.api.lore.Lore
86547
- * @typedef TransferUserCallback
86548
- * @type {function}
86549
- * @param {Error|null} error Error, if any
86550
- * @param {replit.goval.api.lore.TransferUserResponse} [response] TransferUserResponse
86954
+ * Creates a new MargarineBlock instance using the specified properties.
86955
+ * @function create
86956
+ * @memberof replit.goval.api.lore.MargarineBlock
86957
+ * @static
86958
+ * @param {replit.goval.api.lore.IMargarineBlock=} [properties] Properties to set
86959
+ * @returns {replit.goval.api.lore.MargarineBlock} MargarineBlock instance
86551
86960
  */
86961
+ MargarineBlock.create = function create(properties) {
86962
+ return MargarineBlock.fromObject(properties);
86963
+ };
86552
86964
 
86553
86965
  /**
86554
- * Calls TransferUser.
86555
- * @function transferUser
86556
- * @memberof replit.goval.api.lore.Lore
86557
- * @instance
86558
- * @param {replit.goval.api.lore.TransferUserRequest} request TransferUserRequest message or plain object
86559
- * @param {replit.goval.api.lore.Lore.TransferUserCallback} callback Node-style callback called with the error, if any, and TransferUserResponse
86560
- * @returns {undefined}
86561
- * @variation 1
86966
+ * Encodes the specified MargarineBlock message. Does not implicitly {@link replit.goval.api.lore.MargarineBlock.verify|verify} messages.
86967
+ * @function encode
86968
+ * @memberof replit.goval.api.lore.MargarineBlock
86969
+ * @static
86970
+ * @param {replit.goval.api.lore.MargarineBlock} message MargarineBlock message or plain object to encode
86971
+ * @param {$protobuf.Writer} [writer] Writer to encode to
86972
+ * @returns {$protobuf.Writer} Writer
86562
86973
  */
86563
- Object.defineProperty(Lore.prototype.transferUser = function transferUser(request, callback) {
86564
- return this.rpcCall(transferUser, $root.replit.goval.api.lore.TransferUserRequest, $root.replit.goval.api.lore.TransferUserResponse, request, callback);
86565
- }, "name", { value: "TransferUser" });
86974
+ MargarineBlock.encode = function encode(message, writer) {
86975
+ if (!writer)
86976
+ writer = $Writer.create();
86977
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
86978
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
86979
+ if (message.offset != null && Object.hasOwnProperty.call(message, "offset"))
86980
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.offset);
86981
+ if (message.signedUrl != null && Object.hasOwnProperty.call(message, "signedUrl"))
86982
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.signedUrl);
86983
+ return writer;
86984
+ };
86566
86985
 
86567
86986
  /**
86568
- * Calls TransferUser.
86569
- * @function transferUser
86570
- * @memberof replit.goval.api.lore.Lore
86571
- * @instance
86572
- * @param {replit.goval.api.lore.TransferUserRequest} request TransferUserRequest message or plain object
86573
- * @returns {Promise<replit.goval.api.lore.TransferUserResponse>} Promise
86574
- * @variation 2
86987
+ * Encodes the specified MargarineBlock message, length delimited. Does not implicitly {@link replit.goval.api.lore.MargarineBlock.verify|verify} messages.
86988
+ * @function encodeDelimited
86989
+ * @memberof replit.goval.api.lore.MargarineBlock
86990
+ * @static
86991
+ * @param {replit.goval.api.lore.MargarineBlock} message MargarineBlock message or plain object to encode
86992
+ * @param {$protobuf.Writer} [writer] Writer to encode to
86993
+ * @returns {$protobuf.Writer} Writer
86575
86994
  */
86995
+ MargarineBlock.encodeDelimited = function encodeDelimited(message, writer) {
86996
+ return this.encode(message, writer).ldelim();
86997
+ };
86576
86998
 
86577
86999
  /**
86578
- * Callback as used by {@link replit.goval.api.lore.Lore#takedownRepl}.
87000
+ * Decodes a MargarineBlock message from the specified reader or buffer.
87001
+ * @function decode
87002
+ * @memberof replit.goval.api.lore.MargarineBlock
87003
+ * @static
87004
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87005
+ * @param {number} [length] Message length if known beforehand
87006
+ * @returns {replit.goval.api.lore.MargarineBlock} MargarineBlock
87007
+ * @throws {Error} If the payload is not a reader or valid buffer
87008
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87009
+ */
87010
+ MargarineBlock.decode = function decode(reader, length) {
87011
+ if (!(reader instanceof $Reader))
87012
+ reader = $Reader.create(reader);
87013
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.MargarineBlock();
87014
+ while (reader.pos < end) {
87015
+ var tag = reader.uint32();
87016
+ switch (tag >>> 3) {
87017
+ case 1: {
87018
+ message.name = reader.string();
87019
+ break;
87020
+ }
87021
+ case 2: {
87022
+ message.offset = reader.uint64();
87023
+ break;
87024
+ }
87025
+ case 3: {
87026
+ message.signedUrl = reader.string();
87027
+ break;
87028
+ }
87029
+ default:
87030
+ reader.skipType(tag & 7);
87031
+ break;
87032
+ }
87033
+ }
87034
+ return message;
87035
+ };
87036
+
87037
+ /**
87038
+ * Decodes a MargarineBlock message from the specified reader or buffer, length delimited.
87039
+ * @function decodeDelimited
87040
+ * @memberof replit.goval.api.lore.MargarineBlock
87041
+ * @static
87042
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87043
+ * @returns {replit.goval.api.lore.MargarineBlock} MargarineBlock
87044
+ * @throws {Error} If the payload is not a reader or valid buffer
87045
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87046
+ */
87047
+ MargarineBlock.decodeDelimited = function decodeDelimited(reader) {
87048
+ if (!(reader instanceof $Reader))
87049
+ reader = new $Reader(reader);
87050
+ return this.decode(reader, reader.uint32());
87051
+ };
87052
+
87053
+ /**
87054
+ * Verifies a MargarineBlock message.
87055
+ * @function verify
87056
+ * @memberof replit.goval.api.lore.MargarineBlock
87057
+ * @static
87058
+ * @param {Object.<string,*>} message Plain object to verify
87059
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
87060
+ */
87061
+ MargarineBlock.verify = function verify(message) {
87062
+ if (typeof message !== "object" || message === null)
87063
+ return "object expected";
87064
+ if (message.name != null && message.hasOwnProperty("name"))
87065
+ if (!$util.isString(message.name))
87066
+ return "name: string expected";
87067
+ if (message.offset != null && message.hasOwnProperty("offset"))
87068
+ if (!$util.isInteger(message.offset) && !(message.offset && $util.isInteger(message.offset.low) && $util.isInteger(message.offset.high)))
87069
+ return "offset: integer|Long expected";
87070
+ if (message.signedUrl != null && message.hasOwnProperty("signedUrl"))
87071
+ if (!$util.isString(message.signedUrl))
87072
+ return "signedUrl: string expected";
87073
+ return null;
87074
+ };
87075
+
87076
+ /**
87077
+ * Creates a MargarineBlock message from a plain object. Also converts values to their respective internal types.
87078
+ * @function fromObject
87079
+ * @memberof replit.goval.api.lore.MargarineBlock
87080
+ * @static
87081
+ * @param {Object.<string,*>} object Plain object
87082
+ * @returns {replit.goval.api.lore.MargarineBlock} MargarineBlock
87083
+ */
87084
+ MargarineBlock.fromObject = function fromObject(object) {
87085
+ if (object instanceof $root.replit.goval.api.lore.MargarineBlock)
87086
+ return object;
87087
+ var message = new $root.replit.goval.api.lore.MargarineBlock();
87088
+ if (object.name != null)
87089
+ message.name = String(object.name);
87090
+ if (object.offset != null)
87091
+ if ($util.Long)
87092
+ (message.offset = $util.Long.fromValue(object.offset)).unsigned = true;
87093
+ else if (typeof object.offset === "string")
87094
+ message.offset = parseInt(object.offset, 10);
87095
+ else if (typeof object.offset === "number")
87096
+ message.offset = object.offset;
87097
+ else if (typeof object.offset === "object")
87098
+ message.offset = new $util.LongBits(object.offset.low >>> 0, object.offset.high >>> 0).toNumber(true);
87099
+ if (object.signedUrl != null)
87100
+ message.signedUrl = String(object.signedUrl);
87101
+ return message;
87102
+ };
87103
+
87104
+ /**
87105
+ * Creates a plain object from a MargarineBlock message. Also converts values to other types if specified.
87106
+ * @function toObject
87107
+ * @memberof replit.goval.api.lore.MargarineBlock
87108
+ * @static
87109
+ * @param {replit.goval.api.lore.MargarineBlock} message MargarineBlock
87110
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
87111
+ * @returns {Object.<string,*>} Plain object
87112
+ */
87113
+ MargarineBlock.toObject = function toObject(message, options) {
87114
+ if (!options)
87115
+ options = {};
87116
+ var object = {};
87117
+ if (options.defaults) {
87118
+ object.name = "";
87119
+ if ($util.Long) {
87120
+ var long = new $util.Long(0, 0, true);
87121
+ object.offset = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
87122
+ } else
87123
+ object.offset = options.longs === String ? "0" : 0;
87124
+ object.signedUrl = "";
87125
+ }
87126
+ if (message.name != null && message.hasOwnProperty("name"))
87127
+ object.name = message.name;
87128
+ if (message.offset != null && message.hasOwnProperty("offset"))
87129
+ if (typeof message.offset === "number")
87130
+ object.offset = options.longs === String ? String(message.offset) : message.offset;
87131
+ else
87132
+ object.offset = options.longs === String ? $util.Long.prototype.toString.call(message.offset) : options.longs === Number ? new $util.LongBits(message.offset.low >>> 0, message.offset.high >>> 0).toNumber(true) : message.offset;
87133
+ if (message.signedUrl != null && message.hasOwnProperty("signedUrl"))
87134
+ object.signedUrl = message.signedUrl;
87135
+ return object;
87136
+ };
87137
+
87138
+ /**
87139
+ * Converts this MargarineBlock to JSON.
87140
+ * @function toJSON
87141
+ * @memberof replit.goval.api.lore.MargarineBlock
87142
+ * @instance
87143
+ * @returns {Object.<string,*>} JSON object
87144
+ */
87145
+ MargarineBlock.prototype.toJSON = function toJSON() {
87146
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
87147
+ };
87148
+
87149
+ /**
87150
+ * Gets the default type url for MargarineBlock
87151
+ * @function getTypeUrl
87152
+ * @memberof replit.goval.api.lore.MargarineBlock
87153
+ * @static
87154
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
87155
+ * @returns {string} The default type url
87156
+ */
87157
+ MargarineBlock.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
87158
+ if (typeUrlPrefix === undefined) {
87159
+ typeUrlPrefix = "type.googleapis.com";
87160
+ }
87161
+ return typeUrlPrefix + "/replit.goval.api.lore.MargarineBlock";
87162
+ };
87163
+
87164
+ return MargarineBlock;
87165
+ })();
87166
+
87167
+ lore.MargarineExport = (function() {
87168
+
87169
+ /**
87170
+ * Properties of a MargarineExport.
87171
+ * @memberof replit.goval.api.lore
87172
+ * @interface IMargarineExport
87173
+ * @property {Array.<replit.goval.api.lore.MargarineBlock|replit.goval.api.lore.IMargarineBlock>|null} [blocks] MargarineExport blocks
87174
+ */
87175
+
87176
+ /**
87177
+ * Constructs a new MargarineExport.
87178
+ * @memberof replit.goval.api.lore
87179
+ * @classdesc Represents a MargarineExport.
87180
+ * @constructor
87181
+ * @param {replit.goval.api.lore.IMargarineExport=} [properties] Properties to set
87182
+ */
87183
+ function MargarineExport(properties) {
87184
+ this.blocks = [];
87185
+ if (properties)
87186
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
87187
+ if (properties[keys[i]] != null)
87188
+ this[keys[i]] = properties[keys[i]];
87189
+ }
87190
+
87191
+ /**
87192
+ * MargarineExport blocks.
87193
+ * @member {Array.<replit.goval.api.lore.MargarineBlock>} blocks
87194
+ * @memberof replit.goval.api.lore.MargarineExport
87195
+ * @instance
87196
+ */
87197
+ MargarineExport.prototype.blocks = $util.emptyArray;
87198
+
87199
+ /**
87200
+ * Creates a new MargarineExport instance using the specified properties.
87201
+ * @function create
87202
+ * @memberof replit.goval.api.lore.MargarineExport
87203
+ * @static
87204
+ * @param {replit.goval.api.lore.IMargarineExport=} [properties] Properties to set
87205
+ * @returns {replit.goval.api.lore.MargarineExport} MargarineExport instance
87206
+ */
87207
+ MargarineExport.create = function create(properties) {
87208
+ return MargarineExport.fromObject(properties);
87209
+ };
87210
+
87211
+ /**
87212
+ * Encodes the specified MargarineExport message. Does not implicitly {@link replit.goval.api.lore.MargarineExport.verify|verify} messages.
87213
+ * @function encode
87214
+ * @memberof replit.goval.api.lore.MargarineExport
87215
+ * @static
87216
+ * @param {replit.goval.api.lore.MargarineExport} message MargarineExport message or plain object to encode
87217
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87218
+ * @returns {$protobuf.Writer} Writer
87219
+ */
87220
+ MargarineExport.encode = function encode(message, writer) {
87221
+ if (!writer)
87222
+ writer = $Writer.create();
87223
+ if (message.blocks != null && message.blocks.length)
87224
+ for (var i = 0; i < message.blocks.length; ++i)
87225
+ $root.replit.goval.api.lore.MargarineBlock.encode(message.blocks[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
87226
+ return writer;
87227
+ };
87228
+
87229
+ /**
87230
+ * Encodes the specified MargarineExport message, length delimited. Does not implicitly {@link replit.goval.api.lore.MargarineExport.verify|verify} messages.
87231
+ * @function encodeDelimited
87232
+ * @memberof replit.goval.api.lore.MargarineExport
87233
+ * @static
87234
+ * @param {replit.goval.api.lore.MargarineExport} message MargarineExport message or plain object to encode
87235
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87236
+ * @returns {$protobuf.Writer} Writer
87237
+ */
87238
+ MargarineExport.encodeDelimited = function encodeDelimited(message, writer) {
87239
+ return this.encode(message, writer).ldelim();
87240
+ };
87241
+
87242
+ /**
87243
+ * Decodes a MargarineExport message from the specified reader or buffer.
87244
+ * @function decode
87245
+ * @memberof replit.goval.api.lore.MargarineExport
87246
+ * @static
87247
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87248
+ * @param {number} [length] Message length if known beforehand
87249
+ * @returns {replit.goval.api.lore.MargarineExport} MargarineExport
87250
+ * @throws {Error} If the payload is not a reader or valid buffer
87251
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87252
+ */
87253
+ MargarineExport.decode = function decode(reader, length) {
87254
+ if (!(reader instanceof $Reader))
87255
+ reader = $Reader.create(reader);
87256
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.MargarineExport();
87257
+ while (reader.pos < end) {
87258
+ var tag = reader.uint32();
87259
+ switch (tag >>> 3) {
87260
+ case 2: {
87261
+ if (!(message.blocks && message.blocks.length))
87262
+ message.blocks = [];
87263
+ message.blocks.push($root.replit.goval.api.lore.MargarineBlock.decode(reader, reader.uint32()));
87264
+ break;
87265
+ }
87266
+ default:
87267
+ reader.skipType(tag & 7);
87268
+ break;
87269
+ }
87270
+ }
87271
+ return message;
87272
+ };
87273
+
87274
+ /**
87275
+ * Decodes a MargarineExport message from the specified reader or buffer, length delimited.
87276
+ * @function decodeDelimited
87277
+ * @memberof replit.goval.api.lore.MargarineExport
87278
+ * @static
87279
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87280
+ * @returns {replit.goval.api.lore.MargarineExport} MargarineExport
87281
+ * @throws {Error} If the payload is not a reader or valid buffer
87282
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87283
+ */
87284
+ MargarineExport.decodeDelimited = function decodeDelimited(reader) {
87285
+ if (!(reader instanceof $Reader))
87286
+ reader = new $Reader(reader);
87287
+ return this.decode(reader, reader.uint32());
87288
+ };
87289
+
87290
+ /**
87291
+ * Verifies a MargarineExport message.
87292
+ * @function verify
87293
+ * @memberof replit.goval.api.lore.MargarineExport
87294
+ * @static
87295
+ * @param {Object.<string,*>} message Plain object to verify
87296
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
87297
+ */
87298
+ MargarineExport.verify = function verify(message) {
87299
+ if (typeof message !== "object" || message === null)
87300
+ return "object expected";
87301
+ if (message.blocks != null && message.hasOwnProperty("blocks")) {
87302
+ if (!Array.isArray(message.blocks))
87303
+ return "blocks: array expected";
87304
+ for (var i = 0; i < message.blocks.length; ++i) {
87305
+ var error = $root.replit.goval.api.lore.MargarineBlock.verify(message.blocks[i]);
87306
+ if (error)
87307
+ return "blocks." + error;
87308
+ }
87309
+ }
87310
+ return null;
87311
+ };
87312
+
87313
+ /**
87314
+ * Creates a MargarineExport message from a plain object. Also converts values to their respective internal types.
87315
+ * @function fromObject
87316
+ * @memberof replit.goval.api.lore.MargarineExport
87317
+ * @static
87318
+ * @param {Object.<string,*>} object Plain object
87319
+ * @returns {replit.goval.api.lore.MargarineExport} MargarineExport
87320
+ */
87321
+ MargarineExport.fromObject = function fromObject(object) {
87322
+ if (object instanceof $root.replit.goval.api.lore.MargarineExport)
87323
+ return object;
87324
+ var message = new $root.replit.goval.api.lore.MargarineExport();
87325
+ if (object.blocks) {
87326
+ if (!Array.isArray(object.blocks))
87327
+ throw TypeError(".replit.goval.api.lore.MargarineExport.blocks: array expected");
87328
+ message.blocks = [];
87329
+ for (var i = 0; i < object.blocks.length; ++i) {
87330
+ if (typeof object.blocks[i] !== "object")
87331
+ throw TypeError(".replit.goval.api.lore.MargarineExport.blocks: object expected");
87332
+ message.blocks[i] = $root.replit.goval.api.lore.MargarineBlock.fromObject(object.blocks[i]);
87333
+ }
87334
+ }
87335
+ return message;
87336
+ };
87337
+
87338
+ /**
87339
+ * Creates a plain object from a MargarineExport message. Also converts values to other types if specified.
87340
+ * @function toObject
87341
+ * @memberof replit.goval.api.lore.MargarineExport
87342
+ * @static
87343
+ * @param {replit.goval.api.lore.MargarineExport} message MargarineExport
87344
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
87345
+ * @returns {Object.<string,*>} Plain object
87346
+ */
87347
+ MargarineExport.toObject = function toObject(message, options) {
87348
+ if (!options)
87349
+ options = {};
87350
+ var object = {};
87351
+ if (options.arrays || options.defaults)
87352
+ object.blocks = [];
87353
+ if (message.blocks && message.blocks.length) {
87354
+ object.blocks = [];
87355
+ for (var j = 0; j < message.blocks.length; ++j)
87356
+ object.blocks[j] = $root.replit.goval.api.lore.MargarineBlock.toObject(message.blocks[j], options);
87357
+ }
87358
+ return object;
87359
+ };
87360
+
87361
+ /**
87362
+ * Converts this MargarineExport to JSON.
87363
+ * @function toJSON
87364
+ * @memberof replit.goval.api.lore.MargarineExport
87365
+ * @instance
87366
+ * @returns {Object.<string,*>} JSON object
87367
+ */
87368
+ MargarineExport.prototype.toJSON = function toJSON() {
87369
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
87370
+ };
87371
+
87372
+ /**
87373
+ * Gets the default type url for MargarineExport
87374
+ * @function getTypeUrl
87375
+ * @memberof replit.goval.api.lore.MargarineExport
87376
+ * @static
87377
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
87378
+ * @returns {string} The default type url
87379
+ */
87380
+ MargarineExport.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
87381
+ if (typeUrlPrefix === undefined) {
87382
+ typeUrlPrefix = "type.googleapis.com";
87383
+ }
87384
+ return typeUrlPrefix + "/replit.goval.api.lore.MargarineExport";
87385
+ };
87386
+
87387
+ return MargarineExport;
87388
+ })();
87389
+
87390
+ lore.ReplFile = (function() {
87391
+
87392
+ /**
87393
+ * Properties of a ReplFile.
87394
+ * @memberof replit.goval.api.lore
87395
+ * @interface IReplFile
87396
+ * @property {string|null} [path] ReplFile path
87397
+ * @property {string|null} [signedUrl] ReplFile signedUrl
87398
+ */
87399
+
87400
+ /**
87401
+ * Constructs a new ReplFile.
87402
+ * @memberof replit.goval.api.lore
87403
+ * @classdesc Represents a ReplFile.
87404
+ * @constructor
87405
+ * @param {replit.goval.api.lore.IReplFile=} [properties] Properties to set
87406
+ */
87407
+ function ReplFile(properties) {
87408
+ if (properties)
87409
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
87410
+ if (properties[keys[i]] != null)
87411
+ this[keys[i]] = properties[keys[i]];
87412
+ }
87413
+
87414
+ /**
87415
+ * ReplFile path.
87416
+ * @member {string} path
87417
+ * @memberof replit.goval.api.lore.ReplFile
87418
+ * @instance
87419
+ */
87420
+ ReplFile.prototype.path = "";
87421
+
87422
+ /**
87423
+ * ReplFile signedUrl.
87424
+ * @member {string} signedUrl
87425
+ * @memberof replit.goval.api.lore.ReplFile
87426
+ * @instance
87427
+ */
87428
+ ReplFile.prototype.signedUrl = "";
87429
+
87430
+ /**
87431
+ * Creates a new ReplFile instance using the specified properties.
87432
+ * @function create
87433
+ * @memberof replit.goval.api.lore.ReplFile
87434
+ * @static
87435
+ * @param {replit.goval.api.lore.IReplFile=} [properties] Properties to set
87436
+ * @returns {replit.goval.api.lore.ReplFile} ReplFile instance
87437
+ */
87438
+ ReplFile.create = function create(properties) {
87439
+ return ReplFile.fromObject(properties);
87440
+ };
87441
+
87442
+ /**
87443
+ * Encodes the specified ReplFile message. Does not implicitly {@link replit.goval.api.lore.ReplFile.verify|verify} messages.
87444
+ * @function encode
87445
+ * @memberof replit.goval.api.lore.ReplFile
87446
+ * @static
87447
+ * @param {replit.goval.api.lore.ReplFile} message ReplFile message or plain object to encode
87448
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87449
+ * @returns {$protobuf.Writer} Writer
87450
+ */
87451
+ ReplFile.encode = function encode(message, writer) {
87452
+ if (!writer)
87453
+ writer = $Writer.create();
87454
+ if (message.path != null && Object.hasOwnProperty.call(message, "path"))
87455
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.path);
87456
+ if (message.signedUrl != null && Object.hasOwnProperty.call(message, "signedUrl"))
87457
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.signedUrl);
87458
+ return writer;
87459
+ };
87460
+
87461
+ /**
87462
+ * Encodes the specified ReplFile message, length delimited. Does not implicitly {@link replit.goval.api.lore.ReplFile.verify|verify} messages.
87463
+ * @function encodeDelimited
87464
+ * @memberof replit.goval.api.lore.ReplFile
87465
+ * @static
87466
+ * @param {replit.goval.api.lore.ReplFile} message ReplFile message or plain object to encode
87467
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87468
+ * @returns {$protobuf.Writer} Writer
87469
+ */
87470
+ ReplFile.encodeDelimited = function encodeDelimited(message, writer) {
87471
+ return this.encode(message, writer).ldelim();
87472
+ };
87473
+
87474
+ /**
87475
+ * Decodes a ReplFile message from the specified reader or buffer.
87476
+ * @function decode
87477
+ * @memberof replit.goval.api.lore.ReplFile
87478
+ * @static
87479
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87480
+ * @param {number} [length] Message length if known beforehand
87481
+ * @returns {replit.goval.api.lore.ReplFile} ReplFile
87482
+ * @throws {Error} If the payload is not a reader or valid buffer
87483
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87484
+ */
87485
+ ReplFile.decode = function decode(reader, length) {
87486
+ if (!(reader instanceof $Reader))
87487
+ reader = $Reader.create(reader);
87488
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.ReplFile();
87489
+ while (reader.pos < end) {
87490
+ var tag = reader.uint32();
87491
+ switch (tag >>> 3) {
87492
+ case 1: {
87493
+ message.path = reader.string();
87494
+ break;
87495
+ }
87496
+ case 2: {
87497
+ message.signedUrl = reader.string();
87498
+ break;
87499
+ }
87500
+ default:
87501
+ reader.skipType(tag & 7);
87502
+ break;
87503
+ }
87504
+ }
87505
+ return message;
87506
+ };
87507
+
87508
+ /**
87509
+ * Decodes a ReplFile message from the specified reader or buffer, length delimited.
87510
+ * @function decodeDelimited
87511
+ * @memberof replit.goval.api.lore.ReplFile
87512
+ * @static
87513
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87514
+ * @returns {replit.goval.api.lore.ReplFile} ReplFile
87515
+ * @throws {Error} If the payload is not a reader or valid buffer
87516
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87517
+ */
87518
+ ReplFile.decodeDelimited = function decodeDelimited(reader) {
87519
+ if (!(reader instanceof $Reader))
87520
+ reader = new $Reader(reader);
87521
+ return this.decode(reader, reader.uint32());
87522
+ };
87523
+
87524
+ /**
87525
+ * Verifies a ReplFile message.
87526
+ * @function verify
87527
+ * @memberof replit.goval.api.lore.ReplFile
87528
+ * @static
87529
+ * @param {Object.<string,*>} message Plain object to verify
87530
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
87531
+ */
87532
+ ReplFile.verify = function verify(message) {
87533
+ if (typeof message !== "object" || message === null)
87534
+ return "object expected";
87535
+ if (message.path != null && message.hasOwnProperty("path"))
87536
+ if (!$util.isString(message.path))
87537
+ return "path: string expected";
87538
+ if (message.signedUrl != null && message.hasOwnProperty("signedUrl"))
87539
+ if (!$util.isString(message.signedUrl))
87540
+ return "signedUrl: string expected";
87541
+ return null;
87542
+ };
87543
+
87544
+ /**
87545
+ * Creates a ReplFile message from a plain object. Also converts values to their respective internal types.
87546
+ * @function fromObject
87547
+ * @memberof replit.goval.api.lore.ReplFile
87548
+ * @static
87549
+ * @param {Object.<string,*>} object Plain object
87550
+ * @returns {replit.goval.api.lore.ReplFile} ReplFile
87551
+ */
87552
+ ReplFile.fromObject = function fromObject(object) {
87553
+ if (object instanceof $root.replit.goval.api.lore.ReplFile)
87554
+ return object;
87555
+ var message = new $root.replit.goval.api.lore.ReplFile();
87556
+ if (object.path != null)
87557
+ message.path = String(object.path);
87558
+ if (object.signedUrl != null)
87559
+ message.signedUrl = String(object.signedUrl);
87560
+ return message;
87561
+ };
87562
+
87563
+ /**
87564
+ * Creates a plain object from a ReplFile message. Also converts values to other types if specified.
87565
+ * @function toObject
87566
+ * @memberof replit.goval.api.lore.ReplFile
87567
+ * @static
87568
+ * @param {replit.goval.api.lore.ReplFile} message ReplFile
87569
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
87570
+ * @returns {Object.<string,*>} Plain object
87571
+ */
87572
+ ReplFile.toObject = function toObject(message, options) {
87573
+ if (!options)
87574
+ options = {};
87575
+ var object = {};
87576
+ if (options.defaults) {
87577
+ object.path = "";
87578
+ object.signedUrl = "";
87579
+ }
87580
+ if (message.path != null && message.hasOwnProperty("path"))
87581
+ object.path = message.path;
87582
+ if (message.signedUrl != null && message.hasOwnProperty("signedUrl"))
87583
+ object.signedUrl = message.signedUrl;
87584
+ return object;
87585
+ };
87586
+
87587
+ /**
87588
+ * Converts this ReplFile to JSON.
87589
+ * @function toJSON
87590
+ * @memberof replit.goval.api.lore.ReplFile
87591
+ * @instance
87592
+ * @returns {Object.<string,*>} JSON object
87593
+ */
87594
+ ReplFile.prototype.toJSON = function toJSON() {
87595
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
87596
+ };
87597
+
87598
+ /**
87599
+ * Gets the default type url for ReplFile
87600
+ * @function getTypeUrl
87601
+ * @memberof replit.goval.api.lore.ReplFile
87602
+ * @static
87603
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
87604
+ * @returns {string} The default type url
87605
+ */
87606
+ ReplFile.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
87607
+ if (typeUrlPrefix === undefined) {
87608
+ typeUrlPrefix = "type.googleapis.com";
87609
+ }
87610
+ return typeUrlPrefix + "/replit.goval.api.lore.ReplFile";
87611
+ };
87612
+
87613
+ return ReplFile;
87614
+ })();
87615
+
87616
+ lore.ReplExport = (function() {
87617
+
87618
+ /**
87619
+ * Properties of a ReplExport.
87620
+ * @memberof replit.goval.api.lore
87621
+ * @interface IReplExport
87622
+ * @property {Array.<replit.goval.api.lore.ReplFile|replit.goval.api.lore.IReplFile>|null} [files] ReplExport files
87623
+ * @property {replit.goval.api.lore.MargarineExport|replit.goval.api.lore.IMargarineExport|null} [margarineExport] ReplExport margarineExport
87624
+ */
87625
+
87626
+ /**
87627
+ * Constructs a new ReplExport.
87628
+ * @memberof replit.goval.api.lore
87629
+ * @classdesc Represents a ReplExport.
87630
+ * @constructor
87631
+ * @param {replit.goval.api.lore.IReplExport=} [properties] Properties to set
87632
+ */
87633
+ function ReplExport(properties) {
87634
+ this.files = [];
87635
+ if (properties)
87636
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
87637
+ if (properties[keys[i]] != null)
87638
+ this[keys[i]] = properties[keys[i]];
87639
+ }
87640
+
87641
+ /**
87642
+ * ReplExport files.
87643
+ * @member {Array.<replit.goval.api.lore.ReplFile>} files
87644
+ * @memberof replit.goval.api.lore.ReplExport
87645
+ * @instance
87646
+ */
87647
+ ReplExport.prototype.files = $util.emptyArray;
87648
+
87649
+ /**
87650
+ * ReplExport margarineExport.
87651
+ * @member {replit.goval.api.lore.MargarineExport|null|undefined} margarineExport
87652
+ * @memberof replit.goval.api.lore.ReplExport
87653
+ * @instance
87654
+ */
87655
+ ReplExport.prototype.margarineExport = null;
87656
+
87657
+ /**
87658
+ * Creates a new ReplExport instance using the specified properties.
87659
+ * @function create
87660
+ * @memberof replit.goval.api.lore.ReplExport
87661
+ * @static
87662
+ * @param {replit.goval.api.lore.IReplExport=} [properties] Properties to set
87663
+ * @returns {replit.goval.api.lore.ReplExport} ReplExport instance
87664
+ */
87665
+ ReplExport.create = function create(properties) {
87666
+ return ReplExport.fromObject(properties);
87667
+ };
87668
+
87669
+ /**
87670
+ * Encodes the specified ReplExport message. Does not implicitly {@link replit.goval.api.lore.ReplExport.verify|verify} messages.
87671
+ * @function encode
87672
+ * @memberof replit.goval.api.lore.ReplExport
87673
+ * @static
87674
+ * @param {replit.goval.api.lore.ReplExport} message ReplExport message or plain object to encode
87675
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87676
+ * @returns {$protobuf.Writer} Writer
87677
+ */
87678
+ ReplExport.encode = function encode(message, writer) {
87679
+ if (!writer)
87680
+ writer = $Writer.create();
87681
+ if (message.files != null && message.files.length)
87682
+ for (var i = 0; i < message.files.length; ++i)
87683
+ $root.replit.goval.api.lore.ReplFile.encode(message.files[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
87684
+ if (message.margarineExport != null && Object.hasOwnProperty.call(message, "margarineExport"))
87685
+ $root.replit.goval.api.lore.MargarineExport.encode(message.margarineExport, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
87686
+ return writer;
87687
+ };
87688
+
87689
+ /**
87690
+ * Encodes the specified ReplExport message, length delimited. Does not implicitly {@link replit.goval.api.lore.ReplExport.verify|verify} messages.
87691
+ * @function encodeDelimited
87692
+ * @memberof replit.goval.api.lore.ReplExport
87693
+ * @static
87694
+ * @param {replit.goval.api.lore.ReplExport} message ReplExport message or plain object to encode
87695
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87696
+ * @returns {$protobuf.Writer} Writer
87697
+ */
87698
+ ReplExport.encodeDelimited = function encodeDelimited(message, writer) {
87699
+ return this.encode(message, writer).ldelim();
87700
+ };
87701
+
87702
+ /**
87703
+ * Decodes a ReplExport message from the specified reader or buffer.
87704
+ * @function decode
87705
+ * @memberof replit.goval.api.lore.ReplExport
87706
+ * @static
87707
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87708
+ * @param {number} [length] Message length if known beforehand
87709
+ * @returns {replit.goval.api.lore.ReplExport} ReplExport
87710
+ * @throws {Error} If the payload is not a reader or valid buffer
87711
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87712
+ */
87713
+ ReplExport.decode = function decode(reader, length) {
87714
+ if (!(reader instanceof $Reader))
87715
+ reader = $Reader.create(reader);
87716
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.ReplExport();
87717
+ while (reader.pos < end) {
87718
+ var tag = reader.uint32();
87719
+ switch (tag >>> 3) {
87720
+ case 1: {
87721
+ if (!(message.files && message.files.length))
87722
+ message.files = [];
87723
+ message.files.push($root.replit.goval.api.lore.ReplFile.decode(reader, reader.uint32()));
87724
+ break;
87725
+ }
87726
+ case 2: {
87727
+ message.margarineExport = $root.replit.goval.api.lore.MargarineExport.decode(reader, reader.uint32());
87728
+ break;
87729
+ }
87730
+ default:
87731
+ reader.skipType(tag & 7);
87732
+ break;
87733
+ }
87734
+ }
87735
+ return message;
87736
+ };
87737
+
87738
+ /**
87739
+ * Decodes a ReplExport message from the specified reader or buffer, length delimited.
87740
+ * @function decodeDelimited
87741
+ * @memberof replit.goval.api.lore.ReplExport
87742
+ * @static
87743
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87744
+ * @returns {replit.goval.api.lore.ReplExport} ReplExport
87745
+ * @throws {Error} If the payload is not a reader or valid buffer
87746
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87747
+ */
87748
+ ReplExport.decodeDelimited = function decodeDelimited(reader) {
87749
+ if (!(reader instanceof $Reader))
87750
+ reader = new $Reader(reader);
87751
+ return this.decode(reader, reader.uint32());
87752
+ };
87753
+
87754
+ /**
87755
+ * Verifies a ReplExport message.
87756
+ * @function verify
87757
+ * @memberof replit.goval.api.lore.ReplExport
87758
+ * @static
87759
+ * @param {Object.<string,*>} message Plain object to verify
87760
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
87761
+ */
87762
+ ReplExport.verify = function verify(message) {
87763
+ if (typeof message !== "object" || message === null)
87764
+ return "object expected";
87765
+ if (message.files != null && message.hasOwnProperty("files")) {
87766
+ if (!Array.isArray(message.files))
87767
+ return "files: array expected";
87768
+ for (var i = 0; i < message.files.length; ++i) {
87769
+ var error = $root.replit.goval.api.lore.ReplFile.verify(message.files[i]);
87770
+ if (error)
87771
+ return "files." + error;
87772
+ }
87773
+ }
87774
+ if (message.margarineExport != null && message.hasOwnProperty("margarineExport")) {
87775
+ var error = $root.replit.goval.api.lore.MargarineExport.verify(message.margarineExport);
87776
+ if (error)
87777
+ return "margarineExport." + error;
87778
+ }
87779
+ return null;
87780
+ };
87781
+
87782
+ /**
87783
+ * Creates a ReplExport message from a plain object. Also converts values to their respective internal types.
87784
+ * @function fromObject
87785
+ * @memberof replit.goval.api.lore.ReplExport
87786
+ * @static
87787
+ * @param {Object.<string,*>} object Plain object
87788
+ * @returns {replit.goval.api.lore.ReplExport} ReplExport
87789
+ */
87790
+ ReplExport.fromObject = function fromObject(object) {
87791
+ if (object instanceof $root.replit.goval.api.lore.ReplExport)
87792
+ return object;
87793
+ var message = new $root.replit.goval.api.lore.ReplExport();
87794
+ if (object.files) {
87795
+ if (!Array.isArray(object.files))
87796
+ throw TypeError(".replit.goval.api.lore.ReplExport.files: array expected");
87797
+ message.files = [];
87798
+ for (var i = 0; i < object.files.length; ++i) {
87799
+ if (typeof object.files[i] !== "object")
87800
+ throw TypeError(".replit.goval.api.lore.ReplExport.files: object expected");
87801
+ message.files[i] = $root.replit.goval.api.lore.ReplFile.fromObject(object.files[i]);
87802
+ }
87803
+ }
87804
+ if (object.margarineExport != null) {
87805
+ if (typeof object.margarineExport !== "object")
87806
+ throw TypeError(".replit.goval.api.lore.ReplExport.margarineExport: object expected");
87807
+ message.margarineExport = $root.replit.goval.api.lore.MargarineExport.fromObject(object.margarineExport);
87808
+ }
87809
+ return message;
87810
+ };
87811
+
87812
+ /**
87813
+ * Creates a plain object from a ReplExport message. Also converts values to other types if specified.
87814
+ * @function toObject
87815
+ * @memberof replit.goval.api.lore.ReplExport
87816
+ * @static
87817
+ * @param {replit.goval.api.lore.ReplExport} message ReplExport
87818
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
87819
+ * @returns {Object.<string,*>} Plain object
87820
+ */
87821
+ ReplExport.toObject = function toObject(message, options) {
87822
+ if (!options)
87823
+ options = {};
87824
+ var object = {};
87825
+ if (options.arrays || options.defaults)
87826
+ object.files = [];
87827
+ if (options.defaults)
87828
+ object.margarineExport = null;
87829
+ if (message.files && message.files.length) {
87830
+ object.files = [];
87831
+ for (var j = 0; j < message.files.length; ++j)
87832
+ object.files[j] = $root.replit.goval.api.lore.ReplFile.toObject(message.files[j], options);
87833
+ }
87834
+ if (message.margarineExport != null && message.hasOwnProperty("margarineExport"))
87835
+ object.margarineExport = $root.replit.goval.api.lore.MargarineExport.toObject(message.margarineExport, options);
87836
+ return object;
87837
+ };
87838
+
87839
+ /**
87840
+ * Converts this ReplExport to JSON.
87841
+ * @function toJSON
87842
+ * @memberof replit.goval.api.lore.ReplExport
87843
+ * @instance
87844
+ * @returns {Object.<string,*>} JSON object
87845
+ */
87846
+ ReplExport.prototype.toJSON = function toJSON() {
87847
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
87848
+ };
87849
+
87850
+ /**
87851
+ * Gets the default type url for ReplExport
87852
+ * @function getTypeUrl
87853
+ * @memberof replit.goval.api.lore.ReplExport
87854
+ * @static
87855
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
87856
+ * @returns {string} The default type url
87857
+ */
87858
+ ReplExport.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
87859
+ if (typeUrlPrefix === undefined) {
87860
+ typeUrlPrefix = "type.googleapis.com";
87861
+ }
87862
+ return typeUrlPrefix + "/replit.goval.api.lore.ReplExport";
87863
+ };
87864
+
87865
+ return ReplExport;
87866
+ })();
87867
+
87868
+ lore.ExportReplResponse = (function() {
87869
+
87870
+ /**
87871
+ * Properties of an ExportReplResponse.
87872
+ * @memberof replit.goval.api.lore
87873
+ * @interface IExportReplResponse
87874
+ * @property {replit.goval.api.lore.ReplExport|replit.goval.api.lore.IReplExport|null} ["export"] ExportReplResponse export
87875
+ */
87876
+
87877
+ /**
87878
+ * Constructs a new ExportReplResponse.
87879
+ * @memberof replit.goval.api.lore
87880
+ * @classdesc Represents an ExportReplResponse.
87881
+ * @constructor
87882
+ * @param {replit.goval.api.lore.IExportReplResponse=} [properties] Properties to set
87883
+ */
87884
+ function ExportReplResponse(properties) {
87885
+ if (properties)
87886
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
87887
+ if (properties[keys[i]] != null)
87888
+ this[keys[i]] = properties[keys[i]];
87889
+ }
87890
+
87891
+ /**
87892
+ * ExportReplResponse export.
87893
+ * @member {replit.goval.api.lore.ReplExport|null|undefined} export
87894
+ * @memberof replit.goval.api.lore.ExportReplResponse
87895
+ * @instance
87896
+ */
87897
+ ExportReplResponse.prototype["export"] = null;
87898
+
87899
+ /**
87900
+ * Creates a new ExportReplResponse instance using the specified properties.
87901
+ * @function create
87902
+ * @memberof replit.goval.api.lore.ExportReplResponse
87903
+ * @static
87904
+ * @param {replit.goval.api.lore.IExportReplResponse=} [properties] Properties to set
87905
+ * @returns {replit.goval.api.lore.ExportReplResponse} ExportReplResponse instance
87906
+ */
87907
+ ExportReplResponse.create = function create(properties) {
87908
+ return ExportReplResponse.fromObject(properties);
87909
+ };
87910
+
87911
+ /**
87912
+ * Encodes the specified ExportReplResponse message. Does not implicitly {@link replit.goval.api.lore.ExportReplResponse.verify|verify} messages.
87913
+ * @function encode
87914
+ * @memberof replit.goval.api.lore.ExportReplResponse
87915
+ * @static
87916
+ * @param {replit.goval.api.lore.ExportReplResponse} message ExportReplResponse message or plain object to encode
87917
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87918
+ * @returns {$protobuf.Writer} Writer
87919
+ */
87920
+ ExportReplResponse.encode = function encode(message, writer) {
87921
+ if (!writer)
87922
+ writer = $Writer.create();
87923
+ if (message["export"] != null && Object.hasOwnProperty.call(message, "export"))
87924
+ $root.replit.goval.api.lore.ReplExport.encode(message["export"], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
87925
+ return writer;
87926
+ };
87927
+
87928
+ /**
87929
+ * Encodes the specified ExportReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.ExportReplResponse.verify|verify} messages.
87930
+ * @function encodeDelimited
87931
+ * @memberof replit.goval.api.lore.ExportReplResponse
87932
+ * @static
87933
+ * @param {replit.goval.api.lore.ExportReplResponse} message ExportReplResponse message or plain object to encode
87934
+ * @param {$protobuf.Writer} [writer] Writer to encode to
87935
+ * @returns {$protobuf.Writer} Writer
87936
+ */
87937
+ ExportReplResponse.encodeDelimited = function encodeDelimited(message, writer) {
87938
+ return this.encode(message, writer).ldelim();
87939
+ };
87940
+
87941
+ /**
87942
+ * Decodes an ExportReplResponse message from the specified reader or buffer.
87943
+ * @function decode
87944
+ * @memberof replit.goval.api.lore.ExportReplResponse
87945
+ * @static
87946
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87947
+ * @param {number} [length] Message length if known beforehand
87948
+ * @returns {replit.goval.api.lore.ExportReplResponse} ExportReplResponse
87949
+ * @throws {Error} If the payload is not a reader or valid buffer
87950
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87951
+ */
87952
+ ExportReplResponse.decode = function decode(reader, length) {
87953
+ if (!(reader instanceof $Reader))
87954
+ reader = $Reader.create(reader);
87955
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.ExportReplResponse();
87956
+ while (reader.pos < end) {
87957
+ var tag = reader.uint32();
87958
+ switch (tag >>> 3) {
87959
+ case 1: {
87960
+ message["export"] = $root.replit.goval.api.lore.ReplExport.decode(reader, reader.uint32());
87961
+ break;
87962
+ }
87963
+ default:
87964
+ reader.skipType(tag & 7);
87965
+ break;
87966
+ }
87967
+ }
87968
+ return message;
87969
+ };
87970
+
87971
+ /**
87972
+ * Decodes an ExportReplResponse message from the specified reader or buffer, length delimited.
87973
+ * @function decodeDelimited
87974
+ * @memberof replit.goval.api.lore.ExportReplResponse
87975
+ * @static
87976
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
87977
+ * @returns {replit.goval.api.lore.ExportReplResponse} ExportReplResponse
87978
+ * @throws {Error} If the payload is not a reader or valid buffer
87979
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
87980
+ */
87981
+ ExportReplResponse.decodeDelimited = function decodeDelimited(reader) {
87982
+ if (!(reader instanceof $Reader))
87983
+ reader = new $Reader(reader);
87984
+ return this.decode(reader, reader.uint32());
87985
+ };
87986
+
87987
+ /**
87988
+ * Verifies an ExportReplResponse message.
87989
+ * @function verify
87990
+ * @memberof replit.goval.api.lore.ExportReplResponse
87991
+ * @static
87992
+ * @param {Object.<string,*>} message Plain object to verify
87993
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
87994
+ */
87995
+ ExportReplResponse.verify = function verify(message) {
87996
+ if (typeof message !== "object" || message === null)
87997
+ return "object expected";
87998
+ if (message["export"] != null && message.hasOwnProperty("export")) {
87999
+ var error = $root.replit.goval.api.lore.ReplExport.verify(message["export"]);
88000
+ if (error)
88001
+ return "export." + error;
88002
+ }
88003
+ return null;
88004
+ };
88005
+
88006
+ /**
88007
+ * Creates an ExportReplResponse message from a plain object. Also converts values to their respective internal types.
88008
+ * @function fromObject
88009
+ * @memberof replit.goval.api.lore.ExportReplResponse
88010
+ * @static
88011
+ * @param {Object.<string,*>} object Plain object
88012
+ * @returns {replit.goval.api.lore.ExportReplResponse} ExportReplResponse
88013
+ */
88014
+ ExportReplResponse.fromObject = function fromObject(object) {
88015
+ if (object instanceof $root.replit.goval.api.lore.ExportReplResponse)
88016
+ return object;
88017
+ var message = new $root.replit.goval.api.lore.ExportReplResponse();
88018
+ if (object["export"] != null) {
88019
+ if (typeof object["export"] !== "object")
88020
+ throw TypeError(".replit.goval.api.lore.ExportReplResponse.export: object expected");
88021
+ message["export"] = $root.replit.goval.api.lore.ReplExport.fromObject(object["export"]);
88022
+ }
88023
+ return message;
88024
+ };
88025
+
88026
+ /**
88027
+ * Creates a plain object from an ExportReplResponse message. Also converts values to other types if specified.
88028
+ * @function toObject
88029
+ * @memberof replit.goval.api.lore.ExportReplResponse
88030
+ * @static
88031
+ * @param {replit.goval.api.lore.ExportReplResponse} message ExportReplResponse
88032
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
88033
+ * @returns {Object.<string,*>} Plain object
88034
+ */
88035
+ ExportReplResponse.toObject = function toObject(message, options) {
88036
+ if (!options)
88037
+ options = {};
88038
+ var object = {};
88039
+ if (options.defaults)
88040
+ object["export"] = null;
88041
+ if (message["export"] != null && message.hasOwnProperty("export"))
88042
+ object["export"] = $root.replit.goval.api.lore.ReplExport.toObject(message["export"], options);
88043
+ return object;
88044
+ };
88045
+
88046
+ /**
88047
+ * Converts this ExportReplResponse to JSON.
88048
+ * @function toJSON
88049
+ * @memberof replit.goval.api.lore.ExportReplResponse
88050
+ * @instance
88051
+ * @returns {Object.<string,*>} JSON object
88052
+ */
88053
+ ExportReplResponse.prototype.toJSON = function toJSON() {
88054
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
88055
+ };
88056
+
88057
+ /**
88058
+ * Gets the default type url for ExportReplResponse
88059
+ * @function getTypeUrl
88060
+ * @memberof replit.goval.api.lore.ExportReplResponse
88061
+ * @static
88062
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
88063
+ * @returns {string} The default type url
88064
+ */
88065
+ ExportReplResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
88066
+ if (typeUrlPrefix === undefined) {
88067
+ typeUrlPrefix = "type.googleapis.com";
88068
+ }
88069
+ return typeUrlPrefix + "/replit.goval.api.lore.ExportReplResponse";
88070
+ };
88071
+
88072
+ return ExportReplResponse;
88073
+ })();
88074
+
88075
+ lore.ImportReplRequest = (function() {
88076
+
88077
+ /**
88078
+ * Properties of an ImportReplRequest.
88079
+ * @memberof replit.goval.api.lore
88080
+ * @interface IImportReplRequest
88081
+ * @property {string|null} [replId] ImportReplRequest replId
88082
+ * @property {string|null} [username] ImportReplRequest username
88083
+ * @property {string|null} [slug] ImportReplRequest slug
88084
+ * @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] ImportReplRequest replLocation
88085
+ * @property {replit.goval.api.lore.ReplExport|replit.goval.api.lore.IReplExport|null} ["export"] ImportReplRequest export
88086
+ */
88087
+
88088
+ /**
88089
+ * Constructs a new ImportReplRequest.
88090
+ * @memberof replit.goval.api.lore
88091
+ * @classdesc Represents an ImportReplRequest.
88092
+ * @constructor
88093
+ * @param {replit.goval.api.lore.IImportReplRequest=} [properties] Properties to set
88094
+ */
88095
+ function ImportReplRequest(properties) {
88096
+ if (properties)
88097
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
88098
+ if (properties[keys[i]] != null)
88099
+ this[keys[i]] = properties[keys[i]];
88100
+ }
88101
+
88102
+ /**
88103
+ * ImportReplRequest replId.
88104
+ * @member {string} replId
88105
+ * @memberof replit.goval.api.lore.ImportReplRequest
88106
+ * @instance
88107
+ */
88108
+ ImportReplRequest.prototype.replId = "";
88109
+
88110
+ /**
88111
+ * ImportReplRequest username.
88112
+ * @member {string} username
88113
+ * @memberof replit.goval.api.lore.ImportReplRequest
88114
+ * @instance
88115
+ */
88116
+ ImportReplRequest.prototype.username = "";
88117
+
88118
+ /**
88119
+ * ImportReplRequest slug.
88120
+ * @member {string} slug
88121
+ * @memberof replit.goval.api.lore.ImportReplRequest
88122
+ * @instance
88123
+ */
88124
+ ImportReplRequest.prototype.slug = "";
88125
+
88126
+ /**
88127
+ * ImportReplRequest replLocation.
88128
+ * @member {replit.goval.api.lore.ReplLocation|null|undefined} replLocation
88129
+ * @memberof replit.goval.api.lore.ImportReplRequest
88130
+ * @instance
88131
+ */
88132
+ ImportReplRequest.prototype.replLocation = null;
88133
+
88134
+ /**
88135
+ * ImportReplRequest export.
88136
+ * @member {replit.goval.api.lore.ReplExport|null|undefined} export
88137
+ * @memberof replit.goval.api.lore.ImportReplRequest
88138
+ * @instance
88139
+ */
88140
+ ImportReplRequest.prototype["export"] = null;
88141
+
88142
+ /**
88143
+ * Creates a new ImportReplRequest instance using the specified properties.
88144
+ * @function create
88145
+ * @memberof replit.goval.api.lore.ImportReplRequest
88146
+ * @static
88147
+ * @param {replit.goval.api.lore.IImportReplRequest=} [properties] Properties to set
88148
+ * @returns {replit.goval.api.lore.ImportReplRequest} ImportReplRequest instance
88149
+ */
88150
+ ImportReplRequest.create = function create(properties) {
88151
+ return ImportReplRequest.fromObject(properties);
88152
+ };
88153
+
88154
+ /**
88155
+ * Encodes the specified ImportReplRequest message. Does not implicitly {@link replit.goval.api.lore.ImportReplRequest.verify|verify} messages.
88156
+ * @function encode
88157
+ * @memberof replit.goval.api.lore.ImportReplRequest
88158
+ * @static
88159
+ * @param {replit.goval.api.lore.ImportReplRequest} message ImportReplRequest message or plain object to encode
88160
+ * @param {$protobuf.Writer} [writer] Writer to encode to
88161
+ * @returns {$protobuf.Writer} Writer
88162
+ */
88163
+ ImportReplRequest.encode = function encode(message, writer) {
88164
+ if (!writer)
88165
+ writer = $Writer.create();
88166
+ if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
88167
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
88168
+ if (message.username != null && Object.hasOwnProperty.call(message, "username"))
88169
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.username);
88170
+ if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
88171
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
88172
+ if (message.replLocation != null && Object.hasOwnProperty.call(message, "replLocation"))
88173
+ $root.replit.goval.api.lore.ReplLocation.encode(message.replLocation, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
88174
+ if (message["export"] != null && Object.hasOwnProperty.call(message, "export"))
88175
+ $root.replit.goval.api.lore.ReplExport.encode(message["export"], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
88176
+ return writer;
88177
+ };
88178
+
88179
+ /**
88180
+ * Encodes the specified ImportReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.ImportReplRequest.verify|verify} messages.
88181
+ * @function encodeDelimited
88182
+ * @memberof replit.goval.api.lore.ImportReplRequest
88183
+ * @static
88184
+ * @param {replit.goval.api.lore.ImportReplRequest} message ImportReplRequest message or plain object to encode
88185
+ * @param {$protobuf.Writer} [writer] Writer to encode to
88186
+ * @returns {$protobuf.Writer} Writer
88187
+ */
88188
+ ImportReplRequest.encodeDelimited = function encodeDelimited(message, writer) {
88189
+ return this.encode(message, writer).ldelim();
88190
+ };
88191
+
88192
+ /**
88193
+ * Decodes an ImportReplRequest message from the specified reader or buffer.
88194
+ * @function decode
88195
+ * @memberof replit.goval.api.lore.ImportReplRequest
88196
+ * @static
88197
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
88198
+ * @param {number} [length] Message length if known beforehand
88199
+ * @returns {replit.goval.api.lore.ImportReplRequest} ImportReplRequest
88200
+ * @throws {Error} If the payload is not a reader or valid buffer
88201
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88202
+ */
88203
+ ImportReplRequest.decode = function decode(reader, length) {
88204
+ if (!(reader instanceof $Reader))
88205
+ reader = $Reader.create(reader);
88206
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.ImportReplRequest();
88207
+ while (reader.pos < end) {
88208
+ var tag = reader.uint32();
88209
+ switch (tag >>> 3) {
88210
+ case 1: {
88211
+ message.replId = reader.string();
88212
+ break;
88213
+ }
88214
+ case 2: {
88215
+ message.username = reader.string();
88216
+ break;
88217
+ }
88218
+ case 3: {
88219
+ message.slug = reader.string();
88220
+ break;
88221
+ }
88222
+ case 4: {
88223
+ message.replLocation = $root.replit.goval.api.lore.ReplLocation.decode(reader, reader.uint32());
88224
+ break;
88225
+ }
88226
+ case 5: {
88227
+ message["export"] = $root.replit.goval.api.lore.ReplExport.decode(reader, reader.uint32());
88228
+ break;
88229
+ }
88230
+ default:
88231
+ reader.skipType(tag & 7);
88232
+ break;
88233
+ }
88234
+ }
88235
+ return message;
88236
+ };
88237
+
88238
+ /**
88239
+ * Decodes an ImportReplRequest message from the specified reader or buffer, length delimited.
88240
+ * @function decodeDelimited
88241
+ * @memberof replit.goval.api.lore.ImportReplRequest
88242
+ * @static
88243
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
88244
+ * @returns {replit.goval.api.lore.ImportReplRequest} ImportReplRequest
88245
+ * @throws {Error} If the payload is not a reader or valid buffer
88246
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88247
+ */
88248
+ ImportReplRequest.decodeDelimited = function decodeDelimited(reader) {
88249
+ if (!(reader instanceof $Reader))
88250
+ reader = new $Reader(reader);
88251
+ return this.decode(reader, reader.uint32());
88252
+ };
88253
+
88254
+ /**
88255
+ * Verifies an ImportReplRequest message.
88256
+ * @function verify
88257
+ * @memberof replit.goval.api.lore.ImportReplRequest
88258
+ * @static
88259
+ * @param {Object.<string,*>} message Plain object to verify
88260
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
88261
+ */
88262
+ ImportReplRequest.verify = function verify(message) {
88263
+ if (typeof message !== "object" || message === null)
88264
+ return "object expected";
88265
+ if (message.replId != null && message.hasOwnProperty("replId"))
88266
+ if (!$util.isString(message.replId))
88267
+ return "replId: string expected";
88268
+ if (message.username != null && message.hasOwnProperty("username"))
88269
+ if (!$util.isString(message.username))
88270
+ return "username: string expected";
88271
+ if (message.slug != null && message.hasOwnProperty("slug"))
88272
+ if (!$util.isString(message.slug))
88273
+ return "slug: string expected";
88274
+ if (message.replLocation != null && message.hasOwnProperty("replLocation")) {
88275
+ var error = $root.replit.goval.api.lore.ReplLocation.verify(message.replLocation);
88276
+ if (error)
88277
+ return "replLocation." + error;
88278
+ }
88279
+ if (message["export"] != null && message.hasOwnProperty("export")) {
88280
+ var error = $root.replit.goval.api.lore.ReplExport.verify(message["export"]);
88281
+ if (error)
88282
+ return "export." + error;
88283
+ }
88284
+ return null;
88285
+ };
88286
+
88287
+ /**
88288
+ * Creates an ImportReplRequest message from a plain object. Also converts values to their respective internal types.
88289
+ * @function fromObject
88290
+ * @memberof replit.goval.api.lore.ImportReplRequest
88291
+ * @static
88292
+ * @param {Object.<string,*>} object Plain object
88293
+ * @returns {replit.goval.api.lore.ImportReplRequest} ImportReplRequest
88294
+ */
88295
+ ImportReplRequest.fromObject = function fromObject(object) {
88296
+ if (object instanceof $root.replit.goval.api.lore.ImportReplRequest)
88297
+ return object;
88298
+ var message = new $root.replit.goval.api.lore.ImportReplRequest();
88299
+ if (object.replId != null)
88300
+ message.replId = String(object.replId);
88301
+ if (object.username != null)
88302
+ message.username = String(object.username);
88303
+ if (object.slug != null)
88304
+ message.slug = String(object.slug);
88305
+ if (object.replLocation != null) {
88306
+ if (typeof object.replLocation !== "object")
88307
+ throw TypeError(".replit.goval.api.lore.ImportReplRequest.replLocation: object expected");
88308
+ message.replLocation = $root.replit.goval.api.lore.ReplLocation.fromObject(object.replLocation);
88309
+ }
88310
+ if (object["export"] != null) {
88311
+ if (typeof object["export"] !== "object")
88312
+ throw TypeError(".replit.goval.api.lore.ImportReplRequest.export: object expected");
88313
+ message["export"] = $root.replit.goval.api.lore.ReplExport.fromObject(object["export"]);
88314
+ }
88315
+ return message;
88316
+ };
88317
+
88318
+ /**
88319
+ * Creates a plain object from an ImportReplRequest message. Also converts values to other types if specified.
88320
+ * @function toObject
88321
+ * @memberof replit.goval.api.lore.ImportReplRequest
88322
+ * @static
88323
+ * @param {replit.goval.api.lore.ImportReplRequest} message ImportReplRequest
88324
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
88325
+ * @returns {Object.<string,*>} Plain object
88326
+ */
88327
+ ImportReplRequest.toObject = function toObject(message, options) {
88328
+ if (!options)
88329
+ options = {};
88330
+ var object = {};
88331
+ if (options.defaults) {
88332
+ object.replId = "";
88333
+ object.username = "";
88334
+ object.slug = "";
88335
+ object.replLocation = null;
88336
+ object["export"] = null;
88337
+ }
88338
+ if (message.replId != null && message.hasOwnProperty("replId"))
88339
+ object.replId = message.replId;
88340
+ if (message.username != null && message.hasOwnProperty("username"))
88341
+ object.username = message.username;
88342
+ if (message.slug != null && message.hasOwnProperty("slug"))
88343
+ object.slug = message.slug;
88344
+ if (message.replLocation != null && message.hasOwnProperty("replLocation"))
88345
+ object.replLocation = $root.replit.goval.api.lore.ReplLocation.toObject(message.replLocation, options);
88346
+ if (message["export"] != null && message.hasOwnProperty("export"))
88347
+ object["export"] = $root.replit.goval.api.lore.ReplExport.toObject(message["export"], options);
88348
+ return object;
88349
+ };
88350
+
88351
+ /**
88352
+ * Converts this ImportReplRequest to JSON.
88353
+ * @function toJSON
88354
+ * @memberof replit.goval.api.lore.ImportReplRequest
88355
+ * @instance
88356
+ * @returns {Object.<string,*>} JSON object
88357
+ */
88358
+ ImportReplRequest.prototype.toJSON = function toJSON() {
88359
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
88360
+ };
88361
+
88362
+ /**
88363
+ * Gets the default type url for ImportReplRequest
88364
+ * @function getTypeUrl
88365
+ * @memberof replit.goval.api.lore.ImportReplRequest
88366
+ * @static
88367
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
88368
+ * @returns {string} The default type url
88369
+ */
88370
+ ImportReplRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
88371
+ if (typeUrlPrefix === undefined) {
88372
+ typeUrlPrefix = "type.googleapis.com";
88373
+ }
88374
+ return typeUrlPrefix + "/replit.goval.api.lore.ImportReplRequest";
88375
+ };
88376
+
88377
+ return ImportReplRequest;
88378
+ })();
88379
+
88380
+ lore.ImportReplResponse = (function() {
88381
+
88382
+ /**
88383
+ * Properties of an ImportReplResponse.
88384
+ * @memberof replit.goval.api.lore
88385
+ * @interface IImportReplResponse
88386
+ * @property {replit.goval.api.lore.Repl|replit.goval.api.lore.IRepl|null} [repl] ImportReplResponse repl
88387
+ * @property {replit.goval.api.lore.Cluster|replit.goval.api.lore.ICluster|null} [cluster] ImportReplResponse cluster
88388
+ * @property {replit.goval.api.lore.Buckets|replit.goval.api.lore.IBuckets|null} [buckets] ImportReplResponse buckets
88389
+ */
88390
+
88391
+ /**
88392
+ * Constructs a new ImportReplResponse.
88393
+ * @memberof replit.goval.api.lore
88394
+ * @classdesc Represents an ImportReplResponse.
88395
+ * @constructor
88396
+ * @param {replit.goval.api.lore.IImportReplResponse=} [properties] Properties to set
88397
+ */
88398
+ function ImportReplResponse(properties) {
88399
+ if (properties)
88400
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
88401
+ if (properties[keys[i]] != null)
88402
+ this[keys[i]] = properties[keys[i]];
88403
+ }
88404
+
88405
+ /**
88406
+ * ImportReplResponse repl.
88407
+ * @member {replit.goval.api.lore.Repl|null|undefined} repl
88408
+ * @memberof replit.goval.api.lore.ImportReplResponse
88409
+ * @instance
88410
+ */
88411
+ ImportReplResponse.prototype.repl = null;
88412
+
88413
+ /**
88414
+ * ImportReplResponse cluster.
88415
+ * @member {replit.goval.api.lore.Cluster|null|undefined} cluster
88416
+ * @memberof replit.goval.api.lore.ImportReplResponse
88417
+ * @instance
88418
+ */
88419
+ ImportReplResponse.prototype.cluster = null;
88420
+
88421
+ /**
88422
+ * ImportReplResponse buckets.
88423
+ * @member {replit.goval.api.lore.Buckets|null|undefined} buckets
88424
+ * @memberof replit.goval.api.lore.ImportReplResponse
88425
+ * @instance
88426
+ */
88427
+ ImportReplResponse.prototype.buckets = null;
88428
+
88429
+ /**
88430
+ * Creates a new ImportReplResponse instance using the specified properties.
88431
+ * @function create
88432
+ * @memberof replit.goval.api.lore.ImportReplResponse
88433
+ * @static
88434
+ * @param {replit.goval.api.lore.IImportReplResponse=} [properties] Properties to set
88435
+ * @returns {replit.goval.api.lore.ImportReplResponse} ImportReplResponse instance
88436
+ */
88437
+ ImportReplResponse.create = function create(properties) {
88438
+ return ImportReplResponse.fromObject(properties);
88439
+ };
88440
+
88441
+ /**
88442
+ * Encodes the specified ImportReplResponse message. Does not implicitly {@link replit.goval.api.lore.ImportReplResponse.verify|verify} messages.
88443
+ * @function encode
88444
+ * @memberof replit.goval.api.lore.ImportReplResponse
88445
+ * @static
88446
+ * @param {replit.goval.api.lore.ImportReplResponse} message ImportReplResponse message or plain object to encode
88447
+ * @param {$protobuf.Writer} [writer] Writer to encode to
88448
+ * @returns {$protobuf.Writer} Writer
88449
+ */
88450
+ ImportReplResponse.encode = function encode(message, writer) {
88451
+ if (!writer)
88452
+ writer = $Writer.create();
88453
+ if (message.repl != null && Object.hasOwnProperty.call(message, "repl"))
88454
+ $root.replit.goval.api.lore.Repl.encode(message.repl, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
88455
+ if (message.cluster != null && Object.hasOwnProperty.call(message, "cluster"))
88456
+ $root.replit.goval.api.lore.Cluster.encode(message.cluster, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
88457
+ if (message.buckets != null && Object.hasOwnProperty.call(message, "buckets"))
88458
+ $root.replit.goval.api.lore.Buckets.encode(message.buckets, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
88459
+ return writer;
88460
+ };
88461
+
88462
+ /**
88463
+ * Encodes the specified ImportReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.ImportReplResponse.verify|verify} messages.
88464
+ * @function encodeDelimited
88465
+ * @memberof replit.goval.api.lore.ImportReplResponse
88466
+ * @static
88467
+ * @param {replit.goval.api.lore.ImportReplResponse} message ImportReplResponse message or plain object to encode
88468
+ * @param {$protobuf.Writer} [writer] Writer to encode to
88469
+ * @returns {$protobuf.Writer} Writer
88470
+ */
88471
+ ImportReplResponse.encodeDelimited = function encodeDelimited(message, writer) {
88472
+ return this.encode(message, writer).ldelim();
88473
+ };
88474
+
88475
+ /**
88476
+ * Decodes an ImportReplResponse message from the specified reader or buffer.
88477
+ * @function decode
88478
+ * @memberof replit.goval.api.lore.ImportReplResponse
88479
+ * @static
88480
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
88481
+ * @param {number} [length] Message length if known beforehand
88482
+ * @returns {replit.goval.api.lore.ImportReplResponse} ImportReplResponse
88483
+ * @throws {Error} If the payload is not a reader or valid buffer
88484
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88485
+ */
88486
+ ImportReplResponse.decode = function decode(reader, length) {
88487
+ if (!(reader instanceof $Reader))
88488
+ reader = $Reader.create(reader);
88489
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.ImportReplResponse();
88490
+ while (reader.pos < end) {
88491
+ var tag = reader.uint32();
88492
+ switch (tag >>> 3) {
88493
+ case 1: {
88494
+ message.repl = $root.replit.goval.api.lore.Repl.decode(reader, reader.uint32());
88495
+ break;
88496
+ }
88497
+ case 2: {
88498
+ message.cluster = $root.replit.goval.api.lore.Cluster.decode(reader, reader.uint32());
88499
+ break;
88500
+ }
88501
+ case 3: {
88502
+ message.buckets = $root.replit.goval.api.lore.Buckets.decode(reader, reader.uint32());
88503
+ break;
88504
+ }
88505
+ default:
88506
+ reader.skipType(tag & 7);
88507
+ break;
88508
+ }
88509
+ }
88510
+ return message;
88511
+ };
88512
+
88513
+ /**
88514
+ * Decodes an ImportReplResponse message from the specified reader or buffer, length delimited.
88515
+ * @function decodeDelimited
88516
+ * @memberof replit.goval.api.lore.ImportReplResponse
88517
+ * @static
88518
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
88519
+ * @returns {replit.goval.api.lore.ImportReplResponse} ImportReplResponse
88520
+ * @throws {Error} If the payload is not a reader or valid buffer
88521
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88522
+ */
88523
+ ImportReplResponse.decodeDelimited = function decodeDelimited(reader) {
88524
+ if (!(reader instanceof $Reader))
88525
+ reader = new $Reader(reader);
88526
+ return this.decode(reader, reader.uint32());
88527
+ };
88528
+
88529
+ /**
88530
+ * Verifies an ImportReplResponse message.
88531
+ * @function verify
88532
+ * @memberof replit.goval.api.lore.ImportReplResponse
88533
+ * @static
88534
+ * @param {Object.<string,*>} message Plain object to verify
88535
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
88536
+ */
88537
+ ImportReplResponse.verify = function verify(message) {
88538
+ if (typeof message !== "object" || message === null)
88539
+ return "object expected";
88540
+ if (message.repl != null && message.hasOwnProperty("repl")) {
88541
+ var error = $root.replit.goval.api.lore.Repl.verify(message.repl);
88542
+ if (error)
88543
+ return "repl." + error;
88544
+ }
88545
+ if (message.cluster != null && message.hasOwnProperty("cluster")) {
88546
+ var error = $root.replit.goval.api.lore.Cluster.verify(message.cluster);
88547
+ if (error)
88548
+ return "cluster." + error;
88549
+ }
88550
+ if (message.buckets != null && message.hasOwnProperty("buckets")) {
88551
+ var error = $root.replit.goval.api.lore.Buckets.verify(message.buckets);
88552
+ if (error)
88553
+ return "buckets." + error;
88554
+ }
88555
+ return null;
88556
+ };
88557
+
88558
+ /**
88559
+ * Creates an ImportReplResponse message from a plain object. Also converts values to their respective internal types.
88560
+ * @function fromObject
88561
+ * @memberof replit.goval.api.lore.ImportReplResponse
88562
+ * @static
88563
+ * @param {Object.<string,*>} object Plain object
88564
+ * @returns {replit.goval.api.lore.ImportReplResponse} ImportReplResponse
88565
+ */
88566
+ ImportReplResponse.fromObject = function fromObject(object) {
88567
+ if (object instanceof $root.replit.goval.api.lore.ImportReplResponse)
88568
+ return object;
88569
+ var message = new $root.replit.goval.api.lore.ImportReplResponse();
88570
+ if (object.repl != null) {
88571
+ if (typeof object.repl !== "object")
88572
+ throw TypeError(".replit.goval.api.lore.ImportReplResponse.repl: object expected");
88573
+ message.repl = $root.replit.goval.api.lore.Repl.fromObject(object.repl);
88574
+ }
88575
+ if (object.cluster != null) {
88576
+ if (typeof object.cluster !== "object")
88577
+ throw TypeError(".replit.goval.api.lore.ImportReplResponse.cluster: object expected");
88578
+ message.cluster = $root.replit.goval.api.lore.Cluster.fromObject(object.cluster);
88579
+ }
88580
+ if (object.buckets != null) {
88581
+ if (typeof object.buckets !== "object")
88582
+ throw TypeError(".replit.goval.api.lore.ImportReplResponse.buckets: object expected");
88583
+ message.buckets = $root.replit.goval.api.lore.Buckets.fromObject(object.buckets);
88584
+ }
88585
+ return message;
88586
+ };
88587
+
88588
+ /**
88589
+ * Creates a plain object from an ImportReplResponse message. Also converts values to other types if specified.
88590
+ * @function toObject
88591
+ * @memberof replit.goval.api.lore.ImportReplResponse
88592
+ * @static
88593
+ * @param {replit.goval.api.lore.ImportReplResponse} message ImportReplResponse
88594
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
88595
+ * @returns {Object.<string,*>} Plain object
88596
+ */
88597
+ ImportReplResponse.toObject = function toObject(message, options) {
88598
+ if (!options)
88599
+ options = {};
88600
+ var object = {};
88601
+ if (options.defaults) {
88602
+ object.repl = null;
88603
+ object.cluster = null;
88604
+ object.buckets = null;
88605
+ }
88606
+ if (message.repl != null && message.hasOwnProperty("repl"))
88607
+ object.repl = $root.replit.goval.api.lore.Repl.toObject(message.repl, options);
88608
+ if (message.cluster != null && message.hasOwnProperty("cluster"))
88609
+ object.cluster = $root.replit.goval.api.lore.Cluster.toObject(message.cluster, options);
88610
+ if (message.buckets != null && message.hasOwnProperty("buckets"))
88611
+ object.buckets = $root.replit.goval.api.lore.Buckets.toObject(message.buckets, options);
88612
+ return object;
88613
+ };
88614
+
88615
+ /**
88616
+ * Converts this ImportReplResponse to JSON.
88617
+ * @function toJSON
88618
+ * @memberof replit.goval.api.lore.ImportReplResponse
88619
+ * @instance
88620
+ * @returns {Object.<string,*>} JSON object
88621
+ */
88622
+ ImportReplResponse.prototype.toJSON = function toJSON() {
88623
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
88624
+ };
88625
+
88626
+ /**
88627
+ * Gets the default type url for ImportReplResponse
88628
+ * @function getTypeUrl
88629
+ * @memberof replit.goval.api.lore.ImportReplResponse
88630
+ * @static
88631
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
88632
+ * @returns {string} The default type url
88633
+ */
88634
+ ImportReplResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
88635
+ if (typeUrlPrefix === undefined) {
88636
+ typeUrlPrefix = "type.googleapis.com";
88637
+ }
88638
+ return typeUrlPrefix + "/replit.goval.api.lore.ImportReplResponse";
88639
+ };
88640
+
88641
+ return ImportReplResponse;
88642
+ })();
88643
+
88644
+ lore.Lore = (function() {
88645
+
88646
+ /**
88647
+ * Constructs a new Lore service.
88648
+ * @memberof replit.goval.api.lore
88649
+ * @classdesc Represents a Lore
88650
+ * @extends $protobuf.rpc.Service
88651
+ * @constructor
88652
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
88653
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
88654
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
88655
+ */
88656
+ function Lore(rpcImpl, requestDelimited, responseDelimited) {
88657
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
88658
+ }
88659
+
88660
+ (Lore.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = Lore;
88661
+
88662
+ /**
88663
+ * Creates new Lore service using the specified rpc implementation.
88664
+ * @function create
88665
+ * @memberof replit.goval.api.lore.Lore
88666
+ * @static
88667
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
88668
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
88669
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
88670
+ * @returns {Lore} RPC service. Useful where requests and/or responses are streamed.
88671
+ */
88672
+ Lore.create = function create(rpcImpl, requestDelimited, responseDelimited) {
88673
+ return new this(rpcImpl, requestDelimited, responseDelimited);
88674
+ };
88675
+
88676
+ /**
88677
+ * Callback as used by {@link replit.goval.api.lore.Lore#createRepl}.
88678
+ * @memberof replit.goval.api.lore.Lore
88679
+ * @typedef CreateReplCallback
88680
+ * @type {function}
88681
+ * @param {Error|null} error Error, if any
88682
+ * @param {replit.goval.api.lore.CreateReplResponse} [response] CreateReplResponse
88683
+ */
88684
+
88685
+ /**
88686
+ * Calls CreateRepl.
88687
+ * @function createRepl
88688
+ * @memberof replit.goval.api.lore.Lore
88689
+ * @instance
88690
+ * @param {replit.goval.api.lore.CreateReplRequest} request CreateReplRequest message or plain object
88691
+ * @param {replit.goval.api.lore.Lore.CreateReplCallback} callback Node-style callback called with the error, if any, and CreateReplResponse
88692
+ * @returns {undefined}
88693
+ * @variation 1
88694
+ */
88695
+ Object.defineProperty(Lore.prototype.createRepl = function createRepl(request, callback) {
88696
+ return this.rpcCall(createRepl, $root.replit.goval.api.lore.CreateReplRequest, $root.replit.goval.api.lore.CreateReplResponse, request, callback);
88697
+ }, "name", { value: "CreateRepl" });
88698
+
88699
+ /**
88700
+ * Calls CreateRepl.
88701
+ * @function createRepl
88702
+ * @memberof replit.goval.api.lore.Lore
88703
+ * @instance
88704
+ * @param {replit.goval.api.lore.CreateReplRequest} request CreateReplRequest message or plain object
88705
+ * @returns {Promise<replit.goval.api.lore.CreateReplResponse>} Promise
88706
+ * @variation 2
88707
+ */
88708
+
88709
+ /**
88710
+ * Callback as used by {@link replit.goval.api.lore.Lore#getRepl}.
88711
+ * @memberof replit.goval.api.lore.Lore
88712
+ * @typedef GetReplCallback
88713
+ * @type {function}
88714
+ * @param {Error|null} error Error, if any
88715
+ * @param {replit.goval.api.lore.GetReplResponse} [response] GetReplResponse
88716
+ */
88717
+
88718
+ /**
88719
+ * Calls GetRepl.
88720
+ * @function getRepl
88721
+ * @memberof replit.goval.api.lore.Lore
88722
+ * @instance
88723
+ * @param {replit.goval.api.lore.GetReplRequest} request GetReplRequest message or plain object
88724
+ * @param {replit.goval.api.lore.Lore.GetReplCallback} callback Node-style callback called with the error, if any, and GetReplResponse
88725
+ * @returns {undefined}
88726
+ * @variation 1
88727
+ */
88728
+ Object.defineProperty(Lore.prototype.getRepl = function getRepl(request, callback) {
88729
+ return this.rpcCall(getRepl, $root.replit.goval.api.lore.GetReplRequest, $root.replit.goval.api.lore.GetReplResponse, request, callback);
88730
+ }, "name", { value: "GetRepl" });
88731
+
88732
+ /**
88733
+ * Calls GetRepl.
88734
+ * @function getRepl
88735
+ * @memberof replit.goval.api.lore.Lore
88736
+ * @instance
88737
+ * @param {replit.goval.api.lore.GetReplRequest} request GetReplRequest message or plain object
88738
+ * @returns {Promise<replit.goval.api.lore.GetReplResponse>} Promise
88739
+ * @variation 2
88740
+ */
88741
+
88742
+ /**
88743
+ * Callback as used by {@link replit.goval.api.lore.Lore#getReplConnectionInfo}.
88744
+ * @memberof replit.goval.api.lore.Lore
88745
+ * @typedef GetReplConnectionInfoCallback
88746
+ * @type {function}
88747
+ * @param {Error|null} error Error, if any
88748
+ * @param {replit.goval.api.lore.GetReplConnectionInfoResponse} [response] GetReplConnectionInfoResponse
88749
+ */
88750
+
88751
+ /**
88752
+ * Calls GetReplConnectionInfo.
88753
+ * @function getReplConnectionInfo
88754
+ * @memberof replit.goval.api.lore.Lore
88755
+ * @instance
88756
+ * @param {replit.goval.api.lore.GetReplConnectionInfoRequest} request GetReplConnectionInfoRequest message or plain object
88757
+ * @param {replit.goval.api.lore.Lore.GetReplConnectionInfoCallback} callback Node-style callback called with the error, if any, and GetReplConnectionInfoResponse
88758
+ * @returns {undefined}
88759
+ * @variation 1
88760
+ */
88761
+ Object.defineProperty(Lore.prototype.getReplConnectionInfo = function getReplConnectionInfo(request, callback) {
88762
+ return this.rpcCall(getReplConnectionInfo, $root.replit.goval.api.lore.GetReplConnectionInfoRequest, $root.replit.goval.api.lore.GetReplConnectionInfoResponse, request, callback);
88763
+ }, "name", { value: "GetReplConnectionInfo" });
88764
+
88765
+ /**
88766
+ * Calls GetReplConnectionInfo.
88767
+ * @function getReplConnectionInfo
88768
+ * @memberof replit.goval.api.lore.Lore
88769
+ * @instance
88770
+ * @param {replit.goval.api.lore.GetReplConnectionInfoRequest} request GetReplConnectionInfoRequest message or plain object
88771
+ * @returns {Promise<replit.goval.api.lore.GetReplConnectionInfoResponse>} Promise
88772
+ * @variation 2
88773
+ */
88774
+
88775
+ /**
88776
+ * Callback as used by {@link replit.goval.api.lore.Lore#getTransferStatus}.
88777
+ * @memberof replit.goval.api.lore.Lore
88778
+ * @typedef GetTransferStatusCallback
88779
+ * @type {function}
88780
+ * @param {Error|null} error Error, if any
88781
+ * @param {replit.goval.api.lore.GetTransferStatusResponse} [response] GetTransferStatusResponse
88782
+ */
88783
+
88784
+ /**
88785
+ * Calls GetTransferStatus.
88786
+ * @function getTransferStatus
88787
+ * @memberof replit.goval.api.lore.Lore
88788
+ * @instance
88789
+ * @param {replit.goval.api.lore.GetTransferStatusRequest} request GetTransferStatusRequest message or plain object
88790
+ * @param {replit.goval.api.lore.Lore.GetTransferStatusCallback} callback Node-style callback called with the error, if any, and GetTransferStatusResponse
88791
+ * @returns {undefined}
88792
+ * @variation 1
88793
+ */
88794
+ Object.defineProperty(Lore.prototype.getTransferStatus = function getTransferStatus(request, callback) {
88795
+ return this.rpcCall(getTransferStatus, $root.replit.goval.api.lore.GetTransferStatusRequest, $root.replit.goval.api.lore.GetTransferStatusResponse, request, callback);
88796
+ }, "name", { value: "GetTransferStatus" });
88797
+
88798
+ /**
88799
+ * Calls GetTransferStatus.
88800
+ * @function getTransferStatus
88801
+ * @memberof replit.goval.api.lore.Lore
88802
+ * @instance
88803
+ * @param {replit.goval.api.lore.GetTransferStatusRequest} request GetTransferStatusRequest message or plain object
88804
+ * @returns {Promise<replit.goval.api.lore.GetTransferStatusResponse>} Promise
88805
+ * @variation 2
88806
+ */
88807
+
88808
+ /**
88809
+ * Callback as used by {@link replit.goval.api.lore.Lore#transferRepls}.
88810
+ * @memberof replit.goval.api.lore.Lore
88811
+ * @typedef TransferReplsCallback
88812
+ * @type {function}
88813
+ * @param {Error|null} error Error, if any
88814
+ * @param {replit.goval.api.lore.TransferReplsResponse} [response] TransferReplsResponse
88815
+ */
88816
+
88817
+ /**
88818
+ * Calls TransferRepls.
88819
+ * @function transferRepls
88820
+ * @memberof replit.goval.api.lore.Lore
88821
+ * @instance
88822
+ * @param {replit.goval.api.lore.TransferReplsRequest} request TransferReplsRequest message or plain object
88823
+ * @param {replit.goval.api.lore.Lore.TransferReplsCallback} callback Node-style callback called with the error, if any, and TransferReplsResponse
88824
+ * @returns {undefined}
88825
+ * @variation 1
88826
+ */
88827
+ Object.defineProperty(Lore.prototype.transferRepls = function transferRepls(request, callback) {
88828
+ return this.rpcCall(transferRepls, $root.replit.goval.api.lore.TransferReplsRequest, $root.replit.goval.api.lore.TransferReplsResponse, request, callback);
88829
+ }, "name", { value: "TransferRepls" });
88830
+
88831
+ /**
88832
+ * Calls TransferRepls.
88833
+ * @function transferRepls
88834
+ * @memberof replit.goval.api.lore.Lore
88835
+ * @instance
88836
+ * @param {replit.goval.api.lore.TransferReplsRequest} request TransferReplsRequest message or plain object
88837
+ * @returns {Promise<replit.goval.api.lore.TransferReplsResponse>} Promise
88838
+ * @variation 2
88839
+ */
88840
+
88841
+ /**
88842
+ * Callback as used by {@link replit.goval.api.lore.Lore#transferUser}.
88843
+ * @memberof replit.goval.api.lore.Lore
88844
+ * @typedef TransferUserCallback
88845
+ * @type {function}
88846
+ * @param {Error|null} error Error, if any
88847
+ * @param {replit.goval.api.lore.TransferUserResponse} [response] TransferUserResponse
88848
+ */
88849
+
88850
+ /**
88851
+ * Calls TransferUser.
88852
+ * @function transferUser
88853
+ * @memberof replit.goval.api.lore.Lore
88854
+ * @instance
88855
+ * @param {replit.goval.api.lore.TransferUserRequest} request TransferUserRequest message or plain object
88856
+ * @param {replit.goval.api.lore.Lore.TransferUserCallback} callback Node-style callback called with the error, if any, and TransferUserResponse
88857
+ * @returns {undefined}
88858
+ * @variation 1
88859
+ */
88860
+ Object.defineProperty(Lore.prototype.transferUser = function transferUser(request, callback) {
88861
+ return this.rpcCall(transferUser, $root.replit.goval.api.lore.TransferUserRequest, $root.replit.goval.api.lore.TransferUserResponse, request, callback);
88862
+ }, "name", { value: "TransferUser" });
88863
+
88864
+ /**
88865
+ * Calls TransferUser.
88866
+ * @function transferUser
88867
+ * @memberof replit.goval.api.lore.Lore
88868
+ * @instance
88869
+ * @param {replit.goval.api.lore.TransferUserRequest} request TransferUserRequest message or plain object
88870
+ * @returns {Promise<replit.goval.api.lore.TransferUserResponse>} Promise
88871
+ * @variation 2
88872
+ */
88873
+
88874
+ /**
88875
+ * Callback as used by {@link replit.goval.api.lore.Lore#takedownRepl}.
86579
88876
  * @memberof replit.goval.api.lore.Lore
86580
88877
  * @typedef TakedownReplCallback
86581
88878
  * @type {function}
@@ -86838,6 +89135,72 @@
86838
89135
  * @variation 2
86839
89136
  */
86840
89137
 
89138
+ /**
89139
+ * Callback as used by {@link replit.goval.api.lore.Lore#exportRepl}.
89140
+ * @memberof replit.goval.api.lore.Lore
89141
+ * @typedef ExportReplCallback
89142
+ * @type {function}
89143
+ * @param {Error|null} error Error, if any
89144
+ * @param {replit.goval.api.lore.ExportReplResponse} [response] ExportReplResponse
89145
+ */
89146
+
89147
+ /**
89148
+ * Calls ExportRepl.
89149
+ * @function exportRepl
89150
+ * @memberof replit.goval.api.lore.Lore
89151
+ * @instance
89152
+ * @param {replit.goval.api.lore.ExportReplRequest} request ExportReplRequest message or plain object
89153
+ * @param {replit.goval.api.lore.Lore.ExportReplCallback} callback Node-style callback called with the error, if any, and ExportReplResponse
89154
+ * @returns {undefined}
89155
+ * @variation 1
89156
+ */
89157
+ Object.defineProperty(Lore.prototype.exportRepl = function exportRepl(request, callback) {
89158
+ return this.rpcCall(exportRepl, $root.replit.goval.api.lore.ExportReplRequest, $root.replit.goval.api.lore.ExportReplResponse, request, callback);
89159
+ }, "name", { value: "ExportRepl" });
89160
+
89161
+ /**
89162
+ * Calls ExportRepl.
89163
+ * @function exportRepl
89164
+ * @memberof replit.goval.api.lore.Lore
89165
+ * @instance
89166
+ * @param {replit.goval.api.lore.ExportReplRequest} request ExportReplRequest message or plain object
89167
+ * @returns {Promise<replit.goval.api.lore.ExportReplResponse>} Promise
89168
+ * @variation 2
89169
+ */
89170
+
89171
+ /**
89172
+ * Callback as used by {@link replit.goval.api.lore.Lore#importRepl}.
89173
+ * @memberof replit.goval.api.lore.Lore
89174
+ * @typedef ImportReplCallback
89175
+ * @type {function}
89176
+ * @param {Error|null} error Error, if any
89177
+ * @param {replit.goval.api.lore.ImportReplResponse} [response] ImportReplResponse
89178
+ */
89179
+
89180
+ /**
89181
+ * Calls ImportRepl.
89182
+ * @function importRepl
89183
+ * @memberof replit.goval.api.lore.Lore
89184
+ * @instance
89185
+ * @param {replit.goval.api.lore.ImportReplRequest} request ImportReplRequest message or plain object
89186
+ * @param {replit.goval.api.lore.Lore.ImportReplCallback} callback Node-style callback called with the error, if any, and ImportReplResponse
89187
+ * @returns {undefined}
89188
+ * @variation 1
89189
+ */
89190
+ Object.defineProperty(Lore.prototype.importRepl = function importRepl(request, callback) {
89191
+ return this.rpcCall(importRepl, $root.replit.goval.api.lore.ImportReplRequest, $root.replit.goval.api.lore.ImportReplResponse, request, callback);
89192
+ }, "name", { value: "ImportRepl" });
89193
+
89194
+ /**
89195
+ * Calls ImportRepl.
89196
+ * @function importRepl
89197
+ * @memberof replit.goval.api.lore.Lore
89198
+ * @instance
89199
+ * @param {replit.goval.api.lore.ImportReplRequest} request ImportReplRequest message or plain object
89200
+ * @returns {Promise<replit.goval.api.lore.ImportReplResponse>} Promise
89201
+ * @variation 2
89202
+ */
89203
+
86841
89204
  return Lore;
86842
89205
  })();
86843
89206