@replit/protocol 0.3.31 → 0.3.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main/index.d.ts CHANGED
@@ -17873,6 +17873,9 @@ export namespace replit {
17873
17873
 
17874
17874
  /** DotReplit rules */
17875
17875
  rules?: (replit.goval.api.RulesConfig|replit.goval.api.IRulesConfig|null);
17876
+
17877
+ /** DotReplit suggestions */
17878
+ suggestions?: (replit.goval.api.SuggestionsConfig|replit.goval.api.ISuggestionsConfig|null);
17876
17879
  }
17877
17880
 
17878
17881
  /** Represents a DotReplit. */
@@ -17959,6 +17962,9 @@ export namespace replit {
17959
17962
  /** DotReplit rules. */
17960
17963
  public rules?: (replit.goval.api.RulesConfig|null);
17961
17964
 
17965
+ /** DotReplit suggestions. */
17966
+ public suggestions?: (replit.goval.api.SuggestionsConfig|null);
17967
+
17962
17968
  /**
17963
17969
  * Creates a new DotReplit instance using the specified properties.
17964
17970
  * @param [properties] Properties to set
@@ -18695,6 +18701,103 @@ export namespace replit {
18695
18701
  public static getTypeUrl(typeUrlPrefix?: string): string;
18696
18702
  }
18697
18703
 
18704
+ /** Properties of a SuggestionsConfig. */
18705
+ interface ISuggestionsConfig {
18706
+
18707
+ /** SuggestionsConfig extensions */
18708
+ extensions?: (string[]|null);
18709
+ }
18710
+
18711
+ /** Represents a SuggestionsConfig. */
18712
+ class SuggestionsConfig {
18713
+
18714
+ /**
18715
+ * Constructs a new SuggestionsConfig.
18716
+ * @param [properties] Properties to set
18717
+ */
18718
+ private constructor(properties?: replit.goval.api.ISuggestionsConfig);
18719
+
18720
+ /** SuggestionsConfig extensions. */
18721
+ public extensions: string[];
18722
+
18723
+ /**
18724
+ * Creates a new SuggestionsConfig instance using the specified properties.
18725
+ * @param [properties] Properties to set
18726
+ * @returns SuggestionsConfig instance
18727
+ */
18728
+ public static create(properties?: replit.goval.api.ISuggestionsConfig): replit.goval.api.SuggestionsConfig;
18729
+
18730
+ /**
18731
+ * Encodes the specified SuggestionsConfig message. Does not implicitly {@link replit.goval.api.SuggestionsConfig.verify|verify} messages.
18732
+ * @param message SuggestionsConfig message or plain object to encode
18733
+ * @param [writer] Writer to encode to
18734
+ * @returns Writer
18735
+ */
18736
+ public static encode(message: replit.goval.api.SuggestionsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
18737
+
18738
+ /**
18739
+ * Encodes the specified SuggestionsConfig message, length delimited. Does not implicitly {@link replit.goval.api.SuggestionsConfig.verify|verify} messages.
18740
+ * @param message SuggestionsConfig message or plain object to encode
18741
+ * @param [writer] Writer to encode to
18742
+ * @returns Writer
18743
+ */
18744
+ public static encodeDelimited(message: replit.goval.api.SuggestionsConfig, writer?: $protobuf.Writer): $protobuf.Writer;
18745
+
18746
+ /**
18747
+ * Decodes a SuggestionsConfig message from the specified reader or buffer.
18748
+ * @param reader Reader or buffer to decode from
18749
+ * @param [length] Message length if known beforehand
18750
+ * @returns SuggestionsConfig
18751
+ * @throws {Error} If the payload is not a reader or valid buffer
18752
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18753
+ */
18754
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.SuggestionsConfig;
18755
+
18756
+ /**
18757
+ * Decodes a SuggestionsConfig message from the specified reader or buffer, length delimited.
18758
+ * @param reader Reader or buffer to decode from
18759
+ * @returns SuggestionsConfig
18760
+ * @throws {Error} If the payload is not a reader or valid buffer
18761
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18762
+ */
18763
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.SuggestionsConfig;
18764
+
18765
+ /**
18766
+ * Verifies a SuggestionsConfig message.
18767
+ * @param message Plain object to verify
18768
+ * @returns `null` if valid, otherwise the reason why it is not
18769
+ */
18770
+ public static verify(message: { [k: string]: any }): (string|null);
18771
+
18772
+ /**
18773
+ * Creates a SuggestionsConfig message from a plain object. Also converts values to their respective internal types.
18774
+ * @param object Plain object
18775
+ * @returns SuggestionsConfig
18776
+ */
18777
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.SuggestionsConfig;
18778
+
18779
+ /**
18780
+ * Creates a plain object from a SuggestionsConfig message. Also converts values to other types if specified.
18781
+ * @param message SuggestionsConfig
18782
+ * @param [options] Conversion options
18783
+ * @returns Plain object
18784
+ */
18785
+ public static toObject(message: replit.goval.api.SuggestionsConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
18786
+
18787
+ /**
18788
+ * Converts this SuggestionsConfig to JSON.
18789
+ * @returns JSON object
18790
+ */
18791
+ public toJSON(): { [k: string]: any };
18792
+
18793
+ /**
18794
+ * Gets the default type url for SuggestionsConfig
18795
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18796
+ * @returns The default type url
18797
+ */
18798
+ public static getTypeUrl(typeUrlPrefix?: string): string;
18799
+ }
18800
+
18698
18801
  /** Properties of a NixConfig. */
18699
18802
  interface INixConfig {
18700
18803
 
package/main/index.js CHANGED
@@ -44851,6 +44851,7 @@
44851
44851
  * @property {Array.<string>|null} [modules] DotReplit modules
44852
44852
  * @property {replit.goval.api.ExtensionConfig|replit.goval.api.IExtensionConfig|null} [extension] DotReplit extension
44853
44853
  * @property {replit.goval.api.RulesConfig|replit.goval.api.IRulesConfig|null} [rules] DotReplit rules
44854
+ * @property {replit.goval.api.SuggestionsConfig|replit.goval.api.ISuggestionsConfig|null} [suggestions] DotReplit suggestions
44854
44855
  */
44855
44856
 
44856
44857
  /**
@@ -45075,6 +45076,14 @@
45075
45076
  */
45076
45077
  DotReplit.prototype.rules = null;
45077
45078
 
45079
+ /**
45080
+ * DotReplit suggestions.
45081
+ * @member {replit.goval.api.SuggestionsConfig|null|undefined} suggestions
45082
+ * @memberof replit.goval.api.DotReplit
45083
+ * @instance
45084
+ */
45085
+ DotReplit.prototype.suggestions = null;
45086
+
45078
45087
  /**
45079
45088
  * Creates a new DotReplit instance using the specified properties.
45080
45089
  * @function create
@@ -45159,6 +45168,8 @@
45159
45168
  $root.replit.goval.api.ExtensionConfig.encode(message.extension, writer.uint32(/* id 24, wireType 2 =*/194).fork()).ldelim();
45160
45169
  if (message.rules != null && Object.hasOwnProperty.call(message, "rules"))
45161
45170
  $root.replit.goval.api.RulesConfig.encode(message.rules, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim();
45171
+ if (message.suggestions != null && Object.hasOwnProperty.call(message, "suggestions"))
45172
+ $root.replit.goval.api.SuggestionsConfig.encode(message.suggestions, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim();
45162
45173
  return writer;
45163
45174
  };
45164
45175
 
@@ -45343,6 +45354,10 @@
45343
45354
  message.rules = $root.replit.goval.api.RulesConfig.decode(reader, reader.uint32());
45344
45355
  break;
45345
45356
  }
45357
+ case 26: {
45358
+ message.suggestions = $root.replit.goval.api.SuggestionsConfig.decode(reader, reader.uint32());
45359
+ break;
45360
+ }
45346
45361
  default:
45347
45362
  reader.skipType(tag & 7);
45348
45363
  break;
@@ -45523,6 +45538,11 @@
45523
45538
  if (error)
45524
45539
  return "rules." + error;
45525
45540
  }
45541
+ if (message.suggestions != null && message.hasOwnProperty("suggestions")) {
45542
+ var error = $root.replit.goval.api.SuggestionsConfig.verify(message.suggestions);
45543
+ if (error)
45544
+ return "suggestions." + error;
45545
+ }
45526
45546
  return null;
45527
45547
  };
