@replit/protocol 0.2.62 → 0.2.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main/index.js CHANGED
@@ -12548,6 +12548,7 @@
12548
12548
  * Properties of a Flush.
12549
12549
  * @memberof api
12550
12550
  * @interface IFlush
12551
+ * @property {api.Flush.Consistency|null} [consistency] Flush consistency
12551
12552
  */
12552
12553
 
12553
12554
  /**
@@ -12564,6 +12565,14 @@
12564
12565
  this[keys[i]] = properties[keys[i]];
12565
12566
  }
12566
12567
 
12568
+ /**
12569
+ * Flush consistency.
12570
+ * @member {api.Flush.Consistency} consistency
12571
+ * @memberof api.Flush
12572
+ * @instance
12573
+ */
12574
+ Flush.prototype.consistency = 0;
12575
+
12567
12576
  /**
12568
12577
  * Creates a new Flush instance using the specified properties.
12569
12578
  * @function create
@@ -12588,6 +12597,8 @@
12588
12597
  Flush.encode = function encode(message, writer) {
12589
12598
  if (!writer)
12590
12599
  writer = $Writer.create();
12600
+ if (message.consistency != null && Object.hasOwnProperty.call(message, "consistency"))
12601
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.consistency);
12591
12602
  return writer;
12592
12603
  };
12593
12604
 
@@ -12622,6 +12633,9 @@
12622
12633
  while (reader.pos < end) {
12623
12634
  var tag = reader.uint32();
12624
12635
  switch (tag >>> 3) {
12636
+ case 1:
12637
+ message.consistency = reader.int32();
12638
+ break;
12625
12639
  default:
12626
12640
  reader.skipType(tag & 7);
12627
12641
  break;
@@ -12657,6 +12671,14 @@
12657
12671
  Flush.verify = function verify(message) {
12658
12672
  if (typeof message !== "object" || message === null)
12659
12673
  return "object expected";
12674
+ if (message.consistency != null && message.hasOwnProperty("consistency"))
12675
+ switch (message.consistency) {
12676
+ default:
12677
+ return "consistency: enum value expected";
12678
+ case 0:
12679
+ case 1:
12680
+ break;
12681
+ }
12660
12682
  return null;
12661
12683
  };
12662
12684
 
@@ -12671,7 +12693,18 @@
12671
12693
  Flush.fromObject = function fromObject(object) {
12672
12694
  if (object instanceof $root.api.Flush)
12673
12695
  return object;
12674
- return new $root.api.Flush();
12696
+ var message = new $root.api.Flush();
12697
+ switch (object.consistency) {
12698
+ case "PermanentStorage":
12699
+ case 0:
12700
+ message.consistency = 0;
12701
+ break;
12702
+ case "Disk":
12703
+ case 1:
12704
+ message.consistency = 1;
12705
+ break;
12706
+ }
12707
+ return message;
12675
12708
  };
12676
12709
 
12677
12710
  /**
@@ -12683,8 +12716,15 @@
12683
12716
  * @param {$protobuf.IConversionOptions} [options] Conversion options
12684
12717
  * @returns {Object.<string,*>} Plain object
12685
12718
  */
12686
- Flush.toObject = function toObject() {
12687
- return {};
12719
+ Flush.toObject = function toObject(message, options) {
12720
+ if (!options)
12721
+ options = {};
12722
+ var object = {};
12723
+ if (options.defaults)
12724
+ object.consistency = options.enums === String ? "PermanentStorage" : 0;
12725
+ if (message.consistency != null && message.hasOwnProperty("consistency"))
12726
+ object.consistency = options.enums === String ? $root.api.Flush.Consistency[message.consistency] : message.consistency;
12727
+ return object;
12688
12728
  };
12689
12729
 
12690
12730
  /**
@@ -12698,6 +12738,20 @@
12698
12738
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
12699
12739
  };
12700
12740
 
12741
+ /**
12742
+ * Consistency enum.
12743
+ * @name api.Flush.Consistency
12744
+ * @enum {number}
12745
+ * @property {number} PermanentStorage=0 PermanentStorage value
12746
+ * @property {number} Disk=1 Disk value
12747
+ */
12748
+ Flush.Consistency = (function() {
12749
+ var valuesById = {}, values = Object.create(valuesById);
12750
+ values[valuesById[0] = "PermanentStorage"] = 0;
12751
+ values[valuesById[1] = "Disk"] = 1;
12752
+ return values;
12753
+ })();
12754
+
12701
12755
  return Flush;
12702
12756
  })();
12703
12757
 
@@ -27425,6 +27479,9 @@
27425
27479
  * @property {Array.<string>|null} [roles] User roles
27426
27480
  * @property {number|null} [session] User session
27427
27481
  * @property {Array.<string>|null} [teams] User teams
27482
+ * @property {string|null} [bio] User bio
27483
+ * @property {string|null} [url] User url
27484
+ * @property {string|null} [profileImage] User profileImage
27428
27485
  */
27429
27486
 
27430
27487
  /**
@@ -27483,6 +27540,30 @@
27483
27540
  */
27484
27541
  User.prototype.teams = $util.emptyArray;
27485
27542
 
27543
+ /**
27544
+ * User bio.
27545
+ * @member {string} bio
27546
+ * @memberof api.User
27547
+ * @instance
27548
+ */
27549
+ User.prototype.bio = "";
27550
+
27551
+ /**
27552
+ * User url.
27553
+ * @member {string} url
27554
+ * @memberof api.User
27555
+ * @instance
27556
+ */
27557
+ User.prototype.url = "";
27558
+
27559
+ /**
27560
+ * User profileImage.
27561
+ * @member {string} profileImage
27562
+ * @memberof api.User
27563
+ * @instance
27564
+ */
27565
+ User.prototype.profileImage = "";
27566
+
27486
27567
  /**
27487
27568
  * Creates a new User instance using the specified properties.
27488
27569
  * @function create
@@ -27519,6 +27600,12 @@
27519
27600
  if (message.teams != null && message.teams.length)
27520
27601
  for (var i = 0; i < message.teams.length; ++i)
27521
27602
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.teams[i]);
27603
+ if (message.bio != null && Object.hasOwnProperty.call(message, "bio"))
27604
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.bio);
27605
+ if (message.url != null && Object.hasOwnProperty.call(message, "url"))
27606
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.url);
27607
+ if (message.profileImage != null && Object.hasOwnProperty.call(message, "profileImage"))
27608
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.profileImage);
27522
27609
  return writer;
27523
27610
  };
27524
27611
 
@@ -27572,6 +27659,15 @@
27572
27659
  message.teams = [];
27573
27660
  message.teams.push(reader.string());
27574
27661
  break;
27662
+ case 6:
27663
+ message.bio = reader.string();
27664
+ break;
27665
+ case 7:
27666
+ message.url = reader.string();
27667
+ break;
27668
+ case 8:
27669
+ message.profileImage = reader.string();
27670
+ break;
27575
27671
  default:
27576
27672
  reader.skipType(tag & 7);
27577
27673
  break;
@@ -27630,6 +27726,15 @@
27630
27726
  if (!$util.isString(message.teams[i]))
27631
27727
  return "teams: string[] expected";
27632
27728
  }
27729
+ if (message.bio != null && message.hasOwnProperty("bio"))
27730
+ if (!$util.isString(message.bio))
27731
+ return "bio: string expected";
27732
+ if (message.url != null && message.hasOwnProperty("url"))
27733
+ if (!$util.isString(message.url))
27734
+ return "url: string expected";
27735
+ if (message.profileImage != null && message.hasOwnProperty("profileImage"))
27736
+ if (!$util.isString(message.profileImage))
27737
+ return "profileImage: string expected";
27633
27738
  return null;
27634
27739
  };
27635
27740
 
@@ -27665,6 +27770,12 @@
27665
27770
  for (var i = 0; i < object.teams.length; ++i)
27666
27771
  message.teams[i] = String(object.teams[i]);
27667
27772
  }
27773
+ if (object.bio != null)
27774
+ message.bio = String(object.bio);
27775
+ if (object.url != null)
27776
+ message.url = String(object.url);
27777
+ if (object.profileImage != null)
27778
+ message.profileImage = String(object.profileImage);
27668
27779
  return message;
27669
27780
  };
27670
27781
 
@@ -27689,6 +27800,9 @@
27689
27800
  object.id = 0;
27690
27801
  object.name = "";
27691
27802
  object.session = 0;
27803
+ object.bio = "";
27804
+ object.url = "";
27805
+ object.profileImage = "";
27692
27806
  }
27693
27807
  if (message.id != null && message.hasOwnProperty("id"))
27694
27808
  object.id = message.id;
@@ -27706,6 +27820,12 @@
27706
27820
  for (var j = 0; j < message.teams.length; ++j)
27707
27821
  object.teams[j] = message.teams[j];
27708
27822
  }
27823
+ if (message.bio != null && message.hasOwnProperty("bio"))
27824
+ object.bio = message.bio;
27825
+ if (message.url != null && message.hasOwnProperty("url"))
27826
+ object.url = message.url;
27827
+ if (message.profileImage != null && message.hasOwnProperty("profileImage"))
27828
+ object.profileImage = message.profileImage;
27709
27829
  return object;
27710
27830
  };
27711
27831
 
@@ -38639,6 +38759,9 @@
38639
38759
  * @property {Object.<string,string>|null} [env] DotReplit env
38640
38760
  * @property {api.GitHubImportConfig|api.IGitHubImportConfig|null} [gitHubImport] DotReplit gitHubImport
38641
38761
  * @property {api.AuthConfig|api.IAuthConfig|null} [auth] DotReplit auth
38762
+ * @property {Array.<api.DotReplitHint|api.IDotReplitHint>|null} [hintsList] DotReplit hintsList
38763
+ * @property {Array.<api.DotReplitPort|api.IDotReplitPort>|null} [ports] DotReplit ports
38764
+ * @property {Array.<api.DotReplitEnvVar|api.IDotReplitEnvVar>|null} [orderedEnv] DotReplit orderedEnv
38642
38765
  */
