@replit/protocol 0.2.62 → 0.2.65

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
@@ -4028,6 +4028,9 @@ export namespace api {
4028
4028
 
4029
4029
  /** Properties of a Flush. */
4030
4030
  interface IFlush {
4031
+
4032
+ /** Flush consistency */
4033
+ consistency?: (api.Flush.Consistency|null);
4031
4034
  }
4032
4035
 
4033
4036
  /** Represents a Flush. */
@@ -4039,6 +4042,9 @@ export namespace api {
4039
4042
  */
4040
4043
  private constructor(properties?: api.IFlush);
4041
4044
 
4045
+ /** Flush consistency. */
4046
+ public consistency: api.Flush.Consistency;
4047
+
4042
4048
  /**
4043
4049
  * Creates a new Flush instance using the specified properties.
4044
4050
  * @param [properties] Properties to set
@@ -4110,6 +4116,15 @@ export namespace api {
4110
4116
  public toJSON(): { [k: string]: any };
4111
4117
  }
4112
4118
 
4119
+ namespace Flush {
4120
+
4121
+ /** Consistency enum. */
4122
+ enum Consistency {
4123
+ PermanentStorage = 0,
4124
+ Disk = 1
4125
+ }
4126
+ }
4127
+
4113
4128
  /** Properties of a OTLinkFile. */
4114
4129
  interface IOTLinkFile {
4115
4130
 
@@ -10658,6 +10673,15 @@ export namespace api {
10658
10673
 
10659
10674
  /** User teams */
10660
10675
  teams?: (string[]|null);
10676
+
10677
+ /** User bio */
10678
+ bio?: (string|null);
10679
+
10680
+ /** User url */
10681
+ url?: (string|null);
10682
+
10683
+ /** User profileImage */
10684
+ profileImage?: (string|null);
10661
10685
  }
10662
10686
 
10663
10687
  /** Represents a User. */
@@ -10684,6 +10708,15 @@ export namespace api {
10684
10708
  /** User teams. */
10685
10709
  public teams: string[];
10686
10710
 
10711
+ /** User bio. */
10712
+ public bio: string;
10713
+
10714
+ /** User url. */
10715
+ public url: string;
10716
+
10717
+ /** User profileImage. */
10718
+ public profileImage: string;
10719
+
10687
10720
  /**
10688
10721
  * Creates a new User instance using the specified properties.
10689
10722
  * @param [properties] Properties to set
@@ -15611,6 +15644,15 @@ export namespace api {
15611
15644
 
15612
15645
  /** DotReplit auth */
15613
15646
  auth?: (api.AuthConfig|api.IAuthConfig|null);
15647
+
15648
+ /** DotReplit hintsList */
15649
+ hintsList?: ((api.DotReplitHint|api.IDotReplitHint)[]|null);
15650
+
15651
+ /** DotReplit ports */
15652
+ ports?: ((api.DotReplitPort|api.IDotReplitPort)[]|null);
15653
+
15654
+ /** DotReplit orderedEnv */
15655
+ orderedEnv?: ((api.DotReplitEnvVar|api.IDotReplitEnvVar)[]|null);
15614
15656
  }
15615
15657
 
15616
15658
  /** Represents a DotReplit. */
@@ -15673,6 +15715,15 @@ export namespace api {
15673
15715
  /** DotReplit auth. */
15674
15716
  public auth?: (api.AuthConfig|null);
15675
15717
 
15718
+ /** DotReplit hintsList. */
15719
+ public hintsList: api.DotReplitHint[];
15720
+
15721
+ /** DotReplit ports. */
15722
+ public ports: api.DotReplitPort[];
15723
+
15724
+ /** DotReplit orderedEnv. */
15725
+ public orderedEnv: api.DotReplitEnvVar[];
15726
+
15676
15727
  /**
15677
15728
  * Creates a new DotReplit instance using the specified properties.
15678
15729
  * @param [properties] Properties to set
@@ -15744,11 +15795,299 @@ export namespace api {
15744
15795
  public toJSON(): { [k: string]: any };
15745
15796
  }
15746
15797
 
15798
+ /** Properties of a DotReplitEnvVar. */
15799
+ interface IDotReplitEnvVar {
15800
+
15801
+ /** DotReplitEnvVar key */
15802
+ key?: (string|null);
15803
+
15804
+ /** DotReplitEnvVar value */
15805
+ value?: (string|null);
15806
+ }
15807
+
15808
+ /** Represents a DotReplitEnvVar. */
15809
+ class DotReplitEnvVar {
15810
+
15811
+ /**
15812
+ * Constructs a new DotReplitEnvVar.
15813
+ * @param [properties] Properties to set
15814
+ */
15815
+ private constructor(properties?: api.IDotReplitEnvVar);
15816
+
15817
+ /** DotReplitEnvVar key. */
15818
+ public key: string;
15819
+
15820
+ /** DotReplitEnvVar value. */
15821
+ public value: string;
15822
+
15823
+ /**
15824
+ * Creates a new DotReplitEnvVar instance using the specified properties.
15825
+ * @param [properties] Properties to set
15826
+ * @returns DotReplitEnvVar instance
15827
+ */
15828
+ public static create(properties?: api.IDotReplitEnvVar): api.DotReplitEnvVar;
15829
+
15830
+ /**
15831
+ * Encodes the specified DotReplitEnvVar message. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
15832
+ * @param message DotReplitEnvVar message or plain object to encode
15833
+ * @param [writer] Writer to encode to
15834
+ * @returns Writer
15835
+ */
15836
+ public static encode(message: api.DotReplitEnvVar, writer?: $protobuf.Writer): $protobuf.Writer;
15837
+
15838
+ /**
15839
+ * Encodes the specified DotReplitEnvVar message, length delimited. Does not implicitly {@link api.DotReplitEnvVar.verify|verify} messages.
15840
+ * @param message DotReplitEnvVar message or plain object to encode
15841
+ * @param [writer] Writer to encode to
15842
+ * @returns Writer
15843
+ */
15844
+ public static encodeDelimited(message: api.DotReplitEnvVar, writer?: $protobuf.Writer): $protobuf.Writer;
15845
+
15846
+ /**
15847
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer.
15848
+ * @param reader Reader or buffer to decode from
15849
+ * @param [length] Message length if known beforehand
15850
+ * @returns DotReplitEnvVar
15851
+ * @throws {Error} If the payload is not a reader or valid buffer
15852
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15853
+ */
15854
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitEnvVar;
15855
+
15856
+ /**
15857
+ * Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
15858
+ * @param reader Reader or buffer to decode from
15859
+ * @returns DotReplitEnvVar
15860
+ * @throws {Error} If the payload is not a reader or valid buffer
15861
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15862
+ */
15863
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitEnvVar;
15864
+
15865
+ /**
15866
+ * Verifies a DotReplitEnvVar message.
15867
+ * @param message Plain object to verify
15868
+ * @returns `null` if valid, otherwise the reason why it is not
15869
+ */
15870
+ public static verify(message: { [k: string]: any }): (string|null);
15871
+
15872
+ /**
15873
+ * Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
15874
+ * @param object Plain object
15875
+ * @returns DotReplitEnvVar
15876
+ */
15877
+ public static fromObject(object: { [k: string]: any }): api.DotReplitEnvVar;
15878
+
15879
+ /**
15880
+ * Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
15881
+ * @param message DotReplitEnvVar
15882
+ * @param [options] Conversion options
15883
+ * @returns Plain object
15884
+ */
15885
+ public static toObject(message: api.DotReplitEnvVar, options?: $protobuf.IConversionOptions): { [k: string]: any };
15886
+
15887
+ /**
15888
+ * Converts this DotReplitEnvVar to JSON.
15889
+ * @returns JSON object
15890
+ */
15891
+ public toJSON(): { [k: string]: any };
15892
+ }
15893
+
15894
+ /** Properties of a DotReplitPort. */
15895
+ interface IDotReplitPort {
15896
+
15897
+ /** DotReplitPort localPort */
15898
+ localPort?: (number|null);
15899
+
15900
+ /** DotReplitPort externalPort */
15901
+ externalPort?: (number|null);
15902
+ }
15903
+
15904
+ /** Represents a DotReplitPort. */
15905
+ class DotReplitPort {
15906
+
15907
+ /**
15908
+ * Constructs a new DotReplitPort.
15909
+ * @param [properties] Properties to set
15910
+ */
15911
+ private constructor(properties?: api.IDotReplitPort);
15912
+
15913
+ /** DotReplitPort localPort. */
15914
+ public localPort: number;
15915
+
15916
+ /** DotReplitPort externalPort. */
15917
+ public externalPort: number;
15918
+
15919
+ /**
15920
+ * Creates a new DotReplitPort instance using the specified properties.
15921
+ * @param [properties] Properties to set
15922
+ * @returns DotReplitPort instance
15923
+ */
15924
+ public static create(properties?: api.IDotReplitPort): api.DotReplitPort;
15925
+
15926
+ /**
15927
+ * Encodes the specified DotReplitPort message. Does not implicitly {@link api.DotReplitPort.verify|verify} messages.
15928
+ * @param message DotReplitPort message or plain object to encode
15929
+ * @param [writer] Writer to encode to
15930
+ * @returns Writer
15931
+ */
15932
+ public static encode(message: api.DotReplitPort, writer?: $protobuf.Writer): $protobuf.Writer;
15933
+
15934
+ /**
15935
+ * Encodes the specified DotReplitPort message, length delimited. Does not implicitly {@link api.DotReplitPort.verify|verify} messages.
15936
+ * @param message DotReplitPort message or plain object to encode
15937
+ * @param [writer] Writer to encode to
15938
+ * @returns Writer
15939
+ */
15940
+ public static encodeDelimited(message: api.DotReplitPort, writer?: $protobuf.Writer): $protobuf.Writer;
15941
+
15942
+ /**
15943
+ * Decodes a DotReplitPort message from the specified reader or buffer.
15944
+ * @param reader Reader or buffer to decode from
15945
+ * @param [length] Message length if known beforehand
15946
+ * @returns DotReplitPort
15947
+ * @throws {Error} If the payload is not a reader or valid buffer
15948
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15949
+ */
15950
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitPort;
15951
+
15952
+ /**
15953
+ * Decodes a DotReplitPort message from the specified reader or buffer, length delimited.
15954
+ * @param reader Reader or buffer to decode from
15955
+ * @returns DotReplitPort
15956
+ * @throws {Error} If the payload is not a reader or valid buffer
15957
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15958
+ */
15959
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitPort;
15960
+
15961
+ /**
15962
+ * Verifies a DotReplitPort message.
15963
+ * @param message Plain object to verify
15964
+ * @returns `null` if valid, otherwise the reason why it is not
15965
+ */
15966
+ public static verify(message: { [k: string]: any }): (string|null);
15967
+
15968
+ /**
15969
+ * Creates a DotReplitPort message from a plain object. Also converts values to their respective internal types.
15970
+ * @param object Plain object
15971
+ * @returns DotReplitPort
15972
+ */
15973
+ public static fromObject(object: { [k: string]: any }): api.DotReplitPort;
15974
+
15975
+ /**
15976
+ * Creates a plain object from a DotReplitPort message. Also converts values to other types if specified.
15977
+ * @param message DotReplitPort
15978
+ * @param [options] Conversion options
15979
+ * @returns Plain object
15980
+ */
15981
+ public static toObject(message: api.DotReplitPort, options?: $protobuf.IConversionOptions): { [k: string]: any };
15982
+
15983
+ /**
15984
+ * Converts this DotReplitPort to JSON.
15985
+ * @returns JSON object
15986
+ */
15987
+ public toJSON(): { [k: string]: any };
15988
+ }
15989
+
15990
+ /** Properties of a DotReplitHint. */
15991
+ interface IDotReplitHint {
15992
+
15993
+ /** DotReplitHint regex */
15994
+ regex?: (string|null);
15995
+
15996
+ /** DotReplitHint message */
15997
+ message?: (string|null);
15998
+ }
15999
+
16000
+ /** Represents a DotReplitHint. */
16001
+ class DotReplitHint {
16002
+
16003
+ /**
16004
+ * Constructs a new DotReplitHint.
16005
+ * @param [properties] Properties to set
16006
+ */
16007
+ private constructor(properties?: api.IDotReplitHint);
16008
+
16009
+ /** DotReplitHint regex. */
16010
+ public regex: string;
16011
+
16012
+ /** DotReplitHint message. */
16013
+ public message: string;
16014
+
16015
+ /**
16016
+ * Creates a new DotReplitHint instance using the specified properties.
16017
+ * @param [properties] Properties to set
16018
+ * @returns DotReplitHint instance
16019
+ */
16020
+ public static create(properties?: api.IDotReplitHint): api.DotReplitHint;
16021
+
16022
+ /**
16023
+ * Encodes the specified DotReplitHint message. Does not implicitly {@link api.DotReplitHint.verify|verify} messages.
16024
+ * @param message DotReplitHint message or plain object to encode
16025
+ * @param [writer] Writer to encode to
16026
+ * @returns Writer
16027
+ */
16028
+ public static encode(message: api.DotReplitHint, writer?: $protobuf.Writer): $protobuf.Writer;
16029
+
16030
+ /**
16031
+ * Encodes the specified DotReplitHint message, length delimited. Does not implicitly {@link api.DotReplitHint.verify|verify} messages.
16032
+ * @param message DotReplitHint message or plain object to encode
16033
+ * @param [writer] Writer to encode to
16034
+ * @returns Writer
16035
+ */
16036
+ public static encodeDelimited(message: api.DotReplitHint, writer?: $protobuf.Writer): $protobuf.Writer;
16037
+
16038
+ /**
16039
+ * Decodes a DotReplitHint message from the specified reader or buffer.
16040
+ * @param reader Reader or buffer to decode from
16041
+ * @param [length] Message length if known beforehand
16042
+ * @returns DotReplitHint
16043
+ * @throws {Error} If the payload is not a reader or valid buffer
16044
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16045
+ */
16046
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitHint;
16047
+
16048
+ /**
16049
+ * Decodes a DotReplitHint message from the specified reader or buffer, length delimited.
16050
+ * @param reader Reader or buffer to decode from
16051
+ * @returns DotReplitHint
16052
+ * @throws {Error} If the payload is not a reader or valid buffer
16053
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16054
+ */
16055
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitHint;
16056
+
16057
+ /**
16058
+ * Verifies a DotReplitHint message.
16059
+ * @param message Plain object to verify
16060
+ * @returns `null` if valid, otherwise the reason why it is not
16061
+ */
16062
+ public static verify(message: { [k: string]: any }): (string|null);
16063
+
16064
+ /**
16065
+ * Creates a DotReplitHint message from a plain object. Also converts values to their respective internal types.
16066
+ * @param object Plain object
16067
+ * @returns DotReplitHint
16068
+ */
16069
+ public static fromObject(object: { [k: string]: any }): api.DotReplitHint;
16070
+
16071
+ /**
16072
+ * Creates a plain object from a DotReplitHint message. Also converts values to other types if specified.
16073
+ * @param message DotReplitHint
16074
+ * @param [options] Conversion options
16075
+ * @returns Plain object
16076
+ */
16077
+ public static toObject(message: api.DotReplitHint, options?: $protobuf.IConversionOptions): { [k: string]: any };
16078
+
16079
+ /**
16080
+ * Converts this DotReplitHint to JSON.
16081
+ * @returns JSON object
16082
+ */
16083
+ public toJSON(): { [k: string]: any };
16084
+ }
16085
+
15747
16086
  /** Properties of a GitHubImportConfig. */
15748
16087
  interface IGitHubImportConfig {
15749
16088
 
15750
- /** GitHubImportConfig RequiredFiles */
15751
- RequiredFiles?: (string[]|null);
16089
+ /** GitHubImportConfig requiredFiles */
16090
+ requiredFiles?: (string[]|null);
15752
16091
  }
15753
16092
 
15754
16093
  /** Represents a GitHubImportConfig. */
@@ -15760,8 +16099,8 @@ export namespace api {
15760
16099
  */
15761
16100
  private constructor(properties?: api.IGitHubImportConfig);
15762
16101
 
15763
- /** GitHubImportConfig RequiredFiles. */
15764
- public RequiredFiles: string[];
16102
+ /** GitHubImportConfig requiredFiles. */
16103
+ public requiredFiles: string[];
15765
16104
 
15766
16105
  /**
15767
16106
  * Creates a new GitHubImportConfig instance using the specified properties.
@@ -16538,6 +16877,9 @@ export namespace api {
16538
16877
 
16539
16878
  /** DotReplitPackagerFeatures guessImports */
16540
16879
  guessImports?: (boolean|null);
16880
+
16881
+ /** DotReplitPackagerFeatures enabledForHosting */
16882
+ enabledForHosting?: (boolean|null);
16541
16883
  }
16542
16884
 
16543
16885
  /** Represents a DotReplitPackagerFeatures. */
@@ -16555,6 +16897,9 @@ export namespace api {
16555
16897
  /** DotReplitPackagerFeatures guessImports. */
16556
16898
  public guessImports: boolean;
16557
16899
 
16900
+ /** DotReplitPackagerFeatures enabledForHosting. */
16901
+ public enabledForHosting: boolean;
16902
+
16558
16903
  /**
16559
16904
  * Creates a new DotReplitPackagerFeatures instance using the specified properties.
16560
16905
  * @param [properties] Properties to set