@replit/protocol 0.2.97 → 0.3.0

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.
Files changed (4) hide show
  1. package/main/index.d.ts +1094 -1700
  2. package/main/index.js +2983 -4476
  3. package/main/index.js.flow +833 -1702
  4. package/package.json +2 -2
@@ -228,16 +228,11 @@ declare var npm$namespace$replit$goval$api: {|
228
228
  IGovalCert: Class<replit$goval$api$IGovalCert>,
229
229
  IGovalToken: Class<replit$goval$api$IGovalToken>,
230
230
  IGovalReplIdentity: Class<replit$goval$api$IGovalReplIdentity>,
231
- ILoreCommand: Class<replit$goval$api$ILoreCommand>,
232
- IClusterTransfer: Class<replit$goval$api$IClusterTransfer>,
233
- ISoftTakedown: Class<replit$goval$api$ISoftTakedown>,
234
- IGovalCommand: Class<replit$goval$api$IGovalCommand>,
235
- IPartialUpdateMetadata: Class<replit$goval$api$IPartialUpdateMetadata>,
236
- IMultiGovalCommand: Class<replit$goval$api$IMultiGovalCommand>,
237
- IKillRepl: Class<replit$goval$api$IKillRepl>,
238
- IRestore: Class<replit$goval$api$IRestore>,
239
- IUpdateSourceRepl: Class<replit$goval$api$IUpdateSourceRepl>,
240
- IUpdateReplFlags: Class<replit$goval$api$IUpdateReplFlags>,
231
+ IPrivateReplsPowerup: Class<replit$goval$api$IPrivateReplsPowerup>,
232
+ IGhostwriterPowerup: Class<replit$goval$api$IGhostwriterPowerup>,
233
+ IConnectivityPowerup: Class<replit$goval$api$IConnectivityPowerup>,
234
+ IPowerUp: Class<replit$goval$api$IPowerUp>,
235
+ IUserPowerUps: Class<replit$goval$api$IUserPowerUps>,
241
236
  Command: typeof replit$goval$api$Command,
242
237
  NixPackageAddRequest: typeof replit$goval$api$NixPackageAddRequest,
243
238
  NixPackageAddResponse: typeof replit$goval$api$NixPackageAddResponse,
@@ -445,16 +440,11 @@ declare var npm$namespace$replit$goval$api: {|
445
440
  GovalCert: typeof replit$goval$api$GovalCert,
446
441
  GovalToken: typeof replit$goval$api$GovalToken,
447
442
  GovalReplIdentity: typeof replit$goval$api$GovalReplIdentity,
448
- LoreCommand: typeof replit$goval$api$LoreCommand,
449
- ClusterTransfer: typeof replit$goval$api$ClusterTransfer,
450
- SoftTakedown: typeof replit$goval$api$SoftTakedown,
451
- GovalCommand: typeof replit$goval$api$GovalCommand,
452
- PartialUpdateMetadata: typeof replit$goval$api$PartialUpdateMetadata,
453
- MultiGovalCommand: typeof replit$goval$api$MultiGovalCommand,
454
- KillRepl: typeof replit$goval$api$KillRepl,
455
- Restore: typeof replit$goval$api$Restore,
456
- UpdateSourceRepl: typeof replit$goval$api$UpdateSourceRepl,
457
- UpdateReplFlags: typeof replit$goval$api$UpdateReplFlags,
443
+ PrivateReplsPowerup: typeof replit$goval$api$PrivateReplsPowerup,
444
+ GhostwriterPowerup: typeof replit$goval$api$GhostwriterPowerup,
445
+ ConnectivityPowerup: typeof replit$goval$api$ConnectivityPowerup,
446
+ PowerUp: typeof replit$goval$api$PowerUp,
447
+ UserPowerUps: typeof replit$goval$api$UserPowerUps,
458
448
  features: typeof npm$namespace$replit$goval$api$features,
459
449
  repl: typeof npm$namespace$replit$goval$api$repl,
460
450
  |};
@@ -31297,6 +31287,14 @@ declare type replit$goval$api$IGovalReplIdentity = {|
31297
31287
  * GovalReplIdentity userId
31298
31288
  */
31299
31289
  userId?: number | null,
31290
+
31291
+ /**
31292
+ * GovalReplIdentity buildInfo
31293
+ */
31294
+ buildInfo?:
31295
+ | replit$goval$api$repl$BuildInfo
31296
+ | replit$goval$api$repl$IBuildInfo
31297
+ | null,
31300
31298
  |};
31301
31299
 
31302
31300
  /**
@@ -31344,6 +31342,11 @@ declare class replit$goval$api$GovalReplIdentity {
31344
31342
  */
31345
31343
  userId: number;
31346
31344
 
31345
+ /**
31346
+ * GovalReplIdentity buildInfo.
31347
+ */
31348
+ buildInfo?: replit$goval$api$repl$BuildInfo | null;
31349
+
31347
31350
  /**
31348
31351
  * Creates a new GovalReplIdentity instance using the specified properties.
31349
31352
  * @param [properties] Properties to set
@@ -31439,150 +31442,197 @@ declare class replit$goval$api$GovalReplIdentity {
31439
31442
  |};
31440
31443
  }
31441
31444
 
31445
+ declare var npm$namespace$replit$goval$api$features: {|
31446
+ IGpu: Class<replit$goval$api$features$IGpu>,
31447
+ IBoosted: Class<replit$goval$api$features$IBoosted>,
31448
+ IFeature: Class<replit$goval$api$features$IFeature>,
31449
+ Gpu: typeof replit$goval$api$features$Gpu,
31450
+ Boosted: typeof replit$goval$api$features$Boosted,
31451
+ Feature: typeof replit$goval$api$features$Feature,
31452
+ |};
31453
+
31442
31454
  /**
31443
- * Properties of a LoreCommand.
31455
+ * Properties of a Gpu.
31444
31456
  */
31445
- declare type replit$goval$api$ILoreCommand = {|
31446
- /**
31447
- * LoreCommand clusterTransfer
31448
- */
31449
- clusterTransfer?:
31450
- | replit$goval$api$ClusterTransfer
31451
- | replit$goval$api$IClusterTransfer
31452
- | null,
31457
+ declare type replit$goval$api$features$IGpu = {||};
31453
31458
 
31459
+ /**
31460
+ * Represents a Gpu.
31461
+ */
31462
+ declare class replit$goval$api$features$Gpu {
31454
31463
  /**
31455
- * LoreCommand softTakedown
31464
+ * Constructs a new Gpu.
31465
+ * @param [properties] Properties to set
31456
31466
  */
31457
- softTakedown?:
31458
- | replit$goval$api$SoftTakedown
31459
- | replit$goval$api$ISoftTakedown
31460
- | null,
31467
+ constructor(properties?: replit$goval$api$features$IGpu): this;
31461
31468
 
31462
31469
  /**
31463
- * LoreCommand govalCommand
31470
+ * Creates a new Gpu instance using the specified properties.
31471
+ * @param [properties] Properties to set
31472
+ * @returns Gpu instance
31464
31473
  */
31465
- govalCommand?:
31466
- | replit$goval$api$GovalCommand
31467
- | replit$goval$api$IGovalCommand
31468
- | null,
31474
+ static create(
31475
+ properties?: replit$goval$api$features$IGpu
31476
+ ): replit$goval$api$features$Gpu;
31469
31477
 
31470
31478
  /**
31471
- * LoreCommand multiGovalCommand
31479
+ * [object Object],[object Object],[object Object]
31480
+ * @param message Gpu message or plain object to encode
31481
+ * @param [writer] Writer to encode to
31482
+ * @returns Writer
31472
31483
  */
31473
- multiGovalCommand?:
31474
- | replit$goval$api$MultiGovalCommand
31475
- | replit$goval$api$IMultiGovalCommand
31476
- | null,
31484
+ static encode(
31485
+ message: replit$goval$api$features$Gpu,
31486
+ writer?: $protobuf.Writer
31487
+ ): $protobuf.Writer;
31477
31488
 
31478
31489
  /**
31479
- * LoreCommand restore
31490
+ * [object Object],[object Object],[object Object]
31491
+ * @param message Gpu message or plain object to encode
31492
+ * @param [writer] Writer to encode to
31493
+ * @returns Writer
31480
31494
  */
31481
- restore?: replit$goval$api$Restore | replit$goval$api$IRestore | null,
31482
- |};
31495
+ static encodeDelimited(
31496
+ message: replit$goval$api$features$Gpu,
31497
+ writer?: $protobuf.Writer
31498
+ ): $protobuf.Writer;
31483
31499
 
31484
- /**
31485
- * Represents a LoreCommand.
31486
- */
31487
- declare class replit$goval$api$LoreCommand {
31488
31500
  /**
31489
- * Constructs a new LoreCommand.
31490
- * @param [properties] Properties to set
31501
+ * Decodes a Gpu message from the specified reader or buffer.
31502
+ * @param reader Reader or buffer to decode from
31503
+ * @param [length] Message length if known beforehand
31504
+ * @returns Gpu
31505
+ * @throws {Error} If the payload is not a reader or valid buffer
31506
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31491
31507
  */
31492
- constructor(properties?: replit$goval$api$ILoreCommand): this;
31508
+ static decode(
31509
+ reader: $protobuf.Reader | Uint8Array,
31510
+ length?: number
31511
+ ): replit$goval$api$features$Gpu;
31493
31512
 
31494
31513
  /**
31495
- * LoreCommand clusterTransfer.
31514
+ * Decodes a Gpu message from the specified reader or buffer, length delimited.
31515
+ * @param reader Reader or buffer to decode from
31516
+ * @returns Gpu
31517
+ * @throws {Error} If the payload is not a reader or valid buffer
31518
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
31496
31519
  */
31497
- clusterTransfer?: replit$goval$api$ClusterTransfer | null;
31520
+ static decodeDelimited(
31521
+ reader: $protobuf.Reader | Uint8Array
31522
+ ): replit$goval$api$features$Gpu;
31498
31523
 
31499
31524
  /**
31500
- * LoreCommand softTakedown.
31525
+ * Verifies a Gpu message.
31526
+ * @param message Plain object to verify
31527
+ * @returns `null` if valid, otherwise the reason why it is not
31501
31528
  */
31502
- softTakedown?: replit$goval$api$SoftTakedown | null;
31529
+ static verify(message: {|
31530
+ [k: string]: any,
31531
+ |}): string | null;
31503
31532
 
31504
31533
  /**
31505
- * LoreCommand govalCommand.
31534
+ * Creates a Gpu message from a plain object. Also converts values to their respective internal types.
31535
+ * @param object Plain object
31536
+ * @returns Gpu
31506
31537
  */
31507
- govalCommand?: replit$goval$api$GovalCommand | null;
31538
+ static fromObject(object: {|
31539
+ [k: string]: any,
31540
+ |}): replit$goval$api$features$Gpu;
31508
31541
 
31509
31542
  /**
31510
- * LoreCommand multiGovalCommand.
31543
+ * Creates a plain object from a Gpu message. Also converts values to other types if specified.
31544
+ * @param message Gpu
31545
+ * @param [options] Conversion options
31546
+ * @returns Plain object
31511
31547
  */
31512
- multiGovalCommand?: replit$goval$api$MultiGovalCommand | null;
31548
+ static toObject(
31549
+ message: replit$goval$api$features$Gpu,
31550
+ options?: $protobuf.IConversionOptions
31551
+ ): {|
31552
+ [k: string]: any,
31553
+ |};
31513
31554
 
31514
31555
  /**
31515
- * LoreCommand restore.
31556
+ * Converts this Gpu to JSON.
31557
+ * @returns JSON object
31516
31558
  */
31517
- restore?: replit$goval$api$Restore | null;
31559
+ toJSON(): {|
31560
+ [k: string]: any,
31561
+ |};
31562
+ }
31563
+
31564
+ /**
31565
+ * Properties of a Boosted.
31566
+ */
31567
+ declare type replit$goval$api$features$IBoosted = {||};
31518
31568
 
31569
+ /**
31570
+ * Represents a Boosted.
31571
+ */
31572
+ declare class replit$goval$api$features$Boosted {
31519
31573
  /**
31520
- * LoreCommand command.
31574
+ * Constructs a new Boosted.
31575
+ * @param [properties] Properties to set
31521
31576
  */
31522
- command?:
31523
- | "clusterTransfer"
31524
- | "softTakedown"
31525
- | "govalCommand"
31526
- | "multiGovalCommand"
31527
- | "restore";
31577
+ constructor(properties?: replit$goval$api$features$IBoosted): this;
31528
31578
 
31529
31579
  /**
31530
- * Creates a new LoreCommand instance using the specified properties.
31580
+ * Creates a new Boosted instance using the specified properties.
31531
31581
  * @param [properties] Properties to set
31532
- * @returns LoreCommand instance
31582
+ * @returns Boosted instance
31533
31583
  */
31534
31584
  static create(
31535
- properties?: replit$goval$api$ILoreCommand
31536
- ): replit$goval$api$LoreCommand;
31585
+ properties?: replit$goval$api$features$IBoosted
31586
+ ): replit$goval$api$features$Boosted;
31537
31587
 
31538
31588
  /**
31539
31589
  * [object Object],[object Object],[object Object]
31540
- * @param message LoreCommand message or plain object to encode
31590
+ * @param message Boosted message or plain object to encode
31541
31591
  * @param [writer] Writer to encode to
31542
31592
  * @returns Writer
31543
31593
  */
31544
31594
  static encode(
31545
- message: replit$goval$api$LoreCommand,
31595
+ message: replit$goval$api$features$Boosted,
31546
31596
  writer?: $protobuf.Writer
31547
31597
  ): $protobuf.Writer;
31548
31598
 
31549
31599
  /**
31550
31600
  * [object Object],[object Object],[object Object]
31551
- * @param message LoreCommand message or plain object to encode
31601
+ * @param message Boosted message or plain object to encode
31552
31602
  * @param [writer] Writer to encode to
31553
31603
  * @returns Writer
31554
31604
  */
31555
31605
  static encodeDelimited(
31556
- message: replit$goval$api$LoreCommand,
31606
+ message: replit$goval$api$features$Boosted,
31557
31607
  writer?: $protobuf.Writer
31558
31608
  ): $protobuf.Writer;
31559
31609
 
31560
31610
  /**
31561
- * Decodes a LoreCommand message from the specified reader or buffer.
31611
+ * Decodes a Boosted message from the specified reader or buffer.
31562
31612
  * @param reader Reader or buffer to decode from
31563
31613
  * @param [length] Message length if known beforehand
31564
- * @returns LoreCommand
31614
+ * @returns Boosted
31565
31615
  * @throws {Error} If the payload is not a reader or valid buffer
31566
31616
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31567
31617
  */
31568
31618
  static decode(
31569
31619
  reader: $protobuf.Reader | Uint8Array,
31570
31620
  length?: number
31571
- ): replit$goval$api$LoreCommand;
31621
+ ): replit$goval$api$features$Boosted;
31572
31622
 
31573
31623
  /**
31574
- * Decodes a LoreCommand message from the specified reader or buffer, length delimited.
31624
+ * Decodes a Boosted message from the specified reader or buffer, length delimited.
31575
31625
  * @param reader Reader or buffer to decode from
31576
- * @returns LoreCommand
31626
+ * @returns Boosted
31577
31627
  * @throws {Error} If the payload is not a reader or valid buffer
31578
31628
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31579
31629
  */
31580
31630
  static decodeDelimited(
31581
31631
  reader: $protobuf.Reader | Uint8Array
31582
- ): replit$goval$api$LoreCommand;
31632
+ ): replit$goval$api$features$Boosted;
31583
31633
 
31584
31634
  /**
31585
- * Verifies a LoreCommand message.
31635
+ * Verifies a Boosted message.
31586
31636
  * @param message Plain object to verify
31587
31637
  * @returns `null` if valid, otherwise the reason why it is not
31588
31638
  */
@@ -31591,29 +31641,29 @@ declare class replit$goval$api$LoreCommand {
31591
31641
  |}): string | null;
31592
31642
 
31593
31643
  /**
31594
- * Creates a LoreCommand message from a plain object. Also converts values to their respective internal types.
31644
+ * Creates a Boosted message from a plain object. Also converts values to their respective internal types.
31595
31645
  * @param object Plain object
31596
- * @returns LoreCommand
31646
+ * @returns Boosted
31597
31647
  */
31598
31648
  static fromObject(object: {|
31599
31649
  [k: string]: any,
31600
- |}): replit$goval$api$LoreCommand;
31650
+ |}): replit$goval$api$features$Boosted;
31601
31651
 
31602
31652
  /**
31603
- * Creates a plain object from a LoreCommand message. Also converts values to other types if specified.
31604
- * @param message LoreCommand
31653
+ * Creates a plain object from a Boosted message. Also converts values to other types if specified.
31654
+ * @param message Boosted
31605
31655
  * @param [options] Conversion options
31606
31656
  * @returns Plain object
31607
31657
  */
31608
31658
  static toObject(
31609
- message: replit$goval$api$LoreCommand,
31659
+ message: replit$goval$api$features$Boosted,
31610
31660
  options?: $protobuf.IConversionOptions
31611
31661
  ): {|
31612
31662
  [k: string]: any,
31613
31663
  |};
31614
31664
 
31615
31665
  /**
31616
- * Converts this LoreCommand to JSON.
31666
+ * Converts this Boosted to JSON.
31617
31667
  * @returns JSON object
31618
31668
  */
