@replit/protocol 0.2.43 → 0.2.46

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.
@@ -889,6 +889,9 @@ export namespace api {
889
889
 
890
890
  /** MatchMatchOptions expected */
891
891
  expected?: (string|null);
892
+
893
+ /** MatchMatchOptions ignoreTrailingWhitespace */
894
+ ignoreTrailingWhitespace?: (boolean|null);
892
895
  }
893
896
 
894
897
  /** Represents a MatchMatchOptions. */
@@ -903,6 +906,9 @@ export namespace api {
903
906
  /** MatchMatchOptions expected. */
904
907
  public expected: string;
905
908
 
909
+ /** MatchMatchOptions ignoreTrailingWhitespace. */
910
+ public ignoreTrailingWhitespace: boolean;
911
+
906
912
  /**
907
913
  * Creates a new MatchMatchOptions instance using the specified properties.
908
914
  * @param [properties] Properties to set
package/iotester/index.js CHANGED
@@ -2164,6 +2164,7 @@
2164
2164
  * @memberof api
2165
2165
  * @interface IMatchMatchOptions
2166
2166
  * @property {string|null} [expected] MatchMatchOptions expected
2167
+ * @property {boolean|null} [ignoreTrailingWhitespace] MatchMatchOptions ignoreTrailingWhitespace
2167
2168
  */
2168
2169
 
2169
2170
  /**
@@ -2188,6 +2189,14 @@
2188
2189
  */
2189
2190
  MatchMatchOptions.prototype.expected = "";
2190
2191
 
2192
+ /**
2193
+ * MatchMatchOptions ignoreTrailingWhitespace.
2194
+ * @member {boolean} ignoreTrailingWhitespace
2195
+ * @memberof api.MatchMatchOptions
2196
+ * @instance
2197
+ */
2198
+ MatchMatchOptions.prototype.ignoreTrailingWhitespace = false;
2199
+
2191
2200
  /**
2192
2201
  * Creates a new MatchMatchOptions instance using the specified properties.
2193
2202
  * @function create
@@ -2214,6 +2223,8 @@
2214
2223
  writer = $Writer.create();
2215
2224
  if (message.expected != null && Object.hasOwnProperty.call(message, "expected"))
2216
2225
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.expected);
2226
+ if (message.ignoreTrailingWhitespace != null && Object.hasOwnProperty.call(message, "ignoreTrailingWhitespace"))
2227
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.ignoreTrailingWhitespace);
2217
2228
  return writer;
2218
2229
  };
2219
2230
 
@@ -2251,6 +2262,9 @@
2251
2262
  case 1:
2252
2263
  message.expected = reader.string();
2253
2264
  break;
2265
+ case 2:
2266
+ message.ignoreTrailingWhitespace = reader.bool();
2267
+ break;
2254
2268
  default:
2255
2269
  reader.skipType(tag & 7);
2256
2270
  break;
@@ -2289,6 +2303,9 @@
2289
2303
  if (message.expected != null && message.hasOwnProperty("expected"))
2290
2304
  if (!$util.isString(message.expected))
2291
2305
  return "expected: string expected";
2306
+ if (message.ignoreTrailingWhitespace != null && message.hasOwnProperty("ignoreTrailingWhitespace"))
2307
+ if (typeof message.ignoreTrailingWhitespace !== "boolean")
2308
+ return "ignoreTrailingWhitespace: boolean expected";
2292
2309
  return null;
2293
2310
  };
2294
2311
 
@@ -2306,6 +2323,8 @@
2306
2323
  var message = new $root.api.MatchMatchOptions();
2307
2324
  if (object.expected != null)
2308
2325
  message.expected = String(object.expected);
2326
+ if (object.ignoreTrailingWhitespace != null)
2327
+ message.ignoreTrailingWhitespace = Boolean(object.ignoreTrailingWhitespace);
2309
2328
  return message;
2310
2329
  };
2311
2330
 
@@ -2322,10 +2341,14 @@
2322
2341
  if (!options)
2323
2342
  options = {};
2324
2343
  var object = {};
2325
- if (options.defaults)
2344
+ if (options.defaults) {
2326
2345
  object.expected = "";
2346
+ object.ignoreTrailingWhitespace = false;
2347
+ }
2327
2348
  if (message.expected != null && message.hasOwnProperty("expected"))
2328
2349
  object.expected = message.expected;
2350
+ if (message.ignoreTrailingWhitespace != null && message.hasOwnProperty("ignoreTrailingWhitespace"))
2351
+ object.ignoreTrailingWhitespace = message.ignoreTrailingWhitespace;
2329
2352
  return object;
2330
2353
  };
2331
2354
 
@@ -1228,6 +1228,11 @@ declare type api$IMatchMatchOptions = {|
1228
1228
  * MatchMatchOptions expected
1229
1229
  */
1230
1230
  expected?: string | null,
1231
+
1232
+ /**
1233
+ * MatchMatchOptions ignoreTrailingWhitespace
1234
+ */
1235
+ ignoreTrailingWhitespace?: boolean | null,
1231
1236
  |};