45528
45548
 
@@ -45682,6 +45702,11 @@
45682
45702
  throw TypeError(".replit.goval.api.DotReplit.rules: object expected");
45683
45703
  message.rules = $root.replit.goval.api.RulesConfig.fromObject(object.rules);
45684
45704
  }
45705
+ if (object.suggestions != null) {
45706
+ if (typeof object.suggestions !== "object")
45707
+ throw TypeError(".replit.goval.api.DotReplit.suggestions: object expected");
45708
+ message.suggestions = $root.replit.goval.api.SuggestionsConfig.fromObject(object.suggestions);
45709
+ }
45685
45710
  return message;
45686
45711
  };
45687
45712
 
@@ -45728,6 +45753,7 @@
45728
45753
  object.deployment = null;
45729
45754
  object.extension = null;
45730
45755
  object.rules = null;
45756
+ object.suggestions = null;
45731
45757
  }
45732
45758
  if (message.run != null && message.hasOwnProperty("run"))
45733
45759
  object.run = $root.replit.goval.api.Exec.toObject(message.run, options);
@@ -45804,6 +45830,8 @@
45804
45830
  object.extension = $root.replit.goval.api.ExtensionConfig.toObject(message.extension, options);
45805
45831
  if (message.rules != null && message.hasOwnProperty("rules"))