31619
31669
  toJSON(): {|
@@ -31622,132 +31672,115 @@ declare class replit$goval$api$LoreCommand {
31622
31672
  }
31623
31673
 
31624
31674
  /**
31625
- * Properties of a ClusterTransfer.
31675
+ * Properties of a Feature.
31626
31676
  */
31627
- declare type replit$goval$api$IClusterTransfer = {|
31628
- /**
31629
- * ClusterTransfer replId
31630
- */
31631
- replId?: string | null,
31632
-
31633
- /**
31634
- * ClusterTransfer user
31635
- */
31636
- user?: string | null,
31637
-
31677
+ declare type replit$goval$api$features$IFeature = {|
31638
31678
  /**
31639
- * ClusterTransfer newClusterId
31679
+ * Feature gpu
31640
31680
  */
31641
- newClusterId?: string | null,
31681
+ gpu?: replit$goval$api$features$Gpu | replit$goval$api$features$IGpu | null,
31642
31682
 
31643
31683
  /**
31644
- * ClusterTransfer newContinentId
31684
+ * Feature boosted
31645
31685
  */
31646
- newContinentId?: string | null,
31686
+ boosted?:
31687
+ | replit$goval$api$features$Boosted
31688
+ | replit$goval$api$features$IBoosted
31689
+ | null,
31647
31690
 
31648
31691
  /**
31649
- * ClusterTransfer transferId
31692
+ * Feature required
31650
31693
  */
31651
- transferId?: string | null,
31694
+ required?: boolean | null,
31652
31695
  |};
31653
31696
 
31654
31697
  /**
31655
- * Represents a ClusterTransfer.
31698
+ * Represents a Feature.
31656
31699
  */
31657
- declare class replit$goval$api$ClusterTransfer {
31700
+ declare class replit$goval$api$features$Feature {
31658
31701
  /**
31659
- * Constructs a new ClusterTransfer.
31702
+ * Constructs a new Feature.
31660
31703
  * @param [properties] Properties to set
31661
31704
  */
31662
- constructor(properties?: replit$goval$api$IClusterTransfer): this;
31663
-
31664
- /**
31665
- * ClusterTransfer replId.
31666
- */
31667
- replId: string;
31668
-
31669
- /**
31670
- * ClusterTransfer user.
31671
- */
31672
- user: string;
31705
+ constructor(properties?: replit$goval$api$features$IFeature): this;
31673
31706
 
31674
31707
  /**
31675
- * ClusterTransfer newClusterId.
31708
+ * Feature gpu.
31676
31709
  */
31677
- newClusterId?: string | null;
31710
+ gpu?: replit$goval$api$features$Gpu | null;
31678
31711
 
31679
31712
  /**
31680
- * ClusterTransfer newContinentId.
31713
+ * Feature boosted.
31681
31714
  */
31682
- newContinentId?: string | null;
31715
+ boosted?: replit$goval$api$features$Boosted | null;
31683
31716
 
31684
31717
  /**
31685
- * ClusterTransfer transferId.
31718
+ * Feature required.
31686
31719
  */
31687
- transferId: string;
31720
+ required: boolean;
31688
31721
 
31689
31722
  /**
31690
- * ClusterTransfer location.
31723
+ * Feature feature.
31691
31724
  */
31692
- location?: "newClusterId" | "newContinentId";
31725
+ feature?: "gpu" | "boosted";
31693
31726
 
31694
31727
  /**
31695
- * Creates a new ClusterTransfer instance using the specified properties.
31728
+ * Creates a new Feature instance using the specified properties.
31696
31729
  * @param [properties] Properties to set
31697
- * @returns ClusterTransfer instance
31730
+ * @returns Feature instance
31698
31731
  */
31699
31732
  static create(
31700
- properties?: replit$goval$api$IClusterTransfer
31701
- ): replit$goval$api$ClusterTransfer;
31733
+ properties?: replit$goval$api$features$IFeature
31734
+ ): replit$goval$api$features$Feature;
31702
31735
 
31703
31736
  /**
31704
31737
  * [object Object],[object Object],[object Object]
31705
- * @param message ClusterTransfer message or plain object to encode
31738
+ * @param message Feature message or plain object to encode
31706
31739
  * @param [writer] Writer to encode to
31707
31740
  * @returns Writer
31708
31741
  */
31709
31742
  static encode(
31710
- message: replit$goval$api$ClusterTransfer,
31743
+ message: replit$goval$api$features$Feature,
31711
31744
  writer?: $protobuf.Writer
31712
31745
  ): $protobuf.Writer;
31713
31746
 
31714
31747
  /**
31715
31748
  * [object Object],[object Object],[object Object]
31716
- * @param message ClusterTransfer message or plain object to encode
31749
+ * @param message Feature message or plain object to encode
31717
31750
  * @param [writer] Writer to encode to
31718
31751
  * @returns Writer
31719
31752
  */
31720
31753
  static encodeDelimited(
31721
- message: replit$goval$api$ClusterTransfer,
31754
+ message: replit$goval$api$features$Feature,
31722
31755
  writer?: $protobuf.Writer
31723
31756
  ): $protobuf.Writer;
31724
31757
 
31725
31758
  /**
31726
- * Decodes a ClusterTransfer message from the specified reader or buffer.
31759
+ * Decodes a Feature message from the specified reader or buffer.
31727
31760
  * @param reader Reader or buffer to decode from
31728
31761
  * @param [length] Message length if known beforehand
31729
- * @returns ClusterTransfer
31762
+ * @returns Feature
31730
31763
  * @throws {Error} If the payload is not a reader or valid buffer
31731
31764
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31732
31765
  */
31733
31766
  static decode(
31734
31767
  reader: $protobuf.Reader | Uint8Array,
31735
31768
  length?: number
31736
- ): replit$goval$api$ClusterTransfer;
31769
+ ): replit$goval$api$features$Feature;
31737
31770
 
31738
31771
  /**
31739
- * Decodes a ClusterTransfer message from the specified reader or buffer, length delimited.
31772
+ * Decodes a Feature message from the specified reader or buffer, length delimited.
31740
31773
  * @param reader Reader or buffer to decode from
31741
- * @returns ClusterTransfer
31774
+ * @returns Feature
31742
31775
  * @throws {Error} If the payload is not a reader or valid buffer
31743
31776
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31744
31777
  */
31745
31778
  static decodeDelimited(
31746
31779
  reader: $protobuf.Reader | Uint8Array
31747
- ): replit$goval$api$ClusterTransfer;
31780
+ ): replit$goval$api$features$Feature;
31748
31781
 
31749
31782
  /**
31750
- * Verifies a ClusterTransfer message.
31783
+ * Verifies a Feature message.
31751
31784
  * @param message Plain object to verify
31752
31785
  * @returns `null` if valid, otherwise the reason why it is not
31753
31786
  */
@@ -31756,29 +31789,29 @@ declare class replit$goval$api$ClusterTransfer {
31756
31789
  |}): string | null;
31757
31790
 
31758
31791
  /**
31759
- * Creates a ClusterTransfer message from a plain object. Also converts values to their respective internal types.
31792
+ * Creates a Feature message from a plain object. Also converts values to their respective internal types.
31760
31793
  * @param object Plain object
31761
- * @returns ClusterTransfer
31794
+ * @returns Feature
31762
31795
  */
31763
31796
  static fromObject(object: {|
31764
31797
  [k: string]: any,
31765
- |}): replit$goval$api$ClusterTransfer;
31798
+ |}): replit$goval$api$features$Feature;
31766
31799
 
31767
31800
  /**
31768
- * Creates a plain object from a ClusterTransfer message. Also converts values to other types if specified.
31769
- * @param message ClusterTransfer
31801
+ * Creates a plain object from a Feature message. Also converts values to other types if specified.
31802
+ * @param message Feature
31770
31803
  * @param [options] Conversion options
31771
31804
  * @returns Plain object
31772
31805
  */
31773
31806
  static toObject(
31774
- message: replit$goval$api$ClusterTransfer,
31807
+ message: replit$goval$api$features$Feature,
31775
31808
  options?: $protobuf.IConversionOptions
31776
31809
  ): {|
31777
31810
  [k: string]: any,
31778
31811
  |};
31779
31812
 
31780
31813
  /**
31781
- * Converts this ClusterTransfer to JSON.
31814
+ * Converts this Feature to JSON.
31782
31815
  * @returns JSON object
31783
31816
  */
31784
31817
  toJSON(): {|
@@ -31786,98 +31819,117 @@ declare class replit$goval$api$ClusterTransfer {
31786
31819
  |};
31787
31820
  }
31788
31821
 
31822
+ declare var npm$namespace$replit$goval$api$repl: {|
31823
+ Environment: typeof replit$goval$api$repl$Environment,
31824
+ Persistence: typeof replit$goval$api$repl$Persistence,
31825
+ IBuckets: Class<replit$goval$api$repl$IBuckets>,
31826
+ IRepl: Class<replit$goval$api$repl$IRepl>,
31827
+ IUserId: Class<replit$goval$api$repl$IUserId>,
31828
+ IResourceLimits: Class<replit$goval$api$repl$IResourceLimits>,
31829
+ IPermissions: Class<replit$goval$api$repl$IPermissions>,
31830
+ IMetadata: Class<replit$goval$api$repl$IMetadata>,
31831
+ IBuildInfo: Class<replit$goval$api$repl$IBuildInfo>,
31832
+ Buckets: typeof replit$goval$api$repl$Buckets,
31833
+ Repl: typeof replit$goval$api$repl$Repl,
31834
+ UserId: typeof replit$goval$api$repl$UserId,
31835
+ ResourceLimits: typeof replit$goval$api$repl$ResourceLimits,
31836
+ Permissions: typeof replit$goval$api$repl$Permissions,
31837
+ Metadata: typeof replit$goval$api$repl$Metadata,
31838
+ BuildInfo: typeof replit$goval$api$repl$BuildInfo,
31839
+ |};
31840
+
31789
31841
  /**
31790
- * Properties of a SoftTakedown.
31842
+ * Properties of a Buckets.
31791
31843
  */
31792
- declare type replit$goval$api$ISoftTakedown = {|
31844
+ declare type replit$goval$api$repl$IBuckets = {|
31793
31845
  /**
31794
- * SoftTakedown replId
31846
+ * Buckets snapshots
31795
31847
  */
31796
- replId?: string | null,
31848
+ snapshots?: string | null,
31797
31849
 
31798
31850
  /**
31799
- * SoftTakedown softTakedownId
31851
+ * Buckets metadata
31800
31852
  */
31801
- softTakedownId?: string | null,
31853
+ metadata?: string | null,
31802
31854
  |};
31803
31855
 
31804
31856
  /**
31805
- * Represents a SoftTakedown.
31857
+ * Represents a Buckets.
31806
31858
  */
31807
- declare class replit$goval$api$SoftTakedown {
31859
+ declare class replit$goval$api$repl$Buckets {
31808
31860
  /**
31809
- * Constructs a new SoftTakedown.
31861
+ * Constructs a new Buckets.
31810
31862
  * @param [properties] Properties to set
31811
31863
  */
31812
- constructor(properties?: replit$goval$api$ISoftTakedown): this;
31864
+ constructor(properties?: replit$goval$api$repl$IBuckets): this;
31813
31865
 
31814
31866
  /**
31815
- * SoftTakedown replId.
31867
+ * Buckets snapshots.
31816
31868
  */
31817
- replId: string;
31869
+ snapshots: string;
31818
31870
 
31819
31871
  /**
31820
- * SoftTakedown softTakedownId.
31872
+ * Buckets metadata.
31821
31873
  */
31822
- softTakedownId: string;
31874
+ metadata: string;
31823
31875
 
31824
31876
  /**
31825
- * Creates a new SoftTakedown instance using the specified properties.
31877
+ * Creates a new Buckets instance using the specified properties.
31826
31878
  * @param [properties] Properties to set
31827
- * @returns SoftTakedown instance
31879
+ * @returns Buckets instance
31828
31880
  */
31829
31881
  static create(
31830
- properties?: replit$goval$api$ISoftTakedown
31831
- ): replit$goval$api$SoftTakedown;
31882
+ properties?: replit$goval$api$repl$IBuckets
31883
+ ): replit$goval$api$repl$Buckets;
31832
31884
 
31833
31885
  /**
31834
31886
  * [object Object],[object Object],[object Object]
31835
- * @param message SoftTakedown message or plain object to encode
31887
+ * @param message Buckets message or plain object to encode
31836
31888
  * @param [writer] Writer to encode to
31837
31889
  * @returns Writer
31838
31890
  */
31839
31891
  static encode(
31840
- message: replit$goval$api$SoftTakedown,
31892
+ message: replit$goval$api$repl$Buckets,
31841
31893
  writer?: $protobuf.Writer
31842
31894
  ): $protobuf.Writer;
31843
31895
 
31844
31896
  /**
31845
31897
  * [object Object],[object Object],[object Object]
31846
- * @param message SoftTakedown message or plain object to encode
31898
+ * @param message Buckets message or plain object to encode
31847
31899
  * @param [writer] Writer to encode to
31848
31900
  * @returns Writer
31849
31901
  */
31850
31902
  static encodeDelimited(
31851
- message: replit$goval$api$SoftTakedown,
31903
+ message: replit$goval$api$repl$Buckets,
31852
31904
  writer?: $protobuf.Writer
31853
31905
  ): $protobuf.Writer;
31854
31906
 
31855
31907
  /**
31856
- * Decodes a SoftTakedown message from the specified reader or buffer.
31908
+ * Decodes a Buckets message from the specified reader or buffer.
31857
31909
  * @param reader Reader or buffer to decode from
31858
31910
  * @param [length] Message length if known beforehand
31859
- * @returns SoftTakedown
31911
+ * @returns Buckets
31860
31912
  * @throws {Error} If the payload is not a reader or valid buffer
31861
31913
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31862
31914
  */
31863
31915
  static decode(
31864
31916
  reader: $protobuf.Reader | Uint8Array,
31865
31917
  length?: number
31866
- ): replit$goval$api$SoftTakedown;
31918
+ ): replit$goval$api$repl$Buckets;
31867
31919
 
31868
31920
  /**
31869
- * Decodes a SoftTakedown message from the specified reader or buffer, length delimited.
31921
+ * Decodes a Buckets message from the specified reader or buffer, length delimited.
31870
31922
  * @param reader Reader or buffer to decode from
31871
- * @returns SoftTakedown
31923
+ * @returns Buckets
31872
31924
  * @throws {Error} If the payload is not a reader or valid buffer
31873
31925
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31874
31926
  */
31875
31927
  static decodeDelimited(
31876
31928
  reader: $protobuf.Reader | Uint8Array
31877
- ): replit$goval$api$SoftTakedown;
31929
+ ): replit$goval$api$repl$Buckets;
31878
31930
 
31879
31931
  /**
31880
- * Verifies a SoftTakedown message.
31932
+ * Verifies a Buckets message.
31881
31933
  * @param message Plain object to verify
31882
31934
  * @returns `null` if valid, otherwise the reason why it is not
31883
31935
  */
@@ -31886,29 +31938,29 @@ declare class replit$goval$api$SoftTakedown {
31886
31938
  |}): string | null;
31887
31939
 
31888
31940
  /**
31889
- * Creates a SoftTakedown message from a plain object. Also converts values to their respective internal types.
31941
+ * Creates a Buckets message from a plain object. Also converts values to their respective internal types.
31890
31942
  * @param object Plain object
31891
- * @returns SoftTakedown
31943
+ * @returns Buckets
31892
31944
  */
31893
31945
  static fromObject(object: {|
31894
31946
  [k: string]: any,
31895
- |}): replit$goval$api$SoftTakedown;
31947
+ |}): replit$goval$api$repl$Buckets;
31896
31948
 
31897
31949
  /**
31898
- * Creates a plain object from a SoftTakedown message. Also converts values to other types if specified.
31899
- * @param message SoftTakedown
31950
+ * Creates a plain object from a Buckets message. Also converts values to other types if specified.
31951
+ * @param message Buckets
31900
31952
  * @param [options] Conversion options
31901
31953
  * @returns Plain object
31902
31954
  */
31903
31955
  static toObject(
31904
- message: replit$goval$api$SoftTakedown,
31956
+ message: replit$goval$api$repl$Buckets,
31905
31957
  options?: $protobuf.IConversionOptions
31906
31958
  ): {|
31907
31959
  [k: string]: any,
31908
31960
  |};
31909
31961
 
31910
31962
  /**
31911
- * Converts this SoftTakedown to JSON.
31963
+ * Converts this Buckets to JSON.
31912
31964
  * @returns JSON object
31913
31965
  */
31914
31966
  toJSON(): {|
@@ -31917,149 +31969,170 @@ declare class replit$goval$api$SoftTakedown {
31917
31969
  }
31918
31970
 
31919
31971
  /**
31920
- * Properties of a GovalCommand.
31972
+ * Properties of a Repl.
31921
31973
  */
31922
- declare type replit$goval$api$IGovalCommand = {|
31974
+ declare type replit$goval$api$repl$IRepl = {|
31923
31975
  /**
31924
- * GovalCommand updateMetadata
31976
+ * Repl id
31925
31977
  */
31926
- updateMetadata?:
31927
- | replit$goval$api$repl$Metadata
31928
- | replit$goval$api$repl$IMetadata
31929
- | null,
31978
+ id?: string | null,
31930
31979
 
31931
31980
  /**
31932
- * GovalCommand partialUpdateMetadata
31981
+ * Repl language
31933
31982
  */
31934
- partialUpdateMetadata?:
31935
- | replit$goval$api$PartialUpdateMetadata
31936
- | replit$goval$api$IPartialUpdateMetadata
31937
- | null,
31983
+ language?: string | null,
31938
31984
 
31939
31985
  /**
31940
- * GovalCommand killRepl
31986
+ * Repl bucket
31941
31987
  */
31942
- killRepl?: replit$goval$api$KillRepl | replit$goval$api$IKillRepl | null,
31988
+ bucket?: string | null,
31943
31989
 
31944
31990
  /**
31945
- * GovalCommand updateSourceRepl
31991
+ * Repl slug
31946
31992
  */
31947
- updateSourceRepl?:
31948
- | replit$goval$api$UpdateSourceRepl
31949
- | replit$goval$api$IUpdateSourceRepl
31950
- | null,
31993
+ slug?: string | null,
31951
31994
 
31952
31995
  /**
31953
- * GovalCommand updateReplFlags
31996
+ * Repl user
31997
+ */
31998
+ user?: string | null,
31999
+
32000
+ /**
32001
+ * Repl sourceRepl
32002
+ */
32003
+ sourceRepl?: string | null,
32004
+
32005
+ /**
32006
+ * Repl database
32007
+ */
32008
+ database?: string | null,
32009
+
32010
+ /**
32011
+ * Repl buckets
31954
32012
  */
31955
- updateReplFlags?:
31956
- | replit$goval$api$UpdateReplFlags
31957
- | replit$goval$api$IUpdateReplFlags
32013
+ buckets?:
32014
+ | replit$goval$api$repl$Buckets
32015
+ | replit$goval$api$repl$IBuckets
31958
32016
  | null,
32017
+
32018
+ /**
32019
+ * Repl userId
32020
+ */
32021
+ userId?: replit$goval$api$repl$UserId | replit$goval$api$repl$IUserId | null,
31959
32022
  |};
31960
32023
 
31961
32024
  /**
31962
- * Represents a GovalCommand.
32025
+ * Represents a Repl.
31963
32026
  */
31964
- declare class replit$goval$api$GovalCommand {
32027
+ declare class replit$goval$api$repl$Repl {
31965
32028
  /**
31966
- * Constructs a new GovalCommand.
32029
+ * Constructs a new Repl.
31967
32030
  * @param [properties] Properties to set
31968
32031
  */
31969
- constructor(properties?: replit$goval$api$IGovalCommand): this;
32032
+ constructor(properties?: replit$goval$api$repl$IRepl): this;
32033
+
32034
+ /**
32035
+ * Repl id.
32036
+ */
32037
+ id: string;
32038
+
32039
+ /**
32040
+ * Repl language.
32041
+ */
32042
+ language: string;
32043
+
32044
+ /**
32045
+ * Repl bucket.
32046
+ */
32047
+ bucket: string;
31970
32048
 
31971
32049
  /**
31972
- * GovalCommand updateMetadata.
32050
+ * Repl slug.
31973
32051
  */
31974
- updateMetadata?: replit$goval$api$repl$Metadata | null;
32052
+ slug: string;
31975
32053
 
31976
32054
  /**
31977
- * GovalCommand partialUpdateMetadata.
32055
+ * Repl user.
31978
32056
  */
31979
- partialUpdateMetadata?: replit$goval$api$PartialUpdateMetadata | null;
32057
+ user: string;
31980
32058
 
31981
32059
  /**
31982
- * GovalCommand killRepl.
32060
+ * Repl sourceRepl.
31983
32061
  */
31984
- killRepl?: replit$goval$api$KillRepl | null;
32062
+ sourceRepl: string;
31985
32063
 
31986
32064
  /**
31987
- * GovalCommand updateSourceRepl.
32065
+ * Repl database.
31988
32066
  */
31989
- updateSourceRepl?: replit$goval$api$UpdateSourceRepl | null;
32067
+ database: string;
31990
32068
 
31991
32069
  /**
31992
- * GovalCommand updateReplFlags.
32070
+ * Repl buckets.
31993
32071
  */
31994
- updateReplFlags?: replit$goval$api$UpdateReplFlags | null;
32072
+ buckets?: replit$goval$api$repl$Buckets | null;
31995
32073
 
31996
32074
  /**
31997
- * GovalCommand command.
32075
+ * Repl userId.
31998
32076
  */
31999
- command?:
32000
- | "updateMetadata"
32001
- | "partialUpdateMetadata"
32002
- | "killRepl"
32003
- | "updateSourceRepl"
32004
- | "updateReplFlags";
32077
+ userId?: replit$goval$api$repl$UserId | null;
32005
32078
 
32006
32079
  /**
32007
- * Creates a new GovalCommand instance using the specified properties.
32080
+ * Creates a new Repl instance using the specified properties.
32008
32081
  * @param [properties] Properties to set
32009
- * @returns GovalCommand instance
32082
+ * @returns Repl instance
32010
32083
  */
32011
32084
  static create(
32012
- properties?: replit$goval$api$IGovalCommand
32013
- ): replit$goval$api$GovalCommand;
32085
+ properties?: replit$goval$api$repl$IRepl
32086
+ ): replit$goval$api$repl$Repl;
32014
32087
 
32015
32088
  /**
32016
32089
  * [object Object],[object Object],[object Object]
32017
- * @param message GovalCommand message or plain object to encode
32090
+ * @param message Repl message or plain object to encode
32018
32091
  * @param [writer] Writer to encode to
32019
32092
  * @returns Writer
32020
32093
  */
32021
32094
  static encode(
32022
- message: replit$goval$api$GovalCommand,
32095
+ message: replit$goval$api$repl$Repl,
32023
32096
  writer?: $protobuf.Writer
32024
32097
  ): $protobuf.Writer;
32025
32098
 
32026
32099
  /**
32027
32100
  * [object Object],[object Object],[object Object]
32028
- * @param message GovalCommand message or plain object to encode
32101
+ * @param message Repl message or plain object to encode
32029
32102
  * @param [writer] Writer to encode to
32030
32103
  * @returns Writer
32031
32104
  */
32032
32105
  static encodeDelimited(
32033
- message: replit$goval$api$GovalCommand,
32106
+ message: replit$goval$api$repl$Repl,
32034
32107
  writer?: $protobuf.Writer
32035
32108
  ): $protobuf.Writer;
32036
32109
 
32037
32110
  /**
32038
- * Decodes a GovalCommand message from the specified reader or buffer.
32111
+ * Decodes a Repl message from the specified reader or buffer.
32039
32112
  * @param reader Reader or buffer to decode from
32040
32113
  * @param [length] Message length if known beforehand
32041
- * @returns GovalCommand
32114
+ * @returns Repl
32042
32115
  * @throws {Error} If the payload is not a reader or valid buffer
32043
32116
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32044
32117
  */
32045
32118
  static decode(
32046
32119
  reader: $protobuf.Reader | Uint8Array,
32047
32120
  length?: number
32048
- ): replit$goval$api$GovalCommand;
32121
+ ): replit$goval$api$repl$Repl;
32049
32122
 
32050
32123
  /**
32051
- * Decodes a GovalCommand message from the specified reader or buffer, length delimited.
32124
+ * Decodes a Repl message from the specified reader or buffer, length delimited.
32052
32125
  * @param reader Reader or buffer to decode from
32053
- * @returns GovalCommand
32126
+ * @returns Repl
32054
32127
  * @throws {Error} If the payload is not a reader or valid buffer
32055
32128
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32056
32129
  */
32057
32130
  static decodeDelimited(
32058
32131
  reader: $protobuf.Reader | Uint8Array
32059
- ): replit$goval$api$GovalCommand;
32132
+ ): replit$goval$api$repl$Repl;
32060
32133
 
32061
32134
  /**
32062
- * Verifies a GovalCommand message.
32135
+ * Verifies a Repl message.
32063
32136
  * @param message Plain object to verify
32064
32137
  * @returns `null` if valid, otherwise the reason why it is not
32065
32138
  */
@@ -32068,29 +32141,29 @@ declare class replit$goval$api$GovalCommand {
32068
32141
  |}): string | null;
