@replit/protocol 0.2.62 → 0.2.63
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 +214 -4
- package/main/index.js +556 -29
- package/main/index.js.flow +294 -4
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -15611,6 +15611,12 @@ export namespace api {
|
|
|
15611
15611
|
|
|
15612
15612
|
/** DotReplit auth */
|
|
15613
15613
|
auth?: (api.AuthConfig|api.IAuthConfig|null);
|
|
15614
|
+
|
|
15615
|
+
/** DotReplit hintsList */
|
|
15616
|
+
hintsList?: ((api.DotReplitHint|api.IDotReplitHint)[]|null);
|
|
15617
|
+
|
|
15618
|
+
/** DotReplit ports */
|
|
15619
|
+
ports?: ((api.DotReplitPort|api.IDotReplitPort)[]|null);
|
|
15614
15620
|
}
|
|
15615
15621
|
|
|
15616
15622
|
/** Represents a DotReplit. */
|
|
@@ -15673,6 +15679,12 @@ export namespace api {
|
|
|
15673
15679
|
/** DotReplit auth. */
|
|
15674
15680
|
public auth?: (api.AuthConfig|null);
|
|
15675
15681
|
|
|
15682
|
+
/** DotReplit hintsList. */
|
|
15683
|
+
public hintsList: api.DotReplitHint[];
|
|
15684
|
+
|
|
15685
|
+
/** DotReplit ports. */
|
|
15686
|
+
public ports: api.DotReplitPort[];
|
|
15687
|
+
|
|
15676
15688
|
/**
|
|
15677
15689
|
* Creates a new DotReplit instance using the specified properties.
|
|
15678
15690
|
* @param [properties] Properties to set
|
|
@@ -15744,11 +15756,203 @@ export namespace api {
|
|
|
15744
15756
|
public toJSON(): { [k: string]: any };
|
|
15745
15757
|
}
|
|
15746
15758
|
|
|
15759
|
+
/** Properties of a DotReplitPort. */
|
|
15760
|
+
interface IDotReplitPort {
|
|
15761
|
+
|
|
15762
|
+
/** DotReplitPort localPort */
|
|
15763
|
+
localPort?: (number|null);
|
|
15764
|
+
|
|
15765
|
+
/** DotReplitPort externalPort */
|
|
15766
|
+
externalPort?: (number|null);
|
|
15767
|
+
}
|
|
15768
|
+
|
|
15769
|
+
/** Represents a DotReplitPort. */
|
|
15770
|
+
class DotReplitPort {
|
|
15771
|
+
|
|
15772
|
+
/**
|
|
15773
|
+
* Constructs a new DotReplitPort.
|
|
15774
|
+
* @param [properties] Properties to set
|
|
15775
|
+
*/
|
|
15776
|
+
private constructor(properties?: api.IDotReplitPort);
|
|
15777
|
+
|
|
15778
|
+
/** DotReplitPort localPort. */
|
|
15779
|
+
public localPort: number;
|
|
15780
|
+
|
|
15781
|
+
/** DotReplitPort externalPort. */
|
|
15782
|
+
public externalPort: number;
|
|
15783
|
+
|
|
15784
|
+
/**
|
|
15785
|
+
* Creates a new DotReplitPort instance using the specified properties.
|
|
15786
|
+
* @param [properties] Properties to set
|
|
15787
|
+
* @returns DotReplitPort instance
|
|
15788
|
+
*/
|
|
15789
|
+
public static create(properties?: api.IDotReplitPort): api.DotReplitPort;
|
|
15790
|
+
|
|
15791
|
+
/**
|
|
15792
|
+
* Encodes the specified DotReplitPort message. Does not implicitly {@link api.DotReplitPort.verify|verify} messages.
|
|
15793
|
+
* @param message DotReplitPort message or plain object to encode
|
|
15794
|
+
* @param [writer] Writer to encode to
|
|
15795
|
+
* @returns Writer
|
|
15796
|
+
*/
|
|
15797
|
+
public static encode(message: api.DotReplitPort, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15798
|
+
|
|
15799
|
+
/**
|
|
15800
|
+
* Encodes the specified DotReplitPort message, length delimited. Does not implicitly {@link api.DotReplitPort.verify|verify} messages.
|
|
15801
|
+
* @param message DotReplitPort message or plain object to encode
|
|
15802
|
+
* @param [writer] Writer to encode to
|
|
15803
|
+
* @returns Writer
|
|
15804
|
+
*/
|
|
15805
|
+
public static encodeDelimited(message: api.DotReplitPort, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15806
|
+
|
|
15807
|
+
/**
|
|
15808
|
+
* Decodes a DotReplitPort message from the specified reader or buffer.
|
|
15809
|
+
* @param reader Reader or buffer to decode from
|
|
15810
|
+
* @param [length] Message length if known beforehand
|
|
15811
|
+
* @returns DotReplitPort
|
|
15812
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15813
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15814
|
+
*/
|
|
15815
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitPort;
|
|
15816
|
+
|
|
15817
|
+
/**
|
|
15818
|
+
* Decodes a DotReplitPort message from the specified reader or buffer, length delimited.
|
|
15819
|
+
* @param reader Reader or buffer to decode from
|
|
15820
|
+
* @returns DotReplitPort
|
|
15821
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15822
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15823
|
+
*/
|
|
15824
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitPort;
|
|
15825
|
+
|
|
15826
|
+
/**
|
|
15827
|
+
* Verifies a DotReplitPort message.
|
|
15828
|
+
* @param message Plain object to verify
|
|
15829
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
15830
|
+
*/
|
|
15831
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
15832
|
+
|
|
15833
|
+
/**
|
|
15834
|
+
* Creates a DotReplitPort message from a plain object. Also converts values to their respective internal types.
|
|
15835
|
+
* @param object Plain object
|
|
15836
|
+
* @returns DotReplitPort
|
|
15837
|
+
*/
|
|
15838
|
+
public static fromObject(object: { [k: string]: any }): api.DotReplitPort;
|
|
15839
|
+
|
|
15840
|
+
/**
|
|
15841
|
+
* Creates a plain object from a DotReplitPort message. Also converts values to other types if specified.
|
|
15842
|
+
* @param message DotReplitPort
|
|
15843
|
+
* @param [options] Conversion options
|
|
15844
|
+
* @returns Plain object
|
|
15845
|
+
*/
|
|
15846
|
+
public static toObject(message: api.DotReplitPort, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15847
|
+
|
|
15848
|
+
/**
|
|
15849
|
+
* Converts this DotReplitPort to JSON.
|
|
15850
|
+
* @returns JSON object
|
|
15851
|
+
*/
|
|
15852
|
+
public toJSON(): { [k: string]: any };
|
|
15853
|
+
}
|
|
15854
|
+
|
|
15855
|
+
/** Properties of a DotReplitHint. */
|
|
15856
|
+
interface IDotReplitHint {
|
|
15857
|
+
|
|
15858
|
+
/** DotReplitHint regex */
|
|
15859
|
+
regex?: (string|null);
|
|
15860
|
+
|
|
15861
|
+
/** DotReplitHint message */
|
|
15862
|
+
message?: (string|null);
|
|
15863
|
+
}
|
|
15864
|
+
|
|
15865
|
+
/** Represents a DotReplitHint. */
|
|
15866
|
+
class DotReplitHint {
|
|
15867
|
+
|
|
15868
|
+
/**
|
|
15869
|
+
* Constructs a new DotReplitHint.
|
|
15870
|
+
* @param [properties] Properties to set
|
|
15871
|
+
*/
|
|
15872
|
+
private constructor(properties?: api.IDotReplitHint);
|
|
15873
|
+
|
|
15874
|
+
/** DotReplitHint regex. */
|
|
15875
|
+
public regex: string;
|
|
15876
|
+
|
|
15877
|
+
/** DotReplitHint message. */
|
|
15878
|
+
public message: string;
|
|
15879
|
+
|
|
15880
|
+
/**
|
|
15881
|
+
* Creates a new DotReplitHint instance using the specified properties.
|
|
15882
|
+
* @param [properties] Properties to set
|
|
15883
|
+
* @returns DotReplitHint instance
|
|
15884
|
+
*/
|
|
15885
|
+
public static create(properties?: api.IDotReplitHint): api.DotReplitHint;
|
|
15886
|
+
|
|
15887
|
+
/**
|
|
15888
|
+
* Encodes the specified DotReplitHint message. Does not implicitly {@link api.DotReplitHint.verify|verify} messages.
|
|
15889
|
+
* @param message DotReplitHint message or plain object to encode
|
|
15890
|
+
* @param [writer] Writer to encode to
|
|
15891
|
+
* @returns Writer
|
|
15892
|
+
*/
|
|
15893
|
+
public static encode(message: api.DotReplitHint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15894
|
+
|
|
15895
|
+
/**
|
|
15896
|
+
* Encodes the specified DotReplitHint message, length delimited. Does not implicitly {@link api.DotReplitHint.verify|verify} messages.
|
|
15897
|
+
* @param message DotReplitHint message or plain object to encode
|
|
15898
|
+
* @param [writer] Writer to encode to
|
|
15899
|
+
* @returns Writer
|
|
15900
|
+
*/
|
|
15901
|
+
public static encodeDelimited(message: api.DotReplitHint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15902
|
+
|
|
15903
|
+
/**
|
|
15904
|
+
* Decodes a DotReplitHint message from the specified reader or buffer.
|
|
15905
|
+
* @param reader Reader or buffer to decode from
|
|
15906
|
+
* @param [length] Message length if known beforehand
|
|
15907
|
+
* @returns DotReplitHint
|
|
15908
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15909
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15910
|
+
*/
|
|
15911
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitHint;
|
|
15912
|
+
|
|
15913
|
+
/**
|
|
15914
|
+
* Decodes a DotReplitHint message from the specified reader or buffer, length delimited.
|
|
15915
|
+
* @param reader Reader or buffer to decode from
|
|
15916
|
+
* @returns DotReplitHint
|
|
15917
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15918
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15919
|
+
*/
|
|
15920
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitHint;
|
|
15921
|
+
|
|
15922
|
+
/**
|
|
15923
|
+
* Verifies a DotReplitHint message.
|
|
15924
|
+
* @param message Plain object to verify
|
|
15925
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
15926
|
+
*/
|
|
15927
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
15928
|
+
|
|
15929
|
+
/**
|
|
15930
|
+
* Creates a DotReplitHint message from a plain object. Also converts values to their respective internal types.
|
|
15931
|
+
* @param object Plain object
|
|
15932
|
+
* @returns DotReplitHint
|
|
15933
|
+
*/
|
|
15934
|
+
public static fromObject(object: { [k: string]: any }): api.DotReplitHint;
|
|
15935
|
+
|
|
15936
|
+
/**
|
|
15937
|
+
* Creates a plain object from a DotReplitHint message. Also converts values to other types if specified.
|
|
15938
|
+
* @param message DotReplitHint
|
|
15939
|
+
* @param [options] Conversion options
|
|
15940
|
+
* @returns Plain object
|
|
15941
|
+
*/
|
|
15942
|
+
public static toObject(message: api.DotReplitHint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15943
|
+
|
|
15944
|
+
/**
|
|
15945
|
+
* Converts this DotReplitHint to JSON.
|
|
15946
|
+
* @returns JSON object
|
|
15947
|
+
*/
|
|
15948
|
+
public toJSON(): { [k: string]: any };
|
|
15949
|
+
}
|
|
15950
|
+
|
|
15747
15951
|
/** Properties of a GitHubImportConfig. */
|
|
15748
15952
|
interface IGitHubImportConfig {
|
|
15749
15953
|
|
|
15750
|
-
/** GitHubImportConfig
|
|
15751
|
-
|
|
15954
|
+
/** GitHubImportConfig requiredFiles */
|
|
15955
|
+
requiredFiles?: (string[]|null);
|
|
15752
15956
|
}
|
|
15753
15957
|
|
|
15754
15958
|
/** Represents a GitHubImportConfig. */
|
|
@@ -15760,8 +15964,8 @@ export namespace api {
|
|
|
15760
15964
|
*/
|
|
15761
15965
|
private constructor(properties?: api.IGitHubImportConfig);
|
|
15762
15966
|
|
|
15763
|
-
/** GitHubImportConfig
|
|
15764
|
-
public
|
|
15967
|
+
/** GitHubImportConfig requiredFiles. */
|
|
15968
|
+
public requiredFiles: string[];
|
|
15765
15969
|
|
|
15766
15970
|
/**
|
|
15767
15971
|
* Creates a new GitHubImportConfig instance using the specified properties.
|
|
@@ -16538,6 +16742,9 @@ export namespace api {
|
|
|
16538
16742
|
|
|
16539
16743
|
/** DotReplitPackagerFeatures guessImports */
|
|
16540
16744
|
guessImports?: (boolean|null);
|
|
16745
|
+
|
|
16746
|
+
/** DotReplitPackagerFeatures enabledForHosting */
|
|
16747
|
+
enabledForHosting?: (boolean|null);
|
|
16541
16748
|
}
|
|
16542
16749
|
|
|
16543
16750
|
/** Represents a DotReplitPackagerFeatures. */
|
|
@@ -16555,6 +16762,9 @@ export namespace api {
|
|
|
16555
16762
|
/** DotReplitPackagerFeatures guessImports. */
|
|
16556
16763
|
public guessImports: boolean;
|
|
16557
16764
|
|
|
16765
|
+
/** DotReplitPackagerFeatures enabledForHosting. */
|
|
16766
|
+
public enabledForHosting: boolean;
|
|
16767
|
+
|
|
16558
16768
|
/**
|
|
16559
16769
|
* Creates a new DotReplitPackagerFeatures instance using the specified properties.
|
|
16560
16770
|
* @param [properties] Properties to set
|