@replit/protocol 0.2.93 → 0.2.95

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
@@ -20141,9 +20141,6 @@ export namespace replit {
20141
20141
 
20142
20142
  /** FileTypeAttrs filePattern */
20143
20143
  filePattern?: (string|null);
20144
-
20145
- /** FileTypeAttrs fileGlobPattern */
20146
- fileGlobPattern?: (string|null);
20147
20144
  }
20148
20145
 
20149
20146
  /** Represents a FileTypeAttrs. */
@@ -20164,9 +20161,6 @@ export namespace replit {
20164
20161
  /** FileTypeAttrs filePattern. */
20165
20162
  public filePattern: string;
20166
20163
 
20167
- /** FileTypeAttrs fileGlobPattern. */
20168
- public fileGlobPattern: string;
20169
-
20170
20164
  /**
20171
20165
  * Creates a new FileTypeAttrs instance using the specified properties.
20172
20166
  * @param [properties] Properties to set
@@ -20249,6 +20243,18 @@ export namespace replit {
20249
20243
 
20250
20244
  /** PackagerOption language */
20251
20245
  language?: (string|null);
20246
+
20247
+ /** PackagerOption packagerFiles */
20248
+ packagerFiles?: (string[]|null);
20249
+
20250
+ /** PackagerOption enabledForHosting */
20251
+ enabledForHosting?: (boolean|null);
20252
+
20253
+ /** PackagerOption packageSearch */
20254
+ packageSearch?: (boolean|null);
20255
+
20256
+ /** PackagerOption guessImports */
20257
+ guessImports?: (boolean|null);
20252
20258
  }
20253
20259
 
20254
20260
  /** Represents a PackagerOption. */
@@ -20269,6 +20275,18 @@ export namespace replit {
20269
20275
  /** PackagerOption language. */
20270
20276
  public language: string;
20271
20277
 
20278
+ /** PackagerOption packagerFiles. */
20279
+ public packagerFiles: string[];
20280
+
20281
+ /** PackagerOption enabledForHosting. */
20282
+ public enabledForHosting: boolean;
20283
+
20284
+ /** PackagerOption packageSearch. */
20285
+ public packageSearch: boolean;
20286
+
20287
+ /** PackagerOption guessImports. */
20288
+ public guessImports: boolean;
20289
+
20272
20290
  /**
20273
20291
  * Creates a new PackagerOption instance using the specified properties.
20274
20292
  * @param [properties] Properties to set
@@ -20387,6 +20405,9 @@ export namespace replit {
20387
20405
 
20388
20406
  /** ReplToken features */
20389
20407
  features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
20408
+
20409
+ /** ReplToken buildInfo */
20410
+ buildInfo?: (replit.goval.api.BuildInfo|replit.goval.api.IBuildInfo|null);
20390
20411
  }
20391
20412
 
20392
20413
  /** Represents a ReplToken. */
@@ -20443,6 +20464,9 @@ export namespace replit {
20443
20464
  /** ReplToken features. */
20444
20465
  public features: replit.goval.api.features.Feature[];
20445
20466
 
20467
+ /** ReplToken buildInfo. */
20468
+ public buildInfo?: (replit.goval.api.BuildInfo|null);
20469
+
20446
20470
  /** ReplToken metadata. */
20447
20471
  public metadata?: ("repl"|"id"|"classroom");
20448
20472
 
@@ -20814,6 +20838,102 @@ export namespace replit {
20814
20838
  }
20815
20839
  }
20816
20840
 