32069
32142
 
32070
32143
  /**
32071
- * Creates a GovalCommand message from a plain object. Also converts values to their respective internal types.
32144
+ * Creates a Repl message from a plain object. Also converts values to their respective internal types.
32072
32145
  * @param object Plain object
32073
- * @returns GovalCommand
32146
+ * @returns Repl
32074
32147
  */
32075
32148
  static fromObject(object: {|
32076
32149
  [k: string]: any,
32077
- |}): replit$goval$api$GovalCommand;
32150
+ |}): replit$goval$api$repl$Repl;
32078
32151
 
32079
32152
  /**
32080
- * Creates a plain object from a GovalCommand message. Also converts values to other types if specified.
32081
- * @param message GovalCommand
32153
+ * Creates a plain object from a Repl message. Also converts values to other types if specified.
32154
+ * @param message Repl
32082
32155
  * @param [options] Conversion options
32083
32156
  * @returns Plain object
32084
32157
  */
32085
32158
  static toObject(
32086
- message: replit$goval$api$GovalCommand,
32159
+ message: replit$goval$api$repl$Repl,
32087
32160
  options?: $protobuf.IConversionOptions
32088
32161
  ): {|
32089
32162
  [k: string]: any,
32090
32163
  |};
32091
32164
 
32092
32165
  /**
32093
- * Converts this GovalCommand to JSON.
32166
+ * Converts this Repl to JSON.
32094
32167
  * @returns JSON object
32095
32168
  */
32096
32169
  toJSON(): {|
@@ -32099,100 +32172,106 @@ declare class replit$goval$api$GovalCommand {
32099
32172
  }
32100
32173
 
32101
32174
  /**
32102
- * Properties of a PartialUpdateMetadata.
32175
+ * Environment enum.
32176
+ */
32177
+
32178
+ declare var replit$goval$api$repl$Environment: {|
32179
+ +DEVELOPMENT: 0, // 0
32180
+ +PRODUCTION: 1, // 1
32181
+ |};
32182
+
32183
+ /**
32184
+ * Properties of a UserId.
32103
32185
  */
32104
- declare type replit$goval$api$IPartialUpdateMetadata = {|
32186
+ declare type replit$goval$api$repl$IUserId = {|
32105
32187
  /**
32106
- * PartialUpdateMetadata fieldMask
32188
+ * UserId id
32107
32189
  */
32108
- fieldMask?: google$protobuf$FieldMask | google$protobuf$IFieldMask | null,
32190
+ id?: number | null,
32109
32191
 
32110
32192
  /**
32111
- * PartialUpdateMetadata updateMetadata
32193
+ * UserId environment
32112
32194
  */
32113
- updateMetadata?:
32114
- | replit$goval$api$repl$Metadata
32115
- | replit$goval$api$repl$IMetadata
32116
- | null,
32195
+ environment?: $Values<typeof replit$goval$api$repl$Environment> | null,
32117
32196
  |};
32118
32197
 
32119
32198
  /**
32120
- * Represents a PartialUpdateMetadata.
32199
+ * Represents a UserId.
32121
32200
  */
32122
- declare class replit$goval$api$PartialUpdateMetadata {
32201
+ declare class replit$goval$api$repl$UserId {
32123
32202
  /**
32124
- * Constructs a new PartialUpdateMetadata.
32203
+ * Constructs a new UserId.
32125
32204
  * @param [properties] Properties to set
32126
32205
  */
32127
- constructor(properties?: replit$goval$api$IPartialUpdateMetadata): this;
32206
+ constructor(properties?: replit$goval$api$repl$IUserId): this;
32128
32207
 
32129
32208
  /**
32130
- * PartialUpdateMetadata fieldMask.
32209
+ * UserId id.
32131
32210
  */
32132
- fieldMask?: google$protobuf$FieldMask | null;
32211
+ id: number;
32133
32212
 
32134
32213
  /**
32135
- * PartialUpdateMetadata updateMetadata.
32214
+ * UserId environment.
32136
32215
  */
32137
- updateMetadata?: replit$goval$api$repl$Metadata | null;
32216
+ environment: $Values<typeof replit$goval$api$repl$Environment>;
32138
32217
 
32139
32218
  /**
32140
- * Creates a new PartialUpdateMetadata instance using the specified properties.
32219
+ * Creates a new UserId instance using the specified properties.
32141
32220
  * @param [properties] Properties to set
32142
- * @returns PartialUpdateMetadata instance
32221
+ * @returns UserId instance
32143
32222
  */
32144
32223
  static create(
32145
- properties?: replit$goval$api$IPartialUpdateMetadata
32146
- ): replit$goval$api$PartialUpdateMetadata;
32224
+ properties?: replit$goval$api$repl$IUserId
32225
+ ): replit$goval$api$repl$UserId;
32147
32226
 
32148
32227
  /**
32149
32228
  * [object Object],[object Object],[object Object]
32150
- * @param message PartialUpdateMetadata message or plain object to encode
32229
+ * @param message UserId message or plain object to encode
32151
32230
  * @param [writer] Writer to encode to
32152
32231
  * @returns Writer
32153
32232
  */
32154
32233
  static encode(
32155
- message: replit$goval$api$PartialUpdateMetadata,
32234
+ message: replit$goval$api$repl$UserId,
32156
32235
  writer?: $protobuf.Writer
32157
32236
  ): $protobuf.Writer;
32158
32237
 
32159
32238
  /**
32160
32239
  * [object Object],[object Object],[object Object]
32161
- * @param message PartialUpdateMetadata message or plain object to encode
32240
+ * @param message UserId message or plain object to encode
32162
32241
  * @param [writer] Writer to encode to
32163
32242
  * @returns Writer
32164
32243
  */
32165
32244
  static encodeDelimited(
32166
- message: replit$goval$api$PartialUpdateMetadata,
32245
+ message: replit$goval$api$repl$UserId,
32167
32246
  writer?: $protobuf.Writer
32168
32247
  ): $protobuf.Writer;
32169
32248
 
32170
32249
  /**
32171
- * Decodes a PartialUpdateMetadata message from the specified reader or buffer.
32250
+ * Decodes a UserId message from the specified reader or buffer.
32172
32251
  * @param reader Reader or buffer to decode from
32173
32252
  * @param [length] Message length if known beforehand
32174
- * @returns PartialUpdateMetadata
32253
+ * @returns UserId
32175
32254
  * @throws {Error} If the payload is not a reader or valid buffer
32176
32255
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32177
32256
  */
32178
32257
  static decode(
32179
32258
  reader: $protobuf.Reader | Uint8Array,
32180
32259
  length?: number
32181
- ): replit$goval$api$PartialUpdateMetadata;
32260
+ ): replit$goval$api$repl$UserId;
32182
32261
 
32183
32262
  /**
32184
- * Decodes a PartialUpdateMetadata message from the specified reader or buffer, length delimited.
32263
+ * Decodes a UserId message from the specified reader or buffer, length delimited.
32185
32264
  * @param reader Reader or buffer to decode from
32186
- * @returns PartialUpdateMetadata
32265
+ * @returns UserId
32187
32266
  * @throws {Error} If the payload is not a reader or valid buffer
32188
32267
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32189
32268
  */
32190
32269
  static decodeDelimited(
32191
32270
  reader: $protobuf.Reader | Uint8Array
32192
- ): replit$goval$api$PartialUpdateMetadata;
32271
+ ): replit$goval$api$repl$UserId;
32193
32272
 
32194
32273
  /**
32195
- * Verifies a PartialUpdateMetadata message.
32274
+ * Verifies a UserId message.
32196
32275
  * @param message Plain object to verify
32197
32276
  * @returns `null` if valid, otherwise the reason why it is not
32198
32277
  */
@@ -32201,29 +32280,29 @@ declare class replit$goval$api$PartialUpdateMetadata {
32201
32280
  |}): string | null;
32202
32281
 
32203
32282
  /**
32204
- * Creates a PartialUpdateMetadata message from a plain object. Also converts values to their respective internal types.
32283
+ * Creates a UserId message from a plain object. Also converts values to their respective internal types.
32205
32284
  * @param object Plain object
32206
- * @returns PartialUpdateMetadata
32285
+ * @returns UserId
32207
32286
  */
32208
32287
  static fromObject(object: {|
32209
32288
  [k: string]: any,
32210
- |}): replit$goval$api$PartialUpdateMetadata;
32289
+ |}): replit$goval$api$repl$UserId;
32211
32290
 
32212
32291
  /**
32213
- * Creates a plain object from a PartialUpdateMetadata message. Also converts values to other types if specified.
32214
- * @param message PartialUpdateMetadata
32292
+ * Creates a plain object from a UserId message. Also converts values to other types if specified.
32293
+ * @param message UserId
32215
32294
  * @param [options] Conversion options
32216
32295
  * @returns Plain object
32217
32296
  */
32218
32297
  static toObject(
32219
- message: replit$goval$api$PartialUpdateMetadata,
32298
+ message: replit$goval$api$repl$UserId,
32220
32299
  options?: $protobuf.IConversionOptions
32221
32300
  ): {|
32222
32301
  [k: string]: any,
32223
32302
  |};
32224
32303
 
32225
32304
  /**
32226
- * Converts this PartialUpdateMetadata to JSON.
32305
+ * Converts this UserId to JSON.
32227
32306
  * @returns JSON object
32228
32307
  */
32229
32308
  toJSON(): {|
@@ -32232,99 +32311,159 @@ declare class replit$goval$api$PartialUpdateMetadata {
32232
32311
  }
32233
32312
 
32234
32313
  /**
32235
- * Properties of a MultiGovalCommand.
32314
+ * Properties of a ResourceLimits.
32236
32315
  */
32237
- declare type replit$goval$api$IMultiGovalCommand = {|
32316
+ declare type replit$goval$api$repl$IResourceLimits = {|
32238
32317
  /**
32239
- * MultiGovalCommand replId
32318
+ * ResourceLimits net
32240
32319
  */
32241
- replId?: string | null,
32320
+ net?: boolean | null,
32242
32321
 
32243
32322
  /**
32244
- * MultiGovalCommand govalCommands
32323
+ * ResourceLimits memory
32245
32324
  */
32246
- govalCommands?:
32247
- | (replit$goval$api$GovalCommand | replit$goval$api$IGovalCommand)[]
32248
- | null,
32325
+ memory?: number | null,
32326
+
32327
+ /**
32328
+ * ResourceLimits threads
32329
+ */
32330
+ threads?: number | null,
32331
+
32332
+ /**
32333
+ * ResourceLimits shares
32334
+ */
32335
+ shares?: number | null,
32336
+
32337
+ /**
32338
+ * ResourceLimits disk
32339
+ */
32340
+ disk?: number | null,
32341
+
32342
+ /**
32343
+ * ResourceLimits cache
32344
+ */
32345
+ cache?: $Values<
32346
+ typeof replit$goval$api$repl$ResourceLimits$Cachability
32347
+ > | null,
32348
+
32349
+ /**
32350
+ * ResourceLimits restrictNetwork
32351
+ */
32352
+ restrictNetwork?: boolean | null,
32353
+
32354
+ /**
32355
+ * ResourceLimits preventWakeup
32356
+ */
32357
+ preventWakeup?: boolean | null,
32249
32358
  |};
32250
32359
 
32251
32360
  /**
32252
- * Represents a MultiGovalCommand.
32361
+ * Represents a ResourceLimits.
32253
32362
  */
32254
- declare class replit$goval$api$MultiGovalCommand {
32363
+ declare class replit$goval$api$repl$ResourceLimits {
32255
32364
  /**
32256
- * Constructs a new MultiGovalCommand.
32365
+ * Constructs a new ResourceLimits.
32257
32366
  * @param [properties] Properties to set
32258
32367
  */
32259
- constructor(properties?: replit$goval$api$IMultiGovalCommand): this;
32368
+ constructor(properties?: replit$goval$api$repl$IResourceLimits): this;
32369
+
32370
+ /**
32371
+ * ResourceLimits net.
32372
+ */
32373
+ net: boolean;
32260
32374
 
32261
32375
  /**
32262
- * MultiGovalCommand replId.
32376
+ * ResourceLimits memory.
32263
32377
  */
32264
- replId: string;
32378
+ memory: number;
32379
+
32380
+ /**
32381
+ * ResourceLimits threads.
32382
+ */
32383
+ threads: number;
32384
+
32385
+ /**
32386
+ * ResourceLimits shares.
32387
+ */
32388
+ shares: number;
32389
+
32390
+ /**
32391
+ * ResourceLimits disk.
32392
+ */
32393
+ disk: number;
32394
+
32395
+ /**
32396
+ * ResourceLimits cache.
32397
+ */
32398
+ cache: $Values<typeof replit$goval$api$repl$ResourceLimits$Cachability>;
32399
+
32400
+ /**
32401
+ * ResourceLimits restrictNetwork.
32402
+ */
32403
+ restrictNetwork: boolean;
32265
32404
 
32266
32405
  /**
32267
- * MultiGovalCommand govalCommands.
32406
+ * ResourceLimits preventWakeup.
32268
32407
  */
32269
- govalCommands: replit$goval$api$GovalCommand[];
32408
+ preventWakeup: boolean;
32270
32409
 
32271
32410
  /**
32272
- * Creates a new MultiGovalCommand instance using the specified properties.
32411
+ * Creates a new ResourceLimits instance using the specified properties.
32273
32412
  * @param [properties] Properties to set
32274
- * @returns MultiGovalCommand instance
32413
+ * @returns ResourceLimits instance
32275
32414
  */
32276
32415
  static create(
32277
- properties?: replit$goval$api$IMultiGovalCommand
32278
- ): replit$goval$api$MultiGovalCommand;
32416
+ properties?: replit$goval$api$repl$IResourceLimits
32417
+ ): replit$goval$api$repl$ResourceLimits;
32279
32418
 
32280
32419
  /**
32281
32420
  * [object Object],[object Object],[object Object]
32282
- * @param message MultiGovalCommand message or plain object to encode
32421
+ * @param message ResourceLimits message or plain object to encode
32283
32422
  * @param [writer] Writer to encode to
32284
32423
  * @returns Writer
32285
32424
  */
32286
32425
  static encode(
32287
- message: replit$goval$api$MultiGovalCommand,
32426
+ message: replit$goval$api$repl$ResourceLimits,
32288
32427
  writer?: $protobuf.Writer
32289
32428
  ): $protobuf.Writer;
32290
32429
 
32291
32430
  /**
32292
32431
  * [object Object],[object Object],[object Object]
32293
- * @param message MultiGovalCommand message or plain object to encode
32432
+ * @param message ResourceLimits message or plain object to encode
32294
32433
  * @param [writer] Writer to encode to
32295
32434
  * @returns Writer
32296
32435
  */
32297
32436
  static encodeDelimited(
32298
- message: replit$goval$api$MultiGovalCommand,
32437
+ message: replit$goval$api$repl$ResourceLimits,
32299
32438
  writer?: $protobuf.Writer
32300
32439
  ): $protobuf.Writer;
32301
32440
 
32302
32441
  /**
32303
- * Decodes a MultiGovalCommand message from the specified reader or buffer.
32442
+ * Decodes a ResourceLimits message from the specified reader or buffer.
32304
32443
  * @param reader Reader or buffer to decode from
32305
32444
  * @param [length] Message length if known beforehand
32306
- * @returns MultiGovalCommand
32445
+ * @returns ResourceLimits
32307
32446
  * @throws {Error} If the payload is not a reader or valid buffer
32308
32447
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32309
32448
  */
32310
32449
  static decode(
32311
32450
  reader: $protobuf.Reader | Uint8Array,
32312
32451
  length?: number
32313
- ): replit$goval$api$MultiGovalCommand;
32452
+ ): replit$goval$api$repl$ResourceLimits;
32314
32453
 
32315
32454
  /**
32316
- * Decodes a MultiGovalCommand message from the specified reader or buffer, length delimited.
32455
+ * Decodes a ResourceLimits message from the specified reader or buffer, length delimited.
32317
32456
  * @param reader Reader or buffer to decode from
32318
- * @returns MultiGovalCommand
32457
+ * @returns ResourceLimits
32319
32458
  * @throws {Error} If the payload is not a reader or valid buffer
32320
32459
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32321
32460
  */
32322
32461
  static decodeDelimited(
32323
32462
  reader: $protobuf.Reader | Uint8Array
32324
- ): replit$goval$api$MultiGovalCommand;
32463
+ ): replit$goval$api$repl$ResourceLimits;
32325
32464
 
32326
32465
  /**
32327
- * Verifies a MultiGovalCommand message.
32466
+ * Verifies a ResourceLimits message.
32328
32467
  * @param message Plain object to verify
32329
32468
  * @returns `null` if valid, otherwise the reason why it is not
32330
32469
  */
@@ -32333,248 +32472,129 @@ declare class replit$goval$api$MultiGovalCommand {
32333
32472
  |}): string | null;
