@replit/protocol 0.2.53 → 0.2.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main/index.d.ts CHANGED
@@ -14333,6 +14333,18 @@ export namespace api {
14333
14333
 
14334
14334
  /** DotReplit hidden */
14335
14335
  hidden?: (string[]|null);
14336
+
14337
+ /** DotReplit nix */
14338
+ nix?: (api.NixConfig|api.INixConfig|null);
14339
+
14340
+ /** DotReplit audio */
14341
+ audio?: (boolean|null);
14342
+
14343
+ /** DotReplit hosting */
14344
+ hosting?: (api.HostingConfig|api.IHostingConfig|null);
14345
+
14346
+ /** DotReplit env */
14347
+ env?: ({ [k: string]: string }|null);
14336
14348
  }
14337
14349
 
14338
14350
  /** Represents a DotReplit. */
@@ -14377,6 +14389,18 @@ export namespace api {
14377
14389
  /** DotReplit hidden. */
14378
14390
  public hidden: string[];
14379
14391
 
14392
+ /** DotReplit nix. */
14393
+ public nix?: (api.NixConfig|null);
14394
+
14395
+ /** DotReplit audio. */
14396
+ public audio: boolean;
14397
+
14398
+ /** DotReplit hosting. */
14399
+ public hosting?: (api.HostingConfig|null);
14400
+
14401
+ /** DotReplit env. */
14402
+ public env: { [k: string]: string };
14403
+
14380
14404
  /**
14381
14405
  * Creates a new DotReplit instance using the specified properties.
14382
14406
  * @param [properties] Properties to set
@@ -14448,6 +14472,192 @@ export namespace api {
14448
14472
  public toJSON(): { [k: string]: any };
14449
14473
  }
14450
14474
 
14475
+ /** Properties of a NixConfig. */
14476
+ interface INixConfig {
14477
+
14478
+ /** NixConfig channel */
14479
+ channel?: (string|null);
14480
+ }
14481
+
14482
+ /** Represents a NixConfig. */
14483
+ class NixConfig {
14484
+
14485
+ /**
14486
+ * Constructs a new NixConfig.
14487
+ * @param [properties] Properties to set
14488
+ */
14489
+ private constructor(properties?: api.INixConfig);
14490
+
14491
+ /** NixConfig channel. */
14492
+ public channel: string;
14493
+
14494
+ /**
14495
+ * Creates a new NixConfig instance using the specified properties.
14496
+ * @param [properties] Properties to set
14497
+ * @returns NixConfig instance
14498
+ */
14499
+ public static create(properties?: api.INixConfig): api.NixConfig;
14500
+
14501
+ /**
14502
+ * Encodes the specified NixConfig message. Does not implicitly {@link api.NixConfig.verify|verify} messages.
14503
+ * @param message NixConfig message or plain object to encode
14504
+ * @param [writer] Writer to encode to
14505
+ * @returns Writer
14506
+ */
14507
+ public static encode(message: api.NixConfig, writer?: $protobuf.Writer): $protobuf.Writer;
14508
+
14509
+ /**
14510
+ * Encodes the specified NixConfig message, length delimited. Does not implicitly {@link api.NixConfig.verify|verify} messages.
14511
+ * @param message NixConfig message or plain object to encode
14512
+ * @param [writer] Writer to encode to
14513
+ * @returns Writer
14514
+ */
14515
+ public static encodeDelimited(message: api.NixConfig, writer?: $protobuf.Writer): $protobuf.Writer;
14516
+
14517
+ /**
14518
+ * Decodes a NixConfig message from the specified reader or buffer.
14519
+ * @param reader Reader or buffer to decode from
14520
+ * @param [length] Message length if known beforehand
14521
+ * @returns NixConfig
14522
+ * @throws {Error} If the payload is not a reader or valid buffer
14523
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14524
+ */
14525
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.NixConfig;
14526
+
14527
+ /**
14528
+ * Decodes a NixConfig message from the specified reader or buffer, length delimited.
14529
+ * @param reader Reader or buffer to decode from
14530
+ * @returns NixConfig
14531
+ * @throws {Error} If the payload is not a reader or valid buffer
14532
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14533
+ */
14534
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.NixConfig;
14535
+
14536
+ /**
14537
+ * Verifies a NixConfig message.
14538
+ * @param message Plain object to verify
14539
+ * @returns `null` if valid, otherwise the reason why it is not
14540
+ */
14541
+ public static verify(message: { [k: string]: any }): (string|null);
14542
+
14543
+ /**
14544
+ * Creates a NixConfig message from a plain object. Also converts values to their respective internal types.
14545
+ * @param object Plain object
14546
+ * @returns NixConfig
14547
+ */
14548
+ public static fromObject(object: { [k: string]: any }): api.NixConfig;
14549
+
14550
+ /**
14551
+ * Creates a plain object from a NixConfig message. Also converts values to other types if specified.
14552
+ * @param message NixConfig
14553
+ * @param [options] Conversion options
14554
+ * @returns Plain object
14555
+ */
14556
+ public static toObject(message: api.NixConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
14557
+
14558
+ /**
14559
+ * Converts this NixConfig to JSON.
14560
+ * @returns JSON object
14561
+ */
14562
+ public toJSON(): { [k: string]: any };
14563
+ }
14564
+
14565
+ /** Properties of a HostingConfig. */
14566
+ interface IHostingConfig {
14567
+
14568
+ /** HostingConfig route */
14569
+ route?: (string|null);
14570
+
14571
+ /** HostingConfig directory */
14572
+ directory?: (string|null);
14573
+ }
14574
+
14575
+ /** Represents a HostingConfig. */
14576
+ class HostingConfig {
14577
+
14578
+ /**
14579
+ * Constructs a new HostingConfig.
14580
+ * @param [properties] Properties to set
14581
+ */
14582
+ private constructor(properties?: api.IHostingConfig);
14583
+
14584
+ /** HostingConfig route. */
14585
+ public route: string;
14586
+
14587
+ /** HostingConfig directory. */
14588
+ public directory: string;
14589
+
14590
+ /**
14591
+ * Creates a new HostingConfig instance using the specified properties.
14592
+ * @param [properties] Properties to set
14593
+ * @returns HostingConfig instance
14594
+ */
14595
+ public static create(properties?: api.IHostingConfig): api.HostingConfig;
14596
+
14597
+ /**
14598
+ * Encodes the specified HostingConfig message. Does not implicitly {@link api.HostingConfig.verify|verify} messages.
14599
+ * @param message HostingConfig message or plain object to encode
14600
+ * @param [writer] Writer to encode to
14601
+ * @returns Writer
14602
+ */
14603
+ public static encode(message: api.HostingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
14604
+
14605
+ /**
14606
+ * Encodes the specified HostingConfig message, length delimited. Does not implicitly {@link api.HostingConfig.verify|verify} messages.
14607
+ * @param message HostingConfig message or plain object to encode
14608
+ * @param [writer] Writer to encode to
14609
+ * @returns Writer
14610
+ */
14611
+ public static encodeDelimited(message: api.HostingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
14612
+
14613
+ /**
14614
+ * Decodes a HostingConfig message from the specified reader or buffer.
14615
+ * @param reader Reader or buffer to decode from
14616
+ * @param [length] Message length if known beforehand
14617
+ * @returns HostingConfig
14618
+ * @throws {Error} If the payload is not a reader or valid buffer
14619
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14620
+ */
14621
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.HostingConfig;
14622
+
14623
+ /**
14624
+ * Decodes a HostingConfig message from the specified reader or buffer, length delimited.
14625
+ * @param reader Reader or buffer to decode from
14626
+ * @returns HostingConfig
14627
+ * @throws {Error} If the payload is not a reader or valid buffer
14628
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14629
+ */
14630
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.HostingConfig;
14631
+
14632
+ /**
14633
+ * Verifies a HostingConfig message.
14634
+ * @param message Plain object to verify
14635
+ * @returns `null` if valid, otherwise the reason why it is not
14636
+ */
14637
+ public static verify(message: { [k: string]: any }): (string|null);
14638
+
14639
+ /**
14640
+ * Creates a HostingConfig message from a plain object. Also converts values to their respective internal types.
14641
+ * @param object Plain object
14642
+ * @returns HostingConfig
14643
+ */
14644
+ public static fromObject(object: { [k: string]: any }): api.HostingConfig;
14645
+
14646
+ /**
14647
+ * Creates a plain object from a HostingConfig message. Also converts values to other types if specified.
14648
+ * @param message HostingConfig
14649
+ * @param [options] Conversion options
14650
+ * @returns Plain object
14651
+ */
14652
+ public static toObject(message: api.HostingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
14653
+
14654
+ /**
14655
+ * Converts this HostingConfig to JSON.
14656
+ * @returns JSON object
14657
+ */
14658
+ public toJSON(): { [k: string]: any };
14659
+ }
14660
+
14451
14661
  /** Properties of a DotReplitInterp. */
14452
14662
  interface IDotReplitInterp {
14453
14663
 
@@ -16859,7 +17069,10 @@ export namespace api {
16859
17069
  /** FlagClaim enum. */
16860
17070
  enum FlagClaim {
16861
17071
  MINT_GOVAL_TOKEN = 0,
16862
- SIGN_INTERMEDIATE_CERT = 1
17072
+ SIGN_INTERMEDIATE_CERT = 1,
17073
+ ANY_REPLID = 2,
17074
+ ANY_USER = 3,
17075
+ ANY_CLUSTER = 4
16863
17076
  }
16864
17077
 
16865
17078
  /** Properties of a CertificateClaim. */
@@ -16871,6 +17084,9 @@ export namespace api {
16871
17084
  /** CertificateClaim user */
16872
17085
  user?: (string|null);
16873
17086
 
17087
+ /** CertificateClaim cluster */
17088
+ cluster?: (string|null);
17089
+
16874
17090
  /** CertificateClaim flag */
16875
17091
  flag?: (api.FlagClaim|null);
16876
17092
  }
@@ -16890,11 +17106,14 @@ export namespace api {
16890
17106
  /** CertificateClaim user. */
16891
17107
  public user?: (string|null);
16892
17108
 
17109
+ /** CertificateClaim cluster. */
17110
+ public cluster?: (string|null);
17111
+
16893
17112
  /** CertificateClaim flag. */
16894
17113
  public flag?: (api.FlagClaim|null);
16895
17114
 
16896
17115
  /** CertificateClaim claim. */
16897
- public claim?: ("replid"|"user"|"flag");
17116
+ public claim?: ("replid"|"user"|"cluster"|"flag");
16898
17117
 
16899
17118
  /**
16900
17119
  * Creates a new CertificateClaim instance using the specified properties.
@@ -17185,6 +17404,108 @@ export namespace api {
17185
17404
  */
17186
17405
  public toJSON(): { [k: string]: any };
17187
17406
  }
17407
+
17408
+ /** Properties of a GovalReplIdentity. */
17409
+ interface IGovalReplIdentity {
17410
+
17411
+ /** GovalReplIdentity replid */
17412
+ replid?: (string|null);
17413
+
17414
+ /** GovalReplIdentity user */
17415
+ user?: (string|null);
17416
+
17417
+ /** GovalReplIdentity slug */
17418
+ slug?: (string|null);
17419
+ }
17420
+
17421
+ /** Represents a GovalReplIdentity. */
17422
+ class GovalReplIdentity {
17423
+
17424
+ /**
17425
+ * Constructs a new GovalReplIdentity.
17426
+ * @param [properties] Properties to set
17427
+ */
17428
+ private constructor(properties?: api.IGovalReplIdentity);
17429
+
17430
+ /** GovalReplIdentity replid. */
17431
+ public replid: string;
17432
+
17433
+ /** GovalReplIdentity user. */
17434
+ public user: string;
17435
+
17436
+ /** GovalReplIdentity slug. */
17437
+ public slug: string;
17438
+
17439
+ /**
17440
+ * Creates a new GovalReplIdentity instance using the specified properties.
17441
+ * @param [properties] Properties to set
17442
+ * @returns GovalReplIdentity instance
17443
+ */
17444
+ public static create(properties?: api.IGovalReplIdentity): api.GovalReplIdentity;
17445
+
17446
+ /**
17447
+ * Encodes the specified GovalReplIdentity message. Does not implicitly {@link api.GovalReplIdentity.verify|verify} messages.
17448
+ * @param message GovalReplIdentity message or plain object to encode
17449
+ * @param [writer] Writer to encode to
17450
+ * @returns Writer
17451
+ */
17452
+ public static encode(message: api.GovalReplIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
17453
+
17454
+ /**
17455
+ * Encodes the specified GovalReplIdentity message, length delimited. Does not implicitly {@link api.GovalReplIdentity.verify|verify} messages.
17456
+ * @param message GovalReplIdentity message or plain object to encode
17457
+ * @param [writer] Writer to encode to
17458
+ * @returns Writer
17459
+ */
17460
+ public static encodeDelimited(message: api.GovalReplIdentity, writer?: $protobuf.Writer): $protobuf.Writer;
17461
+
17462
+ /**
17463
+ * Decodes a GovalReplIdentity message from the specified reader or buffer.
17464
+ * @param reader Reader or buffer to decode from
17465
+ * @param [length] Message length if known beforehand
17466
+ * @returns GovalReplIdentity
17467
+ * @throws {Error} If the payload is not a reader or valid buffer
17468
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17469
+ */
17470
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.GovalReplIdentity;
17471
+
17472
+ /**
17473
+ * Decodes a GovalReplIdentity message from the specified reader or buffer, length delimited.
17474
+ * @param reader Reader or buffer to decode from
17475
+ * @returns GovalReplIdentity
17476
+ * @throws {Error} If the payload is not a reader or valid buffer
17477
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17478
+ */
17479
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.GovalReplIdentity;
17480
+
17481
+ /**
17482
+ * Verifies a GovalReplIdentity message.
17483
+ * @param message Plain object to verify
17484
+ * @returns `null` if valid, otherwise the reason why it is not
17485
+ */
17486
+ public static verify(message: { [k: string]: any }): (string|null);
17487
+
17488
+ /**
17489
+ * Creates a GovalReplIdentity message from a plain object. Also converts values to their respective internal types.
17490
+ * @param object Plain object
17491
+ * @returns GovalReplIdentity
17492
+ */
17493
+ public static fromObject(object: { [k: string]: any }): api.GovalReplIdentity;
17494
+
17495
+ /**
17496
+ * Creates a plain object from a GovalReplIdentity message. Also converts values to other types if specified.
17497
+ * @param message GovalReplIdentity
17498
+ * @param [options] Conversion options
17499
+ * @returns Plain object
17500
+ */
17501
+ public static toObject(message: api.GovalReplIdentity, options?: $protobuf.IConversionOptions): { [k: string]: any };
17502
+
17503
+ /**
17504
+ * Converts this GovalReplIdentity to JSON.
17505
+ * @returns JSON object
17506
+ */
17507
+ public toJSON(): { [k: string]: any };
17508
+ }
17188
17509
  }
17189
17510
 
17190
17511
  /** Namespace google. */