38643
38766
 
38644
38767
  /**
@@ -38652,6 +38775,9 @@
38652
38775
  this.languages = {};
38653
38776
  this.hidden = [];
38654
38777
  this.env = {};
38778
+ this.hintsList = [];
38779
+ this.ports = [];
38780
+ this.orderedEnv = [];
38655
38781
  if (properties)
38656
38782
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
38657
38783
  if (properties[keys[i]] != null)
@@ -38794,6 +38920,30 @@
38794
38920
  */
38795
38921
  DotReplit.prototype.auth = null;
38796
38922
 
38923
+ /**
38924
+ * DotReplit hintsList.
38925
+ * @member {Array.<api.DotReplitHint>} hintsList
38926
+ * @memberof api.DotReplit
38927
+ * @instance
38928
+ */
38929
+ DotReplit.prototype.hintsList = $util.emptyArray;
38930
+
38931
+ /**
38932
+ * DotReplit ports.
38933
+ * @member {Array.<api.DotReplitPort>} ports
38934
+ * @memberof api.DotReplit
38935
+ * @instance
38936
+ */
38937
+ DotReplit.prototype.ports = $util.emptyArray;
38938
+
38939
+ /**
38940
+ * DotReplit orderedEnv.
38941
+ * @member {Array.<api.DotReplitEnvVar>} orderedEnv
38942
+ * @memberof api.DotReplit
38943
+ * @instance
38944
+ */
38945
+ DotReplit.prototype.orderedEnv = $util.emptyArray;
38946
+
38797
38947
  /**
38798
38948
  * Creates a new DotReplit instance using the specified properties.
38799
38949
  * @function create
@@ -38857,6 +39007,15 @@
38857
39007
  $root.api.GitHubImportConfig.encode(message.gitHubImport, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
38858
39008
  if (message.auth != null && Object.hasOwnProperty.call(message, "auth"))
38859
39009
  $root.api.AuthConfig.encode(message.auth, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
39010
+ if (message.hintsList != null && message.hintsList.length)
39011
+ for (var i = 0; i < message.hintsList.length; ++i)
39012
+ $root.api.DotReplitHint.encode(message.hintsList[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
39013
+ if (message.ports != null && message.ports.length)
39014
+ for (var i = 0; i < message.ports.length; ++i)
39015
+ $root.api.DotReplitPort.encode(message.ports[i], writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
39016
+ if (message.orderedEnv != null && message.orderedEnv.length)
39017
+ for (var i = 0; i < message.orderedEnv.length; ++i)
39018
+ $root.api.DotReplitEnvVar.encode(message.orderedEnv[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
38860
39019
  return writer;
38861
39020
  };
38862
39021
 
@@ -38982,6 +39141,21 @@
38982
39141
  case 17:
38983
39142
  message.auth = $root.api.AuthConfig.decode(reader, reader.uint32());
38984
39143
  break;
39144
+ case 18:
39145
+ if (!(message.hintsList && message.hintsList.length))
39146
+ message.hintsList = [];
39147
+ message.hintsList.push($root.api.DotReplitHint.decode(reader, reader.uint32()));
39148
+ break;
39149
+ case 19:
39150
+ if (!(message.ports && message.ports.length))
39151
+ message.ports = [];
39152
+ message.ports.push($root.api.DotReplitPort.decode(reader, reader.uint32()));
39153
+ break;
39154
+ case 20:
39155
+ if (!(message.orderedEnv && message.orderedEnv.length))
39156
+ message.orderedEnv = [];
39157
+ message.orderedEnv.push($root.api.DotReplitEnvVar.decode(reader, reader.uint32()));
39158
+ break;
38985
39159
  default:
38986
39160
  reader.skipType(tag & 7);
38987
39161
  break;
@@ -39106,6 +39280,33 @@
39106
39280
  if (error)
39107
39281
  return "auth." + error;
39108
39282
  }
39283
+ if (message.hintsList != null && message.hasOwnProperty("hintsList")) {
39284
+ if (!Array.isArray(message.hintsList))
39285
+ return "hintsList: array expected";
39286
+ for (var i = 0; i < message.hintsList.length; ++i) {
39287
+ var error = $root.api.DotReplitHint.verify(message.hintsList[i]);
39288
+ if (error)
39289
+ return "hintsList." + error;
39290
+ }
39291
+ }
39292
+ if (message.ports != null && message.hasOwnProperty("ports")) {
39293
+ if (!Array.isArray(message.ports))
39294
+ return "ports: array expected";
39295
+ for (var i = 0; i < message.ports.length; ++i) {
39296
+ var error = $root.api.DotReplitPort.verify(message.ports[i]);
39297
+ if (error)
39298
+ return "ports." + error;
39299
+ }
39300
+ }
39301
+ if (message.orderedEnv != null && message.hasOwnProperty("orderedEnv")) {
39302
+ if (!Array.isArray(message.orderedEnv))
39303
+ return "orderedEnv: array expected";
39304
+ for (var i = 0; i < message.orderedEnv.length; ++i) {
39305
+ var error = $root.api.DotReplitEnvVar.verify(message.orderedEnv[i]);
39306
+ if (error)
39307
+ return "orderedEnv." + error;
39308
+ }
39309
+ }
39109
39310
  return null;
39110
39311
  };
39111
39312
 
@@ -39206,6 +39407,36 @@
39206
39407
  throw TypeError(".api.DotReplit.auth: object expected");
39207
39408
  message.auth = $root.api.AuthConfig.fromObject(object.auth);
39208
39409
  }
39410
+ if (object.hintsList) {
39411
+ if (!Array.isArray(object.hintsList))
39412
+ throw TypeError(".api.DotReplit.hintsList: array expected");
39413
+ message.hintsList = [];
39414
+ for (var i = 0; i < object.hintsList.length; ++i) {
39415
+ if (typeof object.hintsList[i] !== "object")
39416
+ throw TypeError(".api.DotReplit.hintsList: object expected");
39417
+ message.hintsList[i] = $root.api.DotReplitHint.fromObject(object.hintsList[i]);
39418
+ }
39419
+ }
39420
+ if (object.ports) {
39421
+ if (!Array.isArray(object.ports))
39422
+ throw TypeError(".api.DotReplit.ports: array expected");
39423
+ message.ports = [];
39424
+ for (var i = 0; i < object.ports.length; ++i) {
39425
+ if (typeof object.ports[i] !== "object")
39426
+ throw TypeError(".api.DotReplit.ports: object expected");
39427
+ message.ports[i] = $root.api.DotReplitPort.fromObject(object.ports[i]);
39428
+ }
39429
+ }
39430
+ if (object.orderedEnv) {
39431
+ if (!Array.isArray(object.orderedEnv))
39432
+ throw TypeError(".api.DotReplit.orderedEnv: array expected");
39433
+ message.orderedEnv = [];
39434
+ for (var i = 0; i < object.orderedEnv.length; ++i) {
39435
+ if (typeof object.orderedEnv[i] !== "object")
39436
+ throw TypeError(".api.DotReplit.orderedEnv: object expected");
39437
+ message.orderedEnv[i] = $root.api.DotReplitEnvVar.fromObject(object.orderedEnv[i]);
39438
+ }
39439
+ }
39209
39440
  return message;
39210
39441
  };
39211
39442
 
@@ -39222,8 +39453,12 @@
39222
39453
  if (!options)
39223
39454
  options = {};
39224
39455
  var object = {};
39225
- if (options.arrays || options.defaults)
39456
+ if (options.arrays || options.defaults) {
39226
39457
  object.hidden = [];
39458
+ object.hintsList = [];
39459
+ object.ports = [];
39460
+ object.orderedEnv = [];
39461
+ }
39227
39462
  if (options.objects || options.defaults) {
39228
39463
  object.languages = {};
39229
39464
  object.env = {};
@@ -39288,6 +39523,21 @@
39288
39523
  object.gitHubImport = $root.api.GitHubImportConfig.toObject(message.gitHubImport, options);
39289
39524
  if (message.auth != null && message.hasOwnProperty("auth"))
39290
39525
  object.auth = $root.api.AuthConfig.toObject(message.auth, options);
39526
+ if (message.hintsList && message.hintsList.length) {
39527
+ object.hintsList = [];
39528
+ for (var j = 0; j < message.hintsList.length; ++j)
39529
+ object.hintsList[j] = $root.api.DotReplitHint.toObject(message.hintsList[j], options);
39530
+ }
39531
+ if (message.ports && message.ports.length) {
39532
+ object.ports = [];
39533
+ for (var j = 0; j < message.ports.length; ++j)
39534
+ object.ports[j] = $root.api.DotReplitPort.toObject(message.ports[j], options);
39535
+ }
39536
+ if (message.orderedEnv && message.orderedEnv.length) {
39537
+ object.orderedEnv = [];
39538
+ for (var j = 0; j < message.orderedEnv.length; ++j)
39539
+ object.orderedEnv[j] = $root.api.DotReplitEnvVar.toObject(message.orderedEnv[j], options);
39540
+ }
39291
39541
  return object;
39292
39542
  };
39293
39543
 
@@ -39305,24 +39555,24 @@
39305
39555
  return DotReplit;
39306
39556
  })();
39307
39557
 
39308
- api.GitHubImportConfig = (function() {
39558
+ api.DotReplitEnvVar = (function() {
39309
39559
 
39310
39560
  /**
39311
- * Properties of a GitHubImportConfig.
39561
+ * Properties of a DotReplitEnvVar.
39312
39562
  * @memberof api
39313
- * @interface IGitHubImportConfig
39314
- * @property {Array.<string>|null} [RequiredFiles] GitHubImportConfig RequiredFiles
39563
+ * @interface IDotReplitEnvVar
39564
+ * @property {string|null} [key] DotReplitEnvVar key
39565
+ * @property {string|null} [value] DotReplitEnvVar value
39315
39566
  */