32334
32473
 
32335
32474
  /**
32336
- * Creates a MultiGovalCommand message from a plain object. Also converts values to their respective internal types.
32475
+ * Creates a ResourceLimits message from a plain object. Also converts values to their respective internal types.
32337
32476
  * @param object Plain object
32338
- * @returns MultiGovalCommand
32477
+ * @returns ResourceLimits
32339
32478
  */
32340
32479
  static fromObject(object: {|
32341
32480
  [k: string]: any,
32342
- |}): replit$goval$api$MultiGovalCommand;
32481
+ |}): replit$goval$api$repl$ResourceLimits;
32343
32482
 
32344
32483
  /**
32345
- * Creates a plain object from a MultiGovalCommand message. Also converts values to other types if specified.
32346
- * @param message MultiGovalCommand
32484
+ * Creates a plain object from a ResourceLimits message. Also converts values to other types if specified.
32485
+ * @param message ResourceLimits
32347
32486
  * @param [options] Conversion options
32348
32487
  * @returns Plain object
32349
32488
  */
32350
32489
  static toObject(
32351
- message: replit$goval$api$MultiGovalCommand,
32490
+ message: replit$goval$api$repl$ResourceLimits,
32352
32491
  options?: $protobuf.IConversionOptions
32353
32492
  ): {|
32354
32493
  [k: string]: any,
32355
32494
  |};
32356
32495
 
32357
32496
  /**
32358
- * Converts this MultiGovalCommand to JSON.
32497
+ * Converts this ResourceLimits to JSON.
32359
32498
  * @returns JSON object
32360
32499
  */
32361
32500
  toJSON(): {|
32362
32501
  [k: string]: any,
32363
32502
  |};
32503
+ static Cachability: typeof replit$goval$api$repl$ResourceLimits$Cachability;
32364
32504
  }
32365
32505
 
32366
32506
  /**
32367
- * Properties of a KillRepl.
32507
+ * Cachability enum.
32368
32508
  */
32369
- declare type replit$goval$api$IKillRepl = {|
32370
- /**
32371
- * KillRepl replId
32372
- */
32373
- replId?: string | null,
32509
+
32510
+ declare var replit$goval$api$repl$ResourceLimits$Cachability: {|
32511
+ +NONE: 0, // 0
32512
+ +USER: 1, // 1
32513
+ +REPL: 2, // 2
32374
32514
  |};
32375
32515
 
32376
32516
  /**
32377
- * Represents a KillRepl.
32517
+ * Properties of a Permissions.
32378
32518
  */
32379
- declare class replit$goval$api$KillRepl {
32519
+ declare type replit$goval$api$repl$IPermissions = {|
32380
32520
  /**
32381
- * Constructs a new KillRepl.
32382
- * @param [properties] Properties to set
32521
+ * Permissions toggleAlwaysOn
32383
32522
  */
32384
- constructor(properties?: replit$goval$api$IKillRepl): this;
32385
-
32386
- /**
32387
- * KillRepl replId.
32388
- */
32389
- replId: string;
32390
-
32391
- /**
32392
- * Creates a new KillRepl instance using the specified properties.
32393
- * @param [properties] Properties to set
32394
- * @returns KillRepl instance
32395
- */
32396
- static create(
32397
- properties?: replit$goval$api$IKillRepl
32398
- ): replit$goval$api$KillRepl;
32399
-
32400
- /**
32401
- * [object Object],[object Object],[object Object]
32402
- * @param message KillRepl message or plain object to encode
32403
- * @param [writer] Writer to encode to
32404
- * @returns Writer
32405
- */
32406
- static encode(
32407
- message: replit$goval$api$KillRepl,
32408
- writer?: $protobuf.Writer
32409
- ): $protobuf.Writer;
32410
-
32411
- /**
32412
- * [object Object],[object Object],[object Object]
32413
- * @param message KillRepl message or plain object to encode
32414
- * @param [writer] Writer to encode to
32415
- * @returns Writer
32416
- */
32417
- static encodeDelimited(
32418
- message: replit$goval$api$KillRepl,
32419
- writer?: $protobuf.Writer
32420
- ): $protobuf.Writer;
32421
-
32422
- /**
32423
- * Decodes a KillRepl message from the specified reader or buffer.
32424
- * @param reader Reader or buffer to decode from
32425
- * @param [length] Message length if known beforehand
32426
- * @returns KillRepl
32427
- * @throws {Error} If the payload is not a reader or valid buffer
32428
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32429
- */
32430
- static decode(
32431
- reader: $protobuf.Reader | Uint8Array,
32432
- length?: number
32433
- ): replit$goval$api$KillRepl;
32434
-
32435
- /**
32436
- * Decodes a KillRepl message from the specified reader or buffer, length delimited.
32437
- * @param reader Reader or buffer to decode from
32438
- * @returns KillRepl
32439
- * @throws {Error} If the payload is not a reader or valid buffer
32440
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32441
- */
32442
- static decodeDelimited(
32443
- reader: $protobuf.Reader | Uint8Array
32444
- ): replit$goval$api$KillRepl;
32445
-
32446
- /**
32447
- * Verifies a KillRepl message.
32448
- * @param message Plain object to verify
32449
- * @returns `null` if valid, otherwise the reason why it is not
32450
- */
32451
- static verify(message: {|
32452
- [k: string]: any,
32453
- |}): string | null;
32454
-
32455
- /**
32456
- * Creates a KillRepl message from a plain object. Also converts values to their respective internal types.
32457
- * @param object Plain object
32458
- * @returns KillRepl
32459
- */
32460
- static fromObject(object: {|
32461
- [k: string]: any,
32462
- |}): replit$goval$api$KillRepl;
32463
-
32464
- /**
32465
- * Creates a plain object from a KillRepl message. Also converts values to other types if specified.
32466
- * @param message KillRepl
32467
- * @param [options] Conversion options
32468
- * @returns Plain object
32469
- */
32470
- static toObject(
32471
- message: replit$goval$api$KillRepl,
32472
- options?: $protobuf.IConversionOptions
32473
- ): {|
32474
- [k: string]: any,
32475
- |};
32476
-
32477
- /**
32478
- * Converts this KillRepl to JSON.
32479
- * @returns JSON object
32480
- */
32481
- toJSON(): {|
32482
- [k: string]: any,
32483
- |};
32484
- }
32523
+ toggleAlwaysOn?: boolean | null,
32524
+ |};
32485
32525
 
32486
32526
  /**
32487
- * Properties of a Restore.
32488
- */
32489
- declare type replit$goval$api$IRestore = {|
32490
- /**
32491
- * Restore replId
32492
- */
32493
- replId?: string | null,
32494
-
32495
- /**
32496
- * Restore restoreReplId
32497
- */
32498
- restoreReplId?: string | null,
32499
- |};
32500
-
32501
- /**
32502
- * Represents a Restore.
32527
+ * Represents a Permissions.
32503
32528
  */
32504
- declare class replit$goval$api$Restore {
32529
+ declare class replit$goval$api$repl$Permissions {
32505
32530
  /**
32506
- * Constructs a new Restore.
32531
+ * Constructs a new Permissions.
32507
32532
  * @param [properties] Properties to set
32508
32533
  */
32509
- constructor(properties?: replit$goval$api$IRestore): this;
32510
-
32511
- /**
32512
- * Restore replId.
32513
- */
32514
- replId: string;
32534
+ constructor(properties?: replit$goval$api$repl$IPermissions): this;
32515
32535
 
32516
32536
  /**
32517
- * Restore restoreReplId.
32537
+ * Permissions toggleAlwaysOn.
32518
32538
  */
32519
- restoreReplId: string;
32539
+ toggleAlwaysOn: boolean;
32520
32540
 
32521
32541
  /**
32522
- * Creates a new Restore instance using the specified properties.
32542
+ * Creates a new Permissions instance using the specified properties.
32523
32543
  * @param [properties] Properties to set
32524
- * @returns Restore instance
32544
+ * @returns Permissions instance
32525
32545
  */
32526
32546
  static create(
32527
- properties?: replit$goval$api$IRestore
32528
- ): replit$goval$api$Restore;
32547
+ properties?: replit$goval$api$repl$IPermissions
32548
+ ): replit$goval$api$repl$Permissions;
32529
32549
 
32530
32550
  /**
32531
32551
  * [object Object],[object Object],[object Object]
32532
- * @param message Restore message or plain object to encode
32552
+ * @param message Permissions message or plain object to encode
32533
32553
  * @param [writer] Writer to encode to
32534
32554
  * @returns Writer
32535
32555
  */
32536
32556
  static encode(
32537
- message: replit$goval$api$Restore,
32557
+ message: replit$goval$api$repl$Permissions,
32538
32558
  writer?: $protobuf.Writer
32539
32559
  ): $protobuf.Writer;
32540
32560
 
32541
32561
  /**
32542
32562
  * [object Object],[object Object],[object Object]
32543
- * @param message Restore message or plain object to encode
32563
+ * @param message Permissions message or plain object to encode
32544
32564
  * @param [writer] Writer to encode to
32545
32565
  * @returns Writer
32546
32566
  */
32547
32567
  static encodeDelimited(
32548
- message: replit$goval$api$Restore,
32568
+ message: replit$goval$api$repl$Permissions,
32549
32569
  writer?: $protobuf.Writer
32550
32570
  ): $protobuf.Writer;
32551
32571
 
32552
32572
  /**
32553
- * Decodes a Restore message from the specified reader or buffer.
32573
+ * Decodes a Permissions message from the specified reader or buffer.
32554
32574
  * @param reader Reader or buffer to decode from
32555
32575
  * @param [length] Message length if known beforehand
32556
- * @returns Restore
32576
+ * @returns Permissions
32557
32577
  * @throws {Error} If the payload is not a reader or valid buffer
32558
32578
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32559
32579
  */
32560
32580
  static decode(
32561
32581
  reader: $protobuf.Reader | Uint8Array,
32562
32582
  length?: number
32563
- ): replit$goval$api$Restore;
32583
+ ): replit$goval$api$repl$Permissions;
32564
32584
 
32565
32585
  /**
32566
- * Decodes a Restore message from the specified reader or buffer, length delimited.
32586
+ * Decodes a Permissions message from the specified reader or buffer, length delimited.
32567
32587
  * @param reader Reader or buffer to decode from
32568
- * @returns Restore
32588
+ * @returns Permissions
32569
32589
  * @throws {Error} If the payload is not a reader or valid buffer
32570
32590
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32571
32591
  */
32572
32592
  static decodeDelimited(
32573
32593
  reader: $protobuf.Reader | Uint8Array
32574
- ): replit$goval$api$Restore;
32594
+ ): replit$goval$api$repl$Permissions;
32575
32595
 
32576
32596
  /**
32577
- * Verifies a Restore message.
32597
+ * Verifies a Permissions message.
32578
32598
  * @param message Plain object to verify
32579
32599
  * @returns `null` if valid, otherwise the reason why it is not
32580
32600
  */
@@ -32583,29 +32603,29 @@ declare class replit$goval$api$Restore {
32583
32603
  |}): string | null;
32584
32604
 
32585
32605
  /**
32586
- * Creates a Restore message from a plain object. Also converts values to their respective internal types.
32606
+ * Creates a Permissions message from a plain object. Also converts values to their respective internal types.
32587
32607
  * @param object Plain object
32588
- * @returns Restore
32608
+ * @returns Permissions
32589
32609
  */
32590
32610
  static fromObject(object: {|
32591
32611
  [k: string]: any,
32592
- |}): replit$goval$api$Restore;
32612
+ |}): replit$goval$api$repl$Permissions;
32593
32613
 
32594
32614
  /**
32595
- * Creates a plain object from a Restore message. Also converts values to other types if specified.
32596
- * @param message Restore
32615
+ * Creates a plain object from a Permissions message. Also converts values to other types if specified.
32616
+ * @param message Permissions
32597
32617
  * @param [options] Conversion options
32598
32618
  * @returns Plain object
32599
32619
  */
32600
32620
  static toObject(
32601
- message: replit$goval$api$Restore,
32621
+ message: replit$goval$api$repl$Permissions,
32602
32622
  options?: $protobuf.IConversionOptions
32603
32623
  ): {|
32604
32624
  [k: string]: any,
32605
32625
  |};
32606
32626
 
32607
32627
  /**
32608
- * Converts this Restore to JSON.
32628
+ * Converts this Permissions to JSON.
32609
32629
  * @returns JSON object
32610
32630
  */
