@replit/protocol 0.2.51 → 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
@@ -446,6 +446,12 @@ export namespace api {
446
446
  /** Command runConfigGetResponse */
447
447
  runConfigGetResponse?: (api.RunConfigGetResponse|api.IRunConfigGetResponse|null);
448
448
 
449
+ /** Command dotReplitUpdateRequest */
450
+ dotReplitUpdateRequest?: (api.DotReplitUpdateRequest|api.IDotReplitUpdateRequest|null);
451
+
452
+ /** Command dotReplitUpdateResponse */
453
+ dotReplitUpdateResponse?: (api.DotReplitUpdateResponse|api.IDotReplitUpdateResponse|null);
454
+
449
455
  /** Command startLSP */
450
456
  startLSP?: (api.StartLSP|api.IStartLSP|null);
451
457
 
@@ -909,6 +915,12 @@ export namespace api {
909
915
  /** Command runConfigGetResponse. */
910
916
  public runConfigGetResponse?: (api.RunConfigGetResponse|null);
911
917
 
918
+ /** Command dotReplitUpdateRequest. */
919
+ public dotReplitUpdateRequest?: (api.DotReplitUpdateRequest|null);
920
+
921
+ /** Command dotReplitUpdateResponse. */
922
+ public dotReplitUpdateResponse?: (api.DotReplitUpdateResponse|null);
923
+
912
924
  /** Command startLSP. */
913
925
  public startLSP?: (api.StartLSP|null);
914
926
 
@@ -922,7 +934,7 @@ export namespace api {
922
934
  public traceInfo: { [k: string]: string };
923
935
 
924
936
  /** Command body. */
925
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"startLSP"|"firewallDenied");
937
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied");
926
938
 
927
939
  /**
928
940
  * Creates a new Command instance using the specified properties.
@@ -13482,6 +13494,282 @@ export namespace api {
13482
13494
  }
13483
13495
  }
13484
13496
 
13497
+ /** Properties of a DotReplitUpdateOp. */
13498
+ interface IDotReplitUpdateOp {
13499
+
13500
+ /** DotReplitUpdateOp op */
13501
+ op?: (string|null);
13502
+
13503
+ /** DotReplitUpdateOp path */
13504
+ path?: (string|null);
13505
+
13506
+ /** DotReplitUpdateOp value */
13507
+ value?: (string|null);
13508
+ }
13509
+
13510
+ /** Represents a DotReplitUpdateOp. */
13511
+ class DotReplitUpdateOp {
13512
+
13513
+ /**
13514
+ * Constructs a new DotReplitUpdateOp.
13515
+ * @param [properties] Properties to set
13516
+ */
13517
+ private constructor(properties?: api.IDotReplitUpdateOp);
13518
+
13519
+ /** DotReplitUpdateOp op. */
13520
+ public op: string;
13521
+
13522
+ /** DotReplitUpdateOp path. */
13523
+ public path: string;
13524
+
13525
+ /** DotReplitUpdateOp value. */
13526
+ public value: string;
13527
+
13528
+ /**
13529
+ * Creates a new DotReplitUpdateOp instance using the specified properties.
13530
+ * @param [properties] Properties to set
13531
+ * @returns DotReplitUpdateOp instance
13532
+ */
13533
+ public static create(properties?: api.IDotReplitUpdateOp): api.DotReplitUpdateOp;
13534
+
13535
+ /**
13536
+ * Encodes the specified DotReplitUpdateOp message. Does not implicitly {@link api.DotReplitUpdateOp.verify|verify} messages.
13537
+ * @param message DotReplitUpdateOp message or plain object to encode
13538
+ * @param [writer] Writer to encode to
13539
+ * @returns Writer
13540
+ */
13541
+ public static encode(message: api.DotReplitUpdateOp, writer?: $protobuf.Writer): $protobuf.Writer;
13542
+
13543
+ /**
13544
+ * Encodes the specified DotReplitUpdateOp message, length delimited. Does not implicitly {@link api.DotReplitUpdateOp.verify|verify} messages.
13545
+ * @param message DotReplitUpdateOp message or plain object to encode
13546
+ * @param [writer] Writer to encode to
13547
+ * @returns Writer
13548
+ */
13549
+ public static encodeDelimited(message: api.DotReplitUpdateOp, writer?: $protobuf.Writer): $protobuf.Writer;
13550
+
13551
+ /**
13552
+ * Decodes a DotReplitUpdateOp message from the specified reader or buffer.
13553
+ * @param reader Reader or buffer to decode from
13554
+ * @param [length] Message length if known beforehand
13555
+ * @returns DotReplitUpdateOp
13556
+ * @throws {Error} If the payload is not a reader or valid buffer
13557
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13558
+ */
13559
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitUpdateOp;
13560
+
13561
+ /**
13562
+ * Decodes a DotReplitUpdateOp message from the specified reader or buffer, length delimited.
13563
+ * @param reader Reader or buffer to decode from
13564
+ * @returns DotReplitUpdateOp
13565
+ * @throws {Error} If the payload is not a reader or valid buffer
13566
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13567
+ */
13568
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitUpdateOp;
13569
+
13570
+ /**
13571
+ * Verifies a DotReplitUpdateOp message.
13572
+ * @param message Plain object to verify
13573
+ * @returns `null` if valid, otherwise the reason why it is not
13574
+ */
13575
+ public static verify(message: { [k: string]: any }): (string|null);
13576
+
13577
+ /**
13578
+ * Creates a DotReplitUpdateOp message from a plain object. Also converts values to their respective internal types.
13579
+ * @param object Plain object
13580
+ * @returns DotReplitUpdateOp
13581
+ */
13582
+ public static fromObject(object: { [k: string]: any }): api.DotReplitUpdateOp;
13583
+
13584
+ /**
13585
+ * Creates a plain object from a DotReplitUpdateOp message. Also converts values to other types if specified.
13586
+ * @param message DotReplitUpdateOp
13587
+ * @param [options] Conversion options
13588
+ * @returns Plain object
13589
+ */
13590
+ public static toObject(message: api.DotReplitUpdateOp, options?: $protobuf.IConversionOptions): { [k: string]: any };
13591
+
13592
+ /**
13593
+ * Converts this DotReplitUpdateOp to JSON.
13594
+ * @returns JSON object
13595
+ */
13596
+ public toJSON(): { [k: string]: any };
13597
+ }
13598
+
13599
+ /** Properties of a DotReplitUpdateRequest. */
13600
+ interface IDotReplitUpdateRequest {
13601
+
13602
+ /** DotReplitUpdateRequest ops */
13603
+ ops?: ((api.DotReplitUpdateOp|api.IDotReplitUpdateOp)[]|null);
13604
+ }
13605
+
13606
+ /** Represents a DotReplitUpdateRequest. */
13607
+ class DotReplitUpdateRequest {
13608
+
13609
+ /**
13610
+ * Constructs a new DotReplitUpdateRequest.
13611
+ * @param [properties] Properties to set
13612
+ */
13613
+ private constructor(properties?: api.IDotReplitUpdateRequest);
13614
+
13615
+ /** DotReplitUpdateRequest ops. */
13616
+ public ops: api.DotReplitUpdateOp[];
13617
+
13618
+ /**
13619
+ * Creates a new DotReplitUpdateRequest instance using the specified properties.
13620
+ * @param [properties] Properties to set
13621
+ * @returns DotReplitUpdateRequest instance
13622
+ */
13623
+ public static create(properties?: api.IDotReplitUpdateRequest): api.DotReplitUpdateRequest;
13624
+
13625
+ /**
13626
+ * Encodes the specified DotReplitUpdateRequest message. Does not implicitly {@link api.DotReplitUpdateRequest.verify|verify} messages.
13627
+ * @param message DotReplitUpdateRequest message or plain object to encode
13628
+ * @param [writer] Writer to encode to
13629
+ * @returns Writer
13630
+ */
13631
+ public static encode(message: api.DotReplitUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13632
+
13633
+ /**
13634
+ * Encodes the specified DotReplitUpdateRequest message, length delimited. Does not implicitly {@link api.DotReplitUpdateRequest.verify|verify} messages.
13635
+ * @param message DotReplitUpdateRequest message or plain object to encode
13636
+ * @param [writer] Writer to encode to
13637
+ * @returns Writer
13638
+ */
13639
+ public static encodeDelimited(message: api.DotReplitUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13640
+
13641
+ /**
13642
+ * Decodes a DotReplitUpdateRequest message from the specified reader or buffer.
13643
+ * @param reader Reader or buffer to decode from
13644
+ * @param [length] Message length if known beforehand
13645
+ * @returns DotReplitUpdateRequest
13646
+ * @throws {Error} If the payload is not a reader or valid buffer
13647
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13648
+ */
13649
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitUpdateRequest;
13650
+
13651
+ /**
13652
+ * Decodes a DotReplitUpdateRequest message from the specified reader or buffer, length delimited.
13653
+ * @param reader Reader or buffer to decode from
13654
+ * @returns DotReplitUpdateRequest
13655
+ * @throws {Error} If the payload is not a reader or valid buffer
13656
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13657
+ */
13658
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitUpdateRequest;
13659
+
13660
+ /**
13661
+ * Verifies a DotReplitUpdateRequest message.
13662
+ * @param message Plain object to verify
13663
+ * @returns `null` if valid, otherwise the reason why it is not
13664
+ */
13665
+ public static verify(message: { [k: string]: any }): (string|null);
13666
+
13667
+ /**
13668
+ * Creates a DotReplitUpdateRequest message from a plain object. Also converts values to their respective internal types.
13669
+ * @param object Plain object
13670
+ * @returns DotReplitUpdateRequest
13671
+ */
13672
+ public static fromObject(object: { [k: string]: any }): api.DotReplitUpdateRequest;
13673
+
13674
+ /**
13675
+ * Creates a plain object from a DotReplitUpdateRequest message. Also converts values to other types if specified.
13676
+ * @param message DotReplitUpdateRequest
13677
+ * @param [options] Conversion options
13678
+ * @returns Plain object
13679
+ */
13680
+ public static toObject(message: api.DotReplitUpdateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
13681
+
13682
+ /**
13683
+ * Converts this DotReplitUpdateRequest to JSON.
13684
+ * @returns JSON object
13685
+ */
13686
+ public toJSON(): { [k: string]: any };
13687
+ }
13688
+
13689
+ /** Properties of a DotReplitUpdateResponse. */
13690
+ interface IDotReplitUpdateResponse {
13691
+ }
13692
+
13693
+ /** Represents a DotReplitUpdateResponse. */
13694
+ class DotReplitUpdateResponse {
13695
+
13696
+ /**
13697
+ * Constructs a new DotReplitUpdateResponse.
13698
+ * @param [properties] Properties to set
13699
+ */
13700
+ private constructor(properties?: api.IDotReplitUpdateResponse);
13701
+
13702
+ /**
13703
+ * Creates a new DotReplitUpdateResponse instance using the specified properties.
13704
+ * @param [properties] Properties to set
13705
+ * @returns DotReplitUpdateResponse instance
13706
+ */
13707
+ public static create(properties?: api.IDotReplitUpdateResponse): api.DotReplitUpdateResponse;
13708
+
13709
+ /**
13710
+ * Encodes the specified DotReplitUpdateResponse message. Does not implicitly {@link api.DotReplitUpdateResponse.verify|verify} messages.
13711
+ * @param message DotReplitUpdateResponse message or plain object to encode
13712
+ * @param [writer] Writer to encode to
13713
+ * @returns Writer
13714
+ */
13715
+ public static encode(message: api.DotReplitUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
13716
+
13717
+ /**
13718
+ * Encodes the specified DotReplitUpdateResponse message, length delimited. Does not implicitly {@link api.DotReplitUpdateResponse.verify|verify} messages.
13719
+ * @param message DotReplitUpdateResponse message or plain object to encode
13720
+ * @param [writer] Writer to encode to
13721
+ * @returns Writer
13722
+ */
13723
+ public static encodeDelimited(message: api.DotReplitUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
13724
+
13725
+ /**
13726
+ * Decodes a DotReplitUpdateResponse message from the specified reader or buffer.
13727
+ * @param reader Reader or buffer to decode from
13728
+ * @param [length] Message length if known beforehand
13729
+ * @returns DotReplitUpdateResponse
13730
+ * @throws {Error} If the payload is not a reader or valid buffer
13731
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13732
+ */
13733
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitUpdateResponse;
13734
+
13735
+ /**
13736
+ * Decodes a DotReplitUpdateResponse message from the specified reader or buffer, length delimited.
13737
+ * @param reader Reader or buffer to decode from
13738
+ * @returns DotReplitUpdateResponse
13739
+ * @throws {Error} If the payload is not a reader or valid buffer
13740
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13741
+ */
13742
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitUpdateResponse;
13743
+
13744
+ /**
13745
+ * Verifies a DotReplitUpdateResponse message.
13746
+ * @param message Plain object to verify
13747
+ * @returns `null` if valid, otherwise the reason why it is not
13748
+ */
13749
+ public static verify(message: { [k: string]: any }): (string|null);
13750
+
13751
+ /**
13752
+ * Creates a DotReplitUpdateResponse message from a plain object. Also converts values to their respective internal types.
13753
+ * @param object Plain object
13754
+ * @returns DotReplitUpdateResponse
13755
+ */
13756
+ public static fromObject(object: { [k: string]: any }): api.DotReplitUpdateResponse;
13757
+
13758
+ /**
13759
+ * Creates a plain object from a DotReplitUpdateResponse message. Also converts values to other types if specified.
13760
+ * @param message DotReplitUpdateResponse
13761
+ * @param [options] Conversion options
13762
+ * @returns Plain object
13763
+ */
13764
+ public static toObject(message: api.DotReplitUpdateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
13765
+
13766
+ /**
13767
+ * Converts this DotReplitUpdateResponse to JSON.
13768
+ * @returns JSON object
13769
+ */
13770
+ public toJSON(): { [k: string]: any };
13771
+ }
13772
+
13485
13773
  /** Properties of a DebugAddBreakpointRequest. */
13486
13774
  interface IDebugAddBreakpointRequest {
13487
13775
 
@@ -14045,6 +14333,18 @@ export namespace api {
14045
14333
 
14046
14334
  /** DotReplit hidden */
14047
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);
14048
14348
  }
14049
14349
 
14050
14350
  /** Represents a DotReplit. */
@@ -14089,6 +14389,18 @@ export namespace api {
14089
14389
  /** DotReplit hidden. */
14090
14390
  public hidden: string[];
14091
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
+
14092
14404
  /**
14093
14405
  * Creates a new DotReplit instance using the specified properties.
14094
14406
  * @param [properties] Properties to set
@@ -14160,6 +14472,192 @@ export namespace api {
14160
14472
  public toJSON(): { [k: string]: any };
14161
14473
  }
14162
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
+
14163
14661
  /** Properties of a DotReplitInterp. */
14164
14662
  interface IDotReplitInterp {
14165
14663
 
@@ -16571,7 +17069,10 @@ export namespace api {
16571
17069
  /** FlagClaim enum. */
16572
17070
  enum FlagClaim {
16573
17071
  MINT_GOVAL_TOKEN = 0,
16574
- SIGN_INTERMEDIATE_CERT = 1
17072
+ SIGN_INTERMEDIATE_CERT = 1,
17073
+ ANY_REPLID = 2,
17074
+ ANY_USER = 3,
17075
+ ANY_CLUSTER = 4
16575
17076
  }
16576
17077
 
16577
17078
  /** Properties of a CertificateClaim. */
@@ -16583,6 +17084,9 @@ export namespace api {
16583
17084
  /** CertificateClaim user */
16584
17085
  user?: (string|null);
16585
17086
 
17087
+ /** CertificateClaim cluster */
17088
+ cluster?: (string|null);
17089
+
16586
17090
  /** CertificateClaim flag */
16587
17091
  flag?: (api.FlagClaim|null);
16588
17092
  }
@@ -16602,11 +17106,14 @@ export namespace api {
16602
17106
  /** CertificateClaim user. */
16603
17107
  public user?: (string|null);
16604
17108
 
17109
+ /** CertificateClaim cluster. */
17110
+ public cluster?: (string|null);
17111
+
16605
17112
  /** CertificateClaim flag. */
16606
17113
  public flag?: (api.FlagClaim|null);
16607
17114
 
16608
17115
  /** CertificateClaim claim. */
16609
- public claim?: ("replid"|"user"|"flag");
17116
+ public claim?: ("replid"|"user"|"cluster"|"flag");
16610
17117
 
16611
17118
  /**
16612
17119
  * Creates a new CertificateClaim instance using the specified properties.
@@ -16897,6 +17404,108 @@ export namespace api {
16897
17404
  */
16898
17405
  public toJSON(): { [k: string]: any };
16899
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
+ }
16900
17509
  }
16901
17510
 
16902
17511
  /** Namespace google. */