@replit/protocol 0.3.25 → 0.3.27

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Flowtype definitions for index
3
3
  * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
4
+ * Flowgen v1.14.0
5
5
  * @flow
6
6
  */
7
7
 
package/main/index.d.ts CHANGED
@@ -78,6 +78,9 @@ export namespace replit {
78
78
  /** Command log */
79
79
  log?: (string|null);
80
80
 
81
+ /** Command inputClose */
82
+ inputClose?: (google.protobuf.Empty|google.protobuf.IEmpty|null);
83
+
81
84
  /** Command outputBlockStartEvent */
82
85
  outputBlockStartEvent?: (replit.goval.api.OutputBlockStartEvent|replit.goval.api.IOutputBlockStartEvent|null);
83
86
 
@@ -652,6 +655,9 @@ export namespace replit {
652
655
  /** Command log. */
653
656
  public log?: (string|null);
654
657
 
658
+ /** Command inputClose. */
659
+ public inputClose?: (google.protobuf.Empty|null);
660
+
655
661
  /** Command outputBlockStartEvent. */
656
662
  public outputBlockStartEvent?: (replit.goval.api.OutputBlockStartEvent|null);
657
663
 
@@ -1151,7 +1157,7 @@ export namespace replit {
1151
1157
  public traceInfo: { [k: string]: string };
1152
1158
 
1153
1159
  /** Command body. */
1154
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"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"|"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"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse");
1160
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"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"|"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"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse");
1155
1161
 
1156
1162
  /**
1157
1163
  * Creates a new Command instance using the specified properties.
@@ -20865,6 +20871,9 @@ export namespace replit {
20865
20871
 
20866
20872
  /** NixModule referencedId */
20867
20873
  referencedId?: (string|null);
20874
+
20875
+ /** NixModule formatters */
20876
+ formatters?: ((replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption)[]|null);
20868
20877
  }
20869
20878
 
20870
20879
  /** Represents a NixModule. */
@@ -20912,6 +20921,9 @@ export namespace replit {
20912
20921
  /** NixModule referencedId. */
20913
20922
  public referencedId: string;
20914
20923
 
20924
+ /** NixModule formatters. */
20925
+ public formatters: replit.goval.api.FormatterOption[];
20926
+
20915
20927
  /**
20916
20928
  * Creates a new NixModule instance using the specified properties.
20917
20929
  * @param [properties] Properties to set
@@ -21728,6 +21740,9 @@ export namespace replit {
21728
21740
 
21729
21741
  /** ToolchainConfigs packagers */
21730
21742
  packagers?: ((replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption)[]|null);
21743
+
21744
+ /** ToolchainConfigs formatters */
21745
+ formatters?: ((replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption)[]|null);
21731
21746
  }
21732
21747
 
21733
21748
  /** Represents a ToolchainConfigs. */
@@ -21754,6 +21769,9 @@ export namespace replit {
21754
21769
  /** ToolchainConfigs packagers. */
21755
21770
  public packagers: replit.goval.api.PackagerOption[];
21756
21771
 
21772
+ /** ToolchainConfigs formatters. */
21773
+ public formatters: replit.goval.api.FormatterOption[];
21774
+
21757
21775
  /**
21758
21776
  * Creates a new ToolchainConfigs instance using the specified properties.
21759
21777
  * @param [properties] Properties to set
@@ -22643,6 +22661,121 @@ export namespace replit {
22643
22661
  public static getTypeUrl(typeUrlPrefix?: string): string;
22644
22662
  }
22645
22663
 
22664
+ /** Properties of a FormatterOption. */
22665
+ interface IFormatterOption {
22666
+
22667
+ /** FormatterOption id */
22668
+ id?: (string|null);
22669
+
22670
+ /** FormatterOption name */
22671
+ name?: (string|null);
22672
+
22673
+ /** FormatterOption startCommand */
22674
+ startCommand?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
22675
+
22676
+ /** FormatterOption fileTypeAttrs */
22677
+ fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null);
22678
+ }
22679
+
22680
+ /** Represents a FormatterOption. */
22681
+ class FormatterOption {
22682
+
22683
+ /**
22684
+ * Constructs a new FormatterOption.
22685
+ * @param [properties] Properties to set
22686
+ */
22687
+ private constructor(properties?: replit.goval.api.IFormatterOption);
22688
+
22689
+ /** FormatterOption id. */
22690
+ public id: string;
22691
+
22692
+ /** FormatterOption name. */
22693
+ public name: string;
22694
+
22695
+ /** FormatterOption startCommand. */
22696
+ public startCommand?: (replit.goval.api.Exec|null);
22697
+
22698
+ /** FormatterOption fileTypeAttrs. */
22699
+ public fileTypeAttrs?: (replit.goval.api.FileTypeAttrs|null);
22700
+
22701
+ /**
22702
+ * Creates a new FormatterOption instance using the specified properties.
22703
+ * @param [properties] Properties to set
22704
+ * @returns FormatterOption instance
22705
+ */
22706
+ public static create(properties?: replit.goval.api.IFormatterOption): replit.goval.api.FormatterOption;
22707
+
22708
+ /**
22709
+ * Encodes the specified FormatterOption message. Does not implicitly {@link replit.goval.api.FormatterOption.verify|verify} messages.
22710
+ * @param message FormatterOption message or plain object to encode
22711
+ * @param [writer] Writer to encode to
22712
+ * @returns Writer
22713
+ */
22714
+ public static encode(message: replit.goval.api.FormatterOption, writer?: $protobuf.Writer): $protobuf.Writer;
22715
+
22716
+ /**
22717
+ * Encodes the specified FormatterOption message, length delimited. Does not implicitly {@link replit.goval.api.FormatterOption.verify|verify} messages.
22718
+ * @param message FormatterOption message or plain object to encode
22719
+ * @param [writer] Writer to encode to
22720
+ * @returns Writer
22721
+ */
22722
+ public static encodeDelimited(message: replit.goval.api.FormatterOption, writer?: $protobuf.Writer): $protobuf.Writer;
22723
+
22724
+ /**
22725
+ * Decodes a FormatterOption message from the specified reader or buffer.
22726
+ * @param reader Reader or buffer to decode from
22727
+ * @param [length] Message length if known beforehand
22728
+ * @returns FormatterOption
22729
+ * @throws {Error} If the payload is not a reader or valid buffer
22730
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22731
+ */
22732
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.FormatterOption;
22733
+
22734
+ /**
22735
+ * Decodes a FormatterOption message from the specified reader or buffer, length delimited.
22736
+ * @param reader Reader or buffer to decode from
22737
+ * @returns FormatterOption
22738
+ * @throws {Error} If the payload is not a reader or valid buffer
22739
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22740
+ */
22741
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.FormatterOption;
22742
+
22743
+ /**
22744
+ * Verifies a FormatterOption message.
22745
+ * @param message Plain object to verify
22746
+ * @returns `null` if valid, otherwise the reason why it is not
22747
+ */
22748
+ public static verify(message: { [k: string]: any }): (string|null);
22749
+
22750
+ /**
22751
+ * Creates a FormatterOption message from a plain object. Also converts values to their respective internal types.
22752
+ * @param object Plain object
22753
+ * @returns FormatterOption
22754
+ */
22755
+ public static fromObject(object: { [k: string]: any }): replit.goval.api.FormatterOption;
22756
+
22757
+ /**
22758
+ * Creates a plain object from a FormatterOption message. Also converts values to other types if specified.
22759
+ * @param message FormatterOption
22760
+ * @param [options] Conversion options
22761
+ * @returns Plain object
22762
+ */
22763
+ public static toObject(message: replit.goval.api.FormatterOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
22764
+
22765
+ /**
22766
+ * Converts this FormatterOption to JSON.
22767
+ * @returns JSON object
22768
+ */
22769
+ public toJSON(): { [k: string]: any };
22770
+
22771
+ /**
22772
+ * Gets the default type url for FormatterOption
22773
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22774
+ * @returns The default type url
22775
+ */
22776
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22777
+ }
22778
+
22646
22779
  /** Properties of a ReplDomainDoubleDash. */
22647
22780
  interface IReplDomainDoubleDash {
22648
22781
 
@@ -28818,6 +28951,97 @@ export namespace google {
28818
28951
  public static getTypeUrl(typeUrlPrefix?: string): string;
28819
28952
  }
28820
28953
 
28954
+ /** Properties of an Empty. */
28955
+ interface IEmpty {
28956
+ }
28957
+
28958
+ /** Represents an Empty. */
28959
+ class Empty {
28960
+
28961
+ /**
28962
+ * Constructs a new Empty.
28963
+ * @param [properties] Properties to set
28964
+ */
28965
+ private constructor(properties?: google.protobuf.IEmpty);
28966
+
28967
+ /**
28968
+ * Creates a new Empty instance using the specified properties.
28969
+ * @param [properties] Properties to set
28970
+ * @returns Empty instance
28971
+ */
28972
+ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
28973
+
28974
+ /**
28975
+ * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
28976
+ * @param message Empty message or plain object to encode
28977
+ * @param [writer] Writer to encode to
28978
+ * @returns Writer
28979
+ */
28980
+ public static encode(message: google.protobuf.Empty, writer?: $protobuf.Writer): $protobuf.Writer;
28981
+
28982
+ /**
28983
+ * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
28984
+ * @param message Empty message or plain object to encode
28985
+ * @param [writer] Writer to encode to
28986
+ * @returns Writer
28987
+ */
28988
+ public static encodeDelimited(message: google.protobuf.Empty, writer?: $protobuf.Writer): $protobuf.Writer;
28989
+
28990
+ /**
28991
+ * Decodes an Empty message from the specified reader or buffer.
28992
+ * @param reader Reader or buffer to decode from
28993
+ * @param [length] Message length if known beforehand
28994
+ * @returns Empty
28995
+ * @throws {Error} If the payload is not a reader or valid buffer
28996
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28997
+ */
28998
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
28999
+
29000
+ /**
29001
+ * Decodes an Empty message from the specified reader or buffer, length delimited.
29002
+ * @param reader Reader or buffer to decode from
29003
+ * @returns Empty
29004
+ * @throws {Error} If the payload is not a reader or valid buffer
29005
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29006
+ */
29007
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
29008
+
29009
+ /**
29010
+ * Verifies an Empty message.
29011
+ * @param message Plain object to verify
29012
+ * @returns `null` if valid, otherwise the reason why it is not
29013
+ */
29014
+ public static verify(message: { [k: string]: any }): (string|null);
29015
+
29016
+ /**
29017
+ * Creates an Empty message from a plain object. Also converts values to their respective internal types.
29018
+ * @param object Plain object
29019
+ * @returns Empty
29020
+ */
29021
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
29022
+
29023
+ /**
29024
+ * Creates a plain object from an Empty message. Also converts values to other types if specified.
29025
+ * @param message Empty
29026
+ * @param [options] Conversion options
29027
+ * @returns Plain object
29028
+ */
29029
+ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
29030
+
29031
+ /**
29032
+ * Converts this Empty to JSON.
29033
+ * @returns JSON object
29034
+ */
29035
+ public toJSON(): { [k: string]: any };
29036
+
29037
+ /**
29038
+ * Gets the default type url for Empty
29039
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29040
+ * @returns The default type url
29041
+ */
29042
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29043
+ }
29044
+
28821
29045
  /** Properties of a FieldMask. */
28822
29046
  interface IFieldMask {
28823
29047