32611
32631
  toJSON(): {|
@@ -32614,753 +32634,182 @@ declare class replit$goval$api$Restore {
32614
32634
  }
32615
32635
 
32616
32636
  /**
32617
- * Properties of an UpdateSourceRepl.
32637
+ * Persistence enum.
32618
32638
  */
32619
- declare type replit$goval$api$IUpdateSourceRepl = {|
32620
- /**
32621
- * UpdateSourceRepl replId
32622
- */
32623
- replId?: string | null,
32624
32639
 
32625
- /**
32626
- * UpdateSourceRepl sourceReplId
32627
- */
32628
- sourceReplId?: string | null,
32640
+ declare var replit$goval$api$repl$Persistence: {|
32641
+ +PERSISTENT: 0, // 0
32642
+ +EPHEMERAL: 1, // 1
32643
+ +NONE: 2, // 2
32644
+ +READ_ONLY: 3, // 3
32629
32645
  |};
32630
32646
 
32631
32647
  /**
32632
- * Represents an UpdateSourceRepl.
32648
+ * Properties of a Metadata.
32633
32649
  */
32634
- declare class replit$goval$api$UpdateSourceRepl {
32635
- /**
32636
- * Constructs a new UpdateSourceRepl.
32637
- * @param [properties] Properties to set
32638
- */
32639
- constructor(properties?: replit$goval$api$IUpdateSourceRepl): this;
32640
-
32641
- /**
32642
- * UpdateSourceRepl replId.
32643
- */
32644
- replId: string;
32645
-
32646
- /**
32647
- * UpdateSourceRepl sourceReplId.
32648
- */
32649
- sourceReplId: string;
32650
-
32651
- /**
32652
- * Creates a new UpdateSourceRepl instance using the specified properties.
32653
- * @param [properties] Properties to set
32654
- * @returns UpdateSourceRepl instance
32655
- */
32656
- static create(
32657
- properties?: replit$goval$api$IUpdateSourceRepl
32658
- ): replit$goval$api$UpdateSourceRepl;
32659
-
32660
- /**
32661
- * [object Object],[object Object],[object Object]
32662
- * @param message UpdateSourceRepl message or plain object to encode
32663
- * @param [writer] Writer to encode to
32664
- * @returns Writer
32665
- */
32666
- static encode(
32667
- message: replit$goval$api$UpdateSourceRepl,
32668
- writer?: $protobuf.Writer
32669
- ): $protobuf.Writer;
32670
-
32671
- /**
32672
- * [object Object],[object Object],[object Object]
32673
- * @param message UpdateSourceRepl message or plain object to encode
32674
- * @param [writer] Writer to encode to
32675
- * @returns Writer
32676
- */
32677
- static encodeDelimited(
32678
- message: replit$goval$api$UpdateSourceRepl,
32679
- writer?: $protobuf.Writer
32680
- ): $protobuf.Writer;
32681
-
32682
- /**
32683
- * Decodes an UpdateSourceRepl message from the specified reader or buffer.
32684
- * @param reader Reader or buffer to decode from
32685
- * @param [length] Message length if known beforehand
32686
- * @returns UpdateSourceRepl
32687
- * @throws {Error} If the payload is not a reader or valid buffer
32688
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32689
- */
32690
- static decode(
32691
- reader: $protobuf.Reader | Uint8Array,
32692
- length?: number
32693
- ): replit$goval$api$UpdateSourceRepl;
32694
-
32695
- /**
32696
- * Decodes an UpdateSourceRepl message from the specified reader or buffer, length delimited.
32697
- * @param reader Reader or buffer to decode from
32698
- * @returns UpdateSourceRepl
32699
- * @throws {Error} If the payload is not a reader or valid buffer
32700
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32701
- */
32702
- static decodeDelimited(
32703
- reader: $protobuf.Reader | Uint8Array
32704
- ): replit$goval$api$UpdateSourceRepl;
32705
-
32706
- /**
32707
- * Verifies an UpdateSourceRepl message.
32708
- * @param message Plain object to verify
32709
- * @returns `null` if valid, otherwise the reason why it is not
32710
- */
32711
- static verify(message: {|
32712
- [k: string]: any,
32713
- |}): string | null;
32714
-
32650
+ declare type replit$goval$api$repl$IMetadata = {|
32715
32651
  /**
32716
- * Creates an UpdateSourceRepl message from a plain object. Also converts values to their respective internal types.
32717
- * @param object Plain object
32718
- * @returns UpdateSourceRepl
32652
+ * Metadata repl
32719
32653
  */
32720
- static fromObject(object: {|
32721
- [k: string]: any,
32722
- |}): replit$goval$api$UpdateSourceRepl;
32654
+ repl?: replit$goval$api$repl$Repl | replit$goval$api$repl$IRepl | null,
32723
32655
 
32724
32656
  /**
32725
- * Creates a plain object from an UpdateSourceRepl message. Also converts values to other types if specified.
32726
- * @param message UpdateSourceRepl
32727
- * @param [options] Conversion options
32728
- * @returns Plain object
32657
+ * Metadata resourceLimits
32729
32658
  */
32730
- static toObject(
32731
- message: replit$goval$api$UpdateSourceRepl,
32732
- options?: $protobuf.IConversionOptions
32733
- ): {|
32734
- [k: string]: any,
32735
- |};
32659
+ resourceLimits?:
32660
+ | replit$goval$api$repl$ResourceLimits
32661
+ | replit$goval$api$repl$IResourceLimits
32662
+ | null,
32736
32663
 
32737
32664
  /**
32738
- * Converts this UpdateSourceRepl to JSON.
32739
- * @returns JSON object
32665
+ * Metadata interactiveResourceLimits
32740
32666
  */
32741
- toJSON(): {|
32742
- [k: string]: any,
32743
- |};
32744
- }
32667
+ interactiveResourceLimits?:
32668
+ | replit$goval$api$repl$ResourceLimits
32669
+ | replit$goval$api$repl$IResourceLimits
32670
+ | null,
32745
32671
 
32746
- /**
32747
- * Properties of an UpdateReplFlags.
32748
- */
32749
- declare type replit$goval$api$IUpdateReplFlags = {|
32750
32672
  /**
32751
- * UpdateReplFlags replId
32673
+ * Metadata persistence
32752
32674
  */
32753
- replId?: string | null,
32675
+ persistence?: $Values<typeof replit$goval$api$repl$Persistence> | null,
32754
32676
 
32755
32677
  /**
32756
- * UpdateReplFlags flags
32678
+ * Metadata flags
32757
32679
  */
32758
32680
  flags?: string[] | null,
32759
- |};
32760
-
32761
- /**
32762
- * Represents an UpdateReplFlags.
32763
- */
32764
- declare class replit$goval$api$UpdateReplFlags {
32765
- /**
32766
- * Constructs a new UpdateReplFlags.
32767
- * @param [properties] Properties to set
32768
- */
32769
- constructor(properties?: replit$goval$api$IUpdateReplFlags): this;
32770
-
32771
- /**
32772
- * UpdateReplFlags replId.
32773
- */
32774
- replId: string;
32775
-
32776
- /**
32777
- * UpdateReplFlags flags.
32778
- */
32779
- flags: string[];
32780
-
32781
- /**
32782
- * Creates a new UpdateReplFlags instance using the specified properties.
32783
- * @param [properties] Properties to set
32784
- * @returns UpdateReplFlags instance
32785
- */
32786
- static create(
32787
- properties?: replit$goval$api$IUpdateReplFlags
32788
- ): replit$goval$api$UpdateReplFlags;
32789
-
32790
- /**
32791
- * [object Object],[object Object],[object Object]
32792
- * @param message UpdateReplFlags message or plain object to encode
32793
- * @param [writer] Writer to encode to
32794
- * @returns Writer
32795
- */
32796
- static encode(
32797
- message: replit$goval$api$UpdateReplFlags,
32798
- writer?: $protobuf.Writer
32799
- ): $protobuf.Writer;
32800
-
32801
- /**
32802
- * [object Object],[object Object],[object Object]
32803
- * @param message UpdateReplFlags message or plain object to encode
32804
- * @param [writer] Writer to encode to
32805
- * @returns Writer
32806
- */
32807
- static encodeDelimited(
32808
- message: replit$goval$api$UpdateReplFlags,
32809
- writer?: $protobuf.Writer
32810
- ): $protobuf.Writer;
32811
-
32812
- /**
32813
- * Decodes an UpdateReplFlags message from the specified reader or buffer.
32814
- * @param reader Reader or buffer to decode from
32815
- * @param [length] Message length if known beforehand
32816
- * @returns UpdateReplFlags
32817
- * @throws {Error} If the payload is not a reader or valid buffer
32818
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32819
- */
32820
- static decode(
32821
- reader: $protobuf.Reader | Uint8Array,
32822
- length?: number
32823
- ): replit$goval$api$UpdateReplFlags;
32824
-
32825
- /**
32826
- * Decodes an UpdateReplFlags message from the specified reader or buffer, length delimited.
32827
- * @param reader Reader or buffer to decode from
32828
- * @returns UpdateReplFlags
32829
- * @throws {Error} If the payload is not a reader or valid buffer
32830
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32831
- */
32832
- static decodeDelimited(
32833
- reader: $protobuf.Reader | Uint8Array
32834
- ): replit$goval$api$UpdateReplFlags;
32835
-
32836
- /**
32837
- * Verifies an UpdateReplFlags message.
32838
- * @param message Plain object to verify
32839
- * @returns `null` if valid, otherwise the reason why it is not
32840
- */
32841
- static verify(message: {|
32842
- [k: string]: any,
32843
- |}): string | null;
32844
-
32845
- /**
32846
- * Creates an UpdateReplFlags message from a plain object. Also converts values to their respective internal types.
32847
- * @param object Plain object
32848
- * @returns UpdateReplFlags
32849
- */
32850
- static fromObject(object: {|
32851
- [k: string]: any,
32852
- |}): replit$goval$api$UpdateReplFlags;
32853
-
32854
- /**
32855
- * Creates a plain object from an UpdateReplFlags message. Also converts values to other types if specified.
32856
- * @param message UpdateReplFlags
32857
- * @param [options] Conversion options
32858
- * @returns Plain object
32859
- */
32860
- static toObject(
32861
- message: replit$goval$api$UpdateReplFlags,
32862
- options?: $protobuf.IConversionOptions
32863
- ): {|
32864
- [k: string]: any,
32865
- |};
32866
-
32867
- /**
32868
- * Converts this UpdateReplFlags to JSON.
32869
- * @returns JSON object
32870
- */
32871
- toJSON(): {|
32872
- [k: string]: any,
32873
- |};
32874
- }
32875
-
32876
- declare var npm$namespace$replit$goval$api$features: {|
32877
- IGpu: Class<replit$goval$api$features$IGpu>,
32878
- IBoosted: Class<replit$goval$api$features$IBoosted>,
32879
- IFeature: Class<replit$goval$api$features$IFeature>,
32880
- Gpu: typeof replit$goval$api$features$Gpu,
32881
- Boosted: typeof replit$goval$api$features$Boosted,
32882
- Feature: typeof replit$goval$api$features$Feature,
32883
- |};
32884
-
32885
- /**
32886
- * Properties of a Gpu.
32887
- */
32888
- declare type replit$goval$api$features$IGpu = {||};
32889
-
32890
- /**
32891
- * Represents a Gpu.
32892
- */
32893
- declare class replit$goval$api$features$Gpu {
32894
- /**
32895
- * Constructs a new Gpu.
32896
- * @param [properties] Properties to set
32897
- */
32898
- constructor(properties?: replit$goval$api$features$IGpu): this;
32899
-
32900
- /**
32901
- * Creates a new Gpu instance using the specified properties.
32902
- * @param [properties] Properties to set
32903
- * @returns Gpu instance
32904
- */
32905
- static create(
32906
- properties?: replit$goval$api$features$IGpu
32907
- ): replit$goval$api$features$Gpu;
32908
-
32909
- /**
32910
- * [object Object],[object Object],[object Object]
32911
- * @param message Gpu message or plain object to encode
32912
- * @param [writer] Writer to encode to
32913
- * @returns Writer
32914
- */
32915
- static encode(
32916
- message: replit$goval$api$features$Gpu,
32917
- writer?: $protobuf.Writer
32918
- ): $protobuf.Writer;
32919
-
32920
- /**
32921
- * [object Object],[object Object],[object Object]
32922
- * @param message Gpu message or plain object to encode
32923
- * @param [writer] Writer to encode to
32924
- * @returns Writer
32925
- */
32926
- static encodeDelimited(
32927
- message: replit$goval$api$features$Gpu,
32928
- writer?: $protobuf.Writer
32929
- ): $protobuf.Writer;
32930
-
32931
- /**
32932
- * Decodes a Gpu message from the specified reader or buffer.
32933
- * @param reader Reader or buffer to decode from
32934
- * @param [length] Message length if known beforehand
32935
- * @returns Gpu
32936
- * @throws {Error} If the payload is not a reader or valid buffer
32937
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32938
- */
32939
- static decode(
32940
- reader: $protobuf.Reader | Uint8Array,
32941
- length?: number
32942
- ): replit$goval$api$features$Gpu;
32943
-
32944
- /**
32945
- * Decodes a Gpu message from the specified reader or buffer, length delimited.
32946
- * @param reader Reader or buffer to decode from
32947
- * @returns Gpu
32948
- * @throws {Error} If the payload is not a reader or valid buffer
32949
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
32950
- */
32951
- static decodeDelimited(
32952
- reader: $protobuf.Reader | Uint8Array
32953
- ): replit$goval$api$features$Gpu;
32954
-
32955
- /**
32956
- * Verifies a Gpu message.
32957
- * @param message Plain object to verify
32958
- * @returns `null` if valid, otherwise the reason why it is not
32959
- */
32960
- static verify(message: {|
32961
- [k: string]: any,
32962
- |}): string | null;
32963
-
32964
- /**
32965
- * Creates a Gpu message from a plain object. Also converts values to their respective internal types.
32966
- * @param object Plain object
32967
- * @returns Gpu
32968
- */
32969
- static fromObject(object: {|
32970
- [k: string]: any,
32971
- |}): replit$goval$api$features$Gpu;
32972
-
32973
- /**
32974
- * Creates a plain object from a Gpu message. Also converts values to other types if specified.
32975
- * @param message Gpu
32976
- * @param [options] Conversion options
32977
- * @returns Plain object
32978
- */
32979
- static toObject(
32980
- message: replit$goval$api$features$Gpu,
32981
- options?: $protobuf.IConversionOptions
32982
- ): {|
32983
- [k: string]: any,
32984
- |};
32985
-
32986
- /**
32987
- * Converts this Gpu to JSON.
32988
- * @returns JSON object
32989
- */
32990
- toJSON(): {|
32991
- [k: string]: any,
32992
- |};
32993
- }
32994
-
32995
- /**
32996
- * Properties of a Boosted.
32997
- */
32998
- declare type replit$goval$api$features$IBoosted = {||};
32999
-
33000
- /**
33001
- * Represents a Boosted.
33002
- */
33003
- declare class replit$goval$api$features$Boosted {
33004
- /**
33005
- * Constructs a new Boosted.
33006
- * @param [properties] Properties to set
33007
- */
33008
- constructor(properties?: replit$goval$api$features$IBoosted): this;
33009
-
33010
- /**
33011
- * Creates a new Boosted instance using the specified properties.
33012
- * @param [properties] Properties to set
33013
- * @returns Boosted instance
33014
- */
33015
- static create(
33016
- properties?: replit$goval$api$features$IBoosted
33017
- ): replit$goval$api$features$Boosted;
33018
-
33019
- /**
33020
- * [object Object],[object Object],[object Object]
33021
- * @param message Boosted message or plain object to encode
33022
- * @param [writer] Writer to encode to
33023
- * @returns Writer
33024
- */
33025
- static encode(
33026
- message: replit$goval$api$features$Boosted,
33027
- writer?: $protobuf.Writer
33028
- ): $protobuf.Writer;
33029
-
33030
- /**
33031
- * [object Object],[object Object],[object Object]
33032
- * @param message Boosted message or plain object to encode
33033
- * @param [writer] Writer to encode to
33034
- * @returns Writer
33035
- */
33036
- static encodeDelimited(
33037
- message: replit$goval$api$features$Boosted,
33038
- writer?: $protobuf.Writer
33039
- ): $protobuf.Writer;
33040
-
33041
- /**
33042
- * Decodes a Boosted message from the specified reader or buffer.
33043
- * @param reader Reader or buffer to decode from
33044
- * @param [length] Message length if known beforehand
33045
- * @returns Boosted
33046
- * @throws {Error} If the payload is not a reader or valid buffer
33047
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
33048
- */
33049
- static decode(
33050
- reader: $protobuf.Reader | Uint8Array,
33051
- length?: number
33052
- ): replit$goval$api$features$Boosted;
33053
-
33054
- /**
33055
- * Decodes a Boosted message from the specified reader or buffer, length delimited.
33056
- * @param reader Reader or buffer to decode from
33057
- * @returns Boosted
33058
- * @throws {Error} If the payload is not a reader or valid buffer
33059
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
33060
- */
33061
- static decodeDelimited(
33062
- reader: $protobuf.Reader | Uint8Array
33063
- ): replit$goval$api$features$Boosted;
33064
32681
 
33065
32682
  /**
33066
- * Verifies a Boosted message.
33067
- * @param message Plain object to verify
33068
- * @returns `null` if valid, otherwise the reason why it is not
33069
- */
33070
- static verify(message: {|
33071
- [k: string]: any,
33072
- |}): string | null;
33073
-
33074
- /**
33075
- * Creates a Boosted message from a plain object. Also converts values to their respective internal types.
33076
- * @param object Plain object
33077
- * @returns Boosted
33078
- */
33079
- static fromObject(object: {|
33080
- [k: string]: any,
33081
- |}): replit$goval$api$features$Boosted;
33082
-
33083
- /**
33084
- * Creates a plain object from a Boosted message. Also converts values to other types if specified.
33085
- * @param message Boosted
33086
- * @param [options] Conversion options
33087
- * @returns Plain object
33088
- */
33089
- static toObject(
33090
- message: replit$goval$api$features$Boosted,
33091
- options?: $protobuf.IConversionOptions
33092
- ): {|
33093
- [k: string]: any,
33094
- |};
33095
-
33096
- /**
33097
- * Converts this Boosted to JSON.
33098
- * @returns JSON object
33099
- */
33100
- toJSON(): {|
33101
- [k: string]: any,
33102
- |};
33103
- }
33104
-
33105
- /**
33106
- * Properties of a Feature.
33107
- */
33108
- declare type replit$goval$api$features$IFeature = {|
33109
- /**
33110
- * Feature gpu
32683
+ * Metadata permissions
33111
32684
  */
33112
- gpu?: replit$goval$api$features$Gpu | replit$goval$api$features$IGpu | null,
32685
+ permissions?:
32686
+ | replit$goval$api$repl$Permissions
32687
+ | replit$goval$api$repl$IPermissions
32688
+ | null,
33113
32689
 
33114
32690
  /**
33115
- * Feature boosted
32691
+ * Metadata features
33116
32692
  */
33117
- boosted?:
33118
- | replit$goval$api$features$Boosted
33119
- | replit$goval$api$features$IBoosted
32693
+ features?:
32694
+ | (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
33120
32695
  | null,
33121
32696
 
33122
32697
  /**
33123
- * Feature required
32698
+ * Metadata buildInfo
33124
32699
  */
33125
- required?: boolean | null,
32700
+ buildInfo?:
32701
+ | replit$goval$api$repl$BuildInfo
32702
+ | replit$goval$api$repl$IBuildInfo
32703
+ | null,
33126
32704
  |};
33127
32705
 
33128
32706
  /**
33129
- * Represents a Feature.
32707
+ * Represents a Metadata.
33130
32708
  */
33131
- declare class replit$goval$api$features$Feature {
33132
- /**
33133
- * Constructs a new Feature.
33134
- * @param [properties] Properties to set
33135
- */
33136
- constructor(properties?: replit$goval$api$features$IFeature): this;
33137
-
33138
- /**
33139
- * Feature gpu.
33140
- */
33141
- gpu?: replit$goval$api$features$Gpu | null;
33142
-
33143
- /**
33144
- * Feature boosted.
33145
- */
33146
- boosted?: replit$goval$api$features$Boosted | null;
33147
-
33148
- /**
33149
- * Feature required.
33150
- */
33151
- required: boolean;
33152
-
33153
- /**
33154
- * Feature feature.
33155
- */
33156
- feature?: "gpu" | "boosted";
33157
-
32709
+ declare class replit$goval$api$repl$Metadata {
33158
32710
  /**
33159
- * Creates a new Feature instance using the specified properties.
32711
+ * Constructs a new Metadata.
33160
32712
  * @param [properties] Properties to set
33161
- * @returns Feature instance
33162
- */
33163
- static create(
33164
- properties?: replit$goval$api$features$IFeature
33165
- ): replit$goval$api$features$Feature;
33166
-
33167
- /**
33168
- * [object Object],[object Object],[object Object]
33169
- * @param message Feature message or plain object to encode
33170
- * @param [writer] Writer to encode to
33171
- * @returns Writer
33172
- */
33173
- static encode(
33174
- message: replit$goval$api$features$Feature,
33175
- writer?: $protobuf.Writer
33176
- ): $protobuf.Writer;
33177
-
33178
- /**
33179
- * [object Object],[object Object],[object Object]
33180
- * @param message Feature message or plain object to encode
33181
- * @param [writer] Writer to encode to
33182
- * @returns Writer
33183
- */
33184
- static encodeDelimited(
33185
- message: replit$goval$api$features$Feature,
33186
- writer?: $protobuf.Writer
33187
- ): $protobuf.Writer;
33188
-
33189
- /**
33190
- * Decodes a Feature message from the specified reader or buffer.
33191
- * @param reader Reader or buffer to decode from
33192
- * @param [length] Message length if known beforehand
33193
- * @returns Feature
33194
- * @throws {Error} If the payload is not a reader or valid buffer
33195
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
33196
- */
33197
- static decode(
33198
- reader: $protobuf.Reader | Uint8Array,
33199
- length?: number
33200
- ): replit$goval$api$features$Feature;
33201
-
33202
- /**
33203
- * Decodes a Feature message from the specified reader or buffer, length delimited.
33204
- * @param reader Reader or buffer to decode from
33205
- * @returns Feature
33206
- * @throws {Error} If the payload is not a reader or valid buffer
33207
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
33208
32713
  */
33209
- static decodeDelimited(
33210
- reader: $protobuf.Reader | Uint8Array
33211
- ): replit$goval$api$features$Feature;
33212
-
33213
- /**
33214
- * Verifies a Feature message.
33215
- * @param message Plain object to verify
33216
- * @returns `null` if valid, otherwise the reason why it is not
33217
- */
33218
- static verify(message: {|
33219
- [k: string]: any,
33220
- |}): string | null;
32714
+ constructor(properties?: replit$goval$api$repl$IMetadata): this;
33221
32715
 
33222
32716
  /**
33223
- * Creates a Feature message from a plain object. Also converts values to their respective internal types.
33224
- * @param object Plain object
33225
- * @returns Feature
32717
+ * Metadata repl.
33226
32718
  */
33227
- static fromObject(object: {|
33228
- [k: string]: any,
33229
- |}): replit$goval$api$features$Feature;
32719
+ repl?: replit$goval$api$repl$Repl | null;
33230
32720
 
33231
32721
  /**
33232
- * Creates a plain object from a Feature message. Also converts values to other types if specified.
33233
- * @param message Feature
33234
- * @param [options] Conversion options
33235
- * @returns Plain object
32722
+ * Metadata resourceLimits.
33236
32723
  */
33237
- static toObject(
33238
- message: replit$goval$api$features$Feature,
33239
- options?: $protobuf.IConversionOptions
33240
- ): {|
33241
- [k: string]: any,
33242
- |};
32724
+ resourceLimits?: replit$goval$api$repl$ResourceLimits | null;
33243
32725
 
33244
32726
  /**
33245
- * Converts this Feature to JSON.
33246
- * @returns JSON object
32727
+ * Metadata interactiveResourceLimits.
33247
32728
  */
33248
- toJSON(): {|
33249
- [k: string]: any,
33250
- |};
33251
- }
33252
-
33253
- declare var npm$namespace$replit$goval$api$repl: {|
33254
- Environment: typeof replit$goval$api$repl$Environment,
33255
- Persistence: typeof replit$goval$api$repl$Persistence,
33256
- IBuckets: Class<replit$goval$api$repl$IBuckets>,
33257
- IRepl: Class<replit$goval$api$repl$IRepl>,
33258
- IUserId: Class<replit$goval$api$repl$IUserId>,
33259
- IResourceLimits: Class<replit$goval$api$repl$IResourceLimits>,
33260
- IPermissions: Class<replit$goval$api$repl$IPermissions>,
33261
- IMetadata: Class<replit$goval$api$repl$IMetadata>,
33262
- IBuildInfo: Class<replit$goval$api$repl$IBuildInfo>,
33263
- Buckets: typeof replit$goval$api$repl$Buckets,
33264
- Repl: typeof replit$goval$api$repl$Repl,
33265
- UserId: typeof replit$goval$api$repl$UserId,
33266
- ResourceLimits: typeof replit$goval$api$repl$ResourceLimits,
33267
- Permissions: typeof replit$goval$api$repl$Permissions,
33268
- Metadata: typeof replit$goval$api$repl$Metadata,
33269
- BuildInfo: typeof replit$goval$api$repl$BuildInfo,
33270
- |};
32729
+ interactiveResourceLimits?: replit$goval$api$repl$ResourceLimits | null;
33271
32730
 
33272
- /**
33273
- * Properties of a Buckets.
33274
- */
33275
- declare type replit$goval$api$repl$IBuckets = {|
33276
32731
  /**
33277
- * Buckets snapshots
32732
+ * Metadata persistence.
33278
32733
  */
33279
- snapshots?: string | null,
32734
+ persistence: $Values<typeof replit$goval$api$repl$Persistence>;
33280
32735
 
33281
32736
  /**
33282
- * Buckets metadata
32737
+ * Metadata flags.
33283
32738
  */
33284
- metadata?: string | null,
33285
- |};
32739
+ flags: string[];
33286
32740
 
33287
- /**
33288
- * Represents a Buckets.
33289
- */
33290
- declare class replit$goval$api$repl$Buckets {
33291
32741
  /**
33292
- * Constructs a new Buckets.
33293
- * @param [properties] Properties to set
32742
+ * Metadata permissions.
33294
32743
  */
33295
- constructor(properties?: replit$goval$api$repl$IBuckets): this;
32744
+ permissions?: replit$goval$api$repl$Permissions | null;
33296
32745
 
33297
32746
  /**
33298
- * Buckets snapshots.
32747
+ * Metadata features.
33299
32748
  */
33300
- snapshots: string;
32749
+ features: replit$goval$api$features$Feature[];
33301
32750
 
33302
32751
  /**
33303
- * Buckets metadata.
32752
+ * Metadata buildInfo.
33304
32753
  */
33305
- metadata: string;
32754
+ buildInfo?: replit$goval$api$repl$BuildInfo | null;
33306
32755
 
33307
32756
  /**
33308
- * Creates a new Buckets instance using the specified properties.
32757
+ * Creates a new Metadata instance using the specified properties.
33309
32758
  * @param [properties] Properties to set
33310
- * @returns Buckets instance
32759
+ * @returns Metadata instance
33311
32760
  */
33312
32761
  static create(
33313
- properties?: replit$goval$api$repl$IBuckets
33314
- ): replit$goval$api$repl$Buckets;
32762
+ properties?: replit$goval$api$repl$IMetadata
32763
+ ): replit$goval$api$repl$Metadata;
33315
32764
 
33316
32765
  /**
33317
32766
  * [object Object],[object Object],[object Object]
33318
- * @param message Buckets message or plain object to encode
32767
+ * @param message Metadata message or plain object to encode
33319
32768
  * @param [writer] Writer to encode to
33320
32769
  * @returns Writer
33321
32770
  */
33322
32771
  static encode(
33323
- message: replit$goval$api$repl$Buckets,
32772
+ message: replit$goval$api$repl$Metadata,
33324
32773
  writer?: $protobuf.Writer
33325
32774
  ): $protobuf.Writer;
33326
32775
 
33327
32776
  /**
33328
32777
  * [object Object],[object Object],[object Object]
33329
- * @param message Buckets message or plain object to encode
32778
+ * @param message Metadata message or plain object to encode
33330
32779
  * @param [writer] Writer to encode to
33331
32780
  * @returns Writer
33332
32781
  */
33333
32782
  static encodeDelimited(
33334
- message: replit$goval$api$repl$Buckets,
32783
+ message: replit$goval$api$repl$Metadata,
33335
32784
  writer?: $protobuf.Writer
33336
32785
  ): $protobuf.Writer;
33337
32786
 
33338
32787
  /**
33339
- * Decodes a Buckets message from the specified reader or buffer.
32788
+ * Decodes a Metadata message from the specified reader or buffer.
33340
32789
  * @param reader Reader or buffer to decode from
33341
32790
  * @param [length] Message length if known beforehand
33342
- * @returns Buckets
32791
+ * @returns Metadata
33343
32792
  * @throws {Error} If the payload is not a reader or valid buffer
33344
32793
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33345
32794
  */
33346
32795
  static decode(
33347
32796
  reader: $protobuf.Reader | Uint8Array,
33348
32797
  length?: number
33349
- ): replit$goval$api$repl$Buckets;
32798
+ ): replit$goval$api$repl$Metadata;
33350
32799
 
33351
32800
  /**
33352
- * Decodes a Buckets message from the specified reader or buffer, length delimited.
32801
+ * Decodes a Metadata message from the specified reader or buffer, length delimited.
33353
32802
  * @param reader Reader or buffer to decode from
33354
- * @returns Buckets
32803
+ * @returns Metadata
33355
32804
  * @throws {Error} If the payload is not a reader or valid buffer
33356
32805
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33357
32806
  */
33358
32807
  static decodeDelimited(
33359
32808
  reader: $protobuf.Reader | Uint8Array
33360
- ): replit$goval$api$repl$Buckets;
32809
+ ): replit$goval$api$repl$Metadata;
33361
32810
 
33362
32811
  /**
33363
- * Verifies a Buckets message.
32812
+ * Verifies a Metadata message.
33364
32813
  * @param message Plain object to verify
33365
32814
  * @returns `null` if valid, otherwise the reason why it is not
33366
32815
  */
@@ -33369,29 +32818,29 @@ declare class replit$goval$api$repl$Buckets {
33369
32818
  |}): string | null;
33370
32819
 
33371
32820
  /**
33372
- * Creates a Buckets message from a plain object. Also converts values to their respective internal types.
32821
+ * Creates a Metadata message from a plain object. Also converts values to their respective internal types.
33373
32822
  * @param object Plain object
33374
- * @returns Buckets
32823
+ * @returns Metadata
33375
32824
  */
33376
32825
  static fromObject(object: {|
33377
32826
  [k: string]: any,
33378
- |}): replit$goval$api$repl$Buckets;
32827
+ |}): replit$goval$api$repl$Metadata;
33379
32828
 
