@replit/protocol 0.3.0 → 0.3.1

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.
@@ -445,6 +445,7 @@ declare var npm$namespace$replit$goval$api: {|
445
445
  ConnectivityPowerup: typeof replit$goval$api$ConnectivityPowerup,
446
446
  PowerUp: typeof replit$goval$api$PowerUp,
447
447
  UserPowerUps: typeof replit$goval$api$UserPowerUps,
448
+ lore: typeof npm$namespace$replit$goval$api$lore,
448
449
  features: typeof npm$namespace$replit$goval$api$features,
449
450
  repl: typeof npm$namespace$replit$goval$api$repl,
450
451
  |};
@@ -31442,6 +31443,1636 @@ declare class replit$goval$api$GovalReplIdentity {
31442
31443
  |};
31443
31444
  }
31444
31445
 
31446
+ declare var npm$namespace$replit$goval$api$lore: {|
31447
+ ILoreCommand: Class<replit$goval$api$lore$ILoreCommand>,
31448
+ IClusterTransfer: Class<replit$goval$api$lore$IClusterTransfer>,
31449
+ ISoftTakedown: Class<replit$goval$api$lore$ISoftTakedown>,
31450
+ ITakedown: Class<replit$goval$api$lore$ITakedown>,
31451
+ IGovalCommand: Class<replit$goval$api$lore$IGovalCommand>,
31452
+ IPartialUpdateMetadata: Class<replit$goval$api$lore$IPartialUpdateMetadata>,
31453
+ IMultiGovalCommand: Class<replit$goval$api$lore$IMultiGovalCommand>,
31454
+ IKillRepl: Class<replit$goval$api$lore$IKillRepl>,
31455
+ IRestore: Class<replit$goval$api$lore$IRestore>,
31456
+ IUpdateSourceRepl: Class<replit$goval$api$lore$IUpdateSourceRepl>,
31457
+ IUpdateReplFlags: Class<replit$goval$api$lore$IUpdateReplFlags>,
31458
+ LoreCommand: typeof replit$goval$api$lore$LoreCommand,
31459
+ ClusterTransfer: typeof replit$goval$api$lore$ClusterTransfer,
31460
+ SoftTakedown: typeof replit$goval$api$lore$SoftTakedown,
31461
+ Takedown: typeof replit$goval$api$lore$Takedown,
31462
+ GovalCommand: typeof replit$goval$api$lore$GovalCommand,
31463
+ PartialUpdateMetadata: typeof replit$goval$api$lore$PartialUpdateMetadata,
31464
+ MultiGovalCommand: typeof replit$goval$api$lore$MultiGovalCommand,
31465
+ KillRepl: typeof replit$goval$api$lore$KillRepl,
31466
+ Restore: typeof replit$goval$api$lore$Restore,
31467
+ UpdateSourceRepl: typeof replit$goval$api$lore$UpdateSourceRepl,
31468
+ UpdateReplFlags: typeof replit$goval$api$lore$UpdateReplFlags,
31469
+ |};
31470
+
31471
+ /**
31472
+ * Properties of a LoreCommand.
31473
+ */
31474
+ declare type replit$goval$api$lore$ILoreCommand = {|
31475
+ /**
31476
+ * LoreCommand clusterTransfer
31477
+ */
31478
+ clusterTransfer?:
31479
+ | replit$goval$api$lore$ClusterTransfer
31480
+ | replit$goval$api$lore$IClusterTransfer
31481
+ | null,
31482
+
31483
+ /**
31484
+ * LoreCommand softTakedown
31485
+ */
31486
+ softTakedown?:
31487
+ | replit$goval$api$lore$SoftTakedown
31488
+ | replit$goval$api$lore$ISoftTakedown
31489
+ | null,
31490
+
31491
+ /**
31492
+ * LoreCommand takedown
31493
+ */
31494
+ takedown?:
31495
+ | replit$goval$api$lore$Takedown
31496
+ | replit$goval$api$lore$ITakedown
31497
+ | null,
31498
+
31499
+ /**
31500
+ * LoreCommand govalCommand
31501
+ */
31502
+ govalCommand?:
31503
+ | replit$goval$api$lore$GovalCommand
31504
+ | replit$goval$api$lore$IGovalCommand
31505
+ | null,
31506
+
31507
+ /**
31508
+ * LoreCommand multiGovalCommand
31509
+ */
31510
+ multiGovalCommand?:
31511
+ | replit$goval$api$lore$MultiGovalCommand
31512
+ | replit$goval$api$lore$IMultiGovalCommand
31513
+ | null,
31514
+
31515
+ /**
31516
+ * LoreCommand restore
31517
+ */
31518
+ restore?:
31519
+ | replit$goval$api$lore$Restore
31520
+ | replit$goval$api$lore$IRestore
31521
+ | null,
31522
+ |};
31523
+
31524
+ /**
31525
+ * Represents a LoreCommand.
31526
+ */
31527
+ declare class replit$goval$api$lore$LoreCommand {
31528
+ /**
31529
+ * Constructs a new LoreCommand.
31530
+ * @param [properties] Properties to set
31531
+ */
31532
+ constructor(properties?: replit$goval$api$lore$ILoreCommand): this;
31533
+
31534
+ /**
31535
+ * LoreCommand clusterTransfer.
31536
+ */
31537
+ clusterTransfer?: replit$goval$api$lore$ClusterTransfer | null;
31538
+
31539
+ /**
31540
+ * LoreCommand softTakedown.
31541
+ */
31542
+ softTakedown?: replit$goval$api$lore$SoftTakedown | null;
31543
+
31544
+ /**
31545
+ * LoreCommand takedown.
31546
+ */
31547
+ takedown?: replit$goval$api$lore$Takedown | null;
31548
+
31549
+ /**
31550
+ * LoreCommand govalCommand.
31551
+ */
31552
+ govalCommand?: replit$goval$api$lore$GovalCommand | null;
31553
+
31554
+ /**
31555
+ * LoreCommand multiGovalCommand.
31556
+ */
31557
+ multiGovalCommand?: replit$goval$api$lore$MultiGovalCommand | null;
31558
+
31559
+ /**
31560
+ * LoreCommand restore.
31561
+ */
31562
+ restore?: replit$goval$api$lore$Restore | null;
31563
+
31564
+ /**
31565
+ * LoreCommand command.
31566
+ */
31567
+ command?:
31568
+ | "clusterTransfer"
31569
+ | "softTakedown"
31570
+ | "takedown"
31571
+ | "govalCommand"
31572
+ | "multiGovalCommand"
31573
+ | "restore";
31574
+
31575
+ /**
31576
+ * Creates a new LoreCommand instance using the specified properties.
31577
+ * @param [properties] Properties to set
31578
+ * @returns LoreCommand instance
31579
+ */
31580
+ static create(
31581
+ properties?: replit$goval$api$lore$ILoreCommand
31582
+ ): replit$goval$api$lore$LoreCommand;
31583
+
31584
+ /**
31585
+ * [object Object],[object Object],[object Object]
31586
+ * @param message LoreCommand message or plain object to encode
31587
+ * @param [writer] Writer to encode to
31588
+ * @returns Writer
31589
+ */
31590
+ static encode(
31591
+ message: replit$goval$api$lore$LoreCommand,
31592
+ writer?: $protobuf.Writer
31593
+ ): $protobuf.Writer;
31594
+
31595
+ /**
31596
+ * [object Object],[object Object],[object Object]
31597
+ * @param message LoreCommand message or plain object to encode
31598
+ * @param [writer] Writer to encode to
31599
+ * @returns Writer
31600
+ */
31601
+ static encodeDelimited(
31602
+ message: replit$goval$api$lore$LoreCommand,
31603
+ writer?: $protobuf.Writer
31604
+ ): $protobuf.Writer;
31605
+
31606
+ /**
31607
+ * Decodes a LoreCommand message from the specified reader or buffer.
31608
+ * @param reader Reader or buffer to decode from
31609
+ * @param [length] Message length if known beforehand
31610
+ * @returns LoreCommand
31611
+ * @throws {Error} If the payload is not a reader or valid buffer
31612
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31613
+ */
31614
+ static decode(
31615
+ reader: $protobuf.Reader | Uint8Array,
31616
+ length?: number
31617
+ ): replit$goval$api$lore$LoreCommand;
31618
+
31619
+ /**
31620
+ * Decodes a LoreCommand message from the specified reader or buffer, length delimited.
31621
+ * @param reader Reader or buffer to decode from
31622
+ * @returns LoreCommand
31623
+ * @throws {Error} If the payload is not a reader or valid buffer
31624
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31625
+ */
31626
+ static decodeDelimited(
31627
+ reader: $protobuf.Reader | Uint8Array
31628
+ ): replit$goval$api$lore$LoreCommand;
31629
+
31630
+ /**
31631
+ * Verifies a LoreCommand message.
31632
+ * @param message Plain object to verify
31633
+ * @returns `null` if valid, otherwise the reason why it is not
31634
+ */
31635
+ static verify(message: {|
31636
+ [k: string]: any,
31637
+ |}): string | null;
31638
+
31639
+ /**
31640
+ * Creates a LoreCommand message from a plain object. Also converts values to their respective internal types.
31641
+ * @param object Plain object
31642
+ * @returns LoreCommand
31643
+ */
31644
+ static fromObject(object: {|
31645
+ [k: string]: any,
31646
+ |}): replit$goval$api$lore$LoreCommand;
31647
+
31648
+ /**
31649
+ * Creates a plain object from a LoreCommand message. Also converts values to other types if specified.
31650
+ * @param message LoreCommand
31651
+ * @param [options] Conversion options
31652
+ * @returns Plain object
31653
+ */
31654
+ static toObject(
31655
+ message: replit$goval$api$lore$LoreCommand,
31656
+ options?: $protobuf.IConversionOptions
31657
+ ): {|
31658
+ [k: string]: any,
31659
+ |};
31660
+
31661
+ /**
31662
+ * Converts this LoreCommand to JSON.
31663
+ * @returns JSON object
31664
+ */
31665
+ toJSON(): {|
31666
+ [k: string]: any,
31667
+ |};
31668
+ }
31669
+
31670
+ /**
31671
+ * Properties of a ClusterTransfer.
31672
+ */
31673
+ declare type replit$goval$api$lore$IClusterTransfer = {|
31674
+ /**
31675
+ * ClusterTransfer replId
31676
+ */
31677
+ replId?: string | null,
31678
+
31679
+ /**
31680
+ * ClusterTransfer user
31681
+ */
31682
+ user?: string | null,
31683
+
31684
+ /**
31685
+ * ClusterTransfer newClusterId
31686
+ */
31687
+ newClusterId?: string | null,
31688
+
31689
+ /**
31690
+ * ClusterTransfer newContinentId
31691
+ */
31692
+ newContinentId?: string | null,
31693
+
31694
+ /**
31695
+ * ClusterTransfer transferId
31696
+ */
31697
+ transferId?: string | null,
31698
+ |};
31699
+
31700
+ /**
31701
+ * Represents a ClusterTransfer.
31702
+ */
31703
+ declare class replit$goval$api$lore$ClusterTransfer {
31704
+ /**
31705
+ * Constructs a new ClusterTransfer.
31706
+ * @param [properties] Properties to set
31707
+ */
31708
+ constructor(properties?: replit$goval$api$lore$IClusterTransfer): this;
31709
+
31710
+ /**
31711
+ * ClusterTransfer replId.
31712
+ */
31713
+ replId: string;
31714
+
31715
+ /**
31716
+ * ClusterTransfer user.
31717
+ */
31718
+ user: string;
31719
+
31720
+ /**
31721
+ * ClusterTransfer newClusterId.
31722
+ */
31723
+ newClusterId?: string | null;
31724
+
31725
+ /**
31726
+ * ClusterTransfer newContinentId.
31727
+ */
31728
+ newContinentId?: string | null;
31729
+
31730
+ /**
31731
+ * ClusterTransfer transferId.
31732
+ */
31733
+ transferId: string;
31734
+
31735
+ /**
31736
+ * ClusterTransfer location.
31737
+ */
31738
+ location?: "newClusterId" | "newContinentId";
31739
+
31740
+ /**
31741
+ * Creates a new ClusterTransfer instance using the specified properties.
31742
+ * @param [properties] Properties to set
31743
+ * @returns ClusterTransfer instance
31744
+ */
31745
+ static create(
31746
+ properties?: replit$goval$api$lore$IClusterTransfer
31747
+ ): replit$goval$api$lore$ClusterTransfer;
31748
+
31749
+ /**
31750
+ * [object Object],[object Object],[object Object]
31751
+ * @param message ClusterTransfer message or plain object to encode
31752
+ * @param [writer] Writer to encode to
31753
+ * @returns Writer
31754
+ */
31755
+ static encode(
31756
+ message: replit$goval$api$lore$ClusterTransfer,
31757
+ writer?: $protobuf.Writer
31758
+ ): $protobuf.Writer;
31759
+
31760
+ /**
31761
+ * [object Object],[object Object],[object Object]
31762
+ * @param message ClusterTransfer message or plain object to encode
31763
+ * @param [writer] Writer to encode to
31764
+ * @returns Writer
31765
+ */
31766
+ static encodeDelimited(
31767
+ message: replit$goval$api$lore$ClusterTransfer,
31768
+ writer?: $protobuf.Writer
31769
+ ): $protobuf.Writer;
31770
+
31771
+ /**
31772
+ * Decodes a ClusterTransfer message from the specified reader or buffer.
31773
+ * @param reader Reader or buffer to decode from
31774
+ * @param [length] Message length if known beforehand
31775
+ * @returns ClusterTransfer
31776
+ * @throws {Error} If the payload is not a reader or valid buffer
31777
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31778
+ */
31779
+ static decode(
31780
+ reader: $protobuf.Reader | Uint8Array,
31781
+ length?: number
31782
+ ): replit$goval$api$lore$ClusterTransfer;
31783
+
31784
+ /**
31785
+ * Decodes a ClusterTransfer message from the specified reader or buffer, length delimited.
31786
+ * @param reader Reader or buffer to decode from
31787
+ * @returns ClusterTransfer
31788
+ * @throws {Error} If the payload is not a reader or valid buffer
31789
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31790
+ */
31791
+ static decodeDelimited(
31792
+ reader: $protobuf.Reader | Uint8Array
31793
+ ): replit$goval$api$lore$ClusterTransfer;
31794
+
31795
+ /**
31796
+ * Verifies a ClusterTransfer message.
31797
+ * @param message Plain object to verify
31798
+ * @returns `null` if valid, otherwise the reason why it is not
31799
+ */
31800
+ static verify(message: {|
31801
+ [k: string]: any,
31802
+ |}): string | null;
31803
+
31804
+ /**
31805
+ * Creates a ClusterTransfer message from a plain object. Also converts values to their respective internal types.
31806
+ * @param object Plain object
31807
+ * @returns ClusterTransfer
31808
+ */
31809
+ static fromObject(object: {|
31810
+ [k: string]: any,
31811
+ |}): replit$goval$api$lore$ClusterTransfer;
31812
+
31813
+ /**
31814
+ * Creates a plain object from a ClusterTransfer message. Also converts values to other types if specified.
31815
+ * @param message ClusterTransfer
31816
+ * @param [options] Conversion options
31817
+ * @returns Plain object
31818
+ */
31819
+ static toObject(
31820
+ message: replit$goval$api$lore$ClusterTransfer,
31821
+ options?: $protobuf.IConversionOptions
31822
+ ): {|
31823
+ [k: string]: any,
31824
+ |};
31825
+
31826
+ /**
31827
+ * Converts this ClusterTransfer to JSON.
31828
+ * @returns JSON object
31829
+ */
31830
+ toJSON(): {|
31831
+ [k: string]: any,
31832
+ |};
31833
+ }
31834
+
31835
+ /**
31836
+ * Properties of a SoftTakedown.
31837
+ */
31838
+ declare type replit$goval$api$lore$ISoftTakedown = {|
31839
+ /**
31840
+ * SoftTakedown replId
31841
+ */
31842
+ replId?: string | null,
31843
+
31844
+ /**
31845
+ * SoftTakedown softTakedownId
31846
+ */
31847
+ softTakedownId?: string | null,
31848
+ |};
31849
+
31850
+ /**
31851
+ * Represents a SoftTakedown.
31852
+ */
31853
+ declare class replit$goval$api$lore$SoftTakedown {
31854
+ /**
31855
+ * Constructs a new SoftTakedown.
31856
+ * @param [properties] Properties to set
31857
+ */
31858
+ constructor(properties?: replit$goval$api$lore$ISoftTakedown): this;
31859
+
31860
+ /**
31861
+ * SoftTakedown replId.
31862
+ */
31863
+ replId: string;
31864
+
31865
+ /**
31866
+ * SoftTakedown softTakedownId.
31867
+ */
31868
+ softTakedownId: string;
31869
+
31870
+ /**
31871
+ * Creates a new SoftTakedown instance using the specified properties.
31872
+ * @param [properties] Properties to set
31873
+ * @returns SoftTakedown instance
31874
+ */
31875
+ static create(
31876
+ properties?: replit$goval$api$lore$ISoftTakedown
31877
+ ): replit$goval$api$lore$SoftTakedown;
31878
+
31879
+ /**
31880
+ * [object Object],[object Object],[object Object]
31881
+ * @param message SoftTakedown message or plain object to encode
31882
+ * @param [writer] Writer to encode to
31883
+ * @returns Writer
31884
+ */
31885
+ static encode(
31886
+ message: replit$goval$api$lore$SoftTakedown,
31887
+ writer?: $protobuf.Writer
31888
+ ): $protobuf.Writer;
31889
+
31890
+ /**
31891
+ * [object Object],[object Object],[object Object]
31892
+ * @param message SoftTakedown message or plain object to encode
31893
+ * @param [writer] Writer to encode to
31894
+ * @returns Writer
31895
+ */
31896
+ static encodeDelimited(
31897
+ message: replit$goval$api$lore$SoftTakedown,
31898
+ writer?: $protobuf.Writer
31899
+ ): $protobuf.Writer;
31900
+
31901
+ /**
31902
+ * Decodes a SoftTakedown message from the specified reader or buffer.
31903
+ * @param reader Reader or buffer to decode from
31904
+ * @param [length] Message length if known beforehand
31905
+ * @returns SoftTakedown
31906
+ * @throws {Error} If the payload is not a reader or valid buffer
31907
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31908
+ */
31909
+ static decode(
31910
+ reader: $protobuf.Reader | Uint8Array,
31911
+ length?: number
31912
+ ): replit$goval$api$lore$SoftTakedown;
31913
+
31914
+ /**
31915
+ * Decodes a SoftTakedown message from the specified reader or buffer, length delimited.
31916
+ * @param reader Reader or buffer to decode from
31917
+ * @returns SoftTakedown
31918
+ * @throws {Error} If the payload is not a reader or valid buffer
31919
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31920
+ */
31921
+ static decodeDelimited(
31922
+ reader: $protobuf.Reader | Uint8Array
31923
+ ): replit$goval$api$lore$SoftTakedown;
31924
+
31925
+ /**
31926
+ * Verifies a SoftTakedown message.
31927
+ * @param message Plain object to verify
31928
+ * @returns `null` if valid, otherwise the reason why it is not
31929
+ */
31930
+ static verify(message: {|
31931
+ [k: string]: any,
31932
+ |}): string | null;
31933
+
31934
+ /**
31935
+ * Creates a SoftTakedown message from a plain object. Also converts values to their respective internal types.
31936
+ * @param object Plain object
31937
+ * @returns SoftTakedown
31938
+ */
31939
+ static fromObject(object: {|
31940
+ [k: string]: any,
31941
+ |}): replit$goval$api$lore$SoftTakedown;
31942
+
31943
+ /**
31944
+ * Creates a plain object from a SoftTakedown message. Also converts values to other types if specified.
31945
+ * @param message SoftTakedown
31946
+ * @param [options] Conversion options
31947
+ * @returns Plain object
31948
+ */
31949
+ static toObject(
31950
+ message: replit$goval$api$lore$SoftTakedown,
31951
+ options?: $protobuf.IConversionOptions
31952
+ ): {|
31953
+ [k: string]: any,
31954
+ |};
31955
+
31956
+ /**
31957
+ * Converts this SoftTakedown to JSON.
31958
+ * @returns JSON object
31959
+ */
31960
+ toJSON(): {|
31961
+ [k: string]: any,
31962
+ |};
31963
+ }
31964
+
31965
+ /**
31966
+ * Properties of a Takedown.
31967
+ */
31968
+ declare type replit$goval$api$lore$ITakedown = {|
31969
+ /**
31970
+ * Takedown replId
31971
+ */
31972
+ replId?: string | null,
31973
+ |};
31974
+
31975
+ /**
31976
+ * Represents a Takedown.
31977
+ */
31978
+ declare class replit$goval$api$lore$Takedown {
31979
+ /**
31980
+ * Constructs a new Takedown.
31981
+ * @param [properties] Properties to set
31982
+ */
31983
+ constructor(properties?: replit$goval$api$lore$ITakedown): this;
31984
+
31985
+ /**
31986
+ * Takedown replId.
31987
+ */
31988
+ replId: string;
31989
+
31990
+ /**
31991
+ * Creates a new Takedown instance using the specified properties.
31992
+ * @param [properties] Properties to set
31993
+ * @returns Takedown instance
31994
+ */
31995
+ static create(
31996
+ properties?: replit$goval$api$lore$ITakedown
31997
+ ): replit$goval$api$lore$Takedown;
31998
+
31999
+ /**
32000
+ * [object Object],[object Object],[object Object]
32001
+ * @param message Takedown message or plain object to encode
32002
+ * @param [writer] Writer to encode to
32003
+ * @returns Writer
32004
+ */
32005
+ static encode(
32006
+ message: replit$goval$api$lore$Takedown,
32007
+ writer?: $protobuf.Writer
32008
+ ): $protobuf.Writer;
32009
+
32010
+ /**
32011
+ * [object Object],[object Object],[object Object]
32012
+ * @param message Takedown message or plain object to encode
32013
+ * @param [writer] Writer to encode to
32014
+ * @returns Writer
32015
+ */
32016
+ static encodeDelimited(
32017
+ message: replit$goval$api$lore$Takedown,
32018
+ writer?: $protobuf.Writer
32019
+ ): $protobuf.Writer;
32020
+
32021
+ /**
32022
+ * Decodes a Takedown message from the specified reader or buffer.
32023
+ * @param reader Reader or buffer to decode from
32024
+ * @param [length] Message length if known beforehand
32025
+ * @returns Takedown
32026
+ * @throws {Error} If the payload is not a reader or valid buffer
32027
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32028
+ */
32029
+ static decode(
32030
+ reader: $protobuf.Reader | Uint8Array,
32031
+ length?: number
32032
+ ): replit$goval$api$lore$Takedown;
32033
+
32034
+ /**
32035
+ * Decodes a Takedown message from the specified reader or buffer, length delimited.
32036
+ * @param reader Reader or buffer to decode from
32037
+ * @returns Takedown
32038
+ * @throws {Error} If the payload is not a reader or valid buffer
32039
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32040
+ */
32041
+ static decodeDelimited(
32042
+ reader: $protobuf.Reader | Uint8Array
32043
+ ): replit$goval$api$lore$Takedown;
32044
+
32045
+ /**
32046
+ * Verifies a Takedown message.
32047
+ * @param message Plain object to verify
32048
+ * @returns `null` if valid, otherwise the reason why it is not
32049
+ */
32050
+ static verify(message: {|
32051
+ [k: string]: any,
32052
+ |}): string | null;
32053
+
32054
+ /**
32055
+ * Creates a Takedown message from a plain object. Also converts values to their respective internal types.
32056
+ * @param object Plain object
32057
+ * @returns Takedown
32058
+ */
32059
+ static fromObject(object: {|
32060
+ [k: string]: any,
32061
+ |}): replit$goval$api$lore$Takedown;
32062
+
32063
+ /**
32064
+ * Creates a plain object from a Takedown message. Also converts values to other types if specified.
32065
+ * @param message Takedown
32066
+ * @param [options] Conversion options
32067
+ * @returns Plain object
32068
+ */
32069
+ static toObject(
32070
+ message: replit$goval$api$lore$Takedown,
32071
+ options?: $protobuf.IConversionOptions
32072
+ ): {|
32073
+ [k: string]: any,
32074
+ |};
32075
+
32076
+ /**
32077
+ * Converts this Takedown to JSON.
32078
+ * @returns JSON object
32079
+ */
32080
+ toJSON(): {|
32081
+ [k: string]: any,
32082
+ |};
32083
+ }
32084
+
32085
+ /**
32086
+ * Properties of a GovalCommand.
32087
+ */
32088
+ declare type replit$goval$api$lore$IGovalCommand = {|
32089
+ /**
32090
+ * GovalCommand updateMetadata
32091
+ */
32092
+ updateMetadata?:
32093
+ | replit$goval$api$repl$Metadata
32094
+ | replit$goval$api$repl$IMetadata
32095
+ | null,
32096
+
32097
+ /**
32098
+ * GovalCommand partialUpdateMetadata
32099
+ */
32100
+ partialUpdateMetadata?:
32101
+ | replit$goval$api$lore$PartialUpdateMetadata
32102
+ | replit$goval$api$lore$IPartialUpdateMetadata
32103
+ | null,
32104
+
32105
+ /**
32106
+ * GovalCommand killRepl
32107
+ */
32108
+ killRepl?:
32109
+ | replit$goval$api$lore$KillRepl
32110
+ | replit$goval$api$lore$IKillRepl
32111
+ | null,
32112
+
32113
+ /**
32114
+ * GovalCommand updateSourceRepl
32115
+ */
32116
+ updateSourceRepl?:
32117
+ | replit$goval$api$lore$UpdateSourceRepl
32118
+ | replit$goval$api$lore$IUpdateSourceRepl
32119
+ | null,
32120
+
32121
+ /**
32122
+ * GovalCommand updateReplFlags
32123
+ */
32124
+ updateReplFlags?:
32125
+ | replit$goval$api$lore$UpdateReplFlags
32126
+ | replit$goval$api$lore$IUpdateReplFlags
32127
+ | null,
32128
+
32129
+ /**
32130
+ * GovalCommand softTakedown
32131
+ */
32132
+ softTakedown?:
32133
+ | replit$goval$api$lore$SoftTakedown
32134
+ | replit$goval$api$lore$ISoftTakedown
32135
+ | null,
32136
+
32137
+ /**
32138
+ * GovalCommand takedown
32139
+ */
32140
+ takedown?:
32141
+ | replit$goval$api$lore$Takedown
32142
+ | replit$goval$api$lore$ITakedown
32143
+ | null,
32144
+ |};
32145
+
32146
+ /**
32147
+ * Represents a GovalCommand.
32148
+ */
32149
+ declare class replit$goval$api$lore$GovalCommand {
32150
+ /**
32151
+ * Constructs a new GovalCommand.
32152
+ * @param [properties] Properties to set
32153
+ */
32154
+ constructor(properties?: replit$goval$api$lore$IGovalCommand): this;
32155
+
32156
+ /**
32157
+ * GovalCommand updateMetadata.
32158
+ */
32159
+ updateMetadata?: replit$goval$api$repl$Metadata | null;
32160
+
32161
+ /**
32162
+ * GovalCommand partialUpdateMetadata.
32163
+ */
32164
+ partialUpdateMetadata?: replit$goval$api$lore$PartialUpdateMetadata | null;
32165
+
32166
+ /**
32167
+ * GovalCommand killRepl.
32168
+ */
32169
+ killRepl?: replit$goval$api$lore$KillRepl | null;
32170
+
32171
+ /**
32172
+ * GovalCommand updateSourceRepl.
32173
+ */
32174
+ updateSourceRepl?: replit$goval$api$lore$UpdateSourceRepl | null;
32175
+
32176
+ /**
32177
+ * GovalCommand updateReplFlags.
32178
+ */
32179
+ updateReplFlags?: replit$goval$api$lore$UpdateReplFlags | null;
32180
+
32181
+ /**
32182
+ * GovalCommand softTakedown.
32183
+ */
32184
+ softTakedown?: replit$goval$api$lore$SoftTakedown | null;
32185
+
32186
+ /**
32187
+ * GovalCommand takedown.
32188
+ */
32189
+ takedown?: replit$goval$api$lore$Takedown | null;
32190
+
32191
+ /**
32192
+ * GovalCommand command.
32193
+ */
32194
+ command?:
32195
+ | "updateMetadata"
32196
+ | "partialUpdateMetadata"
32197
+ | "killRepl"
32198
+ | "updateSourceRepl"
32199
+ | "updateReplFlags"
32200
+ | "softTakedown"
32201
+ | "takedown";
32202
+
32203
+ /**
32204
+ * Creates a new GovalCommand instance using the specified properties.
32205
+ * @param [properties] Properties to set
32206
+ * @returns GovalCommand instance
32207
+ */
32208
+ static create(
32209
+ properties?: replit$goval$api$lore$IGovalCommand
32210
+ ): replit$goval$api$lore$GovalCommand;
32211
+
32212
+ /**
32213
+ * [object Object],[object Object],[object Object]
32214
+ * @param message GovalCommand message or plain object to encode
32215
+ * @param [writer] Writer to encode to
32216
+ * @returns Writer
32217
+ */
32218
+ static encode(
32219
+ message: replit$goval$api$lore$GovalCommand,
32220
+ writer?: $protobuf.Writer
32221
+ ): $protobuf.Writer;
32222
+
32223
+ /**
32224
+ * [object Object],[object Object],[object Object]
32225
+ * @param message GovalCommand message or plain object to encode
32226
+ * @param [writer] Writer to encode to
32227
+ * @returns Writer
32228
+ */
32229
+ static encodeDelimited(
32230
+ message: replit$goval$api$lore$GovalCommand,
32231
+ writer?: $protobuf.Writer
32232
+ ): $protobuf.Writer;
32233
+
32234
+ /**
32235
+ * Decodes a GovalCommand message from the specified reader or buffer.
32236
+ * @param reader Reader or buffer to decode from
32237
+ * @param [length] Message length if known beforehand
32238
+ * @returns GovalCommand
32239
+ * @throws {Error} If the payload is not a reader or valid buffer
32240
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32241
+ */
32242
+ static decode(
32243
+ reader: $protobuf.Reader | Uint8Array,
32244
+ length?: number
32245
+ ): replit$goval$api$lore$GovalCommand;
32246
+
32247
+ /**
32248
+ * Decodes a GovalCommand message from the specified reader or buffer, length delimited.
32249
+ * @param reader Reader or buffer to decode from
32250
+ * @returns GovalCommand
32251
+ * @throws {Error} If the payload is not a reader or valid buffer
32252
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32253
+ */
32254
+ static decodeDelimited(
32255
+ reader: $protobuf.Reader | Uint8Array
32256
+ ): replit$goval$api$lore$GovalCommand;
32257
+
32258
+ /**
32259
+ * Verifies a GovalCommand message.
32260
+ * @param message Plain object to verify
32261
+ * @returns `null` if valid, otherwise the reason why it is not
32262
+ */
32263
+ static verify(message: {|
32264
+ [k: string]: any,
32265
+ |}): string | null;
32266
+
32267
+ /**
32268
+ * Creates a GovalCommand message from a plain object. Also converts values to their respective internal types.
32269
+ * @param object Plain object
32270
+ * @returns GovalCommand
32271
+ */
32272
+ static fromObject(object: {|
32273
+ [k: string]: any,
32274
+ |}): replit$goval$api$lore$GovalCommand;
32275
+
32276
+ /**
32277
+ * Creates a plain object from a GovalCommand message. Also converts values to other types if specified.
32278
+ * @param message GovalCommand
32279
+ * @param [options] Conversion options
32280
+ * @returns Plain object
32281
+ */
32282
+ static toObject(
32283
+ message: replit$goval$api$lore$GovalCommand,
32284
+ options?: $protobuf.IConversionOptions
32285
+ ): {|
32286
+ [k: string]: any,
32287
+ |};
32288
+
32289
+ /**
32290
+ * Converts this GovalCommand to JSON.
32291
+ * @returns JSON object
32292
+ */
32293
+ toJSON(): {|
32294
+ [k: string]: any,
32295
+ |};
32296
+ }
32297
+
32298
+ /**
32299
+ * Properties of a PartialUpdateMetadata.
32300
+ */
32301
+ declare type replit$goval$api$lore$IPartialUpdateMetadata = {|
32302
+ /**
32303
+ * PartialUpdateMetadata fieldMask
32304
+ */
32305
+ fieldMask?: google$protobuf$FieldMask | google$protobuf$IFieldMask | null,
32306
+
32307
+ /**
32308
+ * PartialUpdateMetadata updateMetadata
32309
+ */
32310
+ updateMetadata?:
32311
+ | replit$goval$api$repl$Metadata
32312
+ | replit$goval$api$repl$IMetadata
32313
+ | null,
32314
+ |};
32315
+
32316
+ /**
32317
+ * Represents a PartialUpdateMetadata.
32318
+ */
32319
+ declare class replit$goval$api$lore$PartialUpdateMetadata {
32320
+ /**
32321
+ * Constructs a new PartialUpdateMetadata.
32322
+ * @param [properties] Properties to set
32323
+ */
32324
+ constructor(properties?: replit$goval$api$lore$IPartialUpdateMetadata): this;
32325
+
32326
+ /**
32327
+ * PartialUpdateMetadata fieldMask.
32328
+ */
32329
+ fieldMask?: google$protobuf$FieldMask | null;
32330
+
32331
+ /**
32332
+ * PartialUpdateMetadata updateMetadata.
32333
+ */
32334
+ updateMetadata?: replit$goval$api$repl$Metadata | null;
32335
+
32336
+ /**
32337
+ * Creates a new PartialUpdateMetadata instance using the specified properties.
32338
+ * @param [properties] Properties to set
32339
+ * @returns PartialUpdateMetadata instance
32340
+ */
32341
+ static create(
32342
+ properties?: replit$goval$api$lore$IPartialUpdateMetadata
32343
+ ): replit$goval$api$lore$PartialUpdateMetadata;
32344
+
32345
+ /**
32346
+ * [object Object],[object Object],[object Object]
32347
+ * @param message PartialUpdateMetadata message or plain object to encode
32348
+ * @param [writer] Writer to encode to
32349
+ * @returns Writer
32350
+ */
32351
+ static encode(
32352
+ message: replit$goval$api$lore$PartialUpdateMetadata,
32353
+ writer?: $protobuf.Writer
32354
+ ): $protobuf.Writer;
32355
+
32356
+ /**
32357
+ * [object Object],[object Object],[object Object]
32358
+ * @param message PartialUpdateMetadata message or plain object to encode
32359
+ * @param [writer] Writer to encode to
32360
+ * @returns Writer
32361
+ */
32362
+ static encodeDelimited(
32363
+ message: replit$goval$api$lore$PartialUpdateMetadata,
32364
+ writer?: $protobuf.Writer
32365
+ ): $protobuf.Writer;
32366
+
32367
+ /**
32368
+ * Decodes a PartialUpdateMetadata message from the specified reader or buffer.
32369
+ * @param reader Reader or buffer to decode from
32370
+ * @param [length] Message length if known beforehand
32371
+ * @returns PartialUpdateMetadata
32372
+ * @throws {Error} If the payload is not a reader or valid buffer
32373
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32374
+ */
32375
+ static decode(
32376
+ reader: $protobuf.Reader | Uint8Array,
32377
+ length?: number
32378
+ ): replit$goval$api$lore$PartialUpdateMetadata;
32379
+
32380
+ /**
32381
+ * Decodes a PartialUpdateMetadata message from the specified reader or buffer, length delimited.
32382
+ * @param reader Reader or buffer to decode from
32383
+ * @returns PartialUpdateMetadata
32384
+ * @throws {Error} If the payload is not a reader or valid buffer
32385
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32386
+ */
32387
+ static decodeDelimited(
32388
+ reader: $protobuf.Reader | Uint8Array
32389
+ ): replit$goval$api$lore$PartialUpdateMetadata;
32390
+
32391
+ /**
32392
+ * Verifies a PartialUpdateMetadata message.
32393
+ * @param message Plain object to verify
32394
+ * @returns `null` if valid, otherwise the reason why it is not
32395
+ */
32396
+ static verify(message: {|
32397
+ [k: string]: any,
32398
+ |}): string | null;
32399
+
32400
+ /**
32401
+ * Creates a PartialUpdateMetadata message from a plain object. Also converts values to their respective internal types.
32402
+ * @param object Plain object
32403
+ * @returns PartialUpdateMetadata
32404
+ */
32405
+ static fromObject(object: {|
32406
+ [k: string]: any,
32407
+ |}): replit$goval$api$lore$PartialUpdateMetadata;
32408
+
32409
+ /**
32410
+ * Creates a plain object from a PartialUpdateMetadata message. Also converts values to other types if specified.
32411
+ * @param message PartialUpdateMetadata
32412
+ * @param [options] Conversion options
32413
+ * @returns Plain object
32414
+ */
32415
+ static toObject(
32416
+ message: replit$goval$api$lore$PartialUpdateMetadata,
32417
+ options?: $protobuf.IConversionOptions
32418
+ ): {|
32419
+ [k: string]: any,
32420
+ |};
32421
+
32422
+ /**
32423
+ * Converts this PartialUpdateMetadata to JSON.
32424
+ * @returns JSON object
32425
+ */
32426
+ toJSON(): {|
32427
+ [k: string]: any,
32428
+ |};
32429
+ }
32430
+
32431
+ /**
32432
+ * Properties of a MultiGovalCommand.
32433
+ */
32434
+ declare type replit$goval$api$lore$IMultiGovalCommand = {|
32435
+ /**
32436
+ * MultiGovalCommand replId
32437
+ */
32438
+ replId?: string | null,
32439
+
32440
+ /**
32441
+ * MultiGovalCommand govalCommands
32442
+ */
32443
+ govalCommands?:
32444
+ | (
32445
+ | replit$goval$api$lore$GovalCommand
32446
+ | replit$goval$api$lore$IGovalCommand
32447
+ )[]
32448
+ | null,
32449
+ |};
32450
+
32451
+ /**
32452
+ * Represents a MultiGovalCommand.
32453
+ */
32454
+ declare class replit$goval$api$lore$MultiGovalCommand {
32455
+ /**
32456
+ * Constructs a new MultiGovalCommand.
32457
+ * @param [properties] Properties to set
32458
+ */
32459
+ constructor(properties?: replit$goval$api$lore$IMultiGovalCommand): this;
32460
+
32461
+ /**
32462
+ * MultiGovalCommand replId.
32463
+ */
32464
+ replId: string;
32465
+
32466
+ /**
32467
+ * MultiGovalCommand govalCommands.
32468
+ */
32469
+ govalCommands: replit$goval$api$lore$GovalCommand[];
32470
+
32471
+ /**
32472
+ * Creates a new MultiGovalCommand instance using the specified properties.
32473
+ * @param [properties] Properties to set
32474
+ * @returns MultiGovalCommand instance
32475
+ */
32476
+ static create(
32477
+ properties?: replit$goval$api$lore$IMultiGovalCommand
32478
+ ): replit$goval$api$lore$MultiGovalCommand;
32479
+
32480
+ /**
32481
+ * [object Object],[object Object],[object Object]
32482
+ * @param message MultiGovalCommand message or plain object to encode
32483
+ * @param [writer] Writer to encode to
32484
+ * @returns Writer
32485
+ */
32486
+ static encode(
32487
+ message: replit$goval$api$lore$MultiGovalCommand,
32488
+ writer?: $protobuf.Writer
32489
+ ): $protobuf.Writer;
32490
+
32491
+ /**
32492
+ * [object Object],[object Object],[object Object]
32493
+ * @param message MultiGovalCommand message or plain object to encode
32494
+ * @param [writer] Writer to encode to
32495
+ * @returns Writer
32496
+ */
32497
+ static encodeDelimited(
32498
+ message: replit$goval$api$lore$MultiGovalCommand,
32499
+ writer?: $protobuf.Writer
32500
+ ): $protobuf.Writer;
32501
+
32502
+ /**
32503
+ * Decodes a MultiGovalCommand message from the specified reader or buffer.
32504
+ * @param reader Reader or buffer to decode from
32505
+ * @param [length] Message length if known beforehand
32506
+ * @returns MultiGovalCommand
32507
+ * @throws {Error} If the payload is not a reader or valid buffer
32508
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32509
+ */
32510
+ static decode(
32511
+ reader: $protobuf.Reader | Uint8Array,
32512
+ length?: number
32513
+ ): replit$goval$api$lore$MultiGovalCommand;
32514
+
32515
+ /**
32516
+ * Decodes a MultiGovalCommand message from the specified reader or buffer, length delimited.
32517
+ * @param reader Reader or buffer to decode from
32518
+ * @returns MultiGovalCommand
32519
+ * @throws {Error} If the payload is not a reader or valid buffer
32520
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32521
+ */
32522
+ static decodeDelimited(
32523
+ reader: $protobuf.Reader | Uint8Array
32524
+ ): replit$goval$api$lore$MultiGovalCommand;
32525
+
32526
+ /**
32527
+ * Verifies a MultiGovalCommand message.
32528
+ * @param message Plain object to verify
32529
+ * @returns `null` if valid, otherwise the reason why it is not
32530
+ */
32531
+ static verify(message: {|
32532
+ [k: string]: any,
32533
+ |}): string | null;
32534
+
32535
+ /**
32536
+ * Creates a MultiGovalCommand message from a plain object. Also converts values to their respective internal types.
32537
+ * @param object Plain object
32538
+ * @returns MultiGovalCommand
32539
+ */
32540
+ static fromObject(object: {|
32541
+ [k: string]: any,
32542
+ |}): replit$goval$api$lore$MultiGovalCommand;
32543
+
32544
+ /**
32545
+ * Creates a plain object from a MultiGovalCommand message. Also converts values to other types if specified.
32546
+ * @param message MultiGovalCommand
32547
+ * @param [options] Conversion options
32548
+ * @returns Plain object
32549
+ */
32550
+ static toObject(
32551
+ message: replit$goval$api$lore$MultiGovalCommand,
32552
+ options?: $protobuf.IConversionOptions
32553
+ ): {|
32554
+ [k: string]: any,
32555
+ |};
32556
+
32557
+ /**
32558
+ * Converts this MultiGovalCommand to JSON.
32559
+ * @returns JSON object
32560
+ */
32561
+ toJSON(): {|
32562
+ [k: string]: any,
32563
+ |};
32564
+ }
32565
+
32566
+ /**
32567
+ * Properties of a KillRepl.
32568
+ */
32569
+ declare type replit$goval$api$lore$IKillRepl = {|
32570
+ /**
32571
+ * KillRepl replId
32572
+ */
32573
+ replId?: string | null,
32574
+ |};
32575
+
32576
+ /**
32577
+ * Represents a KillRepl.
32578
+ */
32579
+ declare class replit$goval$api$lore$KillRepl {
32580
+ /**
32581
+ * Constructs a new KillRepl.
32582
+ * @param [properties] Properties to set
32583
+ */
32584
+ constructor(properties?: replit$goval$api$lore$IKillRepl): this;
32585
+
32586
+ /**
32587
+ * KillRepl replId.
32588
+ */
32589
+ replId: string;
32590
+
32591
+ /**
32592
+ * Creates a new KillRepl instance using the specified properties.
32593
+ * @param [properties] Properties to set
32594
+ * @returns KillRepl instance
32595
+ */
32596
+ static create(
32597
+ properties?: replit$goval$api$lore$IKillRepl
32598
+ ): replit$goval$api$lore$KillRepl;
32599
+
32600
+ /**
32601
+ * [object Object],[object Object],[object Object]
32602
+ * @param message KillRepl message or plain object to encode
32603
+ * @param [writer] Writer to encode to
32604
+ * @returns Writer
32605
+ */
32606
+ static encode(
32607
+ message: replit$goval$api$lore$KillRepl,
32608
+ writer?: $protobuf.Writer
32609
+ ): $protobuf.Writer;
32610
+
32611
+ /**
32612
+ * [object Object],[object Object],[object Object]
32613
+ * @param message KillRepl message or plain object to encode
32614
+ * @param [writer] Writer to encode to
32615
+ * @returns Writer
32616
+ */
32617
+ static encodeDelimited(
32618
+ message: replit$goval$api$lore$KillRepl,
32619
+ writer?: $protobuf.Writer
32620
+ ): $protobuf.Writer;
32621
+
32622
+ /**
32623
+ * Decodes a KillRepl message from the specified reader or buffer.
32624
+ * @param reader Reader or buffer to decode from
32625
+ * @param [length] Message length if known beforehand
32626
+ * @returns KillRepl
32627
+ * @throws {Error} If the payload is not a reader or valid buffer
32628
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32629
+ */
32630
+ static decode(
32631
+ reader: $protobuf.Reader | Uint8Array,
32632
+ length?: number
32633
+ ): replit$goval$api$lore$KillRepl;
32634
+
32635
+ /**
32636
+ * Decodes a KillRepl message from the specified reader or buffer, length delimited.
32637
+ * @param reader Reader or buffer to decode from
32638
+ * @returns KillRepl
32639
+ * @throws {Error} If the payload is not a reader or valid buffer
32640
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32641
+ */
32642
+ static decodeDelimited(
32643
+ reader: $protobuf.Reader | Uint8Array
32644
+ ): replit$goval$api$lore$KillRepl;
32645
+
32646
+ /**
32647
+ * Verifies a KillRepl message.
32648
+ * @param message Plain object to verify
32649
+ * @returns `null` if valid, otherwise the reason why it is not
32650
+ */
32651
+ static verify(message: {|
32652
+ [k: string]: any,
32653
+ |}): string | null;
32654
+
32655
+ /**
32656
+ * Creates a KillRepl message from a plain object. Also converts values to their respective internal types.
32657
+ * @param object Plain object
32658
+ * @returns KillRepl
32659
+ */
32660
+ static fromObject(object: {|
32661
+ [k: string]: any,
32662
+ |}): replit$goval$api$lore$KillRepl;
32663
+
32664
+ /**
32665
+ * Creates a plain object from a KillRepl message. Also converts values to other types if specified.
32666
+ * @param message KillRepl
32667
+ * @param [options] Conversion options
32668
+ * @returns Plain object
32669
+ */
32670
+ static toObject(
32671
+ message: replit$goval$api$lore$KillRepl,
32672
+ options?: $protobuf.IConversionOptions
32673
+ ): {|
32674
+ [k: string]: any,
32675
+ |};
32676
+
32677
+ /**
32678
+ * Converts this KillRepl to JSON.
32679
+ * @returns JSON object
32680
+ */
32681
+ toJSON(): {|
32682
+ [k: string]: any,
32683
+ |};
32684
+ }
32685
+
32686
+ /**
32687
+ * Properties of a Restore.
32688
+ */
32689
+ declare type replit$goval$api$lore$IRestore = {|
32690
+ /**
32691
+ * Restore replId
32692
+ */
32693
+ replId?: string | null,
32694
+
32695
+ /**
32696
+ * Restore restoreReplId
32697
+ */
32698
+ restoreReplId?: string | null,
32699
+ |};
32700
+
32701
+ /**
32702
+ * Represents a Restore.
32703
+ */
32704
+ declare class replit$goval$api$lore$Restore {
32705
+ /**
32706
+ * Constructs a new Restore.
32707
+ * @param [properties] Properties to set
32708
+ */
32709
+ constructor(properties?: replit$goval$api$lore$IRestore): this;
32710
+
32711
+ /**
32712
+ * Restore replId.
32713
+ */
32714
+ replId: string;
32715
+
32716
+ /**
32717
+ * Restore restoreReplId.
32718
+ */
32719
+ restoreReplId: string;
32720
+
32721
+ /**
32722
+ * Creates a new Restore instance using the specified properties.
32723
+ * @param [properties] Properties to set
32724
+ * @returns Restore instance
32725
+ */
32726
+ static create(
32727
+ properties?: replit$goval$api$lore$IRestore
32728
+ ): replit$goval$api$lore$Restore;
32729
+
32730
+ /**
32731
+ * [object Object],[object Object],[object Object]
32732
+ * @param message Restore message or plain object to encode
32733
+ * @param [writer] Writer to encode to
32734
+ * @returns Writer
32735
+ */
32736
+ static encode(
32737
+ message: replit$goval$api$lore$Restore,
32738
+ writer?: $protobuf.Writer
32739
+ ): $protobuf.Writer;
32740
+
32741
+ /**
32742
+ * [object Object],[object Object],[object Object]
32743
+ * @param message Restore message or plain object to encode
32744
+ * @param [writer] Writer to encode to
32745
+ * @returns Writer
32746
+ */
32747
+ static encodeDelimited(
32748
+ message: replit$goval$api$lore$Restore,
32749
+ writer?: $protobuf.Writer
32750
+ ): $protobuf.Writer;
32751
+
32752
+ /**
32753
+ * Decodes a Restore message from the specified reader or buffer.
32754
+ * @param reader Reader or buffer to decode from
32755
+ * @param [length] Message length if known beforehand
32756
+ * @returns Restore
32757
+ * @throws {Error} If the payload is not a reader or valid buffer
32758
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32759
+ */
32760
+ static decode(
32761
+ reader: $protobuf.Reader | Uint8Array,
32762
+ length?: number
32763
+ ): replit$goval$api$lore$Restore;
32764
+
32765
+ /**
32766
+ * Decodes a Restore message from the specified reader or buffer, length delimited.
32767
+ * @param reader Reader or buffer to decode from
32768
+ * @returns Restore
32769
+ * @throws {Error} If the payload is not a reader or valid buffer
32770
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32771
+ */
32772
+ static decodeDelimited(
32773
+ reader: $protobuf.Reader | Uint8Array
32774
+ ): replit$goval$api$lore$Restore;
32775
+
32776
+ /**
32777
+ * Verifies a Restore message.
32778
+ * @param message Plain object to verify
32779
+ * @returns `null` if valid, otherwise the reason why it is not
32780
+ */
32781
+ static verify(message: {|
32782
+ [k: string]: any,
32783
+ |}): string | null;
32784
+
32785
+ /**
32786
+ * Creates a Restore message from a plain object. Also converts values to their respective internal types.
32787
+ * @param object Plain object
32788
+ * @returns Restore
32789
+ */
32790
+ static fromObject(object: {|
32791
+ [k: string]: any,
32792
+ |}): replit$goval$api$lore$Restore;
32793
+
32794
+ /**
32795
+ * Creates a plain object from a Restore message. Also converts values to other types if specified.
32796
+ * @param message Restore
32797
+ * @param [options] Conversion options
32798
+ * @returns Plain object
32799
+ */
32800
+ static toObject(
32801
+ message: replit$goval$api$lore$Restore,
32802
+ options?: $protobuf.IConversionOptions
32803
+ ): {|
32804
+ [k: string]: any,
32805
+ |};
32806
+
32807
+ /**
32808
+ * Converts this Restore to JSON.
32809
+ * @returns JSON object
32810
+ */
32811
+ toJSON(): {|
32812
+ [k: string]: any,
32813
+ |};
32814
+ }
32815
+
32816
+ /**
32817
+ * Properties of an UpdateSourceRepl.
32818
+ */
32819
+ declare type replit$goval$api$lore$IUpdateSourceRepl = {|
32820
+ /**
32821
+ * UpdateSourceRepl replId
32822
+ */
32823
+ replId?: string | null,
32824
+
32825
+ /**
32826
+ * UpdateSourceRepl sourceReplId
32827
+ */
32828
+ sourceReplId?: string | null,
32829
+ |};
32830
+
32831
+ /**
32832
+ * Represents an UpdateSourceRepl.
32833
+ */
32834
+ declare class replit$goval$api$lore$UpdateSourceRepl {
32835
+ /**
32836
+ * Constructs a new UpdateSourceRepl.
32837
+ * @param [properties] Properties to set
32838
+ */
32839
+ constructor(properties?: replit$goval$api$lore$IUpdateSourceRepl): this;
32840
+
32841
+ /**
32842
+ * UpdateSourceRepl replId.
32843
+ */
32844
+ replId: string;
32845
+
32846
+ /**
32847
+ * UpdateSourceRepl sourceReplId.
32848
+ */
32849
+ sourceReplId: string;
32850
+
32851
+ /**
32852
+ * Creates a new UpdateSourceRepl instance using the specified properties.
32853
+ * @param [properties] Properties to set
32854
+ * @returns UpdateSourceRepl instance
32855
+ */
32856
+ static create(
32857
+ properties?: replit$goval$api$lore$IUpdateSourceRepl
32858
+ ): replit$goval$api$lore$UpdateSourceRepl;
32859
+
32860
+ /**
32861
+ * [object Object],[object Object],[object Object]
32862
+ * @param message UpdateSourceRepl message or plain object to encode
32863
+ * @param [writer] Writer to encode to
32864
+ * @returns Writer
32865
+ */
32866
+ static encode(
32867
+ message: replit$goval$api$lore$UpdateSourceRepl,
32868
+ writer?: $protobuf.Writer
32869
+ ): $protobuf.Writer;
32870
+
32871
+ /**
32872
+ * [object Object],[object Object],[object Object]
32873
+ * @param message UpdateSourceRepl message or plain object to encode
32874
+ * @param [writer] Writer to encode to
32875
+ * @returns Writer
32876
+ */
32877
+ static encodeDelimited(
32878
+ message: replit$goval$api$lore$UpdateSourceRepl,
32879
+ writer?: $protobuf.Writer
32880
+ ): $protobuf.Writer;
32881
+
32882
+ /**
32883
+ * Decodes an UpdateSourceRepl message from the specified reader or buffer.
32884
+ * @param reader Reader or buffer to decode from
32885
+ * @param [length] Message length if known beforehand
32886
+ * @returns UpdateSourceRepl
32887
+ * @throws {Error} If the payload is not a reader or valid buffer
32888
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32889
+ */
32890
+ static decode(
32891
+ reader: $protobuf.Reader | Uint8Array,
32892
+ length?: number
32893
+ ): replit$goval$api$lore$UpdateSourceRepl;
32894
+
32895
+ /**
32896
+ * Decodes an UpdateSourceRepl message from the specified reader or buffer, length delimited.
32897
+ * @param reader Reader or buffer to decode from
32898
+ * @returns UpdateSourceRepl
32899
+ * @throws {Error} If the payload is not a reader or valid buffer
32900
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32901
+ */
32902
+ static decodeDelimited(
32903
+ reader: $protobuf.Reader | Uint8Array
32904
+ ): replit$goval$api$lore$UpdateSourceRepl;
32905
+
32906
+ /**
32907
+ * Verifies an UpdateSourceRepl message.
32908
+ * @param message Plain object to verify
32909
+ * @returns `null` if valid, otherwise the reason why it is not
32910
+ */
32911
+ static verify(message: {|
32912
+ [k: string]: any,
32913
+ |}): string | null;
32914
+
32915
+ /**
32916
+ * Creates an UpdateSourceRepl message from a plain object. Also converts values to their respective internal types.
32917
+ * @param object Plain object
32918
+ * @returns UpdateSourceRepl
32919
+ */
32920
+ static fromObject(object: {|
32921
+ [k: string]: any,
32922
+ |}): replit$goval$api$lore$UpdateSourceRepl;
32923
+
32924
+ /**
32925
+ * Creates a plain object from an UpdateSourceRepl message. Also converts values to other types if specified.
32926
+ * @param message UpdateSourceRepl
32927
+ * @param [options] Conversion options
32928
+ * @returns Plain object
32929
+ */
32930
+ static toObject(
32931
+ message: replit$goval$api$lore$UpdateSourceRepl,
32932
+ options?: $protobuf.IConversionOptions
32933
+ ): {|
32934
+ [k: string]: any,
32935
+ |};
32936
+
32937
+ /**
32938
+ * Converts this UpdateSourceRepl to JSON.
32939
+ * @returns JSON object
32940
+ */
32941
+ toJSON(): {|
32942
+ [k: string]: any,
32943
+ |};
32944
+ }
32945
+
32946
+ /**
32947
+ * Properties of an UpdateReplFlags.
32948
+ */
32949
+ declare type replit$goval$api$lore$IUpdateReplFlags = {|
32950
+ /**
32951
+ * UpdateReplFlags replId
32952
+ */
32953
+ replId?: string | null,
32954
+
32955
+ /**
32956
+ * UpdateReplFlags flags
32957
+ */
32958
+ flags?: string[] | null,
32959
+ |};
32960
+
32961
+ /**
32962
+ * Represents an UpdateReplFlags.
32963
+ */
32964
+ declare class replit$goval$api$lore$UpdateReplFlags {
32965
+ /**
32966
+ * Constructs a new UpdateReplFlags.
32967
+ * @param [properties] Properties to set
32968
+ */
32969
+ constructor(properties?: replit$goval$api$lore$IUpdateReplFlags): this;
32970
+
32971
+ /**
32972
+ * UpdateReplFlags replId.
32973
+ */
32974
+ replId: string;
32975
+
32976
+ /**
32977
+ * UpdateReplFlags flags.
32978
+ */
32979
+ flags: string[];
32980
+
32981
+ /**
32982
+ * Creates a new UpdateReplFlags instance using the specified properties.
32983
+ * @param [properties] Properties to set
32984
+ * @returns UpdateReplFlags instance
32985
+ */
32986
+ static create(
32987
+ properties?: replit$goval$api$lore$IUpdateReplFlags
32988
+ ): replit$goval$api$lore$UpdateReplFlags;
32989
+
32990
+ /**
32991
+ * [object Object],[object Object],[object Object]
32992
+ * @param message UpdateReplFlags message or plain object to encode
32993
+ * @param [writer] Writer to encode to
32994
+ * @returns Writer
32995
+ */
32996
+ static encode(
32997
+ message: replit$goval$api$lore$UpdateReplFlags,
32998
+ writer?: $protobuf.Writer
32999
+ ): $protobuf.Writer;
33000
+
33001
+ /**
33002
+ * [object Object],[object Object],[object Object]
33003
+ * @param message UpdateReplFlags message or plain object to encode
33004
+ * @param [writer] Writer to encode to
33005
+ * @returns Writer
33006
+ */
33007
+ static encodeDelimited(
33008
+ message: replit$goval$api$lore$UpdateReplFlags,
33009
+ writer?: $protobuf.Writer
33010
+ ): $protobuf.Writer;
33011
+
33012
+ /**
33013
+ * Decodes an UpdateReplFlags message from the specified reader or buffer.
33014
+ * @param reader Reader or buffer to decode from
33015
+ * @param [length] Message length if known beforehand
33016
+ * @returns UpdateReplFlags
33017
+ * @throws {Error} If the payload is not a reader or valid buffer
33018
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33019
+ */
33020
+ static decode(
33021
+ reader: $protobuf.Reader | Uint8Array,
33022
+ length?: number
33023
+ ): replit$goval$api$lore$UpdateReplFlags;
33024
+
33025
+ /**
33026
+ * Decodes an UpdateReplFlags message from the specified reader or buffer, length delimited.
33027
+ * @param reader Reader or buffer to decode from
33028
+ * @returns UpdateReplFlags
33029
+ * @throws {Error} If the payload is not a reader or valid buffer
33030
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33031
+ */
33032
+ static decodeDelimited(
33033
+ reader: $protobuf.Reader | Uint8Array
33034
+ ): replit$goval$api$lore$UpdateReplFlags;
33035
+
33036
+ /**
33037
+ * Verifies an UpdateReplFlags message.
33038
+ * @param message Plain object to verify
33039
+ * @returns `null` if valid, otherwise the reason why it is not
33040
+ */
33041
+ static verify(message: {|
33042
+ [k: string]: any,
33043
+ |}): string | null;
33044
+
33045
+ /**
33046
+ * Creates an UpdateReplFlags message from a plain object. Also converts values to their respective internal types.
33047
+ * @param object Plain object
33048
+ * @returns UpdateReplFlags
33049
+ */
33050
+ static fromObject(object: {|
33051
+ [k: string]: any,
33052
+ |}): replit$goval$api$lore$UpdateReplFlags;
33053
+
33054
+ /**
33055
+ * Creates a plain object from an UpdateReplFlags message. Also converts values to other types if specified.
33056
+ * @param message UpdateReplFlags
33057
+ * @param [options] Conversion options
33058
+ * @returns Plain object
33059
+ */
33060
+ static toObject(
33061
+ message: replit$goval$api$lore$UpdateReplFlags,
33062
+ options?: $protobuf.IConversionOptions
33063
+ ): {|
33064
+ [k: string]: any,
33065
+ |};
33066
+
33067
+ /**
33068
+ * Converts this UpdateReplFlags to JSON.
33069
+ * @returns JSON object
33070
+ */
33071
+ toJSON(): {|
33072
+ [k: string]: any,
33073
+ |};
33074
+ }
33075
+
31445
33076
  declare var npm$namespace$replit$goval$api$features: {|
31446
33077
  IGpu: Class<replit$goval$api$features$IGpu>,
31447
33078
  IBoosted: Class<replit$goval$api$features$IBoosted>,
@@ -33673,10 +35304,12 @@ declare var npm$namespace$google$protobuf: {|
33673
35304
  IStruct: Class<google$protobuf$IStruct>,
33674
35305
  IValue: Class<google$protobuf$IValue>,
33675
35306
  IListValue: Class<google$protobuf$IListValue>,
35307
+ IFieldMask: Class<google$protobuf$IFieldMask>,
33676
35308
  Timestamp: typeof google$protobuf$Timestamp,
33677
35309
  Struct: typeof google$protobuf$Struct,
33678
35310
  Value: typeof google$protobuf$Value,
33679
35311
  ListValue: typeof google$protobuf$ListValue,
35312
+ FieldMask: typeof google$protobuf$FieldMask,
33680
35313
  |};
33681
35314
 
33682
35315
  /**
@@ -34237,4 +35870,124 @@ declare class google$protobuf$ListValue {
34237
35870
  [k: string]: any,
34238
35871
  |};
34239
35872
  }
35873
+
35874
+ /**
35875
+ * Properties of a FieldMask.
35876
+ */
35877
+ declare type google$protobuf$IFieldMask = {|
35878
+ /**
35879
+ * FieldMask paths
35880
+ */
35881
+ paths?: string[] | null,
35882
+ |};
35883
+
35884
+ /**
35885
+ * Represents a FieldMask.
35886
+ */
35887
+ declare class google$protobuf$FieldMask {
35888
+ /**
35889
+ * Constructs a new FieldMask.
35890
+ * @param [properties] Properties to set
35891
+ */
35892
+ constructor(properties?: google$protobuf$IFieldMask): this;
35893
+
35894
+ /**
35895
+ * FieldMask paths.
35896
+ */
35897
+ paths: string[];
35898
+
35899
+ /**
35900
+ * Creates a new FieldMask instance using the specified properties.
35901
+ * @param [properties] Properties to set
35902
+ * @returns FieldMask instance
35903
+ */
35904
+ static create(
35905
+ properties?: google$protobuf$IFieldMask
35906
+ ): google$protobuf$FieldMask;
35907
+
35908
+ /**
35909
+ * [object Object],[object Object],[object Object]
35910
+ * @param message FieldMask message or plain object to encode
35911
+ * @param [writer] Writer to encode to
35912
+ * @returns Writer
35913
+ */
35914
+ static encode(
35915
+ message: google$protobuf$FieldMask,
35916
+ writer?: $protobuf.Writer
35917
+ ): $protobuf.Writer;
35918
+
35919
+ /**
35920
+ * [object Object],[object Object],[object Object]
35921
+ * @param message FieldMask message or plain object to encode
35922
+ * @param [writer] Writer to encode to
35923
+ * @returns Writer
35924
+ */
35925
+ static encodeDelimited(
35926
+ message: google$protobuf$FieldMask,
35927
+ writer?: $protobuf.Writer
35928
+ ): $protobuf.Writer;
35929
+
35930
+ /**
35931
+ * Decodes a FieldMask message from the specified reader or buffer.
35932
+ * @param reader Reader or buffer to decode from
35933
+ * @param [length] Message length if known beforehand
35934
+ * @returns FieldMask
35935
+ * @throws {Error} If the payload is not a reader or valid buffer
35936
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35937
+ */
35938
+ static decode(
35939
+ reader: $protobuf.Reader | Uint8Array,
35940
+ length?: number
35941
+ ): google$protobuf$FieldMask;
35942
+
35943
+ /**
35944
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
35945
+ * @param reader Reader or buffer to decode from
35946
+ * @returns FieldMask
35947
+ * @throws {Error} If the payload is not a reader or valid buffer
35948
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
35949
+ */
35950
+ static decodeDelimited(
35951
+ reader: $protobuf.Reader | Uint8Array
35952
+ ): google$protobuf$FieldMask;
35953
+
35954
+ /**
35955
+ * Verifies a FieldMask message.
35956
+ * @param message Plain object to verify
35957
+ * @returns `null` if valid, otherwise the reason why it is not
35958
+ */
35959
+ static verify(message: {|
35960
+ [k: string]: any,
35961
+ |}): string | null;
35962
+
35963
+ /**
35964
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
35965
+ * @param object Plain object
35966
+ * @returns FieldMask
35967
+ */
35968
+ static fromObject(object: {|
35969
+ [k: string]: any,
35970
+ |}): google$protobuf$FieldMask;
35971
+
35972
+ /**
35973
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
35974
+ * @param message FieldMask
35975
+ * @param [options] Conversion options
35976
+ * @returns Plain object
35977
+ */
35978
+ static toObject(
35979
+ message: google$protobuf$FieldMask,
35980
+ options?: $protobuf.IConversionOptions
35981
+ ): {|
35982
+ [k: string]: any,
35983
+ |};
35984
+
35985
+ /**
35986
+ * Converts this FieldMask to JSON.
35987
+ * @returns JSON object
35988
+ */
35989
+ toJSON(): {|
35990
+ [k: string]: any,
35991
+ |};
35992
+ }
34240
35993
  export var api = npm$namespace$replit$goval$api;