1232
1237
 
1233
1238
  /**
@@ -1245,6 +1250,11 @@ declare class api$MatchMatchOptions {
1245
1250
  */
1246
1251
  expected: string;
1247
1252
 
1253
+ /**
1254
+ * MatchMatchOptions ignoreTrailingWhitespace.
1255
+ */
1256
+ ignoreTrailingWhitespace: boolean;
1257
+
1248
1258
  /**
1249
1259
  * Creates a new MatchMatchOptions instance using the specified properties.
1250
1260
  * @param [properties] Properties to set
package/main/index.d.ts CHANGED
@@ -347,6 +347,9 @@ export namespace api {
347
347
  /** Command snapshotEvent */
348
348
  snapshotEvent?: (api.SnapshotEvent|api.ISnapshotEvent|null);
349
349
 
350
+ /** Command NoninteractiveFSChangeEvent */
351
+ NoninteractiveFSChangeEvent?: (boolean|null);
352
+
350
353
  /** Command pid1Config */
351
354
  pid1Config?: (api.Pid1Config|api.IPid1Config|null);
352
355
 
@@ -795,6 +798,9 @@ export namespace api {
795
798
  /** Command snapshotEvent. */
796
799
  public snapshotEvent?: (api.SnapshotEvent|null);
797
800
 
801
+ /** Command NoninteractiveFSChangeEvent. */
802
+ public NoninteractiveFSChangeEvent?: (boolean|null);
803
+
798
804
  /** Command pid1Config. */
799
805
  public pid1Config?: (api.Pid1Config|null);
800
806
 
@@ -892,7 +898,7 @@ export namespace api {
892
898
  public ref: string;
893
899
 
894
900
  /** Command body. */
895
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"startLSP");
901
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"startLSP");
896
902
 
897
903
  /**
898
904
  * Creates a new Command instance using the specified properties.
@@ -2085,6 +2091,9 @@ export namespace api {
2085
2091
 
2086
2092
  /** Pid1Config noStore */
2087
2093
  noStore?: (boolean|null);
2094
+
2095
+ /** Pid1Config noninteractiveFSChange */
2096
+ noninteractiveFSChange?: (boolean|null);
2088
2097
  }
2089
2098
 
2090
2099
  /** Represents a Pid1Config. */
@@ -2108,6 +2117,9 @@ export namespace api {
2108
2117
  /** Pid1Config noStore. */
2109
2118
  public noStore: boolean;
2110
2119
 
2120
+ /** Pid1Config noninteractiveFSChange. */
2121
+ public noninteractiveFSChange: boolean;
2122
+
2111
2123
  /**
2112
2124
  * Creates a new Pid1Config instance using the specified properties.
2113
2125
  * @param [properties] Properties to set
@@ -9245,6 +9257,9 @@ export namespace api {
9245
9257
 
9246
9258
  /** User session */
9247
9259
  session?: (number|null);
9260
+
9261
+ /** User teams */
9262
+ teams?: (string[]|null);
9248
9263
  }
9249
9264
 
9250
9265
  /** Represents a User. */