33380
32829
  /**
33381
- * Creates a plain object from a Buckets message. Also converts values to other types if specified.
33382
- * @param message Buckets
32830
+ * Creates a plain object from a Metadata message. Also converts values to other types if specified.
32831
+ * @param message Metadata
33383
32832
  * @param [options] Conversion options
33384
32833
  * @returns Plain object
33385
32834
  */
33386
32835
  static toObject(
33387
- message: replit$goval$api$repl$Buckets,
32836
+ message: replit$goval$api$repl$Metadata,
33388
32837
  options?: $protobuf.IConversionOptions
33389
32838
  ): {|
33390
32839
  [k: string]: any,
33391
32840
  |};
33392
32841
 
33393
32842
  /**
33394
- * Converts this Buckets to JSON.
32843
+ * Converts this Metadata to JSON.
33395
32844
  * @returns JSON object
33396
32845
  */
33397
32846
  toJSON(): {|
@@ -33400,170 +32849,117 @@ declare class replit$goval$api$repl$Buckets {
33400
32849
  }
33401
32850
 
33402
32851
  /**
33403
- * Properties of a Repl.
33404
- */
33405
- declare type replit$goval$api$repl$IRepl = {|
33406
- /**
33407
- * Repl id
33408
- */
33409
- id?: string | null,
33410
-
33411
- /**
33412
- * Repl language
33413
- */
33414
- language?: string | null,
33415
-
33416
- /**
33417
- * Repl bucket
33418
- */
33419
- bucket?: string | null,
33420
-
33421
- /**
33422
- * Repl slug
33423
- */
33424
- slug?: string | null,
33425
-
33426
- /**
33427
- * Repl user
33428
- */
33429
- user?: string | null,
33430
-
33431
- /**
33432
- * Repl sourceRepl
33433
- */
33434
- sourceRepl?: string | null,
33435
-
33436
- /**
33437
- * Repl database
33438
- */
33439
- database?: string | null,
33440
-
33441
- /**
33442
- * Repl buckets
33443
- */
33444
- buckets?:
33445
- | replit$goval$api$repl$Buckets
33446
- | replit$goval$api$repl$IBuckets
33447
- | null,
33448
-
33449
- /**
33450
- * Repl userId
33451
- */
33452
- userId?: replit$goval$api$repl$UserId | replit$goval$api$repl$IUserId | null,
33453
- |};
33454
-
33455
- /**
33456
- * Represents a Repl.
32852
+ * Properties of a BuildInfo.
33457
32853
  */
33458
- declare class replit$goval$api$repl$Repl {
33459
- /**
33460
- * Constructs a new Repl.
33461
- * @param [properties] Properties to set
33462
- */
33463
- constructor(properties?: replit$goval$api$repl$IRepl): this;
33464
-
32854
+ declare type replit$goval$api$repl$IBuildInfo = {|
33465
32855
  /**
33466
- * Repl id.
32856
+ * BuildInfo deploymentId
33467
32857
  */
33468
- id: string;
32858
+ deploymentId?: string | null,
33469
32859
 
33470
32860
  /**
33471
- * Repl language.
32861
+ * BuildInfo url
33472
32862
  */
33473
- language: string;
32863
+ url?: string | null,
33474
32864
 
33475
32865
  /**
33476
- * Repl bucket.
32866
+ * BuildInfo buildId
33477
32867
  */
33478
- bucket: string;
32868
+ buildId?: string | null,
33479
32869
 
33480
32870
  /**
33481
- * Repl slug.
32871
+ * BuildInfo machineTier
33482
32872
  */
33483
- slug: string;
32873
+ machineTier?: string | null,
32874
+ |};
33484
32875
 
32876
+ /**
32877
+ * Represents a BuildInfo.
32878
+ */
32879
+ declare class replit$goval$api$repl$BuildInfo {
33485
32880
  /**
33486
- * Repl user.
32881
+ * Constructs a new BuildInfo.
32882
+ * @param [properties] Properties to set
33487
32883
  */
33488
- user: string;
32884
+ constructor(properties?: replit$goval$api$repl$IBuildInfo): this;
33489
32885
 
33490
32886
  /**
33491
- * Repl sourceRepl.
32887
+ * BuildInfo deploymentId.
33492
32888
  */
33493
- sourceRepl: string;
32889
+ deploymentId: string;
33494
32890
 
33495
32891
  /**
33496
- * Repl database.
32892
+ * BuildInfo url.
33497
32893
  */
33498
- database: string;
32894
+ url: string;
33499
32895
 
33500
32896
  /**
33501
- * Repl buckets.
32897
+ * BuildInfo buildId.
33502
32898
  */
33503
- buckets?: replit$goval$api$repl$Buckets | null;
32899
+ buildId: string;
33504
32900
 
33505
32901
  /**
33506
- * Repl userId.
32902
+ * BuildInfo machineTier.
33507
32903
  */
33508
- userId?: replit$goval$api$repl$UserId | null;
32904
+ machineTier: string;
33509
32905
 
33510
32906
  /**
33511
- * Creates a new Repl instance using the specified properties.
32907
+ * Creates a new BuildInfo instance using the specified properties.
33512
32908
  * @param [properties] Properties to set
33513
- * @returns Repl instance
32909
+ * @returns BuildInfo instance
33514
32910
  */
33515
32911
  static create(
33516
- properties?: replit$goval$api$repl$IRepl
33517
- ): replit$goval$api$repl$Repl;
32912
+ properties?: replit$goval$api$repl$IBuildInfo
32913
+ ): replit$goval$api$repl$BuildInfo;
33518
32914
 
33519
32915
  /**
33520
32916
  * [object Object],[object Object],[object Object]
33521
- * @param message Repl message or plain object to encode
32917
+ * @param message BuildInfo message or plain object to encode
33522
32918
  * @param [writer] Writer to encode to
33523
32919
  * @returns Writer
33524
32920
  */
33525
32921
  static encode(
33526
- message: replit$goval$api$repl$Repl,
32922
+ message: replit$goval$api$repl$BuildInfo,
33527
32923
  writer?: $protobuf.Writer
33528
32924
  ): $protobuf.Writer;
33529
32925
 
33530
32926
  /**
33531
32927
  * [object Object],[object Object],[object Object]
33532
- * @param message Repl message or plain object to encode
32928
+ * @param message BuildInfo message or plain object to encode
33533
32929
  * @param [writer] Writer to encode to
33534
32930
  * @returns Writer
33535
32931
  */
33536
32932
  static encodeDelimited(
33537
- message: replit$goval$api$repl$Repl,
32933
+ message: replit$goval$api$repl$BuildInfo,
33538
32934
  writer?: $protobuf.Writer
33539
32935
  ): $protobuf.Writer;
33540
32936
 
33541
32937
  /**
33542
- * Decodes a Repl message from the specified reader or buffer.
32938
+ * Decodes a BuildInfo message from the specified reader or buffer.
33543
32939
  * @param reader Reader or buffer to decode from
33544
32940
  * @param [length] Message length if known beforehand
33545
- * @returns Repl
32941
+ * @returns BuildInfo
33546
32942
  * @throws {Error} If the payload is not a reader or valid buffer
33547
32943
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33548
32944
  */
33549
32945
  static decode(
33550
32946
  reader: $protobuf.Reader | Uint8Array,
33551
32947
  length?: number
33552
- ): replit$goval$api$repl$Repl;
32948
+ ): replit$goval$api$repl$BuildInfo;
33553
32949
 
33554
32950
  /**
33555
- * Decodes a Repl message from the specified reader or buffer, length delimited.
32951
+ * Decodes a BuildInfo message from the specified reader or buffer, length delimited.
33556
32952
  * @param reader Reader or buffer to decode from
33557
- * @returns Repl
32953
+ * @returns BuildInfo
33558
32954
  * @throws {Error} If the payload is not a reader or valid buffer
33559
32955
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33560
32956
  */
33561
32957
  static decodeDelimited(
33562
32958
  reader: $protobuf.Reader | Uint8Array
33563
- ): replit$goval$api$repl$Repl;
32959
+ ): replit$goval$api$repl$BuildInfo;
33564
32960
 
33565
32961
  /**
33566
- * Verifies a Repl message.
32962
+ * Verifies a BuildInfo message.
33567
32963
  * @param message Plain object to verify
33568
32964
  * @returns `null` if valid, otherwise the reason why it is not
33569
32965
  */
@@ -33572,29 +32968,29 @@ declare class replit$goval$api$repl$Repl {
33572
32968
  |}): string | null;
33573
32969
 
33574
32970
  /**
33575
- * Creates a Repl message from a plain object. Also converts values to their respective internal types.
32971
+ * Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
33576
32972
  * @param object Plain object
33577
- * @returns Repl
32973
+ * @returns BuildInfo
33578
32974
  */
33579
32975
  static fromObject(object: {|
33580
32976
  [k: string]: any,
33581
- |}): replit$goval$api$repl$Repl;
32977
+ |}): replit$goval$api$repl$BuildInfo;
33582
32978
 
33583
32979
  /**
33584
- * Creates a plain object from a Repl message. Also converts values to other types if specified.
33585
- * @param message Repl
32980
+ * Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
32981
+ * @param message BuildInfo
33586
32982
  * @param [options] Conversion options
33587
32983
  * @returns Plain object
33588
32984
  */
33589
32985
  static toObject(
33590
- message: replit$goval$api$repl$Repl,
32986
+ message: replit$goval$api$repl$BuildInfo,
33591
32987
  options?: $protobuf.IConversionOptions
33592
32988
  ): {|
33593
32989
  [k: string]: any,
33594
32990
  |};
33595
32991
 
33596
32992
  /**
33597
- * Converts this Repl to JSON.
32993
+ * Converts this BuildInfo to JSON.
33598
32994
  * @returns JSON object
33599
32995
  */
33600
32996
  toJSON(): {|
@@ -33603,106 +32999,87 @@ declare class replit$goval$api$repl$Repl {
33603
32999
  }
33604
33000
 
33605
33001
  /**
33606
- * Environment enum.
33607
- */
33608
-
33609
- declare var replit$goval$api$repl$Environment: {|
33610
- +DEVELOPMENT: 0, // 0
33611
- +PRODUCTION: 1, // 1
33612
- |};
33613
-
33614
- /**
33615
- * Properties of a UserId.
33002
+ * Properties of a PrivateReplsPowerup.
33616
33003
  */
33617
- declare type replit$goval$api$repl$IUserId = {|
33004
+ declare type replit$goval$api$IPrivateReplsPowerup = {|
33618
33005
  /**
33619
- * UserId id
33620
- */
33621
- id?: number | null,
33622
-
33623
- /**
33624
- * UserId environment
33006
+ * PrivateReplsPowerup enabled
33625
33007
  */
33626
- environment?: $Values<typeof replit$goval$api$repl$Environment> | null,
33008
+ enabled?: boolean | null,
33627
33009
  |};
33628
33010
 
33629
33011
  /**
33630
- * Represents a UserId.
33012
+ * Represents a PrivateReplsPowerup.
33631
33013
  */
33632
- declare class replit$goval$api$repl$UserId {
33014
+ declare class replit$goval$api$PrivateReplsPowerup {
33633
33015
  /**
33634
- * Constructs a new UserId.
33016
+ * Constructs a new PrivateReplsPowerup.
33635
33017
  * @param [properties] Properties to set
33636
33018
  */
33637
- constructor(properties?: replit$goval$api$repl$IUserId): this;
33638
-
33639
- /**
33640
- * UserId id.
33641
- */
33642
- id: number;
33019
+ constructor(properties?: replit$goval$api$IPrivateReplsPowerup): this;
33643
33020
 
33644
33021
  /**
33645
- * UserId environment.
33022
+ * PrivateReplsPowerup enabled.
33646
33023
  */
33647
- environment: $Values<typeof replit$goval$api$repl$Environment>;
33024
+ enabled: boolean;
33648
33025
 
33649
33026
  /**
33650
- * Creates a new UserId instance using the specified properties.
33027
+ * Creates a new PrivateReplsPowerup instance using the specified properties.
33651
33028
  * @param [properties] Properties to set
33652
- * @returns UserId instance
33029
+ * @returns PrivateReplsPowerup instance
33653
33030
  */
33654
33031
  static create(
33655
- properties?: replit$goval$api$repl$IUserId
33656
- ): replit$goval$api$repl$UserId;
33032
+ properties?: replit$goval$api$IPrivateReplsPowerup
33033
+ ): replit$goval$api$PrivateReplsPowerup;
33657
33034
 
33658
33035
  /**
33659
33036
  * [object Object],[object Object],[object Object]
33660
- * @param message UserId message or plain object to encode
33037
+ * @param message PrivateReplsPowerup message or plain object to encode
33661
33038
  * @param [writer] Writer to encode to
33662
33039
  * @returns Writer
33663
33040
  */
33664
33041
  static encode(
33665
- message: replit$goval$api$repl$UserId,
33042
+ message: replit$goval$api$PrivateReplsPowerup,
33666
33043
  writer?: $protobuf.Writer
33667
33044
  ): $protobuf.Writer;
33668
33045
 
33669
33046
  /**
33670
33047
  * [object Object],[object Object],[object Object]
33671
- * @param message UserId message or plain object to encode
33048
+ * @param message PrivateReplsPowerup message or plain object to encode
33672
33049
  * @param [writer] Writer to encode to
33673
33050
  * @returns Writer
33674
33051
  */
33675
33052
  static encodeDelimited(
33676
- message: replit$goval$api$repl$UserId,
33053
+ message: replit$goval$api$PrivateReplsPowerup,
33677
33054
  writer?: $protobuf.Writer
33678
33055
  ): $protobuf.Writer;
33679
33056
 
33680
33057
  /**
33681
- * Decodes a UserId message from the specified reader or buffer.
33058
+ * Decodes a PrivateReplsPowerup message from the specified reader or buffer.
33682
33059
  * @param reader Reader or buffer to decode from
33683
33060
  * @param [length] Message length if known beforehand
33684
- * @returns UserId
33061
+ * @returns PrivateReplsPowerup
33685
33062
  * @throws {Error} If the payload is not a reader or valid buffer
33686
33063
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33687
33064
  */
33688
33065
  static decode(
33689
33066
  reader: $protobuf.Reader | Uint8Array,
33690
33067
  length?: number
33691
- ): replit$goval$api$repl$UserId;
33068
+ ): replit$goval$api$PrivateReplsPowerup;
33692
33069
 
33693
33070
  /**
33694
- * Decodes a UserId message from the specified reader or buffer, length delimited.
33071
+ * Decodes a PrivateReplsPowerup message from the specified reader or buffer, length delimited.
33695
33072
  * @param reader Reader or buffer to decode from
33696
- * @returns UserId
33073
+ * @returns PrivateReplsPowerup
33697
33074
  * @throws {Error} If the payload is not a reader or valid buffer
33698
33075
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33699
33076
  */
33700
33077
  static decodeDelimited(
33701
33078
  reader: $protobuf.Reader | Uint8Array
33702
- ): replit$goval$api$repl$UserId;
33079
+ ): replit$goval$api$PrivateReplsPowerup;
33703
33080
 
33704
33081
  /**
33705
- * Verifies a UserId message.
33082
+ * Verifies a PrivateReplsPowerup message.
33706
33083
  * @param message Plain object to verify
33707
33084
  * @returns `null` if valid, otherwise the reason why it is not
33708
33085
  */
@@ -33711,29 +33088,29 @@ declare class replit$goval$api$repl$UserId {
33711
33088
  |}): string | null;
33712
33089
 
33713
33090
  /**
33714
- * Creates a UserId message from a plain object. Also converts values to their respective internal types.
33091
+ * Creates a PrivateReplsPowerup message from a plain object. Also converts values to their respective internal types.
33715
33092
  * @param object Plain object
33716
- * @returns UserId
33093
+ * @returns PrivateReplsPowerup
33717
33094
  */
33718
33095
  static fromObject(object: {|
33719
33096
  [k: string]: any,
33720
- |}): replit$goval$api$repl$UserId;
33097
+ |}): replit$goval$api$PrivateReplsPowerup;
33721
33098
 