39316
39567
 
39317
39568
  /**
39318
- * Constructs a new GitHubImportConfig.
39569
+ * Constructs a new DotReplitEnvVar.
39319
39570
  * @memberof api
39320
- * @classdesc Represents a GitHubImportConfig.
39571
+ * @classdesc Represents a DotReplitEnvVar.
39321
39572
  * @constructor
39322
- * @param {api.IGitHubImportConfig=} [properties] Properties to set
39573
+ * @param {api.IDotReplitEnvVar=} [properties] Properties to set
39323
39574
  */
39324
- function GitHubImportConfig(properties) {
39325
- this.RequiredFiles = [];
39575
+ function DotReplitEnvVar(properties) {
39326
39576
  if (properties)
39327
39577
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39328
39578
  if (properties[keys[i]] != null)
@@ -39330,78 +39580,88 @@
39330
39580
  }
39331
39581
 
39332
39582
  /**
39333
- * GitHubImportConfig RequiredFiles.
39334
- * @member {Array.<string>} RequiredFiles
39335
- * @memberof api.GitHubImportConfig
39583
+ * DotReplitEnvVar key.
39584
+ * @member {string} key
39585
+ * @memberof api.DotReplitEnvVar
39336
39586
  * @instance
39337
39587
  */
39338
- GitHubImportConfig.prototype.RequiredFiles = $util.emptyArray;
39588
+ DotReplitEnvVar.prototype.key = "";
39339
39589
 
39340
39590
  /**
39341
- * Creates a new GitHubImportConfig instance using the specified properties.
39591
+ * DotReplitEnvVar value.
39592
+ * @member {string} value
39593
+ * @memberof api.DotReplitEnvVar
39594
+ * @instance
39595
+ */
39596
+ DotReplitEnvVar.prototype.value = "";
39597
+
39598
+ /**
39599
+ * Creates a new DotReplitEnvVar instance using the specified properties.
39342
39600
  * @function create
39343
- * @memberof api.GitHubImportConfig
39601
+ * @memberof api.DotReplitEnvVar
39344
39602
  * @static
39345
- * @param {api.IGitHubImportConfig=} [properties] Properties to set
39346
- * @returns {api.GitHubImportConfig} GitHubImportConfig instance
39603
+ * @param {api.IDotReplitEnvVar=} [properties] Properties to set
39604
+ * @returns {api.DotReplitEnvVar} DotReplitEnvVar instance
39347
39605
  */
39348
- GitHubImportConfig.create = function create(properties) {
39349
- return GitHubImportConfig.fromObject(properties);
39606
+ DotReplitEnvVar.create = function create(properties) {
39607
+ return DotReplitEnvVar.fromObject(properties);
39350
39608
  };
39351
39609
 
39352
39610
  /**
39353
- * Encodes the specified GitHubImportConfig message. Does not implicitly {@link api.GitHubImportConfig.verify|verify} messages.
39611
+ * Encodes the specified DotReplitEnvVar message. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
39354
39612
  * @function encode
39355
- * @memberof api.GitHubImportConfig
39613
+ * @memberof api.DotReplitEnvVar
39356
39614
  * @static
39357
- * @param {api.GitHubImportConfig} message GitHubImportConfig message or plain object to encode
39615
+ * @param {api.DotReplitEnvVar} message DotReplitEnvVar message or plain object to encode
39358
39616
  * @param {$protobuf.Writer} [writer] Writer to encode to
39359
39617
  * @returns {$protobuf.Writer} Writer
39360
39618
  */
39361
- GitHubImportConfig.encode = function encode(message, writer) {
39619
+ DotReplitEnvVar.encode = function encode(message, writer) {
39362
39620
  if (!writer)
39363
39621
  writer = $Writer.create();
39364
- if (message.RequiredFiles != null && message.RequiredFiles.length)
39365
- for (var i = 0; i < message.RequiredFiles.length; ++i)
39366
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.RequiredFiles[i]);
39622
+ if (message.key != null && Object.hasOwnProperty.call(message, "key"))
39623
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.key);
39624
+ if (message.value != null && Object.hasOwnProperty.call(message, "value"))
39625
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.value);
39367
39626
  return writer;
39368
39627
  };
39369
39628
 
39370
39629
  /**
39371
- * Encodes the specified GitHubImportConfig message, length delimited. Does not implicitly {@link api.GitHubImportConfig.verify|verify} messages.
39630
+ * Encodes the specified DotReplitEnvVar message, length delimited. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
39372
39631
  * @function encodeDelimited
39373
- * @memberof api.GitHubImportConfig
39632
+ * @memberof api.DotReplitEnvVar
39374
39633
  * @static
39375
- * @param {api.GitHubImportConfig} message GitHubImportConfig message or plain object to encode
39634
+ * @param {api.DotReplitEnvVar} message DotReplitEnvVar message or plain object to encode
39376
39635
  * @param {$protobuf.Writer} [writer] Writer to encode to
39377
39636
  * @returns {$protobuf.Writer} Writer
39378
39637
  */
