@replit/protocol 0.4.4 → 0.4.6

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
@@ -219,21 +219,6 @@ export namespace replit {
219
219
  /** Command disconnect */
220
220
  disconnect?: (replit.goval.api.Disconnect|replit.goval.api.IDisconnect|null);
221
221
 
222
- /** Command fileAuthReq */
223
- fileAuthReq?: (replit.goval.api.FileAuthReq|replit.goval.api.IFileAuthReq|null);
224
-
225
- /** Command fileAuthRes */
226
- fileAuthRes?: (replit.goval.api.FileAuthRes|replit.goval.api.IFileAuthRes|null);
227
-
228
- /** Command mutliFileAuthRes */
229
- mutliFileAuthRes?: (replit.goval.api.MultiFileAuthRes|replit.goval.api.IMultiFileAuthRes|null);
230
-
231
- /** Command listObjects */
232
- listObjects?: (replit.goval.api.ListObjects|replit.goval.api.IListObjects|null);
233
-
234
- /** Command listObjectsResp */
235
- listObjectsResp?: (replit.goval.api.ListObjectsResp|replit.goval.api.IListObjectsResp|null);
236
-
237
222
  /** Command ot */
238
223
  ot?: (replit.goval.api.OTPacket|replit.goval.api.IOTPacket|null);
239
224
 
@@ -841,21 +826,6 @@ export namespace replit {
841
826
  /** Command disconnect. */
842
827
  public disconnect?: (replit.goval.api.Disconnect|null);
843
828
 
844
- /** Command fileAuthReq. */
845
- public fileAuthReq?: (replit.goval.api.FileAuthReq|null);
846
-
847
- /** Command fileAuthRes. */
848
- public fileAuthRes?: (replit.goval.api.FileAuthRes|null);
849
-
850
- /** Command mutliFileAuthRes. */
851
- public mutliFileAuthRes?: (replit.goval.api.MultiFileAuthRes|null);
852
-
853
- /** Command listObjects. */
854
- public listObjects?: (replit.goval.api.ListObjects|null);
855
-
856
- /** Command listObjectsResp. */
857
- public listObjectsResp?: (replit.goval.api.ListObjectsResp|null);
858
-
859
829
  /** Command ot. */
860
830
  public ot?: (replit.goval.api.OTPacket|null);
861
831
 
@@ -1247,7 +1217,7 @@ export namespace replit {
1247
1217
  public forceTrace: boolean;
1248
1218
 
1249
1219
  /** Command body. */
1250
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"otFlushNotification"|"debug"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"replResourcesUpdateNotification");
1220
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"replResourcesUpdateNotification");
1251
1221
 
1252
1222
  /**
1253
1223
  * Creates a new Command instance using the specified properties.
@@ -1911,6 +1881,9 @@ export namespace replit {
1911
1881
 
1912
1882
  /** NixPackage licenses */
1913
1883
  licenses?: (string[]|null);
1884
+
1885
+ /** NixPackage present */
1886
+ present?: (boolean|null);
1914
1887
  }
1915
1888
 
1916
1889
  /** Represents a NixPackage. */