33722
33099
  /**
33723
- * Creates a plain object from a UserId message. Also converts values to other types if specified.
33724
- * @param message UserId
33100
+ * Creates a plain object from a PrivateReplsPowerup message. Also converts values to other types if specified.
33101
+ * @param message PrivateReplsPowerup
33725
33102
  * @param [options] Conversion options
33726
33103
  * @returns Plain object
33727
33104
  */
33728
33105
  static toObject(
33729
- message: replit$goval$api$repl$UserId,
33106
+ message: replit$goval$api$PrivateReplsPowerup,
33730
33107
  options?: $protobuf.IConversionOptions
33731
33108
  ): {|
33732
33109
  [k: string]: any,
33733
33110
  |};
33734
33111
 
33735
33112
  /**
33736
- * Converts this UserId to JSON.
33113
+ * Converts this PrivateReplsPowerup to JSON.
33737
33114
  * @returns JSON object
33738
33115
  */
33739
33116
  toJSON(): {|
@@ -33742,159 +33119,87 @@ declare class replit$goval$api$repl$UserId {
33742
33119
  }
33743
33120
 
33744
33121
  /**
33745
- * Properties of a ResourceLimits.
33122
+ * Properties of a GhostwriterPowerup.
33746
33123
  */
33747
- declare type replit$goval$api$repl$IResourceLimits = {|
33748
- /**
33749
- * ResourceLimits net
33750
- */
33751
- net?: boolean | null,
33752
-
33753
- /**
33754
- * ResourceLimits memory
33755
- */
33756
- memory?: number | null,
33757
-
33758
- /**
33759
- * ResourceLimits threads
33760
- */
33761
- threads?: number | null,
33762
-
33763
- /**
33764
- * ResourceLimits shares
33765
- */
33766
- shares?: number | null,
33767
-
33768
- /**
33769
- * ResourceLimits disk
33770
- */
33771
- disk?: number | null,
33772
-
33773
- /**
33774
- * ResourceLimits cache
33775
- */
33776
- cache?: $Values<
33777
- typeof replit$goval$api$repl$ResourceLimits$Cachability
33778
- > | null,
33779
-
33780
- /**
33781
- * ResourceLimits restrictNetwork
33782
- */
33783
- restrictNetwork?: boolean | null,
33784
-
33124
+ declare type replit$goval$api$IGhostwriterPowerup = {|
33785
33125
  /**
33786
- * ResourceLimits preventWakeup
33126
+ * GhostwriterPowerup enabled
33787
33127
  */
33788
- preventWakeup?: boolean | null,
33128
+ enabled?: boolean | null,
33789
33129
  |};
33790
33130
 
33791
33131
  /**
33792
- * Represents a ResourceLimits.
33132
+ * Represents a GhostwriterPowerup.
33793
33133
  */
33794
- declare class replit$goval$api$repl$ResourceLimits {
33134
+ declare class replit$goval$api$GhostwriterPowerup {
33795
33135
  /**
33796
- * Constructs a new ResourceLimits.
33136
+ * Constructs a new GhostwriterPowerup.
33797
33137
  * @param [properties] Properties to set
33798
33138
  */
33799
- constructor(properties?: replit$goval$api$repl$IResourceLimits): this;
33800
-
33801
- /**
33802
- * ResourceLimits net.
33803
- */
33804
- net: boolean;
33805
-
33806
- /**
33807
- * ResourceLimits memory.
33808
- */
33809
- memory: number;
33810
-
33811
- /**
33812
- * ResourceLimits threads.
33813
- */
33814
- threads: number;
33815
-
33816
- /**
33817
- * ResourceLimits shares.
33818
- */
33819
- shares: number;
33820
-
33821
- /**
33822
- * ResourceLimits disk.
33823
- */
33824
- disk: number;
33825
-
33826
- /**
33827
- * ResourceLimits cache.
33828
- */
33829
- cache: $Values<typeof replit$goval$api$repl$ResourceLimits$Cachability>;
33830
-
33831
- /**
33832
- * ResourceLimits restrictNetwork.
33833
- */
33834
- restrictNetwork: boolean;
33139
+ constructor(properties?: replit$goval$api$IGhostwriterPowerup): this;
33835
33140
 
33836
33141
  /**
33837
- * ResourceLimits preventWakeup.
33142
+ * GhostwriterPowerup enabled.
33838
33143
  */
33839
- preventWakeup: boolean;
33144
+ enabled: boolean;
33840
33145
 
33841
33146
  /**
33842
- * Creates a new ResourceLimits instance using the specified properties.
33147
+ * Creates a new GhostwriterPowerup instance using the specified properties.
33843
33148
  * @param [properties] Properties to set
33844
- * @returns ResourceLimits instance
33149
+ * @returns GhostwriterPowerup instance
33845
33150
  */
33846
33151
  static create(
33847
- properties?: replit$goval$api$repl$IResourceLimits
33848
- ): replit$goval$api$repl$ResourceLimits;
33152
+ properties?: replit$goval$api$IGhostwriterPowerup
33153
+ ): replit$goval$api$GhostwriterPowerup;
33849
33154
 
33850
33155
  /**
33851
33156
  * [object Object],[object Object],[object Object]
33852
- * @param message ResourceLimits message or plain object to encode
33157
+ * @param message GhostwriterPowerup message or plain object to encode
33853
33158
  * @param [writer] Writer to encode to
33854
33159
  * @returns Writer
33855
33160
  */
33856
33161
  static encode(
33857
- message: replit$goval$api$repl$ResourceLimits,
33162
+ message: replit$goval$api$GhostwriterPowerup,
33858
33163
  writer?: $protobuf.Writer
33859
33164
  ): $protobuf.Writer;
33860
33165
 
33861
33166
  /**
33862
33167
  * [object Object],[object Object],[object Object]
33863
- * @param message ResourceLimits message or plain object to encode
33168
+ * @param message GhostwriterPowerup message or plain object to encode
33864
33169
  * @param [writer] Writer to encode to
33865
33170
  * @returns Writer
33866
33171
  */
33867
33172
  static encodeDelimited(
33868
- message: replit$goval$api$repl$ResourceLimits,
33173
+ message: replit$goval$api$GhostwriterPowerup,
33869
33174
  writer?: $protobuf.Writer
33870
33175
  ): $protobuf.Writer;
33871
33176
 
33872
33177
  /**
33873
- * Decodes a ResourceLimits message from the specified reader or buffer.
33178
+ * Decodes a GhostwriterPowerup message from the specified reader or buffer.
33874
33179
  * @param reader Reader or buffer to decode from
33875
33180
  * @param [length] Message length if known beforehand
33876
- * @returns ResourceLimits
33181
+ * @returns GhostwriterPowerup
33877
33182
  * @throws {Error} If the payload is not a reader or valid buffer
33878
33183
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33879
33184
  */
33880
33185
  static decode(
33881
33186
  reader: $protobuf.Reader | Uint8Array,
33882
33187
  length?: number
33883
- ): replit$goval$api$repl$ResourceLimits;
33188
+ ): replit$goval$api$GhostwriterPowerup;
33884
33189
 
33885
33190
  /**
33886
- * Decodes a ResourceLimits message from the specified reader or buffer, length delimited.
33191
+ * Decodes a GhostwriterPowerup message from the specified reader or buffer, length delimited.
33887
33192
  * @param reader Reader or buffer to decode from
33888
- * @returns ResourceLimits
33193
+ * @returns GhostwriterPowerup
33889
33194
  * @throws {Error} If the payload is not a reader or valid buffer
33890
33195
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
33891
33196
  */
33892
33197
  static decodeDelimited(
33893
33198
  reader: $protobuf.Reader | Uint8Array
33894
- ): replit$goval$api$repl$ResourceLimits;
33199
+ ): replit$goval$api$GhostwriterPowerup;
33895
33200
 
33896
33201
  /**
33897
- * Verifies a ResourceLimits message.
33202
+ * Verifies a GhostwriterPowerup message.
33898
33203
  * @param message Plain object to verify
33899
33204
  * @returns `null` if valid, otherwise the reason why it is not
33900
33205
  */
@@ -33903,129 +33208,118 @@ declare class replit$goval$api$repl$ResourceLimits {
33903
33208
  |}): string | null;
33904
33209
 
33905
33210
  /**
33906
- * Creates a ResourceLimits message from a plain object. Also converts values to their respective internal types.
33211
+ * Creates a GhostwriterPowerup message from a plain object. Also converts values to their respective internal types.
33907
33212
  * @param object Plain object
33908
- * @returns ResourceLimits
33213
+ * @returns GhostwriterPowerup
33909
33214
  */
33910
33215
  static fromObject(object: {|
33911
33216
  [k: string]: any,
33912
- |}): replit$goval$api$repl$ResourceLimits;
33217
+ |}): replit$goval$api$GhostwriterPowerup;
33913
33218
 
33914
33219
  /**
33915
- * Creates a plain object from a ResourceLimits message. Also converts values to other types if specified.
33916
- * @param message ResourceLimits
33220
+ * Creates a plain object from a GhostwriterPowerup message. Also converts values to other types if specified.
33221
+ * @param message GhostwriterPowerup
33917
33222
  * @param [options] Conversion options
33918
33223
  * @returns Plain object
33919
33224
  */
33920
33225
  static toObject(
33921
- message: replit$goval$api$repl$ResourceLimits,
33226
+ message: replit$goval$api$GhostwriterPowerup,
33922
33227
  options?: $protobuf.IConversionOptions
33923
33228
  ): {|
33924
33229
  [k: string]: any,
33925
33230
  |};
33926
33231
 
33927
33232
  /**
33928
- * Converts this ResourceLimits to JSON.
33233
+ * Converts this GhostwriterPowerup to JSON.
33929
33234
  * @returns JSON object
33930
33235
  */
33931
33236
  toJSON(): {|
33932
33237
  [k: string]: any,
33933
33238
  |};
33934
- static Cachability: typeof replit$goval$api$repl$ResourceLimits$Cachability;
33935
33239
  }
33936
33240
 
33937
33241
  /**
33938
- * Cachability enum.
33939
- */
33940
-
33941
- declare var replit$goval$api$repl$ResourceLimits$Cachability: {|
33942
- +NONE: 0, // 0
33943
- +USER: 1, // 1
33944
- +REPL: 2, // 2
33945
- |};
33946
-
33947
- /**
33948
- * Properties of a Permissions.
33242
+ * Properties of a ConnectivityPowerup.
33949
33243
  */
33950
- declare type replit$goval$api$repl$IPermissions = {|
33244
+ declare type replit$goval$api$IConnectivityPowerup = {|
33951
33245
  /**
33952
- * Permissions toggleAlwaysOn
33246
+ * ConnectivityPowerup enabled
33953
33247
  */
33954
- toggleAlwaysOn?: boolean | null,
33248
+ enabled?: boolean | null,
33955
33249
  |};
33956
33250
 
33957
33251
  /**
33958
- * Represents a Permissions.
33252
+ * Represents a ConnectivityPowerup.
33959
33253
  */
33960
- declare class replit$goval$api$repl$Permissions {
33254
+ declare class replit$goval$api$ConnectivityPowerup {
33961
33255
  /**
33962
- * Constructs a new Permissions.
33256
+ * Constructs a new ConnectivityPowerup.
33963
33257
  * @param [properties] Properties to set
33964
33258
  */
33965
- constructor(properties?: replit$goval$api$repl$IPermissions): this;
33259
+ constructor(properties?: replit$goval$api$IConnectivityPowerup): this;
33966
33260
 
33967
33261
  /**
33968
- * Permissions toggleAlwaysOn.
33262
+ * ConnectivityPowerup enabled.
33969
33263
  */
33970
- toggleAlwaysOn: boolean;
33264
+ enabled: boolean;
33971
33265
 
33972
33266
  /**
33973
- * Creates a new Permissions instance using the specified properties.
33267
+ * Creates a new ConnectivityPowerup instance using the specified properties.
33974
33268
  * @param [properties] Properties to set
33975
- * @returns Permissions instance
33269
+ * @returns ConnectivityPowerup instance
33976
33270
  */
33977
33271
  static create(
33978
- properties?: replit$goval$api$repl$IPermissions
33979
- ): replit$goval$api$repl$Permissions;
33272
+ properties?: replit$goval$api$IConnectivityPowerup
33273
+ ): replit$goval$api$ConnectivityPowerup;
33980
33274
 
33981
33275
  /**
33982
33276
  * [object Object],[object Object],[object Object]
33983
- * @param message Permissions message or plain object to encode
33277
+ * @param message ConnectivityPowerup message or plain object to encode
33984
33278
  * @param [writer] Writer to encode to
33985
33279
  * @returns Writer
33986
33280
  */
33987
33281
  static encode(
33988
- message: replit$goval$api$repl$Permissions,
33282
+ message: replit$goval$api$ConnectivityPowerup,
33989
33283
  writer?: $protobuf.Writer
33990
33284
  ): $protobuf.Writer;
33991
33285
 
33992
33286
  /**
33993
33287
  * [object Object],[object Object],[object Object]
33994
- * @param message Permissions message or plain object to encode
33288
+ * @param message ConnectivityPowerup message or plain object to encode
33995
33289
  * @param [writer] Writer to encode to
33996
33290
  * @returns Writer
33997
33291
  */
33998
33292
  static encodeDelimited(
33999
- message: replit$goval$api$repl$Permissions,
33293
+ message: replit$goval$api$ConnectivityPowerup,
34000
33294
  writer?: $protobuf.Writer
34001
33295
  ): $protobuf.Writer;
34002
33296
 
34003
33297
  /**
34004
- * Decodes a Permissions message from the specified reader or buffer.
33298
+ * Decodes a ConnectivityPowerup message from the specified reader or buffer.
34005
33299
  * @param reader Reader or buffer to decode from
34006
33300
  * @param [length] Message length if known beforehand
34007
- * @returns Permissions
33301
+ * @returns ConnectivityPowerup
34008
33302
  * @throws {Error} If the payload is not a reader or valid buffer
34009
33303
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34010
33304
  */
34011
33305
  static decode(
34012
33306
  reader: $protobuf.Reader | Uint8Array,
34013
33307
  length?: number
34014
- ): replit$goval$api$repl$Permissions;
33308
+ ): replit$goval$api$ConnectivityPowerup;
34015
33309
 
34016
33310
  /**
34017
- * Decodes a Permissions message from the specified reader or buffer, length delimited.
33311
+ * Decodes a ConnectivityPowerup message from the specified reader or buffer, length delimited.
34018
33312
  * @param reader Reader or buffer to decode from
34019
- * @returns Permissions
33313
+ * @returns ConnectivityPowerup
34020
33314
  * @throws {Error} If the payload is not a reader or valid buffer
34021
33315
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34022
33316
  */
34023
33317
  static decodeDelimited(
34024
33318
  reader: $protobuf.Reader | Uint8Array
34025
- ): replit$goval$api$repl$Permissions;
33319
+ ): replit$goval$api$ConnectivityPowerup;
34026
33320
 
34027
33321
  /**
34028
- * Verifies a Permissions message.
33322
+ * Verifies a ConnectivityPowerup message.
34029
33323
  * @param message Plain object to verify
34030
33324
  * @returns `null` if valid, otherwise the reason why it is not
34031
33325
  */
@@ -34034,29 +33328,29 @@ declare class replit$goval$api$repl$Permissions {
34034
33328
  |}): string | null;
34035
33329
 
34036
33330
  /**
34037
- * Creates a Permissions message from a plain object. Also converts values to their respective internal types.
33331
+ * Creates a ConnectivityPowerup message from a plain object. Also converts values to their respective internal types.
34038
33332
  * @param object Plain object
34039
- * @returns Permissions
33333
+ * @returns ConnectivityPowerup
34040
33334
  */
34041
33335
  static fromObject(object: {|
34042
33336
  [k: string]: any,
34043
- |}): replit$goval$api$repl$Permissions;
33337
+ |}): replit$goval$api$ConnectivityPowerup;
34044
33338
 
34045
33339
  /**
34046
- * Creates a plain object from a Permissions message. Also converts values to other types if specified.
34047
- * @param message Permissions
33340
+ * Creates a plain object from a ConnectivityPowerup message. Also converts values to other types if specified.
33341
+ * @param message ConnectivityPowerup
34048
33342
  * @param [options] Conversion options
34049
33343
  * @returns Plain object
34050
33344
  */
34051
33345
  static toObject(
34052
- message: replit$goval$api$repl$Permissions,
33346
+ message: replit$goval$api$ConnectivityPowerup,
34053
33347
  options?: $protobuf.IConversionOptions
34054
33348
  ): {|
34055
33349
  [k: string]: any,
34056
33350
  |};
34057
33351
 
34058
33352
  /**
34059
- * Converts this Permissions to JSON.
33353
+ * Converts this ConnectivityPowerup to JSON.
34060
33354
  * @returns JSON object
34061
33355
  */