39379
- GitHubImportConfig.encodeDelimited = function encodeDelimited(message, writer) {
39638
+ DotReplitEnvVar.encodeDelimited = function encodeDelimited(message, writer) {
39380
39639
  return this.encode(message, writer).ldelim();
39381
39640
  };
39382
39641
 
39383
39642
  /**
39384
- * Decodes a GitHubImportConfig message from the specified reader or buffer.
39643
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer.
39385
39644
  * @function decode
39386
- * @memberof api.GitHubImportConfig
39645
+ * @memberof api.DotReplitEnvVar
39387
39646
  * @static
39388
39647
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39389
39648
  * @param {number} [length] Message length if known beforehand
39390
- * @returns {api.GitHubImportConfig} GitHubImportConfig
39649
+ * @returns {api.DotReplitEnvVar} DotReplitEnvVar
39391
39650
  * @throws {Error} If the payload is not a reader or valid buffer
39392
39651
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
39393
39652
  */
39394
- GitHubImportConfig.decode = function decode(reader, length) {
39653
+ DotReplitEnvVar.decode = function decode(reader, length) {
39395
39654
  if (!(reader instanceof $Reader))
39396
39655
  reader = $Reader.create(reader);
39397
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.GitHubImportConfig();
39656
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitEnvVar();
39398
39657
  while (reader.pos < end) {
39399
39658
  var tag = reader.uint32();
39400
39659
  switch (tag >>> 3) {
39401
39660
  case 1:
39402
- if (!(message.RequiredFiles && message.RequiredFiles.length))
39403
- message.RequiredFiles = [];
39404
- message.RequiredFiles.push(reader.string());
39661
+ message.key = reader.string();
39662
+ break;
39663
+ case 2:
39664
+ message.value = reader.string();
39405
39665
  break;
39406
39666
  default:
39407
39667
  reader.skipType(tag & 7);
@@ -39412,118 +39672,116 @@
39412
39672
  };
39413
39673
 
39414
39674
  /**
39415
- * Decodes a GitHubImportConfig message from the specified reader or buffer, length delimited.
39675
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
39416
39676
  * @function decodeDelimited
39417
- * @memberof api.GitHubImportConfig
39677
+ * @memberof api.DotReplitEnvVar
39418
39678
  * @static
39419
39679
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39420
- * @returns {api.GitHubImportConfig} GitHubImportConfig
39680
+ * @returns {api.DotReplitEnvVar} DotReplitEnvVar
39421
39681
  * @throws {Error} If the payload is not a reader or valid buffer
39422
39682
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
39423
39683
  */
39424
- GitHubImportConfig.decodeDelimited = function decodeDelimited(reader) {
39684
+ DotReplitEnvVar.decodeDelimited = function decodeDelimited(reader) {
39425
39685
  if (!(reader instanceof $Reader))
39426
39686
  reader = new $Reader(reader);
39427
39687
  return this.decode(reader, reader.uint32());
39428
39688
  };
39429
39689
 
39430
39690
  /**
39431
- * Verifies a GitHubImportConfig message.
39691
+ * Verifies a DotReplitEnvVar message.
39432
39692
  * @function verify
39433
- * @memberof api.GitHubImportConfig
39693
+ * @memberof api.DotReplitEnvVar
39434
39694
  * @static
39435
39695
  * @param {Object.<string,*>} message Plain object to verify
39436
39696
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
39437
39697
  */
39438
- GitHubImportConfig.verify = function verify(message) {
39698
+ DotReplitEnvVar.verify = function verify(message) {
39439
39699
  if (typeof message !== "object" || message === null)
39440
39700
  return "object expected";
39441
- if (message.RequiredFiles != null && message.hasOwnProperty("RequiredFiles")) {
39442
- if (!Array.isArray(message.RequiredFiles))
39443
- return "RequiredFiles: array expected";
39444
- for (var i = 0; i < message.RequiredFiles.length; ++i)
39445
- if (!$util.isString(message.RequiredFiles[i]))
39446
- return "RequiredFiles: string[] expected";
39447
- }
39701
+ if (message.key != null && message.hasOwnProperty("key"))
39702
+ if (!$util.isString(message.key))
39703
+ return "key: string expected";
39704
+ if (message.value != null && message.hasOwnProperty("value"))
39705
+ if (!$util.isString(message.value))
39706
+ return "value: string expected";
39448
39707
  return null;
39449
39708
  };
39450
39709
 
39451
39710
  /**
39452
- * Creates a GitHubImportConfig message from a plain object. Also converts values to their respective internal types.
39711
+ * Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
39453
39712
  * @function fromObject
39454
- * @memberof api.GitHubImportConfig
39713
+ * @memberof api.DotReplitEnvVar
39455
39714
  * @static
39456
39715
  * @param {Object.<string,*>} object Plain object
39457
- * @returns {api.GitHubImportConfig} GitHubImportConfig
39716
+ * @returns {api.DotReplitEnvVar} DotReplitEnvVar
39458
39717
  */
39459
- GitHubImportConfig.fromObject = function fromObject(object) {
39460
- if (object instanceof $root.api.GitHubImportConfig)
39718
+ DotReplitEnvVar.fromObject = function fromObject(object) {
39719
+ if (object instanceof $root.api.DotReplitEnvVar)
39461
39720
  return object;
39462
- var message = new $root.api.GitHubImportConfig();
39463
- if (object.RequiredFiles) {
39464
- if (!Array.isArray(object.RequiredFiles))
39465
- throw TypeError(".api.GitHubImportConfig.RequiredFiles: array expected");
39466
- message.RequiredFiles = [];
39467
- for (var i = 0; i < object.RequiredFiles.length; ++i)
39468
- message.RequiredFiles[i] = String(object.RequiredFiles[i]);
39469
- }
39721
+ var message = new $root.api.DotReplitEnvVar();
39722
+ if (object.key != null)
39723
+ message.key = String(object.key);
39724
+ if (object.value != null)
39725
+ message.value = String(object.value);
39470
39726
  return message;
39471
39727
  };
39472
39728
 
39473
39729
  /**
39474
- * Creates a plain object from a GitHubImportConfig message. Also converts values to other types if specified.
39730
+ * Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
39475
39731
  * @function toObject
39476
- * @memberof api.GitHubImportConfig
39732
+ * @memberof api.DotReplitEnvVar
39477
39733
  * @static
39478
- * @param {api.GitHubImportConfig} message GitHubImportConfig
39734
+ * @param {api.DotReplitEnvVar} message DotReplitEnvVar
39479
39735
  * @param {$protobuf.IConversionOptions} [options] Conversion options
39480
39736
  * @returns {Object.<string,*>} Plain object
39481
39737
  */
39482
- GitHubImportConfig.toObject = function toObject(message, options) {
39738
+ DotReplitEnvVar.toObject = function toObject(message, options) {
39483
39739
  if (!options)
39484
39740
  options = {};
39485
39741
  var object = {};
39486
- if (options.arrays || options.defaults)
39487
- object.RequiredFiles = [];
39488
- if (message.RequiredFiles && message.RequiredFiles.length) {
39489
- object.RequiredFiles = [];
39490
- for (var j = 0; j < message.RequiredFiles.length; ++j)
39491
- object.RequiredFiles[j] = message.RequiredFiles[j];
39742
+ if (options.defaults) {
39743
+ object.key = "";
39744
+ object.value = "";
39492
39745
  }
39746
+ if (message.key != null && message.hasOwnProperty("key"))
39747
+ object.key = message.key;
39748
+ if (message.value != null && message.hasOwnProperty("value"))
39749
+ object.value = message.value;
39493
39750
  return object;
39494
39751
  };
39495
39752
 
39496
39753
  /**
39497
- * Converts this GitHubImportConfig to JSON.
39754
+ * Converts this DotReplitEnvVar to JSON.
39498
39755
  * @function toJSON
39499
- * @memberof api.GitHubImportConfig
39756
+ * @memberof api.DotReplitEnvVar
39500
39757
  * @instance
39501
39758
  * @returns {Object.<string,*>} JSON object
39502
39759
  */
39503
- GitHubImportConfig.prototype.toJSON = function toJSON() {
39760
+ DotReplitEnvVar.prototype.toJSON = function toJSON() {
39504
39761
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
39505
39762
  };
39506
39763
 
39507
- return GitHubImportConfig;
39764
+ return DotReplitEnvVar;
39508
39765
  })();
39509
39766
 
39510
- api.NixConfig = (function() {
39767
+ api.DotReplitPort = (function() {
39511
39768
 
39512
39769
  /**
39513
- * Properties of a NixConfig.
39770
+ * Properties of a DotReplitPort.
39514
39771
  * @memberof api
39515
- * @interface INixConfig
39516
- * @property {string|null} [channel] NixConfig channel
39772
+ * @interface IDotReplitPort
39773
+ * @property {number|null} [localPort] DotReplitPort localPort
39774
+ * @property {number|null} [externalPort] DotReplitPort externalPort
39517
39775
  */
39518
39776
 
39519
39777
  /**
39520
- * Constructs a new NixConfig.
39778
+ * Constructs a new DotReplitPort.
39521
39779
  * @memberof api
39522
- * @classdesc Represents a NixConfig.
39780
+ * @classdesc Represents a DotReplitPort.
39523
39781
  * @constructor
39524
- * @param {api.INixConfig=} [properties] Properties to set
39782
+ * @param {api.IDotReplitPort=} [properties] Properties to set
39525
39783
  */
39526
- function NixConfig(properties) {
39784
+ function DotReplitPort(properties) {
39527
39785
  if (properties)
39528
39786
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39529
39787
  if (properties[keys[i]] != null)
@@ -39531,75 +39789,88 @@
39531
39789
  }
39532
39790
 
39533
39791
  /**
39534
- * NixConfig channel.
39535
- * @member {string} channel
39536
- * @memberof api.NixConfig
39792
+ * DotReplitPort localPort.
39793
+ * @member {number} localPort
39794
+ * @memberof api.DotReplitPort
39537
39795
  * @instance
39538
39796
  */
39539
- NixConfig.prototype.channel = "";
39797
+ DotReplitPort.prototype.localPort = 0;
39540
39798
 
39541
39799
  /**
39542
- * Creates a new NixConfig instance using the specified properties.
39800
+ * DotReplitPort externalPort.
39801
+ * @member {number} externalPort
39802
+ * @memberof api.DotReplitPort
39803
+ * @instance
39804
+ */
39805
+ DotReplitPort.prototype.externalPort = 0;
39806
+
39807
+ /**
39808
+ * Creates a new DotReplitPort instance using the specified properties.
39543
39809
  * @function create
39544
- * @memberof api.NixConfig
39810
+ * @memberof api.DotReplitPort
39545
39811
  * @static
39546
- * @param {api.INixConfig=} [properties] Properties to set
39547
- * @returns {api.NixConfig} NixConfig instance
39812
+ * @param {api.IDotReplitPort=} [properties] Properties to set
39813
+ * @returns {api.DotReplitPort} DotReplitPort instance
39548
39814
  */
39549
- NixConfig.create = function create(properties) {
39550
- return NixConfig.fromObject(properties);
39815
+ DotReplitPort.create = function create(properties) {
39816
+ return DotReplitPort.fromObject(properties);
39551
39817
  };
39552
39818
 
39553
39819
  /**
39554
- * Encodes the specified NixConfig message. Does not implicitly {@link api.NixConfig.verify|verify} messages.
39820
+ * Encodes the specified DotReplitPort message. Does not implicitly {@link api.DotReplitPort.verify|verify} messages.
39555
39821
  * @function encode
39556
- * @memberof api.NixConfig
39822
+ * @memberof api.DotReplitPort
39557
39823
  * @static
39558
- * @param {api.NixConfig} message NixConfig message or plain object to encode
39824
+ * @param {api.DotReplitPort} message DotReplitPort message or plain object to encode
39559
39825
  * @param {$protobuf.Writer} [writer] Writer to encode to
39560
39826
  * @returns {$protobuf.Writer} Writer
39561
39827
  */
39562
- NixConfig.encode = function encode(message, writer) {
39828
+ DotReplitPort.encode = function encode(message, writer) {
39563
39829
  if (!writer)
39564
39830
  writer = $Writer.create();
39565
- if (message.channel != null && Object.hasOwnProperty.call(message, "channel"))
39566
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.channel);
39831
+ if (message.localPort != null && Object.hasOwnProperty.call(message, "localPort"))
39832
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.localPort);
39833
+ if (message.externalPort != null && Object.hasOwnProperty.call(message, "externalPort"))
39834
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.externalPort);
39567
39835
  return writer;
39568
39836
  };
39569
39837
 
39570
39838
  /**
39571
- * Encodes the specified NixConfig message, length delimited. Does not implicitly {@link api.NixConfig.verify|verify} messages.
39839
+ * Encodes the specified DotReplitPort message, length delimited. Does not implicitly {@link api.DotReplitPort.verify|verify} messages.
39572
39840
  * @function encodeDelimited
39573
- * @memberof api.NixConfig
39841
+ * @memberof api.DotReplitPort
39574
39842
  * @static
39575
- * @param {api.NixConfig} message NixConfig message or plain object to encode
39843
+ * @param {api.DotReplitPort} message DotReplitPort message or plain object to encode
39576
39844
  * @param {$protobuf.Writer} [writer] Writer to encode to
39577
39845
  * @returns {$protobuf.Writer} Writer
39578
39846
  */
39579
- NixConfig.encodeDelimited = function encodeDelimited(message, writer) {
39847
+ DotReplitPort.encodeDelimited = function encodeDelimited(message, writer) {
39580
39848
  return this.encode(message, writer).ldelim();
39581
39849
  };
39582
39850
 
39583
39851
  /**
39584
- * Decodes a NixConfig message from the specified reader or buffer.
39852
+ * Decodes a DotReplitPort message from the specified reader or buffer.
39585
39853
  * @function decode
39586
- * @memberof api.NixConfig
39854
+ * @memberof api.DotReplitPort
39587
39855
  * @static
39588
39856
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39589
39857
  * @param {number} [length] Message length if known beforehand
39590
- * @returns {api.NixConfig} NixConfig
39858
+ * @returns {api.DotReplitPort} DotReplitPort
39591
39859
  * @throws {Error} If the payload is not a reader or valid buffer
39592
39860
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
39593
39861
  */
39594
- NixConfig.decode = function decode(reader, length) {
39862
+ DotReplitPort.decode = function decode(reader, length) {
39595
39863
  if (!(reader instanceof $Reader))
39596
39864
  reader = $Reader.create(reader);
39597
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.NixConfig();
39865
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitPort();
39598
39866
  while (reader.pos < end) {
39599
39867
  var tag = reader.uint32();
39600
39868
  switch (tag >>> 3) {
39601
39869
  case 1:
39602
- message.channel = reader.string();
39870
+ message.localPort = reader.uint32();
39871
+ break;
39872
+ case 2:
39873
+ message.externalPort = reader.uint32();
39603
39874
  break;
39604
39875
  default:
39605
39876
  reader.skipType(tag & 7);
@@ -39610,69 +39881,675 @@
39610
39881
  };
39611
39882
 
39612
39883
  /**
39613
- * Decodes a NixConfig message from the specified reader or buffer, length delimited.
39884
+ * Decodes a DotReplitPort message from the specified reader or buffer, length delimited.
39614
39885
  * @function decodeDelimited
39615
- * @memberof api.NixConfig
39886
+ * @memberof api.DotReplitPort
39616
39887
  * @static
39617
39888
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39618
- * @returns {api.NixConfig} NixConfig
39889
+ * @returns {api.DotReplitPort} DotReplitPort
39619
39890
  * @throws {Error} If the payload is not a reader or valid buffer
39620
39891
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
39621
39892
  */
39622
- NixConfig.decodeDelimited = function decodeDelimited(reader) {
39893
+ DotReplitPort.decodeDelimited = function decodeDelimited(reader) {
39623
39894
  if (!(reader instanceof $Reader))
39624
39895
  reader = new $Reader(reader);
39625
39896
  return this.decode(reader, reader.uint32());
39626
39897
  };
39627
39898
 
39628
39899
  /**
39629
- * Verifies a NixConfig message.
39900
+ * Verifies a DotReplitPort message.
39630
39901
  * @function verify
39631
- * @memberof api.NixConfig
39902
+ * @memberof api.DotReplitPort
39632
39903
  * @static
39633
39904
  * @param {Object.<string,*>} message Plain object to verify
39634
39905
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
39635
39906
  */
39636
- NixConfig.verify = function verify(message) {
39907
+ DotReplitPort.verify = function verify(message) {
39637
39908
  if (typeof message !== "object" || message === null)
39638
39909
  return "object expected";
39639
- if (message.channel != null && message.hasOwnProperty("channel"))
39640
- if (!$util.isString(message.channel))
39641
- return "channel: string expected";
39910
+ if (message.localPort != null && message.hasOwnProperty("localPort"))
39911
+ if (!$util.isInteger(message.localPort))
39912
+ return "localPort: integer expected";
39913
+ if (message.externalPort != null && message.hasOwnProperty("externalPort"))
39914
+ if (!$util.isInteger(message.externalPort))
39915
+ return "externalPort: integer expected";
39642
39916
  return null;
39643
39917
  };
39644
39918
 
39645
39919
  /**
39646
- * Creates a NixConfig message from a plain object. Also converts values to their respective internal types.
39920
+ * Creates a DotReplitPort message from a plain object. Also converts values to their respective internal types.
39647
39921
  * @function fromObject
39648
- * @memberof api.NixConfig
39922
+ * @memberof api.DotReplitPort
39649
39923
  * @static
39650
39924
  * @param {Object.<string,*>} object Plain object
39651
- * @returns {api.NixConfig} NixConfig
39925
+ * @returns {api.DotReplitPort} DotReplitPort
39652
39926
  */
39653
- NixConfig.fromObject = function fromObject(object) {
39654
- if (object instanceof $root.api.NixConfig)
39927
+ DotReplitPort.fromObject = function fromObject(object) {
39928
+ if (object instanceof $root.api.DotReplitPort)
39655
39929
  return object;
39656
- var message = new $root.api.NixConfig();
39657
- if (object.channel != null)
39658
- message.channel = String(object.channel);
39930
+ var message = new $root.api.DotReplitPort();
39931
+ if (object.localPort != null)
39932
+ message.localPort = object.localPort >>> 0;
39933
+ if (object.externalPort != null)
39934
+ message.externalPort = object.externalPort >>> 0;
39659
39935
  return message;
39660
39936
  };
39661
39937
 
39662
39938
  /**
39663
- * Creates a plain object from a NixConfig message. Also converts values to other types if specified.
39939
+ * Creates a plain object from a DotReplitPort message. Also converts values to other types if specified.
39664
39940
  * @function toObject
39665
- * @memberof api.NixConfig
39941
+ * @memberof api.DotReplitPort
39666
39942
  * @static
39667
- * @param {api.NixConfig} message NixConfig
39943
+ * @param {api.DotReplitPort} message DotReplitPort
39668
39944
  * @param {$protobuf.IConversionOptions} [options] Conversion options
39669
39945
  * @returns {Object.<string,*>} Plain object
39670
39946
  */
39671
- NixConfig.toObject = function toObject(message, options) {
39947
+ DotReplitPort.toObject = function toObject(message, options) {
39672
39948
  if (!options)
39673
39949
  options = {};
39674
39950
  var object = {};
39675
- if (options.defaults)
39951
+ if (options.defaults) {
39952
+ object.localPort = 0;
39953
+ object.externalPort = 0;
39954
+ }
39955
+ if (message.localPort != null && message.hasOwnProperty("localPort"))
39956
+ object.localPort = message.localPort;
39957
+ if (message.externalPort != null && message.hasOwnProperty("externalPort"))
39958
+ object.externalPort = message.externalPort;
39959
+ return object;
39960
+ };
39961
+
39962
+ /**
39963
+ * Converts this DotReplitPort to JSON.
39964
+ * @function toJSON
39965
+ * @memberof api.DotReplitPort
39966
+ * @instance
39967
+ * @returns {Object.<string,*>} JSON object
39968
+ */
39969
+ DotReplitPort.prototype.toJSON = function toJSON() {
39970
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
39971
+ };
39972
+
39973
+ return DotReplitPort;
39974
+ })();
39975
+
39976
+ api.DotReplitHint = (function() {
39977
+
39978
+ /**
39979
+ * Properties of a DotReplitHint.
39980
+ * @memberof api
39981
+ * @interface IDotReplitHint
39982
+ * @property {string|null} [regex] DotReplitHint regex
39983
+ * @property {string|null} [message] DotReplitHint message
39984
+ */
39985
+
39986
+ /**
39987
+ * Constructs a new DotReplitHint.
39988
+ * @memberof api
39989
+ * @classdesc Represents a DotReplitHint.
39990
+ * @constructor
39991
+ * @param {api.IDotReplitHint=} [properties] Properties to set
39992
+ */
39993
+ function DotReplitHint(properties) {
39994
+ if (properties)
39995
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39996
+ if (properties[keys[i]] != null)
39997
+ this[keys[i]] = properties[keys[i]];
39998
+ }
39999
+
40000
+ /**
40001
+ * DotReplitHint regex.
40002
+ * @member {string} regex
40003
+ * @memberof api.DotReplitHint
40004
+ * @instance
40005
+ */
40006
+ DotReplitHint.prototype.regex = "";
40007
+
40008
+ /**
40009
+ * DotReplitHint message.
40010
+ * @member {string} message
40011
+ * @memberof api.DotReplitHint
40012
+ * @instance
40013
+ */
40014
+ DotReplitHint.prototype.message = "";
40015
+
40016
+ /**
40017
+ * Creates a new DotReplitHint instance using the specified properties.
40018
+ * @function create
40019
+ * @memberof api.DotReplitHint
40020
+ * @static
40021
+ * @param {api.IDotReplitHint=} [properties] Properties to set
40022
+ * @returns {api.DotReplitHint} DotReplitHint instance
40023
+ */
40024
+ DotReplitHint.create = function create(properties) {
40025
+ return DotReplitHint.fromObject(properties);
40026
+ };
40027
+
40028
+ /**
40029
+ * Encodes the specified DotReplitHint message. Does not implicitly {@link api.DotReplitHint.verify|verify} messages.
40030
+ * @function encode
40031
+ * @memberof api.DotReplitHint
40032
+ * @static
40033
+ * @param {api.DotReplitHint} message DotReplitHint message or plain object to encode
40034
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40035
+ * @returns {$protobuf.Writer} Writer
40036
+ */
40037
+ DotReplitHint.encode = function encode(message, writer) {
40038
+ if (!writer)
40039
+ writer = $Writer.create();
40040
+ if (message.regex != null && Object.hasOwnProperty.call(message, "regex"))
40041
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.regex);
40042
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
40043
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
40044
+ return writer;
40045
+ };
40046
+
40047
+ /**
40048
+ * Encodes the specified DotReplitHint message, length delimited. Does not implicitly {@link api.DotReplitHint.verify|verify} messages.
40049
+ * @function encodeDelimited
40050
+ * @memberof api.DotReplitHint
40051
+ * @static
40052
+ * @param {api.DotReplitHint} message DotReplitHint message or plain object to encode
40053
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40054
+ * @returns {$protobuf.Writer} Writer
40055
+ */
40056
+ DotReplitHint.encodeDelimited = function encodeDelimited(message, writer) {
40057
+ return this.encode(message, writer).ldelim();
40058
+ };
40059
+
40060
+ /**
40061
+ * Decodes a DotReplitHint message from the specified reader or buffer.
40062
+ * @function decode
40063
+ * @memberof api.DotReplitHint
40064
+ * @static
40065
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40066
+ * @param {number} [length] Message length if known beforehand
40067
+ * @returns {api.DotReplitHint} DotReplitHint
40068
+ * @throws {Error} If the payload is not a reader or valid buffer
40069
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40070
+ */
40071
+ DotReplitHint.decode = function decode(reader, length) {
40072
+ if (!(reader instanceof $Reader))
40073
+ reader = $Reader.create(reader);
40074
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitHint();
40075
+ while (reader.pos < end) {
40076
+ var tag = reader.uint32();
40077
+ switch (tag >>> 3) {
40078
+ case 1:
40079
+ message.regex = reader.string();
40080
+ break;
40081
+ case 2:
40082
+ message.message = reader.string();
40083
+ break;
40084
+ default:
40085
+ reader.skipType(tag & 7);
40086
+ break;
40087
+ }
40088
+ }
40089
+ return message;
40090
+ };
40091
+
40092
+ /**
40093
+ * Decodes a DotReplitHint message from the specified reader or buffer, length delimited.
40094
+ * @function decodeDelimited
40095
+ * @memberof api.DotReplitHint
40096
+ * @static
40097
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40098
+ * @returns {api.DotReplitHint} DotReplitHint
40099
+ * @throws {Error} If the payload is not a reader or valid buffer
40100
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40101
+ */
40102
+ DotReplitHint.decodeDelimited = function decodeDelimited(reader) {
40103
+ if (!(reader instanceof $Reader))
40104
+ reader = new $Reader(reader);
40105
+ return this.decode(reader, reader.uint32());
40106
+ };
40107
+
40108
+ /**
40109
+ * Verifies a DotReplitHint message.
40110
+ * @function verify
40111
+ * @memberof api.DotReplitHint
40112
+ * @static
40113
+ * @param {Object.<string,*>} message Plain object to verify
40114
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
40115
+ */
40116
+ DotReplitHint.verify = function verify(message) {
40117
+ if (typeof message !== "object" || message === null)
40118
+ return "object expected";
40119
+ if (message.regex != null && message.hasOwnProperty("regex"))
40120
+ if (!$util.isString(message.regex))
40121
+ return "regex: string expected";
40122
+ if (message.message != null && message.hasOwnProperty("message"))
40123
+ if (!$util.isString(message.message))
40124
+ return "message: string expected";
40125
+ return null;
40126
+ };
40127
+
40128
+ /**
40129
+ * Creates a DotReplitHint message from a plain object. Also converts values to their respective internal types.
40130
+ * @function fromObject
40131
+ * @memberof api.DotReplitHint
40132
+ * @static
40133
+ * @param {Object.<string,*>} object Plain object
40134
+ * @returns {api.DotReplitHint} DotReplitHint
40135
+ */
40136
+ DotReplitHint.fromObject = function fromObject(object) {
40137
+ if (object instanceof $root.api.DotReplitHint)
40138
+ return object;
40139
+ var message = new $root.api.DotReplitHint();
40140
+ if (object.regex != null)
40141
+ message.regex = String(object.regex);
40142
+ if (object.message != null)
40143
+ message.message = String(object.message);
40144
+ return message;
40145
+ };
40146
+
40147
+ /**
40148
+ * Creates a plain object from a DotReplitHint message. Also converts values to other types if specified.
40149
+ * @function toObject
40150
+ * @memberof api.DotReplitHint
40151
+ * @static
40152
+ * @param {api.DotReplitHint} message DotReplitHint
40153
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
40154
+ * @returns {Object.<string,*>} Plain object
40155
+ */
40156
+ DotReplitHint.toObject = function toObject(message, options) {
40157
+ if (!options)
40158
+ options = {};
40159
+ var object = {};
40160
+ if (options.defaults) {
40161
+ object.regex = "";
40162
+ object.message = "";
40163
+ }
40164
+ if (message.regex != null && message.hasOwnProperty("regex"))
40165
+ object.regex = message.regex;
40166
+ if (message.message != null && message.hasOwnProperty("message"))
40167
+ object.message = message.message;
40168
+ return object;
40169
+ };
40170
+
40171
+ /**
40172
+ * Converts this DotReplitHint to JSON.
40173
+ * @function toJSON
40174
+ * @memberof api.DotReplitHint
40175
+ * @instance
40176
+ * @returns {Object.<string,*>} JSON object
40177
+ */
40178
+ DotReplitHint.prototype.toJSON = function toJSON() {
40179
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
40180
+ };
40181
+
40182
+ return DotReplitHint;
40183
+ })();
40184
+
40185
+ api.GitHubImportConfig = (function() {
40186
+
40187
+ /**
40188
+ * Properties of a GitHubImportConfig.
40189
+ * @memberof api
40190
+ * @interface IGitHubImportConfig
40191
+ * @property {Array.<string>|null} [requiredFiles] GitHubImportConfig requiredFiles
40192
+ */
40193
+
40194
+ /**
40195
+ * Constructs a new GitHubImportConfig.
40196
+ * @memberof api
40197
+ * @classdesc Represents a GitHubImportConfig.
40198
+ * @constructor
40199
+ * @param {api.IGitHubImportConfig=} [properties] Properties to set
40200
+ */
40201
+ function GitHubImportConfig(properties) {
40202
+ this.requiredFiles = [];
40203
+ if (properties)
40204
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
40205
+ if (properties[keys[i]] != null)
40206
+ this[keys[i]] = properties[keys[i]];
40207
+ }
40208
+
40209
+ /**
40210
+ * GitHubImportConfig requiredFiles.
40211
+ * @member {Array.<string>} requiredFiles
40212
+ * @memberof api.GitHubImportConfig
40213
+ * @instance
40214
+ */
40215
+ GitHubImportConfig.prototype.requiredFiles = $util.emptyArray;
40216
+
40217
+ /**
40218
+ * Creates a new GitHubImportConfig instance using the specified properties.
40219
+ * @function create
40220
+ * @memberof api.GitHubImportConfig
40221
+ * @static
40222
+ * @param {api.IGitHubImportConfig=} [properties] Properties to set
40223
+ * @returns {api.GitHubImportConfig} GitHubImportConfig instance
40224
+ */
40225
+ GitHubImportConfig.create = function create(properties) {
40226
+ return GitHubImportConfig.fromObject(properties);
40227
+ };
40228
+
40229
+ /**
40230
+ * Encodes the specified GitHubImportConfig message. Does not implicitly {@link api.GitHubImportConfig.verify|verify} messages.
40231
+ * @function encode
40232
+ * @memberof api.GitHubImportConfig
40233
+ * @static
40234
+ * @param {api.GitHubImportConfig} message GitHubImportConfig message or plain object to encode
40235
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40236
+ * @returns {$protobuf.Writer} Writer
40237
+ */
40238
+ GitHubImportConfig.encode = function encode(message, writer) {
40239
+ if (!writer)
40240
+ writer = $Writer.create();
40241
+ if (message.requiredFiles != null && message.requiredFiles.length)
40242
+ for (var i = 0; i < message.requiredFiles.length; ++i)
40243
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.requiredFiles[i]);
40244
+ return writer;
40245
+ };
40246
+
40247
+ /**
40248
+ * Encodes the specified GitHubImportConfig message, length delimited. Does not implicitly {@link api.GitHubImportConfig.verify|verify} messages.
40249
+ * @function encodeDelimited
40250
+ * @memberof api.GitHubImportConfig
40251
+ * @static
40252
+ * @param {api.GitHubImportConfig} message GitHubImportConfig message or plain object to encode
40253
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40254
+ * @returns {$protobuf.Writer} Writer
40255
+ */
40256
+ GitHubImportConfig.encodeDelimited = function encodeDelimited(message, writer) {
40257
+ return this.encode(message, writer).ldelim();
40258
+ };
40259
+
40260
+ /**
40261
+ * Decodes a GitHubImportConfig message from the specified reader or buffer.
40262
+ * @function decode
40263
+ * @memberof api.GitHubImportConfig
40264
+ * @static
40265
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40266
+ * @param {number} [length] Message length if known beforehand
40267
+ * @returns {api.GitHubImportConfig} GitHubImportConfig
40268
+ * @throws {Error} If the payload is not a reader or valid buffer
40269
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40270
+ */
40271
+ GitHubImportConfig.decode = function decode(reader, length) {
40272
+ if (!(reader instanceof $Reader))
40273
+ reader = $Reader.create(reader);
40274
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.GitHubImportConfig();
40275
+ while (reader.pos < end) {
40276
+ var tag = reader.uint32();
40277
+ switch (tag >>> 3) {
40278
+ case 1:
40279
+ if (!(message.requiredFiles && message.requiredFiles.length))
40280
+ message.requiredFiles = [];
40281
+ message.requiredFiles.push(reader.string());
40282
+ break;
40283
+ default:
40284
+ reader.skipType(tag & 7);
40285
+ break;
40286
+ }
40287
+ }
40288
+ return message;
40289
+ };
40290
+
40291
+ /**
40292
+ * Decodes a GitHubImportConfig message from the specified reader or buffer, length delimited.
40293
+ * @function decodeDelimited
40294
+ * @memberof api.GitHubImportConfig
40295
+ * @static
40296
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40297
+ * @returns {api.GitHubImportConfig} GitHubImportConfig
40298
+ * @throws {Error} If the payload is not a reader or valid buffer
40299
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40300
+ */
40301
+ GitHubImportConfig.decodeDelimited = function decodeDelimited(reader) {
40302
+ if (!(reader instanceof $Reader))
40303
+ reader = new $Reader(reader);
40304
+ return this.decode(reader, reader.uint32());
40305
+ };
40306
+
40307
+ /**
40308
+ * Verifies a GitHubImportConfig message.
40309
+ * @function verify
40310
+ * @memberof api.GitHubImportConfig
40311
+ * @static
40312
+ * @param {Object.<string,*>} message Plain object to verify
40313
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
40314
+ */
40315
+ GitHubImportConfig.verify = function verify(message) {
40316
+ if (typeof message !== "object" || message === null)
40317
+ return "object expected";
40318
+ if (message.requiredFiles != null && message.hasOwnProperty("requiredFiles")) {
40319
+ if (!Array.isArray(message.requiredFiles))
40320
+ return "requiredFiles: array expected";
40321
+ for (var i = 0; i < message.requiredFiles.length; ++i)
40322
+ if (!$util.isString(message.requiredFiles[i]))
40323
+ return "requiredFiles: string[] expected";
40324
+ }
40325
+ return null;
40326
+ };
40327
+
40328
+ /**
40329
+ * Creates a GitHubImportConfig message from a plain object. Also converts values to their respective internal types.
40330
+ * @function fromObject
40331
+ * @memberof api.GitHubImportConfig
40332
+ * @static
40333
+ * @param {Object.<string,*>} object Plain object
40334
+ * @returns {api.GitHubImportConfig} GitHubImportConfig
40335
+ */
40336
+ GitHubImportConfig.fromObject = function fromObject(object) {
40337
+ if (object instanceof $root.api.GitHubImportConfig)
40338
+ return object;
40339
+ var message = new $root.api.GitHubImportConfig();
40340
+ if (object.requiredFiles) {
40341
+ if (!Array.isArray(object.requiredFiles))
40342
+ throw TypeError(".api.GitHubImportConfig.requiredFiles: array expected");
40343
+ message.requiredFiles = [];
40344
+ for (var i = 0; i < object.requiredFiles.length; ++i)
40345
+ message.requiredFiles[i] = String(object.requiredFiles[i]);
40346
+ }
40347
+ return message;
40348
+ };
40349
+
40350
+ /**
40351
+ * Creates a plain object from a GitHubImportConfig message. Also converts values to other types if specified.
40352
+ * @function toObject
40353
+ * @memberof api.GitHubImportConfig
40354
+ * @static
40355
+ * @param {api.GitHubImportConfig} message GitHubImportConfig
40356
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
40357
+ * @returns {Object.<string,*>} Plain object
40358
+ */
40359
+ GitHubImportConfig.toObject = function toObject(message, options) {
40360
+ if (!options)
40361
+ options = {};
40362
+ var object = {};
40363
+ if (options.arrays || options.defaults)
40364
+ object.requiredFiles = [];
40365
+ if (message.requiredFiles && message.requiredFiles.length) {
40366
+ object.requiredFiles = [];
40367
+ for (var j = 0; j < message.requiredFiles.length; ++j)
40368
+ object.requiredFiles[j] = message.requiredFiles[j];
40369
+ }
40370
+ return object;
40371
+ };
40372
+
40373
+ /**
40374
+ * Converts this GitHubImportConfig to JSON.
40375
+ * @function toJSON
40376
+ * @memberof api.GitHubImportConfig
40377
+ * @instance
40378
+ * @returns {Object.<string,*>} JSON object
40379
+ */
40380
+ GitHubImportConfig.prototype.toJSON = function toJSON() {
40381
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
40382
+ };
40383
+
40384
+ return GitHubImportConfig;
40385
+ })();
40386
+
40387
+ api.NixConfig = (function() {
40388
+
40389
+ /**
40390
+ * Properties of a NixConfig.
40391
+ * @memberof api
40392
+ * @interface INixConfig
40393
+ * @property {string|null} [channel] NixConfig channel
40394
+ */
40395
+
40396
+ /**
40397
+ * Constructs a new NixConfig.
40398
+ * @memberof api
40399
+ * @classdesc Represents a NixConfig.
40400
+ * @constructor
40401
+ * @param {api.INixConfig=} [properties] Properties to set
40402
+ */
40403
+ function NixConfig(properties) {
40404
+ if (properties)
40405
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
40406
+ if (properties[keys[i]] != null)
40407
+ this[keys[i]] = properties[keys[i]];
40408
+ }
40409
+
40410
+ /**
40411
+ * NixConfig channel.
40412
+ * @member {string} channel
40413
+ * @memberof api.NixConfig
40414
+ * @instance
40415
+ */
40416
+ NixConfig.prototype.channel = "";
40417
+
40418
+ /**
40419
+ * Creates a new NixConfig instance using the specified properties.
40420
+ * @function create
40421
+ * @memberof api.NixConfig
40422
+ * @static
40423
+ * @param {api.INixConfig=} [properties] Properties to set
40424
+ * @returns {api.NixConfig} NixConfig instance
40425
+ */
40426
+ NixConfig.create = function create(properties) {
40427
+ return NixConfig.fromObject(properties);
40428
+ };
40429
+
40430
+ /**
40431
+ * Encodes the specified NixConfig message. Does not implicitly {@link api.NixConfig.verify|verify} messages.
40432
+ * @function encode
40433
+ * @memberof api.NixConfig
40434
+ * @static
40435
+ * @param {api.NixConfig} message NixConfig message or plain object to encode
40436
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40437
+ * @returns {$protobuf.Writer} Writer
40438
+ */
40439
+ NixConfig.encode = function encode(message, writer) {
40440
+ if (!writer)
40441
+ writer = $Writer.create();
40442
+ if (message.channel != null && Object.hasOwnProperty.call(message, "channel"))
40443
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.channel);
40444
+ return writer;
40445
+ };
40446
+
40447
+ /**
40448
+ * Encodes the specified NixConfig message, length delimited. Does not implicitly {@link api.NixConfig.verify|verify} messages.
40449
+ * @function encodeDelimited
40450
+ * @memberof api.NixConfig
40451
+ * @static
40452
+ * @param {api.NixConfig} message NixConfig message or plain object to encode
40453
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40454
+ * @returns {$protobuf.Writer} Writer
40455
+ */
40456
+ NixConfig.encodeDelimited = function encodeDelimited(message, writer) {
40457
+ return this.encode(message, writer).ldelim();
40458
+ };
40459
+
40460
+ /**
40461
+ * Decodes a NixConfig message from the specified reader or buffer.
40462
+ * @function decode
40463
+ * @memberof api.NixConfig
40464
+ * @static
40465
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40466
+ * @param {number} [length] Message length if known beforehand
40467
+ * @returns {api.NixConfig} NixConfig
40468
+ * @throws {Error} If the payload is not a reader or valid buffer
40469
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40470
+ */
40471
+ NixConfig.decode = function decode(reader, length) {
40472
+ if (!(reader instanceof $Reader))
40473
+ reader = $Reader.create(reader);
40474
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.NixConfig();
40475
+ while (reader.pos < end) {
40476
+ var tag = reader.uint32();
40477
+ switch (tag >>> 3) {
40478
+ case 1:
40479
+ message.channel = reader.string();
40480
+ break;
40481
+ default:
40482
+ reader.skipType(tag & 7);
40483
+ break;
40484
+ }
40485
+ }
40486
+ return message;
40487
+ };
40488
+
40489
+ /**
40490
+ * Decodes a NixConfig message from the specified reader or buffer, length delimited.
40491
+ * @function decodeDelimited
40492
+ * @memberof api.NixConfig
40493
+ * @static
40494
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40495
+ * @returns {api.NixConfig} NixConfig
40496
+ * @throws {Error} If the payload is not a reader or valid buffer
40497
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40498
+ */
40499
+ NixConfig.decodeDelimited = function decodeDelimited(reader) {
40500
+ if (!(reader instanceof $Reader))
40501
+ reader = new $Reader(reader);
40502
+ return this.decode(reader, reader.uint32());
40503
+ };
40504
+
40505
+ /**
40506
+ * Verifies a NixConfig message.
40507
+ * @function verify
40508
+ * @memberof api.NixConfig
40509
+ * @static
40510
+ * @param {Object.<string,*>} message Plain object to verify
40511
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
40512
+ */
40513
+ NixConfig.verify = function verify(message) {
40514
+ if (typeof message !== "object" || message === null)
40515
+ return "object expected";
40516
+ if (message.channel != null && message.hasOwnProperty("channel"))
40517
+ if (!$util.isString(message.channel))
40518
+ return "channel: string expected";
40519
+ return null;
40520
+ };
40521
+
40522
+ /**
40523
+ * Creates a NixConfig message from a plain object. Also converts values to their respective internal types.
40524
+ * @function fromObject
40525
+ * @memberof api.NixConfig
40526
+ * @static
40527
+ * @param {Object.<string,*>} object Plain object
40528
+ * @returns {api.NixConfig} NixConfig
40529
+ */
40530
+ NixConfig.fromObject = function fromObject(object) {
40531
+ if (object instanceof $root.api.NixConfig)
40532
+ return object;
40533
+ var message = new $root.api.NixConfig();
40534
+ if (object.channel != null)
40535
+ message.channel = String(object.channel);
40536
+ return message;
40537
+ };
40538
+
40539
+ /**
40540
+ * Creates a plain object from a NixConfig message. Also converts values to other types if specified.
40541
+ * @function toObject
40542
+ * @memberof api.NixConfig
40543
+ * @static
40544
+ * @param {api.NixConfig} message NixConfig
40545
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
40546
+ * @returns {Object.<string,*>} Plain object
40547
+ */
40548
+ NixConfig.toObject = function toObject(message, options) {
40549
+ if (!options)
40550
+ options = {};
40551
+ var object = {};
40552
+ if (options.defaults)
39676
40553
  object.channel = "";
39677
40554
  if (message.channel != null && message.hasOwnProperty("channel"))
39678
40555
  object.channel = message.channel;
@@ -41168,6 +42045,7 @@
41168
42045
  * @interface IDotReplitPackagerFeatures
41169
42046
  * @property {boolean|null} [packageSearch] DotReplitPackagerFeatures packageSearch
41170
42047
  * @property {boolean|null} [guessImports] DotReplitPackagerFeatures guessImports
42048
+ * @property {boolean|null} [enabledForHosting] DotReplitPackagerFeatures enabledForHosting
41171
42049
  */
41172
42050
 
41173
42051
  /**
@@ -41200,6 +42078,14 @@
41200
42078
  */
41201
42079
  DotReplitPackagerFeatures.prototype.guessImports = false;
41202
42080
 
42081
+ /**
42082
+ * DotReplitPackagerFeatures enabledForHosting.
42083
+ * @member {boolean} enabledForHosting
42084
+ * @memberof api.DotReplitPackagerFeatures
42085
+ * @instance
42086
+ */
42087
+ DotReplitPackagerFeatures.prototype.enabledForHosting = false;
42088
+
41203
42089
  /**
41204
42090
  * Creates a new DotReplitPackagerFeatures instance using the specified properties.
41205
42091
  * @function create
@@ -41228,6 +42114,8 @@
41228
42114
  writer.uint32(/* id 1, wireType 0 =*/8).bool(message.packageSearch);
41229
42115
  if (message.guessImports != null && Object.hasOwnProperty.call(message, "guessImports"))
41230
42116
  writer.uint32(/* id 2, wireType 0 =*/16).bool(message.guessImports);
42117
+ if (message.enabledForHosting != null && Object.hasOwnProperty.call(message, "enabledForHosting"))
42118
+ writer.uint32(/* id 3, wireType 0 =*/24).bool(message.enabledForHosting);
41231
42119
  return writer;
41232
42120
  };
41233
42121
 
@@ -41268,6 +42156,9 @@
41268
42156
  case 2:
41269
42157
  message.guessImports = reader.bool();
41270
42158
  break;
42159
+ case 3:
42160
+ message.enabledForHosting = reader.bool();
42161
+ break;
41271
42162
  default:
41272
42163
  reader.skipType(tag & 7);
41273
42164
  break;
@@ -41309,6 +42200,9 @@
41309
42200
  if (message.guessImports != null && message.hasOwnProperty("guessImports"))
41310
42201
  if (typeof message.guessImports !== "boolean")
41311
42202
  return "guessImports: boolean expected";
42203
+ if (message.enabledForHosting != null && message.hasOwnProperty("enabledForHosting"))
42204
+ if (typeof message.enabledForHosting !== "boolean")
42205
+ return "enabledForHosting: boolean expected";
41312
42206
  return null;
41313
42207
  };
41314
42208
 
@@ -41328,6 +42222,8 @@
41328
42222
  message.packageSearch = Boolean(object.packageSearch);
41329
42223
  if (object.guessImports != null)
41330
42224
  message.guessImports = Boolean(object.guessImports);
42225
+ if (object.enabledForHosting != null)
42226
+ message.enabledForHosting = Boolean(object.enabledForHosting);
41331
42227
  return message;
41332
42228
  };
41333
42229
 
@@ -41347,11 +42243,14 @@
41347
42243
  if (options.defaults) {
41348
42244
  object.packageSearch = false;
41349
42245
  object.guessImports = false;
42246
+ object.enabledForHosting = false;
41350
42247
  }
41351
42248
  if (message.packageSearch != null && message.hasOwnProperty("packageSearch"))
41352
42249
  object.packageSearch = message.packageSearch;
41353
42250
  if (message.guessImports != null && message.hasOwnProperty("guessImports"))
41354
42251
  object.guessImports = message.guessImports;
42252
+ if (message.enabledForHosting != null && message.hasOwnProperty("enabledForHosting"))
42253
+ object.enabledForHosting = message.enabledForHosting;
41355
42254
  return object;
41356
42255
  };
41357
42256