45806
45832
  object.rules = $root.replit.goval.api.RulesConfig.toObject(message.rules, options);
45833
+ if (message.suggestions != null && message.hasOwnProperty("suggestions"))
45834
+ object.suggestions = $root.replit.goval.api.SuggestionsConfig.toObject(message.suggestions, options);
45807
45835
  return object;
45808
45836
  };
45809
45837
 
@@ -47372,6 +47400,224 @@
47372
47400
  return ExtensionConfig;
47373
47401
  })();
47374
47402
 
47403
+ api.SuggestionsConfig = (function() {
47404
+
47405
+ /**
47406
+ * Properties of a SuggestionsConfig.
47407
+ * @memberof replit.goval.api
47408
+ * @interface ISuggestionsConfig
47409
+ * @property {Array.<string>|null} [extensions] SuggestionsConfig extensions
47410
+ */
47411
+
47412
+ /**
47413
+ * Constructs a new SuggestionsConfig.
47414
+ * @memberof replit.goval.api
47415
+ * @classdesc Represents a SuggestionsConfig.
47416
+ * @constructor
47417
+ * @param {replit.goval.api.ISuggestionsConfig=} [properties] Properties to set
47418
+ */
47419
+ function SuggestionsConfig(properties) {
47420
+ this.extensions = [];
47421
+ if (properties)
47422
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
47423
+ if (properties[keys[i]] != null)
47424
+ this[keys[i]] = properties[keys[i]];
47425
+ }
47426
+
47427
+ /**
47428
+ * SuggestionsConfig extensions.
47429
+ * @member {Array.<string>} extensions
47430
+ * @memberof replit.goval.api.SuggestionsConfig
47431
+ * @instance
47432
+ */
47433
+ SuggestionsConfig.prototype.extensions = $util.emptyArray;
47434
+
47435
+ /**
47436
+ * Creates a new SuggestionsConfig instance using the specified properties.
47437
+ * @function create
47438
+ * @memberof replit.goval.api.SuggestionsConfig
47439
+ * @static
47440
+ * @param {replit.goval.api.ISuggestionsConfig=} [properties] Properties to set
47441
+ * @returns {replit.goval.api.SuggestionsConfig} SuggestionsConfig instance
47442
+ */
47443
+ SuggestionsConfig.create = function create(properties) {
47444
+ return SuggestionsConfig.fromObject(properties);
47445
+ };
47446
+
47447
+ /**
47448
+ * Encodes the specified SuggestionsConfig message. Does not implicitly {@link replit.goval.api.SuggestionsConfig.verify|verify} messages.
47449
+ * @function encode
47450
+ * @memberof replit.goval.api.SuggestionsConfig
47451
+ * @static
47452
+ * @param {replit.goval.api.SuggestionsConfig} message SuggestionsConfig message or plain object to encode
47453
+ * @param {$protobuf.Writer} [writer] Writer to encode to
47454
+ * @returns {$protobuf.Writer} Writer
47455
+ */
47456
+ SuggestionsConfig.encode = function encode(message, writer) {
47457
+ if (!writer)
47458
+ writer = $Writer.create();
47459
+ if (message.extensions != null && message.extensions.length)
47460
+ for (var i = 0; i < message.extensions.length; ++i)
47461
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.extensions[i]);
47462
+ return writer;
47463
+ };
47464
+
47465
+ /**
47466
+ * Encodes the specified SuggestionsConfig message, length delimited. Does not implicitly {@link replit.goval.api.SuggestionsConfig.verify|verify} messages.
47467
+ * @function encodeDelimited
47468
+ * @memberof replit.goval.api.SuggestionsConfig
47469
+ * @static
47470
+ * @param {replit.goval.api.SuggestionsConfig} message SuggestionsConfig message or plain object to encode
47471
+ * @param {$protobuf.Writer} [writer] Writer to encode to
47472
+ * @returns {$protobuf.Writer} Writer
47473
+ */
47474
+ SuggestionsConfig.encodeDelimited = function encodeDelimited(message, writer) {
47475
+ return this.encode(message, writer).ldelim();
47476
+ };
47477
+
47478
+ /**
47479
+ * Decodes a SuggestionsConfig message from the specified reader or buffer.
47480
+ * @function decode
47481
+ * @memberof replit.goval.api.SuggestionsConfig
47482
+ * @static
47483
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
47484
+ * @param {number} [length] Message length if known beforehand
47485
+ * @returns {replit.goval.api.SuggestionsConfig} SuggestionsConfig
47486
+ * @throws {Error} If the payload is not a reader or valid buffer
47487
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
47488
+ */
47489
+ SuggestionsConfig.decode = function decode(reader, length) {
47490
+ if (!(reader instanceof $Reader))
47491
+ reader = $Reader.create(reader);
47492
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.SuggestionsConfig();
47493
+ while (reader.pos < end) {
47494
+ var tag = reader.uint32();
47495
+ switch (tag >>> 3) {
47496
+ case 1: {
47497
+ if (!(message.extensions && message.extensions.length))
47498
+ message.extensions = [];
47499
+ message.extensions.push(reader.string());
47500
+ break;
47501
+ }
47502
+ default:
47503
+ reader.skipType(tag & 7);
47504
+ break;
47505
+ }
47506
+ }
47507
+ return message;
47508
+ };
47509
+
47510
+ /**
47511
+ * Decodes a SuggestionsConfig message from the specified reader or buffer, length delimited.
47512
+ * @function decodeDelimited
47513
+ * @memberof replit.goval.api.SuggestionsConfig
47514
+ * @static
47515
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
47516
+ * @returns {replit.goval.api.SuggestionsConfig} SuggestionsConfig
47517
+ * @throws {Error} If the payload is not a reader or valid buffer
47518
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
47519
+ */
47520
+ SuggestionsConfig.decodeDelimited = function decodeDelimited(reader) {
47521
+ if (!(reader instanceof $Reader))
47522
+ reader = new $Reader(reader);
47523
+ return this.decode(reader, reader.uint32());
47524
+ };
47525
+
47526
+ /**
47527
+ * Verifies a SuggestionsConfig message.
47528
+ * @function verify
47529
+ * @memberof replit.goval.api.SuggestionsConfig
47530
+ * @static
47531
+ * @param {Object.<string,*>} message Plain object to verify
47532
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
47533
+ */
47534
+ SuggestionsConfig.verify = function verify(message) {
47535
+ if (typeof message !== "object" || message === null)
47536
+ return "object expected";
47537
+ if (message.extensions != null && message.hasOwnProperty("extensions")) {
47538
+ if (!Array.isArray(message.extensions))
47539
+ return "extensions: array expected";
47540
+ for (var i = 0; i < message.extensions.length; ++i)
47541
+ if (!$util.isString(message.extensions[i]))
47542
+ return "extensions: string[] expected";
47543
+ }
47544
+ return null;
47545
+ };
47546
+
47547
+ /**
47548
+ * Creates a SuggestionsConfig message from a plain object. Also converts values to their respective internal types.
47549
+ * @function fromObject
47550
+ * @memberof replit.goval.api.SuggestionsConfig
47551
+ * @static
47552
+ * @param {Object.<string,*>} object Plain object
47553
+ * @returns {replit.goval.api.SuggestionsConfig} SuggestionsConfig
47554
+ */
47555
+ SuggestionsConfig.fromObject = function fromObject(object) {
47556
+ if (object instanceof $root.replit.goval.api.SuggestionsConfig)
47557
+ return object;
47558
+ var message = new $root.replit.goval.api.SuggestionsConfig();
47559
+ if (object.extensions) {
47560
+ if (!Array.isArray(object.extensions))
47561
+ throw TypeError(".replit.goval.api.SuggestionsConfig.extensions: array expected");
47562
+ message.extensions = [];
47563
+ for (var i = 0; i < object.extensions.length; ++i)
47564
+ message.extensions[i] = String(object.extensions[i]);
47565
+ }
47566
+ return message;
47567
+ };
47568
+
47569
+ /**
47570
+ * Creates a plain object from a SuggestionsConfig message. Also converts values to other types if specified.
47571
+ * @function toObject
47572
+ * @memberof replit.goval.api.SuggestionsConfig
47573
+ * @static
47574
+ * @param {replit.goval.api.SuggestionsConfig} message SuggestionsConfig
47575
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
47576
+ * @returns {Object.<string,*>} Plain object
47577
+ */
47578
+ SuggestionsConfig.toObject = function toObject(message, options) {
47579
+ if (!options)
47580
+ options = {};
47581
+ var object = {};
47582
+ if (options.arrays || options.defaults)
47583
+ object.extensions = [];
47584
+ if (message.extensions && message.extensions.length) {
47585
+ object.extensions = [];
47586
+ for (var j = 0; j < message.extensions.length; ++j)
47587
+ object.extensions[j] = message.extensions[j];
47588
+ }
47589
+ return object;
47590
+ };
47591
+
47592
+ /**
47593
+ * Converts this SuggestionsConfig to JSON.
47594
+ * @function toJSON
47595
+ * @memberof replit.goval.api.SuggestionsConfig
47596
+ * @instance
47597
+ * @returns {Object.<string,*>} JSON object
47598
+ */
47599
+ SuggestionsConfig.prototype.toJSON = function toJSON() {
47600
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
47601
+ };
47602
+
47603
+ /**
47604
+ * Gets the default type url for SuggestionsConfig
47605
+ * @function getTypeUrl
47606
+ * @memberof replit.goval.api.SuggestionsConfig
47607
+ * @static
47608
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
47609
+ * @returns {string} The default type url
47610
+ */
47611
+ SuggestionsConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
47612
+ if (typeUrlPrefix === undefined) {
47613
+ typeUrlPrefix = "type.googleapis.com";
47614
+ }
47615
+ return typeUrlPrefix + "/replit.goval.api.SuggestionsConfig";
47616
+ };
47617
+
47618
+ return SuggestionsConfig;
47619
+ })();
47620
+
47375
47621
  api.NixConfig = (function() {
47376
47622
 
47377
47623
  /**
@@ -187,6 +187,7 @@ declare var npm$namespace$replit$goval$api: {|
187
187
  IGitHubImportConfig: Class<replit$goval$api$IGitHubImportConfig>,
188
188
  IDeploymentConfig: Class<replit$goval$api$IDeploymentConfig>,
189
189
  IExtensionConfig: Class<replit$goval$api$IExtensionConfig>,
190
+ ISuggestionsConfig: Class<replit$goval$api$ISuggestionsConfig>,
190
191
  INixConfig: Class<replit$goval$api$INixConfig>,
191
192
  IHostingConfig: Class<replit$goval$api$IHostingConfig>,
192
193
  IAuthConfig: Class<replit$goval$api$IAuthConfig>,
@@ -421,6 +422,7 @@ declare var npm$namespace$replit$goval$api: {|
421
422
  GitHubImportConfig: typeof replit$goval$api$GitHubImportConfig,
422
423
  DeploymentConfig: typeof replit$goval$api$DeploymentConfig,
423
424
  ExtensionConfig: typeof replit$goval$api$ExtensionConfig,
425
+ SuggestionsConfig: typeof replit$goval$api$SuggestionsConfig,
424
426
  NixConfig: typeof replit$goval$api$NixConfig,
425
427
  HostingConfig: typeof replit$goval$api$HostingConfig,
426
428
  AuthConfig: typeof replit$goval$api$AuthConfig,
@@ -25225,6 +25227,14 @@ declare type replit$goval$api$IDotReplit = {|
25225
25227
  * DotReplit rules
25226
25228
  */
25227
25229
  rules?: replit$goval$api$RulesConfig | replit$goval$api$IRulesConfig | null,
25230
+
25231
+ /**
25232
+ * DotReplit suggestions
25233
+ */
25234
+ suggestions?:
25235
+ | replit$goval$api$SuggestionsConfig
25236
+ | replit$goval$api$ISuggestionsConfig
25237
+ | null,
25228
25238
  |};
25229
25239
 
25230
25240
  /**
@@ -25366,6 +25376,11 @@ declare class replit$goval$api$DotReplit {
25366
25376
  */
25367
25377
  rules?: replit$goval$api$RulesConfig | null;
25368
25378
 
25379
+ /**
25380
+ * DotReplit suggestions.
25381
+ */
25382
+ suggestions?: replit$goval$api$SuggestionsConfig | null;
25383
+
25369
25384
  /**
25370
25385
  * Creates a new DotReplit instance using the specified properties.
25371
25386
  * @param [properties] Properties to set
@@ -26351,6 +26366,133 @@ declare class replit$goval$api$ExtensionConfig {
26351
26366
  static getTypeUrl(typeUrlPrefix?: string): string;
26352
26367
  }
26353
26368
 
26369
+ /**
26370
+ * Properties of a SuggestionsConfig.
26371
+ */
26372
+ declare type replit$goval$api$ISuggestionsConfig = {|
26373
+ /**
26374
+ * SuggestionsConfig extensions
26375
+ */
26376
+ extensions?: string[] | null,
26377
+ |};
26378
+
26379
+ /**
26380
+ * Represents a SuggestionsConfig.
26381
+ */
26382
+ declare class replit$goval$api$SuggestionsConfig {
26383
+ /**
26384
+ * Constructs a new SuggestionsConfig.
26385
+ * @param [properties] Properties to set
26386
+ */
26387
+ constructor(properties?: replit$goval$api$ISuggestionsConfig): this;
26388
+
26389
+ /**
26390
+ * SuggestionsConfig extensions.
26391
+ */
26392
+ extensions: string[];
26393
+
26394
+ /**
26395
+ * Creates a new SuggestionsConfig instance using the specified properties.
26396
+ * @param [properties] Properties to set
26397
+ * @returns SuggestionsConfig instance
26398
+ */
26399
+ static create(
26400
+ properties?: replit$goval$api$ISuggestionsConfig
26401
+ ): replit$goval$api$SuggestionsConfig;
26402
+
26403
+ /**
26404
+ * [object Object],[object Object],[object Object]
26405
+ * @param message SuggestionsConfig message or plain object to encode
26406
+ * @param [writer] Writer to encode to
26407
+ * @returns Writer
26408
+ */
26409
+ static encode(
26410
+ message: replit$goval$api$SuggestionsConfig,
26411
+ writer?: $protobuf.Writer
26412
+ ): $protobuf.Writer;
26413
+
26414
+ /**
26415
+ * [object Object],[object Object],[object Object]
26416
+ * @param message SuggestionsConfig message or plain object to encode
26417
+ * @param [writer] Writer to encode to
26418
+ * @returns Writer
26419
+ */
26420
+ static encodeDelimited(
26421
+ message: replit$goval$api$SuggestionsConfig,
26422
+ writer?: $protobuf.Writer
26423
+ ): $protobuf.Writer;
26424
+
26425
+ /**
26426
+ * Decodes a SuggestionsConfig message from the specified reader or buffer.
26427
+ * @param reader Reader or buffer to decode from
26428
+ * @param [length] Message length if known beforehand
26429
+ * @returns SuggestionsConfig
26430
+ * @throws {Error} If the payload is not a reader or valid buffer
26431
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26432
+ */
26433
+ static decode(
26434
+ reader: $protobuf.Reader | Uint8Array,
26435
+ length?: number
26436
+ ): replit$goval$api$SuggestionsConfig;
26437
+
26438
+ /**
26439
+ * Decodes a SuggestionsConfig message from the specified reader or buffer, length delimited.
26440
+ * @param reader Reader or buffer to decode from
26441
+ * @returns SuggestionsConfig
26442
+ * @throws {Error} If the payload is not a reader or valid buffer
26443
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26444
+ */
26445
+ static decodeDelimited(
26446
+ reader: $protobuf.Reader | Uint8Array
26447
+ ): replit$goval$api$SuggestionsConfig;
26448
+
26449
+ /**
26450
+ * Verifies a SuggestionsConfig message.
26451
+ * @param message Plain object to verify
26452
+ * @returns `null` if valid, otherwise the reason why it is not
26453
+ */
26454
+ static verify(message: {|
26455
+ [k: string]: any,
26456
+ |}): string | null;
26457
+
26458
+ /**
26459
+ * Creates a SuggestionsConfig message from a plain object. Also converts values to their respective internal types.
26460
+ * @param object Plain object
26461
+ * @returns SuggestionsConfig
26462
+ */
26463
+ static fromObject(object: {|
26464
+ [k: string]: any,
26465
+ |}): replit$goval$api$SuggestionsConfig;
26466
+
26467
+ /**
26468
+ * Creates a plain object from a SuggestionsConfig message. Also converts values to other types if specified.
26469
+ * @param message SuggestionsConfig
26470
+ * @param [options] Conversion options
26471
+ * @returns Plain object
26472
+ */
26473
+ static toObject(
26474
+ message: replit$goval$api$SuggestionsConfig,
26475
+ options?: $protobuf.IConversionOptions
26476
+ ): {|
26477
+ [k: string]: any,
26478
+ |};
26479
+
26480
+ /**
26481
+ * Converts this SuggestionsConfig to JSON.
26482
+ * @returns JSON object
26483
+ */
26484
+ toJSON(): {|
26485
+ [k: string]: any,
26486
+ |};
26487
+
26488
+ /**
26489
+ * Gets the default type url for SuggestionsConfig
26490
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26491
+ * @returns The default type url
26492
+ */
26493
+ static getTypeUrl(typeUrlPrefix?: string): string;
26494
+ }
26495
+
26354
26496
  /**
26355
26497
  * Properties of a NixConfig.
26356
26498
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",