@@ -9268,6 +9283,9 @@ export namespace api {
9268
9283
  /** User session. */
9269
9284
  public session: number;
9270
9285
 
9286
+ /** User teams. */
9287
+ public teams: string[];
9288
+
9271
9289
  /**
9272
9290
  * Creates a new User instance using the specified properties.
9273
9291
  * @param [properties] Properties to set
@@ -10815,6 +10833,9 @@ export namespace api {
10815
10833
 
10816
10834
  /** Properties of a PackageInstall. */
10817
10835
  interface IPackageInstall {
10836
+
10837
+ /** PackageInstall fromHosting */
10838
+ fromHosting?: (boolean|null);
10818
10839
  }
10819
10840
 
10820
10841
  /** Represents a PackageInstall. */
@@ -10826,6 +10847,9 @@ export namespace api {
10826
10847
  */
10827
10848
  private constructor(properties?: api.IPackageInstall);
10828
10849
 
10850
+ /** PackageInstall fromHosting. */
10851
+ public fromHosting: boolean;
10852
+
10829
10853
  /**
10830
10854
  * Creates a new PackageInstall instance using the specified properties.
10831
10855
  * @param [properties] Properties to set
@@ -13889,6 +13913,12 @@ export namespace api {
13889
13913
 
13890
13914
  /** DotReplit languages */
13891
13915
  languages?: ({ [k: string]: (api.DotReplitLanguage|api.IDotReplitLanguage) }|null);
13916
+
13917
+ /** DotReplit unitTest */
13918
+ unitTest?: (api.DotReplitUnitTest|api.IDotReplitUnitTest|null);
13919
+
13920
+ /** DotReplit hidden */
13921
+ hidden?: (string[]|null);
13892
13922
  }
13893
13923
 
13894
13924
  /** Represents a DotReplit. */
@@ -13927,6 +13957,12 @@ export namespace api {
13927
13957
  /** DotReplit languages. */
13928
13958
  public languages: { [k: string]: api.DotReplitLanguage };
13929
13959
 
13960
+ /** DotReplit unitTest. */
13961
+ public unitTest?: (api.DotReplitUnitTest|null);
13962
+
13963
+ /** DotReplit hidden. */
13964
+ public hidden: string[];
13965
+
13930
13966
  /**
13931
13967
  * Creates a new DotReplit instance using the specified properties.
13932
13968
  * @param [properties] Properties to set
@@ -14201,6 +14237,12 @@ export namespace api {
14201
14237
 
14202
14238
  /** LanguageServerConfig startCommand */
14203
14239
  startCommand?: (api.Exec|api.IExec|null);
14240
+
14241
+ /** LanguageServerConfig configurationJson */
14242
+ configurationJson?: (string|null);
14243
+
14244
+ /** LanguageServerConfig initializationOptionsJson */
14245
+ initializationOptionsJson?: (string|null);
14204
14246
  }
14205
14247
 
14206
14248
  /** Represents a LanguageServerConfig. */
@@ -14215,6 +14257,12 @@ export namespace api {
14215
14257
  /** LanguageServerConfig startCommand. */
14216
14258
  public startCommand?: (api.Exec|null);
14217
14259
 
14260
+ /** LanguageServerConfig configurationJson. */
14261
+ public configurationJson: string;
14262
+
14263
+ /** LanguageServerConfig initializationOptionsJson. */
14264
+ public initializationOptionsJson: string;
14265
+
14218
14266
  /**
14219
14267
  * Creates a new LanguageServerConfig instance using the specified properties.
14220
14268
  * @param [properties] Properties to set
@@ -14502,6 +14550,96 @@ export namespace api {
14502
14550
  public toJSON(): { [k: string]: any };
14503
14551
  }
14504
14552
 
14553
+ /** Properties of a DotReplitUnitTest. */
14554
+ interface IDotReplitUnitTest {
14555
+
14556
+ /** DotReplitUnitTest language */
14557
+ language?: (string|null);
14558
+ }
14559
+
14560
+ /** Represents a DotReplitUnitTest. */
14561
+ class DotReplitUnitTest {
14562
+
14563
+ /**
14564
+ * Constructs a new DotReplitUnitTest.
14565
+ * @param [properties] Properties to set
14566
+ */
14567
+ private constructor(properties?: api.IDotReplitUnitTest);
14568
+
14569
+ /** DotReplitUnitTest language. */
14570
+ public language: string;
14571
+
14572
+ /**
14573
+ * Creates a new DotReplitUnitTest instance using the specified properties.
14574
+ * @param [properties] Properties to set
14575
+ * @returns DotReplitUnitTest instance
14576
+ */
14577
+ public static create(properties?: api.IDotReplitUnitTest): api.DotReplitUnitTest;
14578
+
14579
+ /**
14580
+ * Encodes the specified DotReplitUnitTest message. Does not implicitly {@link api.DotReplitUnitTest.verify|verify} messages.
14581
+ * @param message DotReplitUnitTest message or plain object to encode
14582
+ * @param [writer] Writer to encode to
14583
+ * @returns Writer
14584
+ */
14585
+ public static encode(message: api.DotReplitUnitTest, writer?: $protobuf.Writer): $protobuf.Writer;
14586
+
14587
+ /**
14588
+ * Encodes the specified DotReplitUnitTest message, length delimited. Does not implicitly {@link api.DotReplitUnitTest.verify|verify} messages.
14589
+ * @param message DotReplitUnitTest message or plain object to encode
14590
+ * @param [writer] Writer to encode to
14591
+ * @returns Writer
14592
+ */
14593
+ public static encodeDelimited(message: api.DotReplitUnitTest, writer?: $protobuf.Writer): $protobuf.Writer;
14594
+
14595
+ /**
14596
+ * Decodes a DotReplitUnitTest message from the specified reader or buffer.
14597
+ * @param reader Reader or buffer to decode from
14598
+ * @param [length] Message length if known beforehand
14599
+ * @returns DotReplitUnitTest
14600
+ * @throws {Error} If the payload is not a reader or valid buffer
14601
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14602
+ */
14603
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitUnitTest;
14604
+
14605
+ /**
14606
+ * Decodes a DotReplitUnitTest message from the specified reader or buffer, length delimited.
14607
+ * @param reader Reader or buffer to decode from
14608
+ * @returns DotReplitUnitTest
14609
+ * @throws {Error} If the payload is not a reader or valid buffer
14610
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14611
+ */
14612
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitUnitTest;
14613
+
14614
+ /**
14615
+ * Verifies a DotReplitUnitTest message.
14616
+ * @param message Plain object to verify
14617
+ * @returns `null` if valid, otherwise the reason why it is not
14618
+ */
14619
+ public static verify(message: { [k: string]: any }): (string|null);
14620
+
14621
+ /**
14622
+ * Creates a DotReplitUnitTest message from a plain object. Also converts values to their respective internal types.
14623
+ * @param object Plain object
14624
+ * @returns DotReplitUnitTest
14625
+ */
14626
+ public static fromObject(object: { [k: string]: any }): api.DotReplitUnitTest;
14627
+
14628
+ /**
14629
+ * Creates a plain object from a DotReplitUnitTest message. Also converts values to other types if specified.
14630
+ * @param message DotReplitUnitTest
14631
+ * @param [options] Conversion options
14632
+ * @returns Plain object
14633
+ */
14634
+ public static toObject(message: api.DotReplitUnitTest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14635
+
14636
+ /**
14637
+ * Converts this DotReplitUnitTest to JSON.
14638
+ * @returns JSON object
14639
+ */
14640
+ public toJSON(): { [k: string]: any };
14641
+ }
14642
+
14505
14643
  /** Properties of a DebuggerConfig. */
14506
14644
  interface IDebuggerConfig {
14507
14645
 
@@ -15514,6 +15652,9 @@ export namespace api {
15514
15652
 
15515
15653
  /** ReplTransfer certificates */
15516
15654
  certificates?: ((api.TLSCertificate|api.ITLSCertificate)[]|null);
15655
+
15656
+ /** ReplTransfer flags */
15657
+ flags?: (string[]|null);
15517
15658
  }
15518
15659
 
15519
15660
  /** Represents a ReplTransfer. */
@@ -15540,6 +15681,9 @@ export namespace api {
15540
15681
  /** ReplTransfer certificates. */
15541
15682
  public certificates: api.TLSCertificate[];
15542
15683
 
15684
+ /** ReplTransfer flags. */
15685
+ public flags: string[];
15686
+
15543
15687
  /**
15544
15688
  * Creates a new ReplTransfer instance using the specified properties.
15545
15689
  * @param [properties] Properties to set