@@ -1940,6 +1913,9 @@ export namespace replit {
1940
1913
  /** NixPackage licenses. */
1941
1914
  public licenses: string[];
1942
1915
 
1916
+ /** NixPackage present. */
1917
+ public present: boolean;
1918
+
1943
1919
  /**
1944
1920
  * Creates a new NixPackage instance using the specified properties.
1945
1921
  * @param [properties] Properties to set
@@ -5559,547 +5535,6 @@ export namespace replit {
5559
5535
  public static getTypeUrl(typeUrlPrefix?: string): string;
5560
5536
  }
5561
5537
 
5562
- /** FileAuthMethod enum. */
5563
- enum FileAuthMethod {
5564
- GET = 0,
5565
- HEAD = 1,
5566
- PUT = 2,
5567
- DELETE = 3
5568
- }
5569
-
5570
- /** Properties of a FileAuthReq. */
5571
- interface IFileAuthReq {
5572
-
5573
- /** FileAuthReq file */
5574
- file?: (replit.goval.api.File|replit.goval.api.IFile|null);
5575
-
5576
- /** FileAuthReq method */
5577
- method?: (replit.goval.api.FileAuthMethod|null);
5578
- }
5579
-
5580
- /** Represents a FileAuthReq. */
5581
- class FileAuthReq {
5582
-
5583
- /**
5584
- * Constructs a new FileAuthReq.
5585
- * @param [properties] Properties to set
5586
- */
5587
- private constructor(properties?: replit.goval.api.IFileAuthReq);
5588
-
5589
- /** FileAuthReq file. */
5590
- public file?: (replit.goval.api.File|null);
5591
-
5592
- /** FileAuthReq method. */
5593
- public method: replit.goval.api.FileAuthMethod;
5594
-
5595
- /**
5596
- * Creates a new FileAuthReq instance using the specified properties.
5597
- * @param [properties] Properties to set
5598
- * @returns FileAuthReq instance
5599
- */
5600
- public static create(properties?: replit.goval.api.IFileAuthReq): replit.goval.api.FileAuthReq;
5601
-
5602
- /**
5603
- * Encodes the specified FileAuthReq message. Does not implicitly {@link replit.goval.api.FileAuthReq.verify|verify} messages.
5604
- * @param message FileAuthReq message or plain object to encode
5605
- * @param [writer] Writer to encode to
5606
- * @returns Writer
5607
- */
5608
- public static encode(message: replit.goval.api.FileAuthReq, writer?: $protobuf.Writer): $protobuf.Writer;
5609
-
5610
- /**
5611
- * Encodes the specified FileAuthReq message, length delimited. Does not implicitly {@link replit.goval.api.FileAuthReq.verify|verify} messages.
5612
- * @param message FileAuthReq message or plain object to encode
5613
- * @param [writer] Writer to encode to
5614
- * @returns Writer
5615
- */
5616
- public static encodeDelimited(message: replit.goval.api.FileAuthReq, writer?: $protobuf.Writer): $protobuf.Writer;
5617
-
5618
- /**
5619
- * Decodes a FileAuthReq message from the specified reader or buffer.
5620
- * @param reader Reader or buffer to decode from
5621
- * @param [length] Message length if known beforehand
5622
- * @returns FileAuthReq
5623
- * @throws {Error} If the payload is not a reader or valid buffer
5624
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5625
- */
5626
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.FileAuthReq;
5627
-
5628
- /**
5629
- * Decodes a FileAuthReq message from the specified reader or buffer, length delimited.
5630
- * @param reader Reader or buffer to decode from
5631
- * @returns FileAuthReq
5632
- * @throws {Error} If the payload is not a reader or valid buffer
5633
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5634
- */
5635
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.FileAuthReq;
5636
-
5637
- /**
5638
- * Verifies a FileAuthReq message.
5639
- * @param message Plain object to verify
5640
- * @returns `null` if valid, otherwise the reason why it is not
5641
- */
5642
- public static verify(message: { [k: string]: any }): (string|null);
5643
-
5644
- /**
5645
- * Creates a FileAuthReq message from a plain object. Also converts values to their respective internal types.
5646
- * @param object Plain object
5647
- * @returns FileAuthReq
5648
- */
5649
- public static fromObject(object: { [k: string]: any }): replit.goval.api.FileAuthReq;
5650
-
5651
- /**
5652
- * Creates a plain object from a FileAuthReq message. Also converts values to other types if specified.
5653
- * @param message FileAuthReq
5654
- * @param [options] Conversion options
5655
- * @returns Plain object
5656
- */
5657
- public static toObject(message: replit.goval.api.FileAuthReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
5658
-
5659
- /**
5660
- * Converts this FileAuthReq to JSON.
5661
- * @returns JSON object
5662
- */
5663
- public toJSON(): { [k: string]: any };
5664
-
5665
- /**
5666
- * Gets the default type url for FileAuthReq
5667
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5668
- * @returns The default type url
5669
- */
5670
- public static getTypeUrl(typeUrlPrefix?: string): string;
5671
- }
5672
-
5673
- /** Properties of a MultiFileAuthRes. */
5674
- interface IMultiFileAuthRes {
5675
-
5676
- /** MultiFileAuthRes put */
5677
- put?: (replit.goval.api.FileAuthRes|replit.goval.api.IFileAuthRes|null);
5678
-
5679
- /** MultiFileAuthRes del */
5680
- del?: (replit.goval.api.FileAuthRes|replit.goval.api.IFileAuthRes|null);
5681
-
5682
- /** MultiFileAuthRes get */
5683
- get?: (replit.goval.api.FileAuthRes|replit.goval.api.IFileAuthRes|null);
5684
- }
5685
-
5686
- /** Represents a MultiFileAuthRes. */
5687
- class MultiFileAuthRes {
5688
-
5689
- /**
5690
- * Constructs a new MultiFileAuthRes.
5691
- * @param [properties] Properties to set
5692
- */
5693
- private constructor(properties?: replit.goval.api.IMultiFileAuthRes);
5694
-
5695
- /** MultiFileAuthRes put. */
5696
- public put?: (replit.goval.api.FileAuthRes|null);
5697
-
5698
- /** MultiFileAuthRes del. */
5699
- public del?: (replit.goval.api.FileAuthRes|null);
5700
-
5701
- /** MultiFileAuthRes get. */
5702
- public get?: (replit.goval.api.FileAuthRes|null);
5703
-
5704
- /**
5705
- * Creates a new MultiFileAuthRes instance using the specified properties.
5706
- * @param [properties] Properties to set
5707
- * @returns MultiFileAuthRes instance
5708
- */
5709
- public static create(properties?: replit.goval.api.IMultiFileAuthRes): replit.goval.api.MultiFileAuthRes;
5710
-
5711
- /**
5712
- * Encodes the specified MultiFileAuthRes message. Does not implicitly {@link replit.goval.api.MultiFileAuthRes.verify|verify} messages.
5713
- * @param message MultiFileAuthRes message or plain object to encode
5714
- * @param [writer] Writer to encode to
5715
- * @returns Writer
5716
- */
5717
- public static encode(message: replit.goval.api.MultiFileAuthRes, writer?: $protobuf.Writer): $protobuf.Writer;
5718
-
5719
- /**
5720
- * Encodes the specified MultiFileAuthRes message, length delimited. Does not implicitly {@link replit.goval.api.MultiFileAuthRes.verify|verify} messages.
5721
- * @param message MultiFileAuthRes message or plain object to encode
5722
- * @param [writer] Writer to encode to
5723
- * @returns Writer
5724
- */
5725
- public static encodeDelimited(message: replit.goval.api.MultiFileAuthRes, writer?: $protobuf.Writer): $protobuf.Writer;
5726
-
5727
- /**
5728
- * Decodes a MultiFileAuthRes message from the specified reader or buffer.
5729
- * @param reader Reader or buffer to decode from
5730
- * @param [length] Message length if known beforehand
5731
- * @returns MultiFileAuthRes
5732
- * @throws {Error} If the payload is not a reader or valid buffer
5733
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5734
- */
5735
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.MultiFileAuthRes;
5736
-
5737
- /**
5738
- * Decodes a MultiFileAuthRes message from the specified reader or buffer, length delimited.
5739
- * @param reader Reader or buffer to decode from
5740
- * @returns MultiFileAuthRes
5741
- * @throws {Error} If the payload is not a reader or valid buffer
5742
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5743
- */
5744
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.MultiFileAuthRes;
5745
-
5746
- /**
5747
- * Verifies a MultiFileAuthRes message.
5748
- * @param message Plain object to verify
5749
- * @returns `null` if valid, otherwise the reason why it is not
5750
- */
5751
- public static verify(message: { [k: string]: any }): (string|null);
5752
-
5753
- /**
5754
- * Creates a MultiFileAuthRes message from a plain object. Also converts values to their respective internal types.
5755
- * @param object Plain object
5756
- * @returns MultiFileAuthRes
5757
- */
5758
- public static fromObject(object: { [k: string]: any }): replit.goval.api.MultiFileAuthRes;
5759
-
5760
- /**
5761
- * Creates a plain object from a MultiFileAuthRes message. Also converts values to other types if specified.
5762
- * @param message MultiFileAuthRes
5763
- * @param [options] Conversion options
5764
- * @returns Plain object
5765
- */
5766
- public static toObject(message: replit.goval.api.MultiFileAuthRes, options?: $protobuf.IConversionOptions): { [k: string]: any };
5767
-
5768
- /**
5769
- * Converts this MultiFileAuthRes to JSON.
5770
- * @returns JSON object
5771
- */
5772
- public toJSON(): { [k: string]: any };
5773
-
5774
- /**
5775
- * Gets the default type url for MultiFileAuthRes
5776
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5777
- * @returns The default type url
5778
- */
5779
- public static getTypeUrl(typeUrlPrefix?: string): string;
5780
- }
5781
-
5782
- /** Properties of a FileAuthRes. */
5783
- interface IFileAuthRes {
5784
-
5785
- /** FileAuthRes file */
5786
- file?: (replit.goval.api.File|replit.goval.api.IFile|null);
5787
-
5788
- /** FileAuthRes url */
5789
- url?: (string|null);
5790
-
5791
- /** FileAuthRes method */
5792
- method?: (replit.goval.api.FileAuthMethod|null);
5793
-
5794
- /** FileAuthRes expire */
5795
- expire?: (number|null);
5796
-
5797
- /** FileAuthRes error */
5798
- error?: (string|null);
5799
-
5800
- /** FileAuthRes replError */
5801
- replError?: (boolean|null);
5802
- }
5803
-
5804
- /** Represents a FileAuthRes. */
5805
- class FileAuthRes {
5806
-
5807
- /**
5808
- * Constructs a new FileAuthRes.
5809
- * @param [properties] Properties to set
5810
- */
5811
- private constructor(properties?: replit.goval.api.IFileAuthRes);
5812
-
5813
- /** FileAuthRes file. */
5814
- public file?: (replit.goval.api.File|null);
5815
-
5816
- /** FileAuthRes url. */
5817
- public url: string;
5818
-
5819
- /** FileAuthRes method. */
5820
- public method: replit.goval.api.FileAuthMethod;
5821
-
5822
- /** FileAuthRes expire. */
5823
- public expire: number;
5824
-
5825
- /** FileAuthRes error. */
5826
- public error: string;
5827
-
5828
- /** FileAuthRes replError. */
5829
- public replError: boolean;
5830
-
5831
- /**
5832
- * Creates a new FileAuthRes instance using the specified properties.
5833
- * @param [properties] Properties to set
5834
- * @returns FileAuthRes instance
5835
- */
5836
- public static create(properties?: replit.goval.api.IFileAuthRes): replit.goval.api.FileAuthRes;
5837
-
5838
- /**
5839
- * Encodes the specified FileAuthRes message. Does not implicitly {@link replit.goval.api.FileAuthRes.verify|verify} messages.
5840
- * @param message FileAuthRes message or plain object to encode
5841
- * @param [writer] Writer to encode to
5842
- * @returns Writer
5843
- */
5844
- public static encode(message: replit.goval.api.FileAuthRes, writer?: $protobuf.Writer): $protobuf.Writer;
5845
-
5846
- /**
5847
- * Encodes the specified FileAuthRes message, length delimited. Does not implicitly {@link replit.goval.api.FileAuthRes.verify|verify} messages.
5848
- * @param message FileAuthRes message or plain object to encode
5849
- * @param [writer] Writer to encode to
5850
- * @returns Writer
5851
- */
5852
- public static encodeDelimited(message: replit.goval.api.FileAuthRes, writer?: $protobuf.Writer): $protobuf.Writer;
5853
-
5854
- /**
5855
- * Decodes a FileAuthRes message from the specified reader or buffer.
5856
- * @param reader Reader or buffer to decode from
5857
- * @param [length] Message length if known beforehand
5858
- * @returns FileAuthRes
5859
- * @throws {Error} If the payload is not a reader or valid buffer
5860
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5861
- */
5862
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.FileAuthRes;
5863
-
5864
- /**
5865
- * Decodes a FileAuthRes message from the specified reader or buffer, length delimited.
5866
- * @param reader Reader or buffer to decode from
5867
- * @returns FileAuthRes
5868
- * @throws {Error} If the payload is not a reader or valid buffer
5869
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5870
- */
5871
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.FileAuthRes;
5872
-
5873
- /**
5874
- * Verifies a FileAuthRes message.
5875
- * @param message Plain object to verify
5876
- * @returns `null` if valid, otherwise the reason why it is not
5877
- */
5878
- public static verify(message: { [k: string]: any }): (string|null);
5879
-
5880
- /**
5881
- * Creates a FileAuthRes message from a plain object. Also converts values to their respective internal types.
5882
- * @param object Plain object
5883
- * @returns FileAuthRes
5884
- */
5885
- public static fromObject(object: { [k: string]: any }): replit.goval.api.FileAuthRes;
5886
-
5887
- /**
5888
- * Creates a plain object from a FileAuthRes message. Also converts values to other types if specified.
5889
- * @param message FileAuthRes
5890
- * @param [options] Conversion options
5891
- * @returns Plain object
5892
- */
5893
- public static toObject(message: replit.goval.api.FileAuthRes, options?: $protobuf.IConversionOptions): { [k: string]: any };
5894
-
5895
- /**
5896
- * Converts this FileAuthRes to JSON.
5897
- * @returns JSON object
5898
- */
5899
- public toJSON(): { [k: string]: any };
5900
-
5901
- /**
5902
- * Gets the default type url for FileAuthRes
5903
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5904
- * @returns The default type url
5905
- */
5906
- public static getTypeUrl(typeUrlPrefix?: string): string;
5907
- }
5908
-
5909
- /** Properties of a ListObjects. */
5910
- interface IListObjects {
5911
-
5912
- /** ListObjects prefix */
5913
- prefix?: (string|null);
5914
- }
5915
-
5916
- /** Represents a ListObjects. */
5917
- class ListObjects {
5918
-
5919
- /**
5920
- * Constructs a new ListObjects.
5921
- * @param [properties] Properties to set
5922
- */
5923
- private constructor(properties?: replit.goval.api.IListObjects);
5924
-
5925
- /** ListObjects prefix. */
5926
- public prefix: string;
5927
-
5928
- /**
5929
- * Creates a new ListObjects instance using the specified properties.
5930
- * @param [properties] Properties to set
5931
- * @returns ListObjects instance
5932
- */
5933
- public static create(properties?: replit.goval.api.IListObjects): replit.goval.api.ListObjects;
5934
-
5935
- /**
5936
- * Encodes the specified ListObjects message. Does not implicitly {@link replit.goval.api.ListObjects.verify|verify} messages.
5937
- * @param message ListObjects message or plain object to encode
5938
- * @param [writer] Writer to encode to
5939
- * @returns Writer
5940
- */
5941
- public static encode(message: replit.goval.api.ListObjects, writer?: $protobuf.Writer): $protobuf.Writer;
5942
-
5943
- /**
5944
- * Encodes the specified ListObjects message, length delimited. Does not implicitly {@link replit.goval.api.ListObjects.verify|verify} messages.
5945
- * @param message ListObjects message or plain object to encode
5946
- * @param [writer] Writer to encode to
5947
- * @returns Writer
5948
- */
5949
- public static encodeDelimited(message: replit.goval.api.ListObjects, writer?: $protobuf.Writer): $protobuf.Writer;
5950
-
5951
- /**
5952
- * Decodes a ListObjects message from the specified reader or buffer.
5953
- * @param reader Reader or buffer to decode from
5954
- * @param [length] Message length if known beforehand
5955
- * @returns ListObjects
5956
- * @throws {Error} If the payload is not a reader or valid buffer
5957
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5958
- */
5959
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ListObjects;
5960
-
5961
- /**
5962
- * Decodes a ListObjects message from the specified reader or buffer, length delimited.
5963
- * @param reader Reader or buffer to decode from
5964
- * @returns ListObjects
5965
- * @throws {Error} If the payload is not a reader or valid buffer
5966
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5967
- */
5968
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ListObjects;
5969
-
5970
- /**
5971
- * Verifies a ListObjects message.
5972
- * @param message Plain object to verify
5973
- * @returns `null` if valid, otherwise the reason why it is not
5974
- */
5975
- public static verify(message: { [k: string]: any }): (string|null);
5976
-
5977
- /**
5978
- * Creates a ListObjects message from a plain object. Also converts values to their respective internal types.
5979
- * @param object Plain object
5980
- * @returns ListObjects
5981
- */
5982
- public static fromObject(object: { [k: string]: any }): replit.goval.api.ListObjects;
5983
-
5984
- /**
5985
- * Creates a plain object from a ListObjects message. Also converts values to other types if specified.
5986
- * @param message ListObjects
5987
- * @param [options] Conversion options
5988
- * @returns Plain object
5989
- */
5990
- public static toObject(message: replit.goval.api.ListObjects, options?: $protobuf.IConversionOptions): { [k: string]: any };
5991
-
5992
- /**
5993
- * Converts this ListObjects to JSON.
5994
- * @returns JSON object
5995
- */
5996
- public toJSON(): { [k: string]: any };
5997
-
5998
- /**
5999
- * Gets the default type url for ListObjects
6000
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6001
- * @returns The default type url
6002
- */
6003
- public static getTypeUrl(typeUrlPrefix?: string): string;
6004
- }
6005
-
6006
- /** Properties of a ListObjectsResp. */
6007
- interface IListObjectsResp {
6008
-
6009
- /** ListObjectsResp objects */
6010
- objects?: (string[]|null);
6011
- }
6012
-
6013
- /** Represents a ListObjectsResp. */
6014
- class ListObjectsResp {
6015
-
6016
- /**
6017
- * Constructs a new ListObjectsResp.
6018
- * @param [properties] Properties to set
6019
- */
6020
- private constructor(properties?: replit.goval.api.IListObjectsResp);
6021
-
6022
- /** ListObjectsResp objects. */
6023
- public objects: string[];
6024
-
6025
- /**
6026
- * Creates a new ListObjectsResp instance using the specified properties.
6027
- * @param [properties] Properties to set
6028
- * @returns ListObjectsResp instance
6029
- */
6030
- public static create(properties?: replit.goval.api.IListObjectsResp): replit.goval.api.ListObjectsResp;
6031
-
6032
- /**
6033
- * Encodes the specified ListObjectsResp message. Does not implicitly {@link replit.goval.api.ListObjectsResp.verify|verify} messages.
6034
- * @param message ListObjectsResp message or plain object to encode
6035
- * @param [writer] Writer to encode to
6036
- * @returns Writer
6037
- */
6038
- public static encode(message: replit.goval.api.ListObjectsResp, writer?: $protobuf.Writer): $protobuf.Writer;
6039
-
6040
- /**
6041
- * Encodes the specified ListObjectsResp message, length delimited. Does not implicitly {@link replit.goval.api.ListObjectsResp.verify|verify} messages.
6042
- * @param message ListObjectsResp message or plain object to encode
6043
- * @param [writer] Writer to encode to
6044
- * @returns Writer
6045
- */
6046
- public static encodeDelimited(message: replit.goval.api.ListObjectsResp, writer?: $protobuf.Writer): $protobuf.Writer;
6047
-
6048
- /**
6049
- * Decodes a ListObjectsResp message from the specified reader or buffer.
6050
- * @param reader Reader or buffer to decode from
6051
- * @param [length] Message length if known beforehand
6052
- * @returns ListObjectsResp
6053
- * @throws {Error} If the payload is not a reader or valid buffer
6054
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
6055
- */
6056
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ListObjectsResp;
6057
-
6058
- /**
6059
- * Decodes a ListObjectsResp message from the specified reader or buffer, length delimited.
6060
- * @param reader Reader or buffer to decode from
6061
- * @returns ListObjectsResp
6062
- * @throws {Error} If the payload is not a reader or valid buffer
6063
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
6064
- */
6065
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ListObjectsResp;
6066
-
6067
- /**
6068
- * Verifies a ListObjectsResp message.
6069
- * @param message Plain object to verify
6070
- * @returns `null` if valid, otherwise the reason why it is not
6071
- */
6072
- public static verify(message: { [k: string]: any }): (string|null);
6073
-
6074
- /**
6075
- * Creates a ListObjectsResp message from a plain object. Also converts values to their respective internal types.
6076
- * @param object Plain object
6077
- * @returns ListObjectsResp
6078
- */
6079
- public static fromObject(object: { [k: string]: any }): replit.goval.api.ListObjectsResp;
6080
-
6081
- /**
6082
- * Creates a plain object from a ListObjectsResp message. Also converts values to other types if specified.
6083
- * @param message ListObjectsResp
6084
- * @param [options] Conversion options
6085
- * @returns Plain object
6086
- */
6087
- public static toObject(message: replit.goval.api.ListObjectsResp, options?: $protobuf.IConversionOptions): { [k: string]: any };
6088
-
6089
- /**
6090
- * Converts this ListObjectsResp to JSON.
6091
- * @returns JSON object
6092
- */
6093
- public toJSON(): { [k: string]: any };
6094
-
6095
- /**
6096
- * Gets the default type url for ListObjectsResp
6097
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6098
- * @returns The default type url
6099
- */
6100
- public static getTypeUrl(typeUrlPrefix?: string): string;
6101
- }
6102
-
6103
5538
  /** Properties of a Disconnect. */
6104
5539
  interface IDisconnect {
6105
5540
 
@@ -21619,6 +21054,12 @@ export namespace replit {
21619
21054
 
21620
21055
  /** NixModule displayVersion */
21621
21056
  displayVersion?: (string|null);
21057
+
21058
+ /** NixModule internal */
21059
+ internal?: (boolean|null);
21060
+
21061
+ /** NixModule demoted */
21062
+ demoted?: (boolean|null);
21622
21063
  }
21623
21064
 
21624
21065
  /** Represents a NixModule. */
@@ -21672,6 +21113,12 @@ export namespace replit {
21672
21113
  /** NixModule displayVersion. */
21673
21114
  public displayVersion: string;
21674
21115
 
21116
+ /** NixModule internal. */
21117
+ public internal: boolean;
21118
+
21119
+ /** NixModule demoted. */
21120
+ public demoted: boolean;
21121
+
21675
21122
  /**
21676
21123
  * Creates a new NixModule instance using the specified properties.
21677
21124
  * @param [properties] Properties to set