20841
+ /** Properties of a BuildInfo. */
20842
+ interface IBuildInfo {
20843
+
20844
+ /** BuildInfo id */
20845
+ id?: (string|null);
20846
+
20847
+ /** BuildInfo url */
20848
+ url?: (string|null);
20849
+ }
20850
+
20851
+ /** Represents a BuildInfo. */
20852
+ class BuildInfo {
20853
+
20854
+ /**
20855
+ * Constructs a new BuildInfo.
20856
+ * @param [properties] Properties to set
20857
+ */
20858
+ private constructor(properties?: replit.goval.api.IBuildInfo);
20859
+
20860
+ /** BuildInfo id. */
20861
+ public id: string;
20862
+
20863
+ /** BuildInfo url. */
20864
+ public url: string;
20865
+
20866
+ /**
20867
+ * Creates a new BuildInfo instance using the specified properties.
20868
+ * @param [properties] Properties to set
20869
+ * @returns BuildInfo instance
20870
+ */
20871
+ public static create(properties?: replit.goval.api.IBuildInfo): replit.goval.api.BuildInfo;
20872
+
20873
+ /**
20874
+ * Encodes the specified BuildInfo message. Does not implicitly {@link replit.goval.api.BuildInfo.verify|verify} messages.
20875
+ * @param message BuildInfo message or plain object to encode
20876
+ * @param [writer] Writer to encode to
20877
+ * @returns Writer
20878
+ */
20879
+ public static encode(message: replit.goval.api.BuildInfo, writer?: $protobuf.Writer): $protobuf.Writer;
20880
+
20881
+ /**
20882
+ * Encodes the specified BuildInfo message, length delimited. Does not implicitly {@link replit.goval.api.BuildInfo.verify|verify} messages.
20883
+ * @param message BuildInfo message or plain object to encode
20884
+ * @param [writer] Writer to encode to
20885
+ * @returns Writer
20886
+ */
20887
+ public static encodeDelimited(message: replit.goval.api.BuildInfo, writer?: $protobuf.Writer): $protobuf.Writer;
20888
+
20889
+ /**
20890
+ * Decodes a BuildInfo message from the specified reader or buffer.
20891
+ * @param reader Reader or buffer to decode from
20892
+ * @param [length] Message length if known beforehand
20893
+ * @returns BuildInfo
20894
+ * @throws {Error} If the payload is not a reader or valid buffer
20895
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20896
+ */
20897
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.BuildInfo;
20898
+
20899
+ /**
20900
+ * Decodes a BuildInfo message from the specified reader or buffer, length delimited.
20901
+ * @param reader Reader or buffer to decode from
20902
+ * @returns BuildInfo
20903
+ * @throws {Error} If the payload is not a reader or valid buffer
20904
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20905
+ */
20906
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.BuildInfo;
20907
+
20908
+ /**
20909
+ * Verifies a BuildInfo message.
20910
+ * @param message Plain object to verify
20911
+ * @returns `null` if valid, otherwise the reason why it is not
20912
+ */
20913
+ public static verify(message: { [k: string]: any }): (string|null);
20914
+
20915
+ /**
20916
+ * Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
20917
+ * @param object Plain object
20918
+ * @returns BuildInfo
20919
+ */
20920
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.BuildInfo;
20921
+
20922
+ /**
20923
+ * Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
20924
+ * @param message BuildInfo
20925
+ * @param [options] Conversion options
20926
+ * @returns Plain object
20927
+ */
20928
+ public static toObject(message: replit.goval.api.BuildInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
20929
+
20930
+ /**
20931
+ * Converts this BuildInfo to JSON.
20932
+ * @returns JSON object
20933
+ */
20934
+ public toJSON(): { [k: string]: any };
20935
+ }
20936
+
20817
20937
  /** Properties of a TLSCertificate. */
20818
20938
  interface ITLSCertificate {
20819
20939
 
@@ -23435,6 +23555,9 @@ export namespace replit {
23435
23555
 
23436
23556
  /** Repl buckets */
23437
23557
  buckets?: (replit.goval.api.repl.Buckets|replit.goval.api.repl.IBuckets|null);
23558
+
23559
+ /** Repl userId */
23560
+ userId?: (replit.goval.api.repl.UserId|replit.goval.api.repl.IUserId|null);
23438
23561
  }
23439
23562
 
23440
23563
  /** Represents a Repl. */
@@ -23470,6 +23593,9 @@ export namespace replit {
23470
23593
  /** Repl buckets. */
23471
23594
  public buckets?: (replit.goval.api.repl.Buckets|null);
23472
23595
 
23596
+ /** Repl userId. */
23597
+ public userId?: (replit.goval.api.repl.UserId|null);
23598
+
23473
23599
  /**
23474
23600
  * Creates a new Repl instance using the specified properties.
23475
23601
  * @param [properties] Properties to set
@@ -23541,6 +23667,108 @@ export namespace replit {
23541
23667
  public toJSON(): { [k: string]: any };
23542
23668
  }
23543
23669
 
23670
+ /** Environment enum. */
23671
+ enum Environment {
23672
+ DEVELOPMENT = 0,
23673
+ PRODUCTION = 1
23674
+ }
23675
+
23676
+ /** Properties of a UserId. */
23677
+ interface IUserId {
23678
+
23679
+ /** UserId id */
23680
+ id?: (number|null);
23681
+
23682
+ /** UserId environment */
23683
+ environment?: (replit.goval.api.repl.Environment|null);
23684
+ }
23685
+
23686
+ /** Represents a UserId. */
23687
+ class UserId {
23688
+
23689
+ /**
23690
+ * Constructs a new UserId.
23691
+ * @param [properties] Properties to set
23692
+ */
23693
+ private constructor(properties?: replit.goval.api.repl.IUserId);
23694
+
23695
+ /** UserId id. */
23696
+ public id: number;
23697
+
23698
+ /** UserId environment. */
23699
+ public environment: replit.goval.api.repl.Environment;
23700
+
23701
+ /**
23702
+ * Creates a new UserId instance using the specified properties.
23703
+ * @param [properties] Properties to set
23704
+ * @returns UserId instance
23705
+ */
23706
+ public static create(properties?: replit.goval.api.repl.IUserId): replit.goval.api.repl.UserId;
23707
+
23708
+ /**
23709
+ * Encodes the specified UserId message. Does not implicitly {@link replit.goval.api.repl.UserId.verify|verify} messages.
23710
+ * @param message UserId message or plain object to encode
23711
+ * @param [writer] Writer to encode to
23712
+ * @returns Writer
23713
+ */
23714
+ public static encode(message: replit.goval.api.repl.UserId, writer?: $protobuf.Writer): $protobuf.Writer;
23715
+
23716
+ /**
23717
+ * Encodes the specified UserId message, length delimited. Does not implicitly {@link replit.goval.api.repl.UserId.verify|verify} messages.
23718
+ * @param message UserId message or plain object to encode
23719
+ * @param [writer] Writer to encode to
23720
+ * @returns Writer
23721
+ */
23722
+ public static encodeDelimited(message: replit.goval.api.repl.UserId, writer?: $protobuf.Writer): $protobuf.Writer;
23723
+
23724
+ /**
23725
+ * Decodes a UserId message from the specified reader or buffer.
23726
+ * @param reader Reader or buffer to decode from
23727
+ * @param [length] Message length if known beforehand
23728
+ * @returns UserId
23729
+ * @throws {Error} If the payload is not a reader or valid buffer
23730
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23731
+ */
23732
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.UserId;
23733
+
23734
+ /**
23735
+ * Decodes a UserId message from the specified reader or buffer, length delimited.
23736
+ * @param reader Reader or buffer to decode from
23737
+ * @returns UserId
23738
+ * @throws {Error} If the payload is not a reader or valid buffer
23739
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23740
+ */
23741
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.UserId;
23742
+
23743
+ /**
23744
+ * Verifies a UserId message.
23745
+ * @param message Plain object to verify
23746
+ * @returns `null` if valid, otherwise the reason why it is not
23747
+ */
23748
+ public static verify(message: { [k: string]: any }): (string|null);
23749
+
23750
+ /**
23751
+ * Creates a UserId message from a plain object. Also converts values to their respective internal types.
23752
+ * @param object Plain object
23753
+ * @returns UserId
23754
+ */
23755
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.UserId;
23756
+
23757
+ /**
23758
+ * Creates a plain object from a UserId message. Also converts values to other types if specified.
23759
+ * @param message UserId
23760
+ * @param [options] Conversion options
23761
+ * @returns Plain object
23762
+ */
23763
+ public static toObject(message: replit.goval.api.repl.UserId, options?: $protobuf.IConversionOptions): { [k: string]: any };
23764
+
23765
+ /**
23766
+ * Converts this UserId to JSON.
23767
+ * @returns JSON object
23768
+ */
23769
+ public toJSON(): { [k: string]: any };
23770
+ }
23771
+
23544
23772
  /** Properties of a ResourceLimits. */
23545
23773
  interface IResourceLimits {
23546
23774