@replit/protocol 0.2.76 → 0.2.77

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.
@@ -193,6 +193,7 @@ declare var npm$namespace$replit$goval$api: {|
193
193
  IDapIntegratedAdapterConfig: Class<replit$goval$api$IDapIntegratedAdapterConfig>,
194
194
  IProxyGoingAway: Class<replit$goval$api$IProxyGoingAway>,
195
195
  IFirewallDenied: Class<replit$goval$api$IFirewallDenied>,
196
+ IReplLogMessage: Class<replit$goval$api$IReplLogMessage>,
196
197
  IReplToken: Class<replit$goval$api$IReplToken>,
197
198
  ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
198
199
  IReplTransfer: Class<replit$goval$api$IReplTransfer>,
@@ -209,6 +210,7 @@ declare var npm$namespace$replit$goval$api: {|
209
210
  IClusterTransfer: Class<replit$goval$api$IClusterTransfer>,
210
211
  ISoftTakedown: Class<replit$goval$api$ISoftTakedown>,
211
212
  IGovalCommand: Class<replit$goval$api$IGovalCommand>,
213
+ IPartialUpdateMetadata: Class<replit$goval$api$IPartialUpdateMetadata>,
212
214
  IRestore: Class<replit$goval$api$IRestore>,
213
215
  Command: typeof replit$goval$api$Command,
214
216
  NixPackageAddRequest: typeof replit$goval$api$NixPackageAddRequest,
@@ -382,6 +384,7 @@ declare var npm$namespace$replit$goval$api: {|
382
384
  DapIntegratedAdapterConfig: typeof replit$goval$api$DapIntegratedAdapterConfig,
383
385
  ProxyGoingAway: typeof replit$goval$api$ProxyGoingAway,
384
386
  FirewallDenied: typeof replit$goval$api$FirewallDenied,
387
+ ReplLogMessage: typeof replit$goval$api$ReplLogMessage,
385
388
  ReplToken: typeof replit$goval$api$ReplToken,
386
389
  TLSCertificate: typeof replit$goval$api$TLSCertificate,
387
390
  ReplTransfer: typeof replit$goval$api$ReplTransfer,
@@ -398,6 +401,7 @@ declare var npm$namespace$replit$goval$api: {|
398
401
  ClusterTransfer: typeof replit$goval$api$ClusterTransfer,
399
402
  SoftTakedown: typeof replit$goval$api$SoftTakedown,
400
403
  GovalCommand: typeof replit$goval$api$GovalCommand,
404
+ PartialUpdateMetadata: typeof replit$goval$api$PartialUpdateMetadata,
401
405
  Restore: typeof replit$goval$api$Restore,
402
406
  features: typeof npm$namespace$replit$goval$api$features,
403
407
  repl: typeof npm$namespace$replit$goval$api$repl,
@@ -535,6 +539,11 @@ declare type replit$goval$api$ICommand = {|
535
539
  */
536
540
  log?: string | null,
537
541
 
542
+ /**
543
+ * Command record
544
+ */
545
+ record?: string | null,
546
+
538
547
  /**
539
548
  * Command saneTerm
540
549
  */
@@ -1631,6 +1640,11 @@ declare class replit$goval$api$Command {
1631
1640
  */
1632
1641
  log?: string | null;
1633
1642
 
1643
+ /**
1644
+ * Command record.
1645
+ */
1646
+ record?: string | null;
1647
+
1634
1648
  /**
1635
1649
  * Command saneTerm.
1636
1650
  */
@@ -2372,6 +2386,7 @@ declare class replit$goval$api$Command {
2372
2386
  | "error"
2373
2387
  | "stderr"
2374
2388
  | "log"
2389
+ | "record"
2375
2390
  | "saneTerm"
2376
2391
  | "resizeTerm"
2377
2392
  | "state"
@@ -25548,6 +25563,156 @@ declare class replit$goval$api$FirewallDenied {
25548
25563
  |};
25549
25564
  }
25550
25565
 
25566
+ /**
25567
+ * Properties of a ReplLogMessage.
25568
+ */
25569
+ declare type replit$goval$api$IReplLogMessage = {|
25570
+ /**
25571
+ * ReplLogMessage timestamp
25572
+ */
25573
+ timestamp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
25574
+
25575
+ /**
25576
+ * ReplLogMessage replId
25577
+ */
25578
+ replId?: string | null,
25579
+
25580
+ /**
25581
+ * ReplLogMessage logLine
25582
+ */
25583
+ logLine?: string | null,
25584
+
25585
+ /**
25586
+ * ReplLogMessage userName
25587
+ */
25588
+ userName?: string | null,
25589
+ |};
25590
+
25591
+ /**
25592
+ * Represents a ReplLogMessage.
25593
+ */
25594
+ declare class replit$goval$api$ReplLogMessage {
25595
+ /**
25596
+ * Constructs a new ReplLogMessage.
25597
+ * @param [properties] Properties to set
25598
+ */
25599
+ constructor(properties?: replit$goval$api$IReplLogMessage): this;
25600
+
25601
+ /**
25602
+ * ReplLogMessage timestamp.
25603
+ */
25604
+ timestamp?: google$protobuf$Timestamp | null;
25605
+
25606
+ /**
25607
+ * ReplLogMessage replId.
25608
+ */
25609
+ replId: string;
25610
+
25611
+ /**
25612
+ * ReplLogMessage logLine.
25613
+ */
25614
+ logLine: string;
25615
+
25616
+ /**
25617
+ * ReplLogMessage userName.
25618
+ */
25619
+ userName: string;
25620
+
25621
+ /**
25622
+ * Creates a new ReplLogMessage instance using the specified properties.
25623
+ * @param [properties] Properties to set
25624
+ * @returns ReplLogMessage instance
25625
+ */
25626
+ static create(
25627
+ properties?: replit$goval$api$IReplLogMessage
25628
+ ): replit$goval$api$ReplLogMessage;
25629
+
25630
+ /**
25631
+ * [object Object],[object Object],[object Object]
25632
+ * @param message ReplLogMessage message or plain object to encode
25633
+ * @param [writer] Writer to encode to
25634
+ * @returns Writer
25635
+ */
25636
+ static encode(
25637
+ message: replit$goval$api$ReplLogMessage,
25638
+ writer?: $protobuf.Writer
25639
+ ): $protobuf.Writer;
25640
+
25641
+ /**
25642
+ * [object Object],[object Object],[object Object]
25643
+ * @param message ReplLogMessage message or plain object to encode
25644
+ * @param [writer] Writer to encode to
25645
+ * @returns Writer
25646
+ */
25647
+ static encodeDelimited(
25648
+ message: replit$goval$api$ReplLogMessage,
25649
+ writer?: $protobuf.Writer
25650
+ ): $protobuf.Writer;
25651
+
25652
+ /**
25653
+ * Decodes a ReplLogMessage message from the specified reader or buffer.
25654
+ * @param reader Reader or buffer to decode from
25655
+ * @param [length] Message length if known beforehand
25656
+ * @returns ReplLogMessage
25657
+ * @throws {Error} If the payload is not a reader or valid buffer
25658
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25659
+ */
25660
+ static decode(
25661
+ reader: $protobuf.Reader | Uint8Array,
25662
+ length?: number
25663
+ ): replit$goval$api$ReplLogMessage;
25664
+
25665
+ /**
25666
+ * Decodes a ReplLogMessage message from the specified reader or buffer, length delimited.
25667
+ * @param reader Reader or buffer to decode from
25668
+ * @returns ReplLogMessage
25669
+ * @throws {Error} If the payload is not a reader or valid buffer
25670
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25671
+ */
25672
+ static decodeDelimited(
25673
+ reader: $protobuf.Reader | Uint8Array
25674
+ ): replit$goval$api$ReplLogMessage;
25675
+
25676
+ /**
25677
+ * Verifies a ReplLogMessage message.
25678
+ * @param message Plain object to verify
25679
+ * @returns `null` if valid, otherwise the reason why it is not
25680
+ */
25681
+ static verify(message: {|
25682
+ [k: string]: any,
25683
+ |}): string | null;
25684
+
25685
+ /**
25686
+ * Creates a ReplLogMessage message from a plain object. Also converts values to their respective internal types.
25687
+ * @param object Plain object
25688
+ * @returns ReplLogMessage
25689
+ */
25690
+ static fromObject(object: {|
25691
+ [k: string]: any,
25692
+ |}): replit$goval$api$ReplLogMessage;
25693
+
25694
+ /**
25695
+ * Creates a plain object from a ReplLogMessage message. Also converts values to other types if specified.
25696
+ * @param message ReplLogMessage
25697
+ * @param [options] Conversion options
25698
+ * @returns Plain object
25699
+ */
25700
+ static toObject(
25701
+ message: replit$goval$api$ReplLogMessage,
25702
+ options?: $protobuf.IConversionOptions
25703
+ ): {|
25704
+ [k: string]: any,
25705
+ |};
25706
+
25707
+ /**
25708
+ * Converts this ReplLogMessage to JSON.
25709
+ * @returns JSON object
25710
+ */
25711
+ toJSON(): {|
25712
+ [k: string]: any,
25713
+ |};
25714
+ }
25715
+
25551
25716
  /**
25552
25717
  * Properties of a ReplToken.
25553
25718
  */
@@ -28361,6 +28526,14 @@ declare type replit$goval$api$IGovalCommand = {|
28361
28526
  | replit$goval$api$repl$Metadata
28362
28527
  | replit$goval$api$repl$IMetadata
28363
28528
  | null,
28529
+
28530
+ /**
28531
+ * GovalCommand partialUpdateMetadata
28532
+ */
28533
+ partialUpdateMetadata?:
28534
+ | replit$goval$api$PartialUpdateMetadata
28535
+ | replit$goval$api$IPartialUpdateMetadata
28536
+ | null,
28364
28537
  |};
28365
28538
 
28366
28539
  /**
@@ -28378,10 +28551,15 @@ declare class replit$goval$api$GovalCommand {
28378
28551
  */
28379
28552
  updateMetadata?: replit$goval$api$repl$Metadata | null;
28380
28553
 
28554
+ /**
28555
+ * GovalCommand partialUpdateMetadata.
28556
+ */
28557
+ partialUpdateMetadata?: replit$goval$api$PartialUpdateMetadata | null;
28558
+
28381
28559
  /**
28382
28560
  * GovalCommand command.
28383
28561
  */
28384
- command?: "updateMetadata";
28562
+ command?: "updateMetadata" | "partialUpdateMetadata";
28385
28563
 
28386
28564
  /**
28387
28565
  * Creates a new GovalCommand instance using the specified properties.
@@ -28478,6 +28656,139 @@ declare class replit$goval$api$GovalCommand {
28478
28656
  |};
28479
28657
  }
28480
28658
 
28659
+ /**
28660
+ * Properties of a PartialUpdateMetadata.
28661
+ */
28662
+ declare type replit$goval$api$IPartialUpdateMetadata = {|
28663
+ /**
28664
+ * PartialUpdateMetadata fieldMask
28665
+ */
28666
+ fieldMask?: google$protobuf$FieldMask | google$protobuf$IFieldMask | null,
28667
+
28668
+ /**
28669
+ * PartialUpdateMetadata updateMetadata
28670
+ */
28671
+ updateMetadata?:
28672
+ | replit$goval$api$repl$Metadata
28673
+ | replit$goval$api$repl$IMetadata
28674
+ | null,
28675
+ |};
28676
+
28677
+ /**
28678
+ * Represents a PartialUpdateMetadata.
28679
+ */
28680
+ declare class replit$goval$api$PartialUpdateMetadata {
28681
+ /**
28682
+ * Constructs a new PartialUpdateMetadata.
28683
+ * @param [properties] Properties to set
28684
+ */
28685
+ constructor(properties?: replit$goval$api$IPartialUpdateMetadata): this;
28686
+
28687
+ /**
28688
+ * PartialUpdateMetadata fieldMask.
28689
+ */
28690
+ fieldMask?: google$protobuf$FieldMask | null;
28691
+
28692
+ /**
28693
+ * PartialUpdateMetadata updateMetadata.
28694
+ */
28695
+ updateMetadata?: replit$goval$api$repl$Metadata | null;
28696
+
28697
+ /**
28698
+ * Creates a new PartialUpdateMetadata instance using the specified properties.
28699
+ * @param [properties] Properties to set
28700
+ * @returns PartialUpdateMetadata instance
28701
+ */
28702
+ static create(
28703
+ properties?: replit$goval$api$IPartialUpdateMetadata
28704
+ ): replit$goval$api$PartialUpdateMetadata;
28705
+
28706
+ /**
28707
+ * [object Object],[object Object],[object Object]
28708
+ * @param message PartialUpdateMetadata message or plain object to encode
28709
+ * @param [writer] Writer to encode to
28710
+ * @returns Writer
28711
+ */
28712
+ static encode(
28713
+ message: replit$goval$api$PartialUpdateMetadata,
28714
+ writer?: $protobuf.Writer
28715
+ ): $protobuf.Writer;
28716
+
28717
+ /**
28718
+ * [object Object],[object Object],[object Object]
28719
+ * @param message PartialUpdateMetadata message or plain object to encode
28720
+ * @param [writer] Writer to encode to
28721
+ * @returns Writer
28722
+ */
28723
+ static encodeDelimited(
28724
+ message: replit$goval$api$PartialUpdateMetadata,
28725
+ writer?: $protobuf.Writer
28726
+ ): $protobuf.Writer;
28727
+
28728
+ /**
28729
+ * Decodes a PartialUpdateMetadata message from the specified reader or buffer.
28730
+ * @param reader Reader or buffer to decode from
28731
+ * @param [length] Message length if known beforehand
28732
+ * @returns PartialUpdateMetadata
28733
+ * @throws {Error} If the payload is not a reader or valid buffer
28734
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28735
+ */
28736
+ static decode(
28737
+ reader: $protobuf.Reader | Uint8Array,
28738
+ length?: number
28739
+ ): replit$goval$api$PartialUpdateMetadata;
28740
+
28741
+ /**
28742
+ * Decodes a PartialUpdateMetadata message from the specified reader or buffer, length delimited.
28743
+ * @param reader Reader or buffer to decode from
28744
+ * @returns PartialUpdateMetadata
28745
+ * @throws {Error} If the payload is not a reader or valid buffer
28746
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28747
+ */
28748
+ static decodeDelimited(
28749
+ reader: $protobuf.Reader | Uint8Array
28750
+ ): replit$goval$api$PartialUpdateMetadata;
28751
+
28752
+ /**
28753
+ * Verifies a PartialUpdateMetadata message.
28754
+ * @param message Plain object to verify
28755
+ * @returns `null` if valid, otherwise the reason why it is not
28756
+ */
28757
+ static verify(message: {|
28758
+ [k: string]: any,
28759
+ |}): string | null;
28760
+
28761
+ /**
28762
+ * Creates a PartialUpdateMetadata message from a plain object. Also converts values to their respective internal types.
28763
+ * @param object Plain object
28764
+ * @returns PartialUpdateMetadata
28765
+ */
28766
+ static fromObject(object: {|
28767
+ [k: string]: any,
28768
+ |}): replit$goval$api$PartialUpdateMetadata;
28769
+
28770
+ /**
28771
+ * Creates a plain object from a PartialUpdateMetadata message. Also converts values to other types if specified.
28772
+ * @param message PartialUpdateMetadata
28773
+ * @param [options] Conversion options
28774
+ * @returns Plain object
28775
+ */
28776
+ static toObject(
28777
+ message: replit$goval$api$PartialUpdateMetadata,
28778
+ options?: $protobuf.IConversionOptions
28779
+ ): {|
28780
+ [k: string]: any,
28781
+ |};
28782
+
28783
+ /**
28784
+ * Converts this PartialUpdateMetadata to JSON.
28785
+ * @returns JSON object
28786
+ */
28787
+ toJSON(): {|
28788
+ [k: string]: any,
28789
+ |};
28790
+ }
28791
+
28481
28792
  /**
28482
28793
  * Properties of a Restore.
28483
28794
  */
@@ -29699,10 +30010,12 @@ declare var npm$namespace$google$protobuf: {|
29699
30010
  IStruct: Class<google$protobuf$IStruct>,
29700
30011
  IValue: Class<google$protobuf$IValue>,
29701
30012
  IListValue: Class<google$protobuf$IListValue>,
30013
+ IFieldMask: Class<google$protobuf$IFieldMask>,
29702
30014
  Timestamp: typeof google$protobuf$Timestamp,
29703
30015
  Struct: typeof google$protobuf$Struct,
29704
30016
  Value: typeof google$protobuf$Value,
29705
30017
  ListValue: typeof google$protobuf$ListValue,
30018
+ FieldMask: typeof google$protobuf$FieldMask,
29706
30019
  |};
29707
30020
 
29708
30021
  /**
@@ -30263,4 +30576,124 @@ declare class google$protobuf$ListValue {
30263
30576
  [k: string]: any,
30264
30577
  |};
30265
30578
  }
30579
+
30580
+ /**
30581
+ * Properties of a FieldMask.
30582
+ */
30583
+ declare type google$protobuf$IFieldMask = {|
30584
+ /**
30585
+ * FieldMask paths
30586
+ */
30587
+ paths?: string[] | null,
30588
+ |};
30589
+
30590
+ /**
30591
+ * Represents a FieldMask.
30592
+ */
30593
+ declare class google$protobuf$FieldMask {
30594
+ /**
30595
+ * Constructs a new FieldMask.
30596
+ * @param [properties] Properties to set
30597
+ */
30598
+ constructor(properties?: google$protobuf$IFieldMask): this;
30599
+
30600
+ /**
30601
+ * FieldMask paths.
30602
+ */
30603
+ paths: string[];
30604
+
30605
+ /**
30606
+ * Creates a new FieldMask instance using the specified properties.
30607
+ * @param [properties] Properties to set
30608
+ * @returns FieldMask instance
30609
+ */
30610
+ static create(
30611
+ properties?: google$protobuf$IFieldMask
30612
+ ): google$protobuf$FieldMask;
30613
+
30614
+ /**
30615
+ * [object Object],[object Object],[object Object]
30616
+ * @param message FieldMask message or plain object to encode
30617
+ * @param [writer] Writer to encode to
30618
+ * @returns Writer
30619
+ */
30620
+ static encode(
30621
+ message: google$protobuf$FieldMask,
30622
+ writer?: $protobuf.Writer
30623
+ ): $protobuf.Writer;
30624
+
30625
+ /**
30626
+ * [object Object],[object Object],[object Object]
30627
+ * @param message FieldMask message or plain object to encode
30628
+ * @param [writer] Writer to encode to
30629
+ * @returns Writer
30630
+ */
30631
+ static encodeDelimited(
30632
+ message: google$protobuf$FieldMask,
30633
+ writer?: $protobuf.Writer
30634
+ ): $protobuf.Writer;
30635
+
30636
+ /**
30637
+ * Decodes a FieldMask message from the specified reader or buffer.
30638
+ * @param reader Reader or buffer to decode from
30639
+ * @param [length] Message length if known beforehand
30640
+ * @returns FieldMask
30641
+ * @throws {Error} If the payload is not a reader or valid buffer
30642
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30643
+ */
30644
+ static decode(
30645
+ reader: $protobuf.Reader | Uint8Array,
30646
+ length?: number
30647
+ ): google$protobuf$FieldMask;
30648
+
30649
+ /**
30650
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
30651
+ * @param reader Reader or buffer to decode from
30652
+ * @returns FieldMask
30653
+ * @throws {Error} If the payload is not a reader or valid buffer
30654
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30655
+ */
30656
+ static decodeDelimited(
30657
+ reader: $protobuf.Reader | Uint8Array
30658
+ ): google$protobuf$FieldMask;
30659
+
30660
+ /**
30661
+ * Verifies a FieldMask message.
30662
+ * @param message Plain object to verify
30663
+ * @returns `null` if valid, otherwise the reason why it is not
30664
+ */
30665
+ static verify(message: {|
30666
+ [k: string]: any,
30667
+ |}): string | null;
30668
+
30669
+ /**
30670
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
30671
+ * @param object Plain object
30672
+ * @returns FieldMask
30673
+ */
30674
+ static fromObject(object: {|
30675
+ [k: string]: any,
30676
+ |}): google$protobuf$FieldMask;
30677
+
30678
+ /**
30679
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
30680
+ * @param message FieldMask
30681
+ * @param [options] Conversion options
30682
+ * @returns Plain object
30683
+ */
30684
+ static toObject(
30685
+ message: google$protobuf$FieldMask,
30686
+ options?: $protobuf.IConversionOptions
30687
+ ): {|
30688
+ [k: string]: any,
30689
+ |};
30690
+
30691
+ /**
30692
+ * Converts this FieldMask to JSON.
30693
+ * @returns JSON object
30694
+ */
30695
+ toJSON(): {|
30696
+ [k: string]: any,
30697
+ |};
30698
+ }
30266
30699
  export var api = npm$namespace$replit$goval$api;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.76",
3
+ "version": "0.2.77",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",