34062
33356
  toJSON(): {|
@@ -34065,182 +33359,131 @@ declare class replit$goval$api$repl$Permissions {
34065
33359
  }
34066
33360
 
34067
33361
  /**
34068
- * Persistence enum.
34069
- */
34070
-
34071
- declare var replit$goval$api$repl$Persistence: {|
34072
- +PERSISTENT: 0, // 0
34073
- +EPHEMERAL: 1, // 1
34074
- +NONE: 2, // 2
34075
- +READ_ONLY: 3, // 3
34076
- |};
34077
-
34078
- /**
34079
- * Properties of a Metadata.
33362
+ * Properties of a PowerUp.
34080
33363
  */
34081
- declare type replit$goval$api$repl$IMetadata = {|
33364
+ declare type replit$goval$api$IPowerUp = {|
34082
33365
  /**
34083
- * Metadata repl
34084
- */
34085
- repl?: replit$goval$api$repl$Repl | replit$goval$api$repl$IRepl | null,
34086
-
34087
- /**
34088
- * Metadata resourceLimits
34089
- */
34090
- resourceLimits?:
34091
- | replit$goval$api$repl$ResourceLimits
34092
- | replit$goval$api$repl$IResourceLimits
34093
- | null,
34094
-
34095
- /**
34096
- * Metadata interactiveResourceLimits
34097
- */
34098
- interactiveResourceLimits?:
34099
- | replit$goval$api$repl$ResourceLimits
34100
- | replit$goval$api$repl$IResourceLimits
34101
- | null,
34102
-
34103
- /**
34104
- * Metadata persistence
34105
- */
34106
- persistence?: $Values<typeof replit$goval$api$repl$Persistence> | null,
34107
-
34108
- /**
34109
- * Metadata flags
33366
+ * PowerUp expiresAt
34110
33367
  */
34111
- flags?: string[] | null,
33368
+ expiresAt?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
34112
33369
 
34113
33370
  /**
34114
- * Metadata permissions
33371
+ * PowerUp private
34115
33372
  */
34116
- permissions?:
34117
- | replit$goval$api$repl$Permissions
34118
- | replit$goval$api$repl$IPermissions
33373
+ private?:
33374
+ | replit$goval$api$PrivateReplsPowerup
33375
+ | replit$goval$api$IPrivateReplsPowerup
34119
33376
  | null,
34120
33377
 
34121
33378
  /**
34122
- * Metadata features
33379
+ * PowerUp ghostwriter
34123
33380
  */
34124
- features?:
34125
- | (replit$goval$api$features$Feature | replit$goval$api$features$IFeature)[]
33381
+ ghostwriter?:
33382
+ | replit$goval$api$GhostwriterPowerup
33383
+ | replit$goval$api$IGhostwriterPowerup
34126
33384
  | null,
34127
33385
 
34128
33386
  /**
34129
- * Metadata buildInfo
33387
+ * PowerUp connectivity
34130
33388
  */
34131
- buildInfo?:
34132
- | replit$goval$api$repl$BuildInfo
34133
- | replit$goval$api$repl$IBuildInfo
33389
+ connectivity?:
33390
+ | replit$goval$api$ConnectivityPowerup
33391
+ | replit$goval$api$IConnectivityPowerup
34134
33392
  | null,
34135
33393
  |};
34136
33394
 
34137
33395
  /**
34138
- * Represents a Metadata.
33396
+ * Represents a PowerUp.
34139
33397
  */
34140
- declare class replit$goval$api$repl$Metadata {
33398
+ declare class replit$goval$api$PowerUp {
34141
33399
  /**
34142
- * Constructs a new Metadata.
33400
+ * Constructs a new PowerUp.
34143
33401
  * @param [properties] Properties to set
34144
33402
  */
34145
- constructor(properties?: replit$goval$api$repl$IMetadata): this;
34146
-
34147
- /**
34148
- * Metadata repl.
34149
- */
34150
- repl?: replit$goval$api$repl$Repl | null;
34151
-
34152
- /**
34153
- * Metadata resourceLimits.
34154
- */
34155
- resourceLimits?: replit$goval$api$repl$ResourceLimits | null;
34156
-
34157
- /**
34158
- * Metadata interactiveResourceLimits.
34159
- */
34160
- interactiveResourceLimits?: replit$goval$api$repl$ResourceLimits | null;
33403
+ constructor(properties?: replit$goval$api$IPowerUp): this;
34161
33404
 
34162
33405
  /**
34163
- * Metadata persistence.
33406
+ * PowerUp expiresAt.
34164
33407
  */
34165
- persistence: $Values<typeof replit$goval$api$repl$Persistence>;
33408
+ expiresAt?: google$protobuf$Timestamp | null;
34166
33409
 
34167
33410
  /**
34168
- * Metadata flags.
33411
+ * PowerUp private.
34169
33412
  */
34170
- flags: string[];
33413
+ private?: replit$goval$api$PrivateReplsPowerup | null;
34171
33414
 
34172
33415
  /**
34173
- * Metadata permissions.
33416
+ * PowerUp ghostwriter.
34174
33417
  */
34175
- permissions?: replit$goval$api$repl$Permissions | null;
33418
+ ghostwriter?: replit$goval$api$GhostwriterPowerup | null;
34176
33419
 
34177
33420
  /**
34178
- * Metadata features.
33421
+ * PowerUp connectivity.
34179
33422
  */
34180
- features: replit$goval$api$features$Feature[];
33423
+ connectivity?: replit$goval$api$ConnectivityPowerup | null;
34181
33424
 
34182
33425
  /**
34183
- * Metadata buildInfo.
33426
+ * PowerUp powerup.
34184
33427
  */
34185
- buildInfo?: replit$goval$api$repl$BuildInfo | null;
33428
+ powerup?: "private" | "ghostwriter" | "connectivity";
34186
33429
 
34187
33430
  /**
34188
- * Creates a new Metadata instance using the specified properties.
33431
+ * Creates a new PowerUp instance using the specified properties.
34189
33432
  * @param [properties] Properties to set
34190
- * @returns Metadata instance
33433
+ * @returns PowerUp instance
34191
33434
  */
34192
33435
  static create(
34193
- properties?: replit$goval$api$repl$IMetadata
34194
- ): replit$goval$api$repl$Metadata;
33436
+ properties?: replit$goval$api$IPowerUp
33437
+ ): replit$goval$api$PowerUp;
34195
33438
 
34196
33439
  /**
34197
33440
  * [object Object],[object Object],[object Object]
34198
- * @param message Metadata message or plain object to encode
33441
+ * @param message PowerUp message or plain object to encode
34199
33442
  * @param [writer] Writer to encode to
34200
33443
  * @returns Writer
34201
33444
  */
34202
33445
  static encode(
34203
- message: replit$goval$api$repl$Metadata,
33446
+ message: replit$goval$api$PowerUp,
34204
33447
  writer?: $protobuf.Writer
34205
33448
  ): $protobuf.Writer;
34206
33449
 
34207
33450
  /**
34208
33451
  * [object Object],[object Object],[object Object]
34209
- * @param message Metadata message or plain object to encode
33452
+ * @param message PowerUp message or plain object to encode
34210
33453
  * @param [writer] Writer to encode to
34211
33454
  * @returns Writer
34212
33455
  */
34213
33456
  static encodeDelimited(
34214
- message: replit$goval$api$repl$Metadata,
33457
+ message: replit$goval$api$PowerUp,
34215
33458
  writer?: $protobuf.Writer
34216
33459
  ): $protobuf.Writer;
34217
33460
 
34218
33461
  /**
34219
- * Decodes a Metadata message from the specified reader or buffer.
33462
+ * Decodes a PowerUp message from the specified reader or buffer.
34220
33463
  * @param reader Reader or buffer to decode from
34221
33464
  * @param [length] Message length if known beforehand
34222
- * @returns Metadata
33465
+ * @returns PowerUp
34223
33466
  * @throws {Error} If the payload is not a reader or valid buffer
34224
33467
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34225
33468
  */
34226
33469
  static decode(
34227
33470
  reader: $protobuf.Reader | Uint8Array,
34228
33471
  length?: number
34229
- ): replit$goval$api$repl$Metadata;
33472
+ ): replit$goval$api$PowerUp;
34230
33473
 
34231
33474
  /**
34232
- * Decodes a Metadata message from the specified reader or buffer, length delimited.
33475
+ * Decodes a PowerUp message from the specified reader or buffer, length delimited.
34233
33476
  * @param reader Reader or buffer to decode from
34234
- * @returns Metadata
33477
+ * @returns PowerUp
34235
33478
  * @throws {Error} If the payload is not a reader or valid buffer
34236
33479
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34237
33480
  */
34238
33481
  static decodeDelimited(
34239
33482
  reader: $protobuf.Reader | Uint8Array
34240
- ): replit$goval$api$repl$Metadata;
33483
+ ): replit$goval$api$PowerUp;
34241
33484
 
34242
33485
  /**
34243
- * Verifies a Metadata message.
33486
+ * Verifies a PowerUp message.
34244
33487
  * @param message Plain object to verify
34245
33488
  * @returns `null` if valid, otherwise the reason why it is not
34246
33489
  */
@@ -34249,29 +33492,29 @@ declare class replit$goval$api$repl$Metadata {
34249
33492
  |}): string | null;
34250
33493
 
34251
33494
  /**
34252
- * Creates a Metadata message from a plain object. Also converts values to their respective internal types.
33495
+ * Creates a PowerUp message from a plain object. Also converts values to their respective internal types.
34253
33496
  * @param object Plain object
34254
- * @returns Metadata
33497
+ * @returns PowerUp
34255
33498
  */
34256
33499
  static fromObject(object: {|
34257
33500
  [k: string]: any,
34258
- |}): replit$goval$api$repl$Metadata;
33501
+ |}): replit$goval$api$PowerUp;
34259
33502
 
34260
33503
  /**
34261
- * Creates a plain object from a Metadata message. Also converts values to other types if specified.
34262
- * @param message Metadata
33504
+ * Creates a plain object from a PowerUp message. Also converts values to other types if specified.
33505
+ * @param message PowerUp
34263
33506
  * @param [options] Conversion options
34264
33507
  * @returns Plain object
34265
33508
  */
34266
33509
  static toObject(
34267
- message: replit$goval$api$repl$Metadata,
33510
+ message: replit$goval$api$PowerUp,
34268
33511
  options?: $protobuf.IConversionOptions
34269
33512
  ): {|
34270
33513
  [k: string]: any,
34271
33514
  |};
34272
33515
 
34273
33516
  /**
34274
- * Converts this Metadata to JSON.
33517
+ * Converts this PowerUp to JSON.
34275
33518
  * @returns JSON object
34276
33519
  */
34277
33520
  toJSON(): {|
@@ -34280,97 +33523,107 @@ declare class replit$goval$api$repl$Metadata {
34280
33523
  }
34281
33524
 
34282
33525
  /**
34283
- * Properties of a BuildInfo.
33526
+ * Properties of a UserPowerUps.
34284
33527
  */
34285
- declare type replit$goval$api$repl$IBuildInfo = {|
33528
+ declare type replit$goval$api$IUserPowerUps = {|
34286
33529
  /**
34287
- * BuildInfo deploymentId
33530
+ * UserPowerUps userId
34288
33531
  */
34289
- deploymentId?: string | null,
33532
+ userId?: number | null,
34290
33533
 
34291
33534
  /**
34292
- * BuildInfo url
33535
+ * UserPowerUps username
34293
33536
  */
34294
- url?: string | null,
33537
+ username?: string | null,
33538
+
33539
+ /**
33540
+ * UserPowerUps powerups
33541
+ */
33542
+ powerups?: (replit$goval$api$PowerUp | replit$goval$api$IPowerUp)[] | null,
34295
33543
  |};
34296
33544
 
34297
33545
  /**
34298
- * Represents a BuildInfo.
33546
+ * Represents a UserPowerUps.
34299
33547
  */
34300
- declare class replit$goval$api$repl$BuildInfo {
33548
+ declare class replit$goval$api$UserPowerUps {
34301
33549
  /**
34302
- * Constructs a new BuildInfo.
33550
+ * Constructs a new UserPowerUps.
34303
33551
  * @param [properties] Properties to set
34304
33552
  */
34305
- constructor(properties?: replit$goval$api$repl$IBuildInfo): this;
33553
+ constructor(properties?: replit$goval$api$IUserPowerUps): this;
34306
33554
 
34307
33555
  /**
34308
- * BuildInfo deploymentId.
33556
+ * UserPowerUps userId.
34309
33557
  */
34310
- deploymentId: string;
33558
+ userId: number;
34311
33559
 
34312
33560
  /**
34313
- * BuildInfo url.
33561
+ * UserPowerUps username.
34314
33562
  */
34315
- url: string;
33563
+ username: string;
34316
33564
 
34317
33565
  /**
34318
- * Creates a new BuildInfo instance using the specified properties.
33566
+ * UserPowerUps powerups.
33567
+ */
33568
+ powerups: replit$goval$api$PowerUp[];
33569
+
33570
+ /**
33571
+ * Creates a new UserPowerUps instance using the specified properties.
34319
33572
  * @param [properties] Properties to set
34320
- * @returns BuildInfo instance
33573
+ * @returns UserPowerUps instance
34321
33574
  */
34322
33575
  static create(
34323
- properties?: replit$goval$api$repl$IBuildInfo
34324
- ): replit$goval$api$repl$BuildInfo;
33576
+ properties?: replit$goval$api$IUserPowerUps
33577
+ ): replit$goval$api$UserPowerUps;
34325
33578
 
34326
33579
  /**
34327
33580
  * [object Object],[object Object],[object Object]
34328
- * @param message BuildInfo message or plain object to encode
33581
+ * @param message UserPowerUps message or plain object to encode
34329
33582
  * @param [writer] Writer to encode to
34330
33583
  * @returns Writer
34331
33584
  */
34332
33585
  static encode(
34333
- message: replit$goval$api$repl$BuildInfo,
33586
+ message: replit$goval$api$UserPowerUps,
34334
33587
  writer?: $protobuf.Writer
34335
33588
  ): $protobuf.Writer;
34336
33589
 
34337
33590
  /**
34338
33591
  * [object Object],[object Object],[object Object]
34339
- * @param message BuildInfo message or plain object to encode
33592
+ * @param message UserPowerUps message or plain object to encode
34340
33593
  * @param [writer] Writer to encode to
34341
33594
  * @returns Writer
34342
33595
  */
34343
33596
  static encodeDelimited(
34344
- message: replit$goval$api$repl$BuildInfo,
33597
+ message: replit$goval$api$UserPowerUps,
34345
33598
  writer?: $protobuf.Writer
34346
33599
  ): $protobuf.Writer;
34347
33600
 
34348
33601
  /**
34349
- * Decodes a BuildInfo message from the specified reader or buffer.
33602
+ * Decodes a UserPowerUps message from the specified reader or buffer.
34350
33603
  * @param reader Reader or buffer to decode from
34351
33604
  * @param [length] Message length if known beforehand
34352
- * @returns BuildInfo
33605
+ * @returns UserPowerUps
34353
33606
  * @throws {Error} If the payload is not a reader or valid buffer
34354
33607
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34355
33608
  */
34356
33609
  static decode(
34357
33610
  reader: $protobuf.Reader | Uint8Array,
34358
33611
  length?: number
34359
- ): replit$goval$api$repl$BuildInfo;
33612
+ ): replit$goval$api$UserPowerUps;
34360
33613
 
34361
33614
  /**
34362
- * Decodes a BuildInfo message from the specified reader or buffer, length delimited.
33615
+ * Decodes a UserPowerUps message from the specified reader or buffer, length delimited.
34363
33616
  * @param reader Reader or buffer to decode from
34364
- * @returns BuildInfo
33617
+ * @returns UserPowerUps
34365
33618
  * @throws {Error} If the payload is not a reader or valid buffer
34366
33619
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
34367
33620
  */
34368
33621
  static decodeDelimited(
34369
33622
  reader: $protobuf.Reader | Uint8Array
34370
- ): replit$goval$api$repl$BuildInfo;
33623
+ ): replit$goval$api$UserPowerUps;
34371
33624
 
34372
33625
  /**
34373
- * Verifies a BuildInfo message.
33626
+ * Verifies a UserPowerUps message.
34374
33627
  * @param message Plain object to verify
34375
33628
  * @returns `null` if valid, otherwise the reason why it is not
34376
33629
  */
@@ -34379,29 +33632,29 @@ declare class replit$goval$api$repl$BuildInfo {
34379
33632
  |}): string | null;
34380
33633
 
34381
33634
  /**
34382
- * Creates a BuildInfo message from a plain object. Also converts values to their respective internal types.
33635
+ * Creates a UserPowerUps message from a plain object. Also converts values to their respective internal types.
34383
33636
  * @param object Plain object
34384
- * @returns BuildInfo
33637
+ * @returns UserPowerUps
34385
33638
  */
34386
33639
  static fromObject(object: {|
34387
33640
  [k: string]: any,
34388
- |}): replit$goval$api$repl$BuildInfo;
33641
+ |}): replit$goval$api$UserPowerUps;
34389
33642
 
34390
33643
  /**
34391
- * Creates a plain object from a BuildInfo message. Also converts values to other types if specified.
34392
- * @param message BuildInfo
33644
+ * Creates a plain object from a UserPowerUps message. Also converts values to other types if specified.
33645
+ * @param message UserPowerUps
34393
33646
  * @param [options] Conversion options
34394
33647
  * @returns Plain object
34395
33648
  */
34396
33649
  static toObject(
34397
- message: replit$goval$api$repl$BuildInfo,
33650
+ message: replit$goval$api$UserPowerUps,
34398
33651
  options?: $protobuf.IConversionOptions
34399
33652
  ): {|
34400
33653
  [k: string]: any,
34401
33654
  |};
34402
33655
 
34403
33656
  /**
34404
- * Converts this BuildInfo to JSON.
33657
+ * Converts this UserPowerUps to JSON.
34405
33658
  * @returns JSON object
34406
33659
  */
34407
33660
  toJSON(): {|
@@ -34420,12 +33673,10 @@ declare var npm$namespace$google$protobuf: {|
34420
33673
  IStruct: Class<google$protobuf$IStruct>,
34421
33674
  IValue: Class<google$protobuf$IValue>,
34422
33675
  IListValue: Class<google$protobuf$IListValue>,
34423
- IFieldMask: Class<google$protobuf$IFieldMask>,
34424
33676
  Timestamp: typeof google$protobuf$Timestamp,
34425
33677
  Struct: typeof google$protobuf$Struct,
34426
33678
  Value: typeof google$protobuf$Value,
34427
33679
  ListValue: typeof google$protobuf$ListValue,
34428
- FieldMask: typeof google$protobuf$FieldMask,
34429
33680
  |};
34430
33681
 
34431
33682
  /**
@@ -34986,124 +34237,4 @@ declare class google$protobuf$ListValue {
34986
34237
  [k: string]: any,
34987
34238
  |};
34988
34239
  }
34989
-
34990
- /**
34991
- * Properties of a FieldMask.
34992
- */
34993
- declare type google$protobuf$IFieldMask = {|
34994
- /**
34995
- * FieldMask paths
34996
- */
34997
- paths?: string[] | null,
34998
- |};
34999
-
35000
- /**
35001
- * Represents a FieldMask.
35002
- */
35003
- declare class google$protobuf$FieldMask {
35004
- /**
35005
- * Constructs a new FieldMask.
35006
- * @param [properties] Properties to set
35007
- */
35008
- constructor(properties?: google$protobuf$IFieldMask): this;
35009
-
35010
- /**
35011
- * FieldMask paths.
35012
- */
35013
- paths: string[];
35014
-
35015
- /**
35016
- * Creates a new FieldMask instance using the specified properties.
35017
- * @param [properties] Properties to set
35018
- * @returns FieldMask instance
35019
- */
35020
- static create(
35021
- properties?: google$protobuf$IFieldMask
35022
- ): google$protobuf$FieldMask;
35023
-
35024
- /**
35025
- * [object Object],[object Object],[object Object]
35026
- * @param message FieldMask message or plain object to encode
35027
- * @param [writer] Writer to encode to
35028
- * @returns Writer
35029
- */
35030
- static encode(
35031
- message: google$protobuf$FieldMask,
35032
- writer?: $protobuf.Writer
35033
- ): $protobuf.Writer;
35034
-
35035
- /**
35036
- * [object Object],[object Object],[object Object]
35037
- * @param message FieldMask message or plain object to encode
35038
- * @param [writer] Writer to encode to
35039
- * @returns Writer
35040
- */
35041
- static encodeDelimited(
35042
- message: google$protobuf$FieldMask,
35043
- writer?: $protobuf.Writer
35044
- ): $protobuf.Writer;
35045
-
35046
- /**
35047
- * Decodes a FieldMask message from the specified reader or buffer.
35048
- * @param reader Reader or buffer to decode from
35049
- * @param [length] Message length if known beforehand
35050
- * @returns FieldMask
35051
- * @throws {Error} If the payload is not a reader or valid buffer
35052
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
35053
- */
35054
- static decode(
35055
- reader: $protobuf.Reader | Uint8Array,
35056
- length?: number
35057
- ): google$protobuf$FieldMask;
35058
-
35059
- /**
35060
- * Decodes a FieldMask message from the specified reader or buffer, length delimited.
35061
- * @param reader Reader or buffer to decode from
35062
- * @returns FieldMask
35063
- * @throws {Error} If the payload is not a reader or valid buffer
35064
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
35065
- */
35066
- static decodeDelimited(
35067
- reader: $protobuf.Reader | Uint8Array
35068
- ): google$protobuf$FieldMask;
35069
-
35070
- /**
35071
- * Verifies a FieldMask message.
35072
- * @param message Plain object to verify
35073
- * @returns `null` if valid, otherwise the reason why it is not
35074
- */
35075
- static verify(message: {|
35076
- [k: string]: any,
35077
- |}): string | null;
35078
-
35079
- /**
35080
- * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
35081
- * @param object Plain object
35082
- * @returns FieldMask
35083
- */
35084
- static fromObject(object: {|
35085
- [k: string]: any,
35086
- |}): google$protobuf$FieldMask;
35087
-
35088
- /**
35089
- * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
35090
- * @param message FieldMask
35091
- * @param [options] Conversion options
35092
- * @returns Plain object
35093
- */
35094
- static toObject(
35095
- message: google$protobuf$FieldMask,
35096
- options?: $protobuf.IConversionOptions
35097
- ): {|
35098
- [k: string]: any,
35099
- |};
35100
-
35101
- /**
35102
- * Converts this FieldMask to JSON.
35103
- * @returns JSON object
35104
- */
35105
- toJSON(): {|
35106
- [k: string]: any,
35107
- |};
35108
- }
35109
34240
  export var api = npm$namespace$